Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Coding Corner
You last visited: Today at 20:13

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[VSRO] Characters online

Discussion on [VSRO] Characters online within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2007
Posts: 79
Received Thanks: 19
[VSRO] Characters online

Hey,

do anyone know a way to get a list of the characters that are connected?
i only found information about the last logout of a character and not when its logged on.

or is there a easier other way to get this.
cyberninjah is offline  
Old 05/06/2013, 16:27   #2
 
elite*gold: 1000
Join Date: Apr 2012
Posts: 1,003
Received Thanks: 208
I bet there is a isOnline flag somewhere in the DB.
qkuh is offline  
Old 05/06/2013, 16:55   #3
 
elite*gold: 0
Join Date: Jun 2007
Posts: 79
Received Thanks: 19
Quote:
Originally Posted by qkuh View Post
I bet there is a isOnline flag somewhere in the DB.
Thats what i thought to but never found it.
cyberninjah is offline  
Old 05/07/2013, 08:34   #4
 
elite*gold: 460
Join Date: Jul 2012
Posts: 394
Received Thanks: 272
you need program like server stats ?
see how many player in the game ?>
Alexiuns is offline  
Old 05/07/2013, 09:29   #5
 
elite*gold: 0
Join Date: Jun 2007
Posts: 79
Received Thanks: 19
Quote:
Originally Posted by Special-Magician View Post
you need program like server stats ?
see how many player in the game ?>
No no no i already made this.
all i want to make now is a list with the characters that are online.
With buttons like Ban player, Kick Player.

And so on

I found out this is possible with the logs in the db there are only some little problems with it.
cyberninjah is offline  
Old 05/07/2013, 18:40   #6
 
lesderid's Avatar
 
elite*gold: 0
Join Date: Dec 2007
Posts: 2,400
Received Thanks: 1,517
Quote:
Originally Posted by cyberninjah View Post
I found out this is possible with the logs in the db there are only some little problems with it.
Relying on parsed log data is usually a rather bad idea...
lesderid is offline  
Old 05/07/2013, 20:23   #7
 
elite*gold: 0
Join Date: May 2013
Posts: 38
Received Thanks: 10
Quote:
Originally Posted by lesderid View Post
Relying on parsed log data is usually a rather bad idea...
agree
amra85 is offline  
Old 05/08/2013, 10:19   #8
 
IceAmStiel's Avatar
 
elite*gold: 0
Join Date: Jul 2011
Posts: 1,058
Received Thanks: 1,118


But as lesder already said, it's inaccurate, a disconnect won't be logged, ergo the player will seem to be still online at the log table.
IceAmStiel is offline  
Old 05/08/2013, 14:56   #9
 
elite*gold: 0
Join Date: Jun 2007
Posts: 79
Received Thanks: 19
on smc you can see what accounts are online.
when i parsed the packet i will use that for the list.
in the log files i can get the last logged in character based on accountname.

maybe i find a better solution to the the charactername then from the logs.
cyberninjah is offline  
Old 05/08/2013, 18:34   #10
 
gigola123's Avatar
 
elite*gold: 0
Join Date: Jun 2007
Posts: 722
Received Thanks: 390
You can use the sql thing of Caipi , 1silk per 1 , you put 0 silk , and you'll get a table _OnlineOffline , then WHERE status = 'Online' (If I remember well) you'll be able to see who is online and who not
gigola123 is offline  
Old 05/20/2013, 21:14   #11
 
elite*gold: 0
Join Date: Jun 2007
Posts: 79
Received Thanks: 19
Right now i use packet monitoring serverside to get some info about the logged on characters.
cyberninjah is offline  
Reply


Similar Threads Similar Threads
[VSRO] how to fix party matching characters name ?
12/22/2017 - SRO Private Server - 8 Replies
how to fix party matching characters name ? when someone wants to get in my party i cant see his name also how to change the party matching title like " welcome to our silkroad " instead of " for open hunting.. bla bla " if anyone knows how to fix this please share :)
KnightRoad Online / 110 Cap / vSRO / Start Silk Items / 7#24 Online
04/12/2012 - SRO PServer Advertising - 19 Replies
http://img801.imageshack.us/img801/7554/adszhst.pn g SERVER : OPEN Server Rates : -Vsro Files -Max Lvl: 110 -Max Skill Lvl: 110



All times are GMT +1. The time now is 20:14.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.