Warcraft II Forum

Warcraft II => Server.War2.ru => Topic started by: iL on February 06, 2015, 06:00:29 PM

Title: Sorry, your port is closed, nobody can join your game.
Post by: iL on February 06, 2015, 06:00:29 PM
Added this thing for game hosts with closed ports:
(http://ss.war2.ru/ss/8160.gif)

Just a beta.
Notify me about any bugs happen.
Title: Re: Sorry, your port is closed, nobody can join your game.
Post by: Certified MENSA Genius Brain (smart) on February 06, 2015, 06:04:33 PM
Wow.  That's a very good idea.
Title: Re: Sorry, your port is closed, nobody can join your game.
Post by: SmurfKinG on February 06, 2015, 06:15:53 PM
thats nice.

how does it actually work? Does the bot try to join the game?


And if thats the case, what happens if the game is passworded, does it detect that its private or it will msg the host with same msg ?



Title: Re: Sorry, your port is closed, nobody can join your game.
Post by: iL on February 06, 2015, 06:23:30 PM
It's based on this thing: http://forum.war2.ru/index.php/topic,193.0.html (http://forum.war2.ru/index.php/topic,193.0.html)

Yes, sends test packet and waits for reply.
No, doesn't depend on password.

It's also related to this: http://forum.war2.ru/index.php/topic,310.0.html (http://forum.war2.ru/index.php/topic,310.0.html)
To catch the moment of newly created game and to receive it's host to whisper.
Title: Re: Sorry, your port is closed, nobody can join your game.
Post by: SmurfKinG on February 06, 2015, 06:25:31 PM
ok so i'll be receiving that msg by the bot even though I'm able to host a full game
Title: Re: Sorry, your port is closed, nobody can join your game.
Post by: iL on February 06, 2015, 06:28:43 PM
ok so i'll be receiving that msg by the bot even though I'm able to host a full game
You will receive this if your comptuter not answer the request that mean you are not able to get other players joined to your game.
Title: Re: Sorry, your port is closed, nobody can join your game.
Post by: SmurfKinG on February 06, 2015, 06:30:50 PM
this is a more accurate statement:
i will receive the message even though any player in the whole server is able to join my game and play a lag free experience . yes.


good to know so i just squelch the bot :P
Title: Re: Sorry, your port is closed, nobody can join your game.
Post by: SmurfKinG on February 06, 2015, 06:32:56 PM
yeah just for record's sake.

, I use DMZ feature (found in 99% of routers) set it to enable. And im able to host. It opens all ports. It's how I've opened ports for all apps and other games in the past and has worked and continues to work. Yet, not only your port tester, but other port testers I've come across like emule's also detect is as CLOSED but the port is indeed open and the emule client connects without further hassle.

I don't use portforwarding, never have.. in my opinion is too much hassle, some routers require to select either UDP, TCP, both, then select a range whereas DMZ is just enable/disable and pick your computer's name from a dropdownmenu list.
and even then, i've come with routers that even after portforwarding the port still is closed
Title: Re: Sorry, your port is closed, nobody can join your game.
Post by: iL on February 06, 2015, 06:38:28 PM
i will receive the message even though any player in the whole server is able to join my game and play a lag free experience . yes.
Not exatly:
you will receive the message if the server can not join your game.
That means eighter you blocked the server ip using your personal firewall or w/e (and then others can join) or you just did something wrong with your ports configuration and then server (and all the other players) will not be able to join your game.
Title: Re: Sorry, your port is closed, nobody can join your game.
Post by: iL on February 06, 2015, 06:40:21 PM
its cuz of that discussion we had before iL but you probably forgotten, its somewhere here... about the DMZ thing? ring any bells?
probably forgotten... The only thing required to let you join is port lookling into the world. It doesn't matter how you made it looking out: upnp, port forwarding, dmz or just direct connection.
Title: Re: Sorry, your port is closed, nobody can join your game.
Post by: SmurfKinG on February 06, 2015, 06:50:37 PM
i will receive the message even though any player in the whole server is able to join my game and play a lag free experience . yes.
Not exatly:
you will receive the message if the server can not join your game.
That means eighter you blocked the server ip using your personal firewall or w/e (and then others can join) or you just did something wrong with your ports configuration and then server (and all the other players) will not be able to join your game.

its true dude, ill have to log now and get a SS of your bot msging me while other players joining i suppose.


i'll refresh ur memory about the DMZ

,  DMZ feature (found in 99% of routers) set it to enable. And im able to host. It opens all ports. It's how I've opened ports for all apps and other games in the past and has worked and continues to work. Though, not only your PORT TESTER, but OTHER PORT TESTERS I've come across like emule's also detect is as CLOSED but the port is indeed open and the emule client connects without further hassle. Don't know the science behind that. Just stating out the fact.

Title: Re: Sorry, your port is closed, nobody can join your game.
Post by: GaNzTheLegend on February 06, 2015, 06:56:46 PM
just tried it, got no messages with closed port
Title: Re: Sorry, your port is closed, nobody can join your game.
Post by: iL on February 06, 2015, 07:01:29 PM
Though, not only your PORT TESTER, but OTHER PORT TESTERS I've come across like emule's also detect is as CLOSED but the port is indeed open and the emule client connects without further hassle.
No idea why that should be so. Try that, but i guess eighter my tester shows it open or nobody can join your game.

just tried it, got no messages with closed port
And is it possible to join your game for others?
Title: Re: Sorry, your port is closed, nobody can join your game.
Post by: GaNzTheLegend on February 06, 2015, 07:03:01 PM
nope, remember I dont have password for my router and upnp doesnt work.
Title: Re: Sorry, your port is closed, nobody can join your game.
Post by: iL on February 06, 2015, 07:16:55 PM
nope, remember I dont have password for my router and upnp doesnt work.
Hm, it shows your port is closed now.
But is have been marked as open while you tried...
That's interesting, i think some kind of false positive is possible, depend on your server interconnection, i just didn't test it...

Can you retry that again? Maybe it will show closed next time...
Title: Re: Sorry, your port is closed, nobody can join your game.
Post by: EviL~Ryu on February 06, 2015, 07:19:26 PM
Wow haha nice!
Let me know if anyone needs help hosting i can usually do a 1x1 with them [emoji9].

Sent from my Motorola DynaTAC 8000X
Title: Re: Sorry, your port is closed, nobody can join your game.
Post by: EviL~Ryu on February 06, 2015, 07:26:29 PM
nope, remember I dont have password for my router and upnp doesnt work.
Just restore it to factory setting....will reset everything to default including access credentials.

Sent from my Motorola DynaTAC 8000X

Title: Re: Sorry, your port is closed, nobody can join your game.
Post by: GaNzTheLegend on February 06, 2015, 07:30:24 PM
Wow, someone actually joined my game. I guess I can host now lol, upnp works.
Title: Re: Sorry, your port is closed, nobody can join your game.
Post by: Winchester on February 06, 2015, 07:31:59 PM
Wow, someone actually joined my game. I guess I can host now lol, upnp works.

Time to reclaim that #1 RU Ladder!
Title: Re: Sorry, your port is closed, nobody can join your game.
Post by: O4L on February 06, 2015, 07:34:16 PM
Very nice to hear. I have seen a couple new players with 4.01 being able to host as well , on the other hand still some that can't but that was expected unfortunately. Let's see how things go this weekend because Burnts got the weekend off and is looking for some warcraft 2 fun!!!!!
Title: Re: Sorry, your port is closed, nobody can join your game.
Post by: iL on February 06, 2015, 07:37:40 PM
Wow, someone actually joined my game. I guess I can host now lol, upnp works.
Wow, really, lol! I can see your router 192.168.0.1 as an UPNP device for the 1-st time.
You didn't change any config for your router since last time, right?
Title: Re: Sorry, your port is closed, nobody can join your game.
Post by: GaNzTheLegend on February 06, 2015, 07:44:36 PM
Wow, someone actually joined my game. I guess I can host now lol, upnp works.
Wow, really, lol! I can see your router 192.168.0.1 as an UPNP device for the 1-st time.
You didn't change any config for your router since last time, right?

nope, nothing changed. Maybe its the new version of the launcher? dunno
Title: Re: Sorry, your port is closed, nobody can join your game.
Post by: iL on February 06, 2015, 07:48:41 PM
nope, nothing changed. Maybe its the new version of the launcher? dunno
I changed nothing in UPNP engine.
The difference is you had 2 or 3 different upnp-compatible devices except router before.
Today you have only 1 (except router).
Maybe some kind of conflict between UPNP devices?
Did you switch off any of them now?
Title: Re: Sorry, your port is closed, nobody can join your game.
Post by: SmurfKinG on February 06, 2015, 07:49:11 PM
i logged 30mins ago and the bot wasnt online
logged in just now and its not online
or did you change its name?

/whois note  = not online
Title: Re: Sorry, your port is closed, nobody can join your game.
Post by: SmurfKinG on February 06, 2015, 07:50:44 PM
Wow, someone actually joined my game. I guess I can host now lol, upnp works.

Time to reclaim that #1 RU Ladder!


i loled
Title: Re: Sorry, your port is closed, nobody can join your game.
Post by: GaNzTheLegend on February 06, 2015, 07:52:49 PM
It would be like taking candy from a baby.
Title: Re: Sorry, your port is closed, nobody can join your game.
Post by: iL on February 06, 2015, 07:53:17 PM
i logged 30mins ago and the bot wasnt online
logged in just now and its not online
or did you change its name?

/whois note  = not online

Do you mean user "note"?
It just logs on right after you create the closed game, whispers his message and logs off.
It doen't check anything, check uses different engines.
Title: Re: Sorry, your port is closed, nobody can join your game.
Post by: GaNzTheLegend on February 06, 2015, 07:55:57 PM
nope, nothing changed. Maybe its the new version of the launcher? dunno
I changed nothing in UPNP engine.
The difference is you had 2 or 3 different upnp-compatible devices except router before.
Today you have only 1 (except router).
Maybe some kind of conflict between UPNP devices?
Did you switch off any of them now?

Yea, maybe there was a conflict that somehow resolved itself. I never disabled any devices tho.
Title: Re: Sorry, your port is closed, nobody can join your game.
Post by: EviL~Ryu on February 06, 2015, 08:27:21 PM
Wow, someone actually joined my game. I guess I can host now lol, upnp works.

Time to reclaim that #1 RU Ladder!
He should do a video log of his journey to #1! [emoji57]

Sent from my Motorola DynaTAC 8000X

Title: Re: Sorry, your port is closed, nobody can join your game.
Post by: Winchester on February 06, 2015, 09:44:19 PM
Ganz, send me your warvidz/insights please :D
Title: Re: Sorry, your port is closed, nobody can join your game.
Post by: GaNzTheLegend on February 06, 2015, 11:09:26 PM
Ganz, send me your warvidz/insights please :D

If I had some I would. I wish I still had some of my old ones.
Title: Re: Sorry, your port is closed, nobody can join your game.
Post by: EviL~Ryu on February 07, 2015, 03:55:32 AM
Ganz, send me your warvidz/insights please :D

If I had some I would. I wish I still had some of my old ones.

Get on and produce new ones! Show us the road to #1 o.O
Title: Re: Sorry, your port is closed, nobody can join your game.
Post by: I hate naggers on February 07, 2015, 07:43:11 AM
without the "waiting for absolute noobs/kicking good players" part, the warvids would take maybe up to 50mb.
Title: Re: Sorry, your port is closed, nobody can join your game.
Post by: Player on February 07, 2015, 08:54:30 AM
Nice job iL, that's a good feature.
Title: Re: Sorry, your port is closed, nobody can join your game.
Post by: iL on February 08, 2015, 06:13:06 PM
Added russian message (for russians only), now english and russian messages working:

Quote
/w $username Your port $port is closed, nobody can join your game. Read this page: war2.ru/hosting
/w $username Порт $port закрыт, никто не сможет зайти в Вашу игру. Читайте: war2.ru/hosting.


Native spoken other languages people wanted. Write that message here on your native language and i'll add it to bot.
Also try to format it properly to take 2 lines in game chat.
(http://ss.war2.ru/ss/8173.gif)
Title: Re: Sorry, your port is closed, nobody can join your game.
Post by: tk[as] on February 08, 2015, 06:31:44 PM
can you just type it into google translate ?    https://www.google.com/?gws_rd=ssl#safe=off&q=translate (https://www.google.com/?gws_rd=ssl#safe=off&q=translate)
Title: Re: Sorry, your port is closed, nobody can join your game.
Post by: iL on February 08, 2015, 06:35:21 PM
Not sure about other languages, but translation between english and russian is terrible.
I'd prefer to read english page than the same page google-translated to russian
Title: Re: Sorry, your port is closed, nobody can join your game.
Post by: tk[as] on February 08, 2015, 07:50:19 PM
why does it say port 16112 ?? i thought it was just 6112
Title: Re: Sorry, your port is closed, nobody can join your game.
Post by: tk[as] on February 08, 2015, 07:52:43 PM
Your port 6112(16112?) is closed. You cannot host games until you open this port. Please visit server.war2.ru/hosting to find a possible solution to your hosting problem.
Title: Re: Sorry, your port is closed, nobody can join your game.
Post by: xboi209 on February 08, 2015, 09:09:04 PM
I suggest using the /finger command and parsing the country/language to determine which language to whisper.
Title: Re: Sorry, your port is closed, nobody can join your game.
Post by: GaNzTheLegend on February 08, 2015, 10:08:57 PM
everyone can understand english and port 6112 is pretty obvious.
Title: Re: Sorry, your port is closed, nobody can join your game.
Post by: iL on February 09, 2015, 01:01:26 AM
everyone can understand english and port 6112 is pretty obvious.

Some russian newbies don't know english at all. I suppose there's some french, spanish, etc newbies who don't know english too.
And 6112 is just default port. There's about 5% of people with different default port now. Non-default port could be one of possible problems, but it should actually work with War2PLoader UPNP.
Combat 4.01 also allows to use non-default random port.

why does it say port 16112 ?? i thought it was just 6112

6112 is just default. I changed it to non-default because i'm loo lazy to close port-forwarding on my router, while testing this message.

I suggest using the /finger command and parsing the country/language to determine which language to whisper.

Yes, something like that. More precisely it uses this thing http://server.war2.ru/status/ (http://server.war2.ru/status/) to parse all such information about each user. It sends a notification for each user with gray game created.