View Full Version : How do you query a server?
Boylett
05-27-2009, 10:28 AM
Like this: http://vicecityonline.com/page.php?id=3
:)
How do you do it (what's the code)?
Thanks
tuntis
05-27-2009, 12:07 PM
I had the idea of providing either an API to allow easy access to such statistics or distributing readymade classes for different programming languages to do it a long time ago, but I haven't really been updated on it...
Boylett
05-27-2009, 06:27 PM
Just an explanation of the protocol would do me :P
yo, i made this in mIRC along time ago, hope it helps
http://vco.pastebin.com/m1894903f
Also, Wireshark is a great program for finding protocols and packets ;)
Boylett
05-28-2009, 02:16 PM
Heh not on vista, they don't work on outgoing packets..
EDIT: DONE!
http://pastebin.com/f71481066 - Query class
http://pastebin.com/f50722823 - Example