mIRC Home    About    Download    Register    News    Help

Print Thread
#23952 13/05/03 12:49 PM
Joined: May 2003
Posts: 2
X
xentix Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
X
Joined: May 2003
Posts: 2
Anyone familair with retreiving information from a gameserver with sockets?

I want to retreive information like: Current players, current map, current ping, etc, from an Unreal Tournament server, but I don't know the 'main things', what to do 'ON SOCKOPEN', etc?

I would appriciate any help.

#23953 13/05/03 07:43 PM
Joined: Mar 2003
Posts: 272
C
Fjord artisan
Offline
Fjord artisan
C
Joined: Mar 2003
Posts: 272
I suggest you do this:

Code:
On *:SOCKREAD:sockname:{
  sockread %data
  echo -s %data
}


That way you can see what you'll eventually have to do to make Client-Server communication.


- cF
Dedicated helper for rent.
#23954 13/05/03 10:09 PM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
Most games I deal with use UDP... >:\


-KingTomato

Link Copied to Clipboard