This is a temporary fix for the TeknoMW3 issue happening when two or more offline (or behind the same NAT router) users trying to play LAN can't play (one disconnects the other).
I found the solution by sniffing the network. I figured out the game was trying to get a public ip from
http://automation.whatismyip.com/n09230945.asp.
This tool just acts like a very lite web server, giving the game what it's asking for, a different public ip for every player. It also adds an entry to hosts file for automation.whatismyip.com to point to your LAN address so if you are going to play online you should remove that entry manually.
The ip given has 3 octets fixed 200.55.156 and the 4th is gotten from the actual LAN ip address of the Pc.
E.g. if your lan ip is 192.168.1.3 your fake ip will be 200.55.156.3.
I made this tool to play offline LAN with my friends at home without internet but i wanted to share it with you. Use it as is. Hopefully you won’t need it soon when they finally fix it.
If you put this tool in the MW3 root directory it will open TeknoMw3.exe automatically.
这是T神的回复:
Hello,
We have been aware of the external ip problem for a while now. The latest build offers 2 new ini options:
[Network]
OnlineMode=true/false (default true) //disables master server callbacks, your server wont be visible online
ExternalIP=1.2.3.4 (default your external ip returned by the router UPnP feature or whatsmyip.org callback or random (when OnlineMode=false)
While playing offline on LAN, its recommended to set the OnlineMode to false. The external IP will be randomized in that case.
This code has been purely added to fix the offline server startup crash -- but hey, if it fixes also the disc bug, that's great