mIRC Home    About    Download    Register    News    Help

Print Thread
#108491 19/01/05 09:44 PM
K
krunch
krunch
K
im trying to make a gaming script that will connect to IPs and bring back information, how many open slots etc but when ever i sockconnect to the ip i get disconnected with out being able to post anything. is there a reason? the ips are from gamearena.com.au and the game ET
help would be good

#108492 19/01/05 11:10 PM
D
Danthemandoo
Danthemandoo
D
ET, which i assume you mean wolfenstein enemy territory, which uses UDP to return info on servers. You need to use /sockudp and on udpread.
The client sends this to the server to get info: ÿÿÿÿgetinfo xxx

It'd be much easier to just use sockets to connect to this page:

http://enemy-territory.4players.de:1041/...lt;port>

Replace <serverip> with the server ip and <port> with its port.

http://enemy-territory.4players.de:1041/modules.php?name=Gameserver
Thats the main page btw.


Link Copied to Clipboard