• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

online and offline notice

Junior Spellweaver
Joined
Aug 5, 2009
Messages
130
Reaction score
10
_AddLogChar

Code:
declare
    [USER=551894]Char[/USER]nombre varchar(64)

IF (@EventID = 4)
begin
select    [USER=551894]Char[/USER]nombre = CharName16 from SRO_VT_SHARD.dbo._Char where CharID =    [USER=551894]Char[/USER]ID
and CurLevel > '80'
begin
insert PlusNotice(Sent, Message)values(0,'[ '    [USER=551894]Char[/USER]nombre+' Se ha Conectado al Juego]')
end
end


IF (@EventID = 6)
begin
select    [USER=551894]Char[/USER]nombre = CharName16 from SRO_VT_SHARD.dbo._Char where CharID =    [USER=551894]Char[/USER]ID
and CurLevel > '80'
begin
insert PlusNotice(Sent, Message)values(0,'['    [USER=551894]Char[/USER]nombre+' Se ha Desconectado al Juego')
end

they can change the level of char in "CurLevel> '80' '

SRO[2014-12-07 01-03-51]_96 - online and offline notice - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Last edited:
† Working in Secret †
Joined
Jun 30, 2011
Messages
657
Reaction score
265
Bad and Spam! The users not like this.. :S
 
Newbie Spellweaver
Joined
Jul 5, 2012
Messages
54
Reaction score
1
good release , can edit some stuff like curlevel >=140 (140) so that only gm's get this notice. thanks.
 
Retired
Joined
Oct 28, 2013
Messages
536
Reaction score
103
Well... SMC authorized people can track players through... SMC without getting spammed the chat window. And well, it's not quite well limited to authorized GMs / Staff Members ingame.
Players don't have know how many players and who exactly logs in and out. Facebook2/Whatsapp2. Double check!

But well, who ever likes it..
 
Newbie Spellweaver
Joined
Dec 24, 2012
Messages
76
Reaction score
5
Mens 102, Level 15, State 1, Procedure _AddLogChar, Line 210
Incorrect syntax near 'Charnombre'.
Mens 102, Level 15, State 1, Procedure _AddLogChar, Line 220
Incorrect syntax near 'Charnombre'.
 
Initiate Mage
Joined
Dec 5, 2014
Messages
1
Reaction score
0
Mens 102, Level 15, State 1, Procedure _AddLogChar, Line 210
Incorrect syntax near 'Charnombre'.
Mens 102, Level 15, State 1, Procedure _AddLogChar, Line 220
Incorrect syntax near 'Charnombre'.

same error :mad:



Mens 102, Level 15, State 1, Procedure _AddLogChar, Line 210
Incorrect syntax near 'Charnombre'.
Mens 102, Level 15, State 1, Procedure _AddLogChar, Line 220
Incorrect syntax near 'Charnombre'.

same error :mad:
 
Experienced Elementalist
Joined
Feb 13, 2012
Messages
220
Reaction score
31
Mens 102, Level 15, State 1, Procedure _AddLogChar, Line 210
Incorrect syntax near 'Charnombre'.
Mens 102, Level 15, State 1, Procedure _AddLogChar, Line 220
Incorrect syntax near 'Charnombre'.

here is fix..

declare
@Charnombre varchar(64)

IF (@EventID = 4)
begin
select @Charnombre = CharName16 from SRO_VT_SHARD.dbo._Char where CharID = @CharID
and CurLevel > '80'
begin
insert PlusNotice(Sent, Message)values(0,'[ '+@Charnombre+' Se ha Conectado al Juego]')
end
end


IF (@EventID = 6)
begin
select @Charnombre = CharName16 from SRO_VT_SHARD.dbo._Char where CharID = @CharID
and CurLevel > '80'
begin
insert PlusNotice(Sent, Message)values(0,'['+@Charnombre+' Se ha Desconectado al Juego')
end
end
 
Initiate Mage
Joined
Aug 9, 2014
Messages
1
Reaction score
0
Msg 137, Level 15, State 2, Line 4
Must declare the scalar variable "@EventID".
Msg 137, Level 15, State 2, Line 6
Must declare the scalar variable "@CharID".
Msg 137, Level 15, State 2, Line 14
Must declare the scalar variable "@EventID".
Msg 137, Level 15, State 2, Line 16
Must declare the scalar variable "@CharID".

BRO HELP ME PLSS.
 
Back
Top