Life's Miscellaneous Et Ceteras

A college student's frivolous reflections on life, love, and the universe.

home | blog | photography

Playing C&C3 Online

Posted on June 27th, 2007 at 1:02 PM

I feel obligated to post how I managed to get both my roommate and myself connected to C&C3 online at the same time under the same router, because I haven't seen the solution anywhere else. Hopefully, Google will do it's job and direct anybody with a similar problem here.

The situation: Both my roommate and I (running Windows Vista) want to play C&C3 online at the same time, both connected via wireless to the Linksys WRT54G router.

Command & Conquer 3

Normally, getting a game to work online involves opening a port, so the router can know to whom to direct network traffic. C&C: Generals was like this. No biggie! Open up two different ports: one pointing to me, and one pointing to him... and then change the setting in the game.

C&C3 posses a problem in that it requires a LARGE amount of ports open to work that you CANNOT change from within the game. You can set a single port to watch, but the game itself requires a large range to work.

The solution: Port triggering. Port triggering is like port forwarding that activates when a client starts talking to a specific port. This allows selective port forwarding as each client needs it and thus, we both have access to the full range of ports needed to run the game. The probability of collisions is low, given the large range. So the settings look like this:

  • Set ports 2049 through 29910 to be triggering ports
  • Set any port NOT in that range to be forwarded to a specific player on the network. Do this for all players.
  • Then, in the Options->Network tab in the game, type in your port that you forwarded in the previous step.

And you're done! If anybody else tries this, let me know, as I'm curious as to whether it really works... or it was just a fluke that it worked for us.

There is a known issue that if one of us hosts an online game, and the other joins AND somebody outside the network joins the game, both of our games (and the router!) crash when the game is loading. However, playing 1v1 online against my roommate works, and playing in different games online at the same times work, and hosting games works.

This post and comments were taken from an old blog of mine, and it still generates a lot of traffic. Since I'm deleting that old site, I moved it here so hopefully if somebody still needs this crap they can find it.
This entry was filed under How To and Gaming

There are 3 comments.
  1. March 14th, 2008, 1:15 PMMartin said:
    “There is a known issue that if one of us hosts an online game, and the other joins AND somebody outside the network joins the game, both of our games (and the router!) crash when the game is loading.

    Well.. if both you and your friend are connected to a router then a LAN game would suffice i gues.

    Me and my friend both want to go online and play together against other players, but each time i try that it’s saying: Unable to join the game - The error code is 0.

    Was happ to read your post till the last few lines :(
  2. March 14th, 2008, 1:16 PMWebSquirrel said:
    Hey! Looks like you know a thing or two about this. I’m at college right now, and when I’m connected to the school network, I can’t connect to c&c3 online. It happened with c&c Generals and I wanna know if you have any insight or suggestions? I’m gonna try what you posted here, I’ll let you know if it works =D
  3. March 14th, 2008, 1:16 PMCb said:
    That finally solved the problem with me. I have been having issues since the game came out. Thanks man!

Random Photos

lcd1IMG_9343IMG_9430NicollePlazaMauled LogStanding UpGreg and Rope 3

Status

Facebook Updates

Recent Music

Now Playing

You Have No Idea What You're Getting Yourself IntoYou Have No Idea What You're Getting Yourself IntoDoes It Offend You, Yeah?

Recent Songs

  • Weird ScienceDoes It Offend You, Yeah?
  • We Are RockstarsDoes It Offend You, Yeah?
  • Where I StoodMissy Higgins
  • Back in BlackAC/DC
  • Battle RoyaleDoes It Offend You, Yeah?