Frogboy Frogboy

SUPPORT: Solving Connectivity Problems

SUPPORT: Solving Connectivity Problems

Tips and Tricks

Most PC games are client/server. That is, someone creates a game and others join that game. The data then goes from you to the host (the server) and then back to the other players.  Sins of a Solar Empire is client/server.

In Demigod, it is peer-to-peer. This was necessary because it needed to have the least amount of latency possible since your moves are directly sent to the other players rather than to a server first.  Because the action in Demigod focuses a great deal on Melee in the third person (i.e. players can see their hits) a lot of traditional methods to mask latency aren't possible. Peer-to-peer reduces the problem of "lag".

The downside of peer-to-peer is that everyone has to be able to connect to each other. In a client server game, many people have heard someone say "I can join games but I can't host them."  In a peer-to-peer game, everyone is technically a host thus greatly increasing the challenge of connecting players.

The solution developed is known as CVP NAT, a new feature of Stardock's Impulse Reactor development library.

So what problems can people have?  Below are the most common issues:

 

  1. Windows may fail to create a local socket. There's a million reasons for this unfortunately and your options are to try to rejoin a game or try hosting the game instead. It's not terribly common but feels very common when it happens to you. It will be more common if you have an older router as we have learned that older consumer routers are more likely to be problematic when opening sockets.
     
  2. Your ISP is sending your messages with different IP addresses. This is common in Europe where people have DSL lines that have multiple IP and the router picks and chooses which IP to send things.  It can also happen for people who have multiple Internet connections going.  For instance, I have a Verizon 3G Internet connectiont that's always on. I also have a Comcast line on.  If I'm trying to play a game, turning one of these connections off will likely help.  At Stardock, we have a thornier issue -- we have 2 comcast lines in which our router picks the one with the most available bandwidth to send out a particular packet.  CVP NAT has been designed to deal with a lot of oddball issues like this but it's not infallible.
     
  3. Firewall. If youre firewall is blocking TCP or UDP packets, you won't be able to connect.
     
  4. Windows failed to configure a local socket.  This is another one of those annoying issues that can come up. It's similar to item #1.  The best way to reduce these kinds of problems is to use Skirmish or the Pantheon.  The "Custom Game" setup in Demigod is the most likely case this will come up since it requires multiple sockets to properly connect players.
TIP:
If you know what you're doing (and only if you know what you're doing) you can load a program that's in the bin directory of Demigod called ImpulseReactorOptions, set up the options there and then seperately go to your router and make sure those ports are port forwarding to the right machine.

To learn how to port forward, see this website: http://www.portforward.com/

To learn more about what ports to open see this document provided by the Monk (THANKS MONK!)

http://themonk.ca/Monk/Networking_and_DEMIGOD.pdf

 

815,708 views 331 replies
Reply #251 Top

I could last week before all the patches, now I only get the NAT connection error all the time :(

Reply #253 Top

It seems that I am unable to connect to half the players in the game. It just keeps trying to connect forever. Half the players can almost always connect to me instantly, while others are blocked every time. The PF program says I have the right ports open. Almost every strategy game is giving me this issue now, could it be that my router is too old?

Reply #254 Top

Everything worked fine befoe the min patch, now i can connect fine but about 10 - 20 minutes in game everyone disconnects.

Reply #255 Top

Quoting wooricflair, reply 3
It seems that I am unable to connect to half the players in the game. It just keeps trying to connect forever. Half the players can almost always connect to me instantly, while others are blocked every time. The PF program says I have the right ports open. Almost every strategy game is giving me this issue now, could it be that my router is too old?

 

Same here. I am unable to connect to almost every player except the host. It just keeps showing 'Waiting to connect' or 'Attempting to connect' and it just goes on forever. Is there any program to show what ports I have blocked etc?

Reply #256 Top

Well Guys Im back, since the most recent patch People can't connect to ME... I have no porblems in the dialogue box connecting to them, but they can't connect to me.... ??? Any help?

Reply #258 Top

Kudos to Stardock for all their hard work. But I haven't been able to connect to a game since the last patch. Hope something can be done about it. 8C

Reply #260 Top

Online games and their issues... ow ow ow.. Warhammer online anyone? WoW a lil? even Red alert 3 anyone? and now this :>

damn this world is nasty pasty

Reply #261 Top

not working for me either, what a shame :s

 

Reply #262 Top

Hey there,

 

I haven't been able to play any multiplayer in the past week as well. I tried everything I've read and it still doesn't work.

 

Everytime I try to connect to a game I either don't see the people I'm trying to connect to (in connection info) and when I try skirmishes/pantheon, it says "Cannot connect to NAT facilitator".

 

I tried port forwarding, I checked if my ports were open by that PDportchecker, and to my suprise they're not open...

 

Anyone care to lend me a hand?

Thanks in advance

Reply #263 Top

There is no point in attempting everything under the sun to get it working at this point.

 

 

Its obviously a Stardock issue.  All of the other options were just that... BEFORE all the updating.  At this point, they are trying to fix something but seemingly breaking others.  I was 100% fine before the last patch set, as were many many others.  Now, apparently they wanted to make sure everyone gets to taste the frustration of not connecting.  lol.

 

 

Reply #264 Top

I'm having trouble connecting to online games, I can get to the lobby and attempt to join a game, and get the waiting screen, but I never get connected.  The status shows that I have connected to some of the players, and that some players have connected to me.

I'm running Vista Ultimate x64, and have also tried running on XP SP3 x64 and x32.

I've tried completely disabling the firewall on my PC, running as Administrator and running with my computer in the DMZ.

I've opened the correct ports, I've done basically every troubleshoot option provided, and had no luck.

I am in the US, my Internet connection is DLS (Provided by Qwest) and my DSL modem is an Actiontec M1000.

 

Reply #265 Top

Looks like everyone here is having problems and no one is able to help each other. Lets just sit back and jam up a few single player or LAN in the meantime. I'mma get back to Steam and L4D/TF2 a little while this sorts out. We'll see what Stardock is capable of (: (no sacarsm intended)

Reply #266 Top

I paid 40 bucks only to strugle in forums to find a solution isn't available on how to play a basically "online" game...gZ stardock...I really liked Gal Siv...but with demigod you get a huge fail...

Reply #267 Top

Quoting Andr3wgR, reply 16
I paid 40 bucks only to strugle in forums to find a solution isn't available on how to play a basically "online" game...gZ stardock...I really liked Gal Siv...but with demigod you get a huge fail...

Quote for truth.

I rather they implement a server just like Blizzard does with Battle.net (by no means a comparison to DotA/WC3 etc, just an example to a similar RTS), This would really reduce the problems encountered because of P2P by a LARGE margin. I don't mind having delay. Delay is IN EVERY WAY BETTER than being UNABLE TO PLAY AT ALL!? (but although the delay in Battle.net DotA games are quite frustrating, but yeah, I think a 1-2 seconds of delay is SO MUCH better than being unable to play.. AT ALL)

 

Reply #268 Top

i don't know if an answers been mentinoned else where (i looked before posting this) but even with ports fowarded and everything else i still get connection issues with some players.  before i fowarded my ports i couldnt' connect at all and now its just a random person sometimes.

 

looking at my router log when trying to connect to those particular people it gets spammed with TCP or UDP packet block from those people. thing is though is the ports they're sending from/to are either way below or way above the normal 6100-6200 range, for example: Blocked incoming UDP packet from 221.209.xxx.xxx:41439 to 68.160.xxx.xxx:1026.

 

and its not always the same, the ports they're sending too are so random and i'm wondering if thats part of my connection issue with some of those players and wondering why those few random players are sending me packets from/to weird ports

 

oh, and in several situation i'll connect to them but the connection info says they can't connect to me.

Reply #269 Top

Quoting Jeferex, reply 14

I am in the US, my Internet connection is DLS (Provided by Qwest) and my DSL modem is an Actiontec M1000. 
No, you don't have only a modem. I'm seeing a large trend for those with connection problems: if you have a combo router/modem (which you do), it is likely to have problems due to shoddy routing/NAT functionality. Follow these instructions to disable it:

http://www.qwest.com/internethelp/modems/m1000/pdf/16304_M1000_NAT.pdf

If you're sharing your internet connection with multiple computers, you can use your modem as only a modem and get yourself a decent Linksys router or similar.

Reply #270 Top

Quoting ShunKeets, reply 19



Quoting Jeferex,
reply 14

I am in the US, my Internet connection is DLS (Provided by Qwest) and my DSL modem is an Actiontec M1000. 
No, you don't have only a modem. I'm seeing a large trend for those with connection problems: if you have a combo router/modem (which you do), it is likely to have problems due to shoddy routing/NAT functionality. Follow these instructions to disable it:


http://www.qwest.com/internethelp/modems/m1000/pdf/16304_M1000_NAT.pdf

If you're sharing your internet connection with multiple computers, you can use your modem as only a modem and get yourself a decent Linksys router or similar.

Yeah, tried that too, just forgot to mention it, it didn't work,  I also got rid of my Untangle firewall/security device to see if that was the problem.

My next step is to get the PPP password for my modem and set it in bridge mode and connect it the Untangle box again, or to an other router.

Odd that Demigod is the only game that doesn't work for me.

 

 

Reply #271 Top

Well, I am back to trying to get MP to work on my computers.  I am using a Watchguard Firebox X10e firewall and have forwarded ports 6112 - 6132 to one of my workstations running the game.  I have set those ports in the Impulse Reactor Options.  I still cannot join a game, the screen shows I am connecting to other players, but they are not connecting to me.  If I plug my network cable into the DSL modem switch, bypassing the Watchguard, it works.  Anyone else using a Firebox on their network?

Reply #272 Top

I am using a DGL 4500 router and kaspersky internet security. No matter how hard I try, I cannot get my ports to forward (according to Port Forwards port checker). I have tried running my computer in the DMZ without the firewall on, made sure I have the ports forwarded to my specific computer on the network, and still nothing. Any ideas folks? (I did follow port forward's guide to make sure I did not have any errors in my router set up)

Reply #273 Top

Argh! So frustrating.

I have set my DSL modem to transparent bridge mode and plugged it into a router then did all of the following:

1. Shut off Windows Firewall

2. Portforwarded.

3. Set my PC in the DMZ

4. Tried a different router.

5. Rinse, repeat.

Still nothing.  This is very, very frustrating and the only game I've never been able to play online with.  In fact the only game I've ever had to try portforwarding on, everything else just worked.

 

 

Reply #274 Top

Quoting dustbeta, reply 21
Well, I am back to trying to get MP to work on my computers.  I am using a Watchguard Firebox X10e firewall and have forwarded ports 6112 - 6132 to one of my workstations running the game.  I have set those ports in the Impulse Reactor Options.  I still cannot join a game, the screen shows I am connecting to other players, but they are not connecting to me.  If I plug my network cable into the DSL modem switch, bypassing the Watchguard, it works.  Anyone else using a Firebox on their network?

Ok, installed the new updates and nothing.  Still never been able to play a game behind my firewall since Beta.  Are there any other ports that need to be forwarded than those specified in Impulse Reactor Options?  I forwarded both TCP/UDP to one internal address.  I am convinced this game will never work using Impulse Reactor.  I hope Stardock goes away from this method in the future.

Reply #275 Top

Figured I would throw this out and see if anyone was having the same problem.

I'm aware that this could just be a problem with my internet on this particular day, and that's likely, but twice today (5/18), I was not only disconnected from Demigod but my internet died and wouldn't come back until a restart fixed it. At first I thought that my ISP (SoCal Roadrunner/Time Warner) was mistaking it for illegal P2P traffic or something and blocking me, but I can torrent fine without problems. I dunno if it's related to the patch, related to Skype/Vent (Was using Skype the first time it died and Vent the second), just my internet being crappy, or something far more sinister, but I've never had this problem before today and I've played a number of successful games prior to this.

Anyone else having the same issues, or is it just my internet acting up?