PDA

View Full Version : Bleh, another sudden error


master sven
May 28, 2008, 10:34 PM
First I want to say that I finally got rid of not being able to host, it was because my router changed it's IP somehow.( Maybe that will be usefull for other people having the same problem) However, suddenly some people couldn't join my server while others could and I have a 30sec bug while joining while I can recv and send bytes. I have no idea how this has come, maybe you guys know...

Slaz
May 29, 2008, 09:01 AM
I've had a similar problem before involving my connection to a CC member (can't remember his name). On his server, I was able to send and receive correctly, I saw the other rabbits moving, but still I got a connection time out after 30 secs. And yes, I'm always using Blurs program to play JJ2 otherwise I can't do anything at all with my Speedtouch router.. Hmm, other that some common lag nobody experienced any problems connection to my JJ2 server..

Grytolle
May 29, 2008, 12:12 PM
I have had that prob a lot. For me it helps to join with -connect

master sven
Jun 1, 2008, 09:43 PM
Anyone an(other) idea how I should fix the hosting problem/it?

Cpp
Jun 2, 2008, 01:13 AM
The CTO problems have mainly to do with UDP traffic not getting through. If you can join and see chat then your TCP works properly.

master sven
Jun 2, 2008, 09:55 PM
Yes I can see the chat, the recieving seems kinda fake by the way, I can see people moving, but they can't see me.

Cpp
Jun 3, 2008, 05:57 AM
If you can see other people moving then you have successfully forwarded incoming UDP ports. The fact that others cannot see you suggests that your outgoing UDP traffic doesn't reach them. Check your router and see if you can locate anything that might be blocking your outgoing UDP traffic.

Krezack
Jun 5, 2008, 10:02 AM
Wouldn't the server time you out if you hadn't sent any packets after a certain amount of time, regardless of if you could receive?

Cpp
Jun 5, 2008, 11:05 AM
Both, server and client should time out when they don't receive any udp traffic for 30 seconds.

master sven
Jun 8, 2008, 02:19 AM
I can send and recieve, at least that is what JJ2 tells me. (they are both way over 1000)

Cpp
Jun 10, 2008, 03:32 AM
Do not rely on those numbers alone. JJ2 might be sending the traffic fine, but your firewall/router can tell you a different story when it comes to forwarding the traffic.

master sven
Jun 10, 2008, 10:50 PM
I can't find anything changed and have no idea what could be blocking my outcoming UDP traffic.

Cpp
Jun 11, 2008, 01:15 AM
First of all, I suggest you run an experiment in a controlled environment to see whether my theory is correct. After that we can start looking for the problem.

Have one of your friends join your private server and see what happens. After that, have him host a private server and join it. See what happens. I'm particularly interested whether any of you can see the other player in each case. Report the findings to me and I'll see what I can come up with. Also, be sure that this friend isn't having any hosting and/or cto problems himself.

~Ol

master sven
Jun 11, 2008, 06:19 AM
Ok I will do that ASAP, but currently writing a 1000 words essay. :S

master sven
Jun 11, 2008, 08:14 AM
Ok I tested it with valmango. When I hosted he could see me and I could see him, nothing was wrong. The only problem I have with hosting is that some people see my server as pinging (Slaz, Deene and Slayer), Deene joined once normally though and Slaz could join on hamachi. When Valmango hosted I could see him but he couldn't see me. I ofcourse had a CTO after 30 seconds.

Cpp
Jun 12, 2008, 12:15 AM
Interesting. Not only the findings don't confirm my previous suspition, they also contradict it.
When I hosted he could see me and I could see him, nothing was wrong.This suggests that everything worked properly. The fact that you could see each other means that UDP is getting through properly on both sides.

The only problem I have with hosting is that some people see my server as pinging (Slaz, Deene and Slayer), Deene joined once normally though and Slaz could join on hamachi.Are these people also having problems with other servers? Could it be network lag? Is your server pinging all the time for them (each day you host it)? Are they having CTO problems on your server?

When Valmango hosted I could see him but he couldn't see me. I ofcourse had a CTO after 30 seconds.This is definitely a problem with your UDP not reaching his server. Do you have this CTO bug on every server you join?

master sven
Jun 12, 2008, 03:39 AM
I have the 30sec CTO bug on every server I join and those people could never join my server except for deene, who could join it once and then didn't had a CTO.

Cpp
Jun 13, 2008, 03:00 PM
To be honest, I'm not quite sure where the problem is so I'll just state the facts. From your point of view, there are numerous possibilities. First of all, we have forward and backward UDP traffic. This traffic then passes through two firewalls - your own and that of the other player(s). And finally, we have two roles that your jj2 can take - server or client.
This gives us a total of 8 possibilities where things can go wrong. Luckily, only half of these apply for you, the other half apply for the guy on the other side of the chessboard. For now I'll just assume that everything works fine for the black player and focus on the white side of the chessboard (your part). From what you've told us so far, I've been able to visualize the following picture:

You're having 30s CTO's on every server. This is caused by the UDP traffic not making its way from your client to the server and/or vice-versa.
When playing as client, you can see others, but they can't see you. This confirms the UDP traffic from the server is reaching your client, hence you can see other players. Unfortunately your own UDP traffic fails to reach the server and that's why they cannot see you.
When you hosted, you could see the other player and he could see you. This means the UDP traffic works properly in both ways.

Results:
server, incoming: YES When you host, you can see other players.
server, outgoing: YES When you host, others can see you.
client, incoming: YES When you join, you can see other players.
client, outgoing: NO! When you join, others cannot see you.

From the looks of it I'd say it's possible that some of the people you were talking about were having similar problems on their own. The fact that you're having CTO's on every possible server rules out one possibility. This means the problem likely resides on your side, but at this point I can only speculate what it might be.
If valmango can join your server (from the internet) at any time and there aren't any CTO's then there's an excellent chance that your UDP works properly while hosting. Note that jj2 uses predefined ports when hosting and random ports when joining. It is possible that this random port UDP traffic gets dropped somehow before it reaches the server.

Dermo
Jun 14, 2008, 08:05 AM
sometimes when weird stuff like that happens to me, restarting my computer and flushing the dns or repairing the network connection works.

Do you have Hide IP or anything like that installed that might be causing a clash?

master sven
Jun 14, 2008, 11:49 PM
I don't think so, although it happened just one day.

Edit: I just realized that everyone that couldn't join my server has connection problems himself. Deene and SR can't host and Slaz needs blurs program to play JJ2. I hope this can help you in helping me because I really have no idea what to do.:P

master sven
Jun 16, 2008, 06:10 AM
By the way, just for the record, I can join with the - connect option.

master sven
Jun 23, 2008, 05:17 AM
I just want to mention that as sudden as it started my problem is solved. This is really strange as I did not do anything with my router last week. I don't know if some people still arent able to join my server but I think they can.

TechnoPauluz
Jun 24, 2008, 03:14 PM
OMG ill know that kind of problems! Beqause I spend lots off time on this pretty anoying problem and fixed it in lots of time >:) ill try to help you forward... ;)

Ill think you need to check the following things:

- Change your dynamic Ip adres to a Static one see the link below here.
http://www.portforward.com/networking/staticip.htm

- Forward the ports in your router that jazz2 need (see on the site)
(ill set port 500 t/m 50000 open in my router for getting rid off the *** security.

- Something about security: Your modem/router maybe have some off this anoying content. I did disable my firewall and stuff.
With Windows firewall u can make an exception for jazz2 that it don't block it annymore.

Succes!