EvilLurksIntrnt
Chieftain
- Joined
- Sep 29, 2013
- Messages
- 51
Clone gamespy server for civ4 and civ4 bts. Makes possible for internet lobby to function like before gs shutdown for nonsteampatched version.
How to configure your game so that it joins the clone server.
1) Theory. To get your game to connect to the clone server, redirect all network traffic from/to official gs ip addresses to the address of the clone.
2) Practice. Most easy way I figured is to configure your "hosts" file.
"Hosts" file is situated in "C:\Windows\System32\drivers\etc". You can edit it with notepad and add the entries from sample "hosts" file. Or just replace your "hosts" for sample one.
Before you enter the server first time you need to make a "reshift" of the game, otherwise u might be not able to connect with some players because of "bad" cache. To make these reshift happen automatically, edit your _Civ4Config file, shortcut to which you can find in the folder with your game and make sure that DisableCaching = 1.
Also if u cant connect with someone "reshift" might help.
How to test if hosts file is applied correctly?
Ping motd.gamespy.com. And pay attention to which ip is being pinged. If hosts is applied correctly, ip from hosts file should be pinged.
Useful links
1. Main discussion about direct ip fix http://realmsbeyond.net/forums/showthread.php?tid=7123 - from where it started.
2. https://github.com/dingus221/PRMasterServer - the source code of the server.
3. Website of Zulan's server http://civ.zulan.net/. Where u can find info about updates, some other useful links.
Current progress - 95% done.
5% that aren't done include: testing, figuring some rare bug with natneg
what isn't working:
-buddy functions.
Attaching hosts(01.04.15).rar - hosts for Zulan's server.
Alternative link to this same hosts file https://github.com/dingus221/PRMasterServer/blob/master/hosts
How to configure your game so that it joins the clone server.
1) Theory. To get your game to connect to the clone server, redirect all network traffic from/to official gs ip addresses to the address of the clone.
2) Practice. Most easy way I figured is to configure your "hosts" file.
"Hosts" file is situated in "C:\Windows\System32\drivers\etc". You can edit it with notepad and add the entries from sample "hosts" file. Or just replace your "hosts" for sample one.
Before you enter the server first time you need to make a "reshift" of the game, otherwise u might be not able to connect with some players because of "bad" cache. To make these reshift happen automatically, edit your _Civ4Config file, shortcut to which you can find in the folder with your game and make sure that DisableCaching = 1.
Also if u cant connect with someone "reshift" might help.
How to test if hosts file is applied correctly?
Ping motd.gamespy.com. And pay attention to which ip is being pinged. If hosts is applied correctly, ip from hosts file should be pinged.
Useful links
1. Main discussion about direct ip fix http://realmsbeyond.net/forums/showthread.php?tid=7123 - from where it started.
2. https://github.com/dingus221/PRMasterServer - the source code of the server.
3. Website of Zulan's server http://civ.zulan.net/. Where u can find info about updates, some other useful links.
Current progress - 95% done.
5% that aren't done include: testing, figuring some rare bug with natneg
what isn't working:
-buddy functions.
Attaching hosts(01.04.15).rar - hosts for Zulan's server.
Alternative link to this same hosts file https://github.com/dingus221/PRMasterServer/blob/master/hosts