[Release] Database Total Online Time Mod

Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 37
  1. #16
    Account Upgraded | Title Enabled! crlfrancis is offline
    MemberRank
    Sep 2006 Join Date
    256Posts

    Re: [Release] Database Total Online Time Mod

    wish i knew how to do this

  2. #17
    Twilight Mu Owner Shagoon is offline
    MemberRank
    Aug 2005 Join Date
    Bucharest, ROLocation
    1,001Posts

    Re: [Release] Database Total Online Time Mod

    Very nice tweak. Thanks John.

  3. #18
    Alpha Member Maxim.T is offline
    MemberRank
    Nov 2006 Join Date
    RussiaLocation
    1,834Posts

    Re: [Release] Database Total Online Time Mod

    Thanks John , very usefull release .

  4. #19
    Akaruz - The Legend [hidden] is offline
    MemberRank
    Jun 2006 Join Date
    ClassifiedLocation
    1,120Posts

    Re: [Release] Database Total Online Time Mod

    ^^ very useful.

  5. #20
    Account Upgraded | Title Enabled! SkyLinE27 is offline
    MemberRank
    Mar 2007 Join Date
    LatviaLocation
    349Posts

    Re: [Release] Database Total Online Time Mod

    Useful release,Thanks :)

  6. #21
    Novice feature21 is offline
    MemberRank
    Dec 2008 Join Date
    3Posts

    re: [Release] Database Total Online Time Mod

    Msg 468, Level 16, State 9, Procedure WZ_DISCONNECT_MEMB, Line 10
    Cannot resolve the collation conflict between "Chinese_PRC_CS_AS" and "Chinese_PRC_CI_AS" in the equal to operation.
    Please help with this error

  7. #22
    Alpha Member john_d is offline
    MemberRank
    Feb 2004 Join Date
    PhilippinesLocation
    2,868Posts

    re: [Release] Database Total Online Time Mod

    Quote Originally Posted by feature21 View Post
    Msg 468, Level 16, State 9, Procedure WZ_DISCONNECT_MEMB, Line 10
    Cannot resolve the collation conflict between "Chinese_PRC_CS_AS" and "Chinese_PRC_CI_AS" in the equal to operation.
    Please help with this error
    try this
    Code:
    CREATE PROCEDURE WZ_DISCONNECT_MEMB
    @memb___id varchar(10)
     AS
    Begin    
    set nocount on
        Declare  @find_id varchar(10)    
        Declare @ConnectStat tinyint
        Set @ConnectStat = 0     
        Set @find_id = 'NOT'
        select @find_id = S.memb___id from MEMB_STAT S INNER JOIN MEMB_INFO I ON S.memb___id = I.memb___id COLLATE DATABASE DEFAULT
               where I.memb___id = @memb___id
        if( @find_id <> 'NOT' )    
        begin        
            update MEMB_STAT set ConnectStat = @ConnectStat, DisConnectTM = getdate(), TotalTime = TotalTime+(DATEDIFF(mi,ConnectTM,getdate()))
             where memb___id = @memb___id
                -- TIMEONLINE MOD by john_d
        end
    end
    
    GO

  8. #23
    Ass Kicker Diabolik is offline
    MemberRank
    Nov 2008 Join Date
    RomaniaLocation
    261Posts

    re: [Release] Database Total Online Time Mod

    thx jhon !

  9. #24
    Valued Member kinder32 is offline
    MemberRank
    Sep 2008 Join Date
    ArgentinaLocation
    135Posts

    re: [Release] Database Total Online Time Mod

    this works on 97d?

  10. #25
    Alpha Member john_d is offline
    MemberRank
    Feb 2004 Join Date
    PhilippinesLocation
    2,868Posts

    re: [Release] Database Total Online Time Mod

    it will since since Mu dev began the database structure has been almost the same.

  11. #26
    Proficient Member dannythe is offline
    MemberRank
    Sep 2006 Join Date
    BulgariaLocation
    160Posts

    re: [Release] Database Total Online Time Mod

    dont work on 97d ...

  12. #27
    Valued Member xute is offline
    MemberRank
    Oct 2007 Join Date
    126Posts

    re: [Release] Database Total Online Time Mod

    Quote Originally Posted by dannythe View Post
    dont work on 97d ...
    try deleting all lines from WZ_DISCONNECT procedure and paste:
    Code:
    CREATE PROCEDURE WZ_DISCONNECT_MEMB
    @memb___id varchar(10)
     AS
    Begin    
    set nocount on
        Declare  @find_id varchar(10)    
        Declare @ConnectStat tinyint
        Set @ConnectStat = 0     
        Set @find_id = 'NOT'
        select @find_id = S.memb___id from MEMB_STAT S INNER JOIN MEMB_INFO I ON S.memb___id = I.memb___id COLLATE DATABASE_DEFAULT
               where I.memb___id = @memb___id
        if( @find_id <> 'NOT' )    
        begin        
            update MEMB_STAT set ConnectStat = @ConnectStat, DisConnectTM = getdate(), TotalTime = TotalTime+(DATEDIFF(mi,ConnectTM,getdate()))
             where memb___id = @memb___id
                -- TIMEONLINE MOD by john_d
        end
    end
    
    GO

  13. #28
    Apprentice hydramu is offline
    MemberRank
    Jun 2010 Join Date
    16Posts

    re: [Release] Database Total Online Time Mod

    john can you give me the script referal systen
    because in first post you write you use this script to referal system can you give me it? please

  14. #29
    Valued Member kinder32 is offline
    MemberRank
    Sep 2008 Join Date
    ArgentinaLocation
    135Posts

    re: [Release] Database Total Online Time Mod

    doesn't work with 97d db :S its totally diferent from the wz_disconnect_memb of the 97d... :S

  15. #30
    Account Upgraded | Title Enabled! DraGoN-GR is offline
    MemberRank
    Dec 2007 Join Date
    404 not foundLocation
    256Posts

    re: [Release] Database Total Online Time Mod

    Good Release 10/10



Page 2 of 3 FirstFirst 123 LastLast

Advertisement