Hello guys..
I need a script which shows the current running game servers on lan in API 2.
Is such a script available ?
Probably looking like this..
Nope
There is no script that scans a whole IP-range on every possible port available.
You can consider your hub useless as with the current libraries, the hub *waits* until the port checks are done.
Given a Class C network, scanning on all ports can take several days.
Even with all that worked out, there's no way for the script to read what actually is running on a specific port, given it doesn't instantly throw back alot of data while checking like DC clients and hubs do.
So the best you will end up with is a report showing you that "after x days of scanning some x ports may or may not host game servers"
Ok.. Thanks for the explanation.
I had given it another thought and the best I can come up with is a script that works with a predefined list of IP's, ports and what is supposed to be running on that port.
The script can then check all IP/Ports defined in the list and indicate wether at least the IP is up and the port is accessible. If so, it can then assume the supposed game is running. However that last is just an assumption and I think that's how that script works shown in the picture you attached.
Awesome.. So can you come up with that script ?
Thanks,
DeAn
Ohh.. Great, can I get the link ?
You can search for it here, I'm not sure what it's called though.
The Search Function is indeed your friend ;)
http://forum.ptokax.org/index.php?topic=7166.msg69095#msg69095
Thanks mate.. :)