Servers Script
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

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