先把需要的工具發(fā)上來:
解壓后放到游戲根目錄,就是和 TeknoMw3.exe 在一個(gè)目錄下,然后運(yùn)行這個(gè)工具,Win 7 需要用管理員權(quán)限運(yùn)行,最好是把殺毒和防火墻關(guān)掉,因?yàn)檫@個(gè)工具要改Hosts文件,要虛擬一個(gè)外網(wǎng)IP出來。如果大家不在局域網(wǎng)玩了,聯(lián)上外網(wǎng)的話,要記得把Hosts文件還原(如果你原來沒有改過Hosts文件的話,就是把前面不帶“#”(不含引號(hào))的行刪除到只剩“127.0.0.1 localhost”(不含引號(hào))這一行)。
已親測(cè)成功,說一下要注意的幾點(diǎn)(補(bǔ)充了第5點(diǎn)):
1、關(guān)閉“World Wide Web Publishing Service”服務(wù)或者在IIS里把網(wǎng)站那兒改成其它非80端口,因?yàn)?teknomw3_ip_faker.exe 要用到80端口來監(jiān)聽,如果有其它用80端口的程序或服務(wù)也請(qǐng)關(guān)閉,否則會(huì)出錯(cuò)。
2、每臺(tái)電腦都要用 teknomw3_ip_faker.exe 來啟動(dòng)(啟動(dòng)后會(huì)自動(dòng)啟動(dòng)同目錄下的 TeknoMw3.exe )
3、teknomw3_ip_faker.exe 要給管理員權(quán)限,建議:右鍵點(diǎn) teknomw3_ip_faker.exe 文件,選擇“屬性”,在彈出來的屬性窗口選擇打開“兼容性”標(biāo)簽頁,把最下面的“以管理員身份運(yùn)行此程序”勾上。
4、建議單獨(dú)用一臺(tái)電腦建主,同電腦同時(shí)建主和運(yùn)行游戲會(huì)很卡。
5、如果你用單獨(dú)的一臺(tái)電腦建立專用服務(wù)器,則建服務(wù)器的電腦不用運(yùn)行這個(gè)工具,但運(yùn)行游戲的電腦必須得先運(yùn)行 teknomw3_ip_faker.exe 來啟動(dòng)TeknoMw3.exe。
6、注意,要確保每臺(tái)電腦的TeknoMw3.ini里的ID不一樣,否則還會(huì)產(chǎn)生沖突,導(dǎo)致連接不上。
PS:Hosts文件存放位置:c:\windows\system32\drivers\etc\
另外,T神回復(fù)說,下個(gè)版本的TeknoGods載入器已經(jīng)加入了解決純局域網(wǎng)問題的代碼,可以設(shè)虛擬外網(wǎng)IP的選項(xiàng),所以現(xiàn)在用不用這個(gè)工具還看各位自己選擇。
注意:這個(gè)程序運(yùn)行時(shí),防火墻很可能會(huì)阻止,導(dǎo)致這個(gè)程序不能正常運(yùn)行,出現(xiàn)錯(cuò)誤。
這個(gè)是TeknoGods論壇上的原文:
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神的回復(fù):
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
瀏覽量:02014-07-04
瀏覽量:02014-07-04
瀏覽量:02012-04-13
瀏覽量:02012-04-06
瀏覽量:02012-04-05
瀏覽量:02012-03-29