mIRC Homepage
Posted By: krunch gaming script - 19/01/05 09:44 PM
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
Posted By: Danthemandoo Re: gaming script - 19/01/05 11:10 PM
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.
© mIRC Discussion Forums