Servers Script
 

Servers Script

Started by DeAn, 19 August, 2009, 11:17:42

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

DeAn

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..
Thanks,

DeAn

CrazyGuy

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"

DeAn

Ok.. Thanks for the explanation.
Thanks,

DeAn

CrazyGuy

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.

DeAn

Awesome.. So can you come up with that script ?

Thanks,

DeAn
Thanks,

DeAn

DeAn

Ohh.. Great, can I get the link ?
Thanks,

DeAn

CrazyGuy

You can search for it here, I'm not sure what it's called though.

Psycho_Chihuahua

PtokaxWiki ?PtokaX Mirror + latest Libs

01100001011011000111001101101111001000000110101101101110011011110111011101101110001000000110000101110011001000000101010001101111011010110110111101101100011011110111001101101000

DeAn

Thanks,

DeAn

SMF spam blocked by CleanTalk