Hey there,
I'm trying to find out how to get a Silkroad servers current players without any DB access.
Is there any way to query the gateway server over telnet or something like this?
Any suggestions? :)
Thanks so far and regards,
Knife2oo8
Printable View
Hey there,
I'm trying to find out how to get a Silkroad servers current players without any DB access.
Is there any way to query the gateway server over telnet or something like this?
Any suggestions? :)
Thanks so far and regards,
Knife2oo8
pushedx made a script in php, which use the Silkroad Security for get the server stats, you can search it on google, it was released in an other forum
and in case by remote youre talking about something else than a website ... you can also write a small little c# program using the .NET version of SSAPI to query the current online status of the server.. anyways the opcodes of the packets you need to send are as follows:
to request the server list
[C->S] 0x6101
the answere sent by the gateway
[S->C] 0xA101
the answere packet contains information to both, Common and Shard servers first Common, then Shard
in most cases there should be only 1 entry for both .. for Common thats ID and Name and after that ID, Name, Current, Maximum, Status and another ID for Shard info (both in that order)
i hope you understood what i just said ^^
greetz
Hey,
thanks to both for your answers. PHP sounds much better to me than C/C#/C++ :P
I just tested the script from pushedx mentioned in the first answer, but can't get that working. Just getting "A connection could not be established".
Will try and research some more.
If someone else have some suggestions, no fear to tell me :thumbup1: