mIRC Home    About    Download    Register    News    Help

Print Thread
gaming script #108491 19/01/05 09:44 PM
Joined: Dec 2002
Posts: 94
K
krunch Offline OP
Babel fish
OP Offline
Babel fish
K
Joined: Dec 2002
Posts: 94
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


Lets get dirty
Re: gaming script #108492 19/01/05 11:10 PM
Joined: Mar 2004
Posts: 457
D
Danthemandoo Offline
Fjord artisan
Offline
Fjord artisan
D
Joined: Mar 2004
Posts: 457
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.