GTA2 online port checker

Anything to do with GTA1/GTA2 modding (tools, scripts and more).
Post Reply
User avatar
elypter
Immortal
Posts: 1119
Joined: 26 Dec 2009, 23:53
GH nick: elypter

GTA2 online port checker

Post by elypter »

I made a port checker script that uses the service from portforward.com
it can check all gta ports(47624 & 2300-2400 tcp&udp) together. What you see on my site is not in perfect way to do this. It's rather a workaround(200 iframes).

Some questions occurred:
-UDP Ports are always displayed as open (have not found another tool to check that) Whats wrong with that or aren't udp ports required anyway?
-Is GTA always listening on the same ports in the dplay-range (only 2300 the last time)?
-What happens when some ports are blocked or gta runs multiple times or what should happen?

I suggest using opera when running the check. My firefox never finished ;)
http://elypter.net84.net/gta2.tk/playing.html
yur sa'nok ngeyä
User avatar
Cuban-Pete
Immortal
Posts: 909
Joined: 29 Jan 2010, 15:03
GH nick: Cuban-Pete

Re: GTA2 online port checker

Post by Cuban-Pete »

Nice idea, but it's a bit slow and a lot of checks are done.

I would suggest to start checking 47624, that one is important, and work up from 2300 to 2310 or something. More ports you don't need to play this game (no more than 10 players possible as far as I know).
"Mmmm, your eyes are so beautiful."
User avatar
elypter
Immortal
Posts: 1119
Joined: 26 Dec 2009, 23:53
GH nick: elypter

Re: GTA2 online port checker

Post by elypter »

Yep, i know.

That's what i was asking. Does gta2 always behave that way, that it takes the first free port?

There are sometimes players that can join other people but not each other. Maybe that has something to do with this. I will make a long and a quick scan.
But the most important question right now: What are the udp ports for? is there a need to check them? are they used at all?
yur sa'nok ngeyä
User avatar
Sektor
Boss
Boss
Posts: 1451
Joined: 04 Mar 2008, 06:51
GH nick: Sektor
Location: GTAMP.com
Contact:

Re: GTA2 online port checker

Post by Sektor »

In Vike's exe, UDP is just used for pings. You can play fine without it, you just won't see a ping next to your opponent's name in the lobby.

I think it does use the lowest free ports it can find in the 2300-2400 range.

That port checker crashed Firefox when I clicked stop script :P

Sometimes I use this port checker:
http://www.utorrent.com/testport?port=47624
http://www.utorrent.com/testport?port=2300
User avatar
elypter
Immortal
Posts: 1119
Joined: 26 Dec 2009, 23:53
GH nick: elypter

Re: GTA2 online port checker

Post by elypter »

Yes it crashes firefox because of these 200 iframes. i used opera. maybe other browsers or a firefox without plugins work too but the check will take a while. I am going to try to switch to php, but first i want to know if the service i am using is working.

Does the test say that the udp ports are open (ping failed - done) for you too, even if you do not have gta running?
yur sa'nok ngeyä
Post Reply