Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Release] Database Total Online Time Mod

Initiate Mage
Joined
Dec 10, 2008
Messages
3
Reaction score
0
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
 
Custom Title Activated
Loyal Member
Joined
Feb 27, 2004
Messages
1,378
Reaction score
50
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
 
Newbie Spellweaver
Joined
Oct 9, 2007
Messages
82
Reaction score
9
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
 
Newbie Spellweaver
Joined
Jun 15, 2010
Messages
16
Reaction score
2
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
 
Junior Spellweaver
Joined
Sep 22, 2008
Messages
126
Reaction score
37
doesn't work with 97d db :S its totally diferent from the wz_disconnect_memb of the 97d... :S
 
Skilled Illusionist
Joined
Feb 15, 2013
Messages
385
Reaction score
62
Server: Msg 446, Level 16, State 9, Procedure WZ_DISCONNECT_MEMB, Line 10
Cannot resolve collation conflict for equal to operation.
-.-
 
Joined
Sep 30, 2010
Messages
728
Reaction score
107
try this

Code:
CREATE PROCEDURE WZ_DISCONNECT_MEMB
@memb___id varchar(10)
 AS
Begin    
set nocount on
    Declare   [USER=1333416677]Find[/USER]_id varchar(10)    
    Declare  [USER=1333459481]Connects[/USER]tat tinyint
    Set  [USER=1333459481]Connects[/USER]tat = 0     
    Set  [USER=1333416677]Find[/USER]_id = 'NOT'
    select  [USER=1333416677]Find[/USER]_id = S.memb___id from MEMB_STAT S INNER JOIN MEMB_INFO I ON S.memb___id COLLATE DATABASE_DEFAULT = I.memb___id COLLATE DATABASE_DEFAULT
           where I.memb___id = @memb___id
    if(  [USER=1333416677]Find[/USER]_id <> 'NOT' )    
    begin        
        update MEMB_STAT set ConnectStat =  [USER=1333459481]Connects[/USER]tat, DisConnectTM = getdate(), TotalTime = TotalTime+(DATEDIFF(mi,ConnectTM,getdate()))
         where memb___id = @memb___id
            -- TIMEONLINE MOD by john_d
    end
end

GO
 
Newbie Spellweaver
Joined
Dec 9, 2014
Messages
32
Reaction score
0
Code:
[COLOR=#4B4F56]Msg 2714, Level 16, State 3, Procedure WZ_DISCONNECT_MEMB, Line 14There is already an object named 'WZ_DISCONNECT_MEMB' in the database.


[/COLOR]

i'm getting this error, any solution?
 
Back
Top