3DMGAME 3DM首页 新闻中心 前瞻 | 评测 游戏库 热门 | 最新 攻略中心 攻略 | 秘籍 下载中心 游戏 | 汉化 购买正版 论坛

注册 登录

QQ登录

只需一步,快速开始

查看: 5492|回复: 25
打印 上一主题 下一主题

[原创] █████████ 告诉你,如何边开 MW2专用服务器,边一起游戏 ███████

[复制链接]

5

主题

536

帖子

603

积分

超级玩家

Rank: 5Rank: 5

贡献度
82
金元
3350
积分
603
精华
0
注册时间
2008-8-28
跳转到指定楼层
主题
发表于 2010-10-20 17:35 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式
新建一个目录名字为MW2 Server 的文件夹,在MW2 Server 文件夹下新建一个main文件夹把nulliwd.7z内容解压缩进去,另外把server.cfg一起放进去,把set sv_hostname "Unicom Private Mod Server - 1 I am Lyocell"替换成自己想要服务器的名字。

把"服务器文件"解压缩到MW2 Server 文件夹下。2楼有附件
把zone重游戏目录copy到MW2 Server 文件夹下。
想玩mod的把mod文件夹从游戏目录一起copy到MW2 Server 文件夹下

players文件夹可以不用copy,开启服务器的时候自动回生成。

运行目录下"开启服务器.bat"开启服务器。没有?看2楼附件

如何自己玩呢?
当你开启成功后,会出现
    localized assets iwd file for english
F:GameMW2 Servermainlocalized_english_iw00.iwd (3013 files)
    localized assets iwd file for english

File Handles:
handle 1: console_mp.log
----------------------
61410 files in iwd files
Unloaded fastfile dlc2_ui_mp
Unloaded fastfile dlc1_ui_mp
Unloaded fastfile ui_mp
Unloaded fastfile localized_ui_mp
Loading fastfile mp_rust
Waited 1688 msec for asset 'maps/mp/mp_rust.d3dbsp' of type 'col_map_mp'.
------- Game Initialization -------
gamename: IW4
gamedate: Feb  2 2010
-----------------------------------
Huffman Took 2 Milliseconds
Error: SetDvar: dvar 'aiw_hardpoints_stack' not allowed to be modified.  flags are '256'.  New value supposed to be 0.
We wanted to send a logging packet but we haven't connected to the LSP server yet, so we're dropping the packet.
-----------------------------------
map_rotate...

"sv_mapRotation" is: "gametype war map mp_afghan gametype war map mp_boneyard gametype war map mp_brecourt gametype war map mp_checkpoint gametype war map mp_derail gametype war map mp_estate gametype war map mp_favela gametype war map mp_invasion gametype war map mp_nightshift gametype war map mp_quarry gametype war map mp_rundown gametype war map mp_subbase gametype war map mp_terminal gametype war map mp_underpass gametype dom map mp_afghan"

"sv_mapRotationCurrent" is: ""

setting new current rotation...
new gametype: war
new map: mp_afghan
Working directory: F:GameMW2 Server
Unloaded fastfile mp_rust_load
Loading fastfile mp_afghan_load
CL_Disconnect called for local client 0
Not setting unlocked items as new because we have not initialized itemsUnlocked. This should only happen after a map load error.
Saving lastPlayedTime of 1287566494.
==== ShutdownGame (1) ====
------ Server Initialization ------
Server: mp_afghan
Unloaded fastfile mp_rust
----- FS_Startup -----
Current language: english
Current search path:
F:GameMW2 Servermainz_spetz2.iwd (70 files)
F:GameMW2 Servermainz_spetz1.iwd (161 files)
F:GameMW2 Servermainiw_25.iwd (11 files)
F:GameMW2 Servermainiw_23.iwd (429 files)
F:GameMW2 Servermainiw_22.iwd (434 files)
F:GameMW2 Servermainiw_21.iwd (46 files)
F:GameMW2 Servermainiw_20.iwd (86 files)
F:GameMW2 Servermainiw_19.iwd (57 files)
F:GameMW2 Servermainiw_18.iwd (61 files)
F:GameMW2 Servermainiw_17.iwd (125 files)
F:GameMW2 Servermainiw_16.iwd (171 files)
F:GameMW2 Servermainiw_15.iwd (198 files)
F:GameMW2 Servermainiw_14.iwd (406 files)
F:GameMW2 Servermainiw_13.iwd (63 files)
F:GameMW2 Servermainiw_12.iwd (31 files)
F:GameMW2 Servermainiw_11.iwd (297 files)
F:GameMW2 Servermainiw_10.iwd (556 files)
F:GameMW2 Servermainiw_09.iwd (716 files)
F:GameMW2 Servermainiw_08.iwd (886 files)
F:GameMW2 Servermainiw_07.iwd (782 files)
F:GameMW2 Servermainiw_06.iwd (481 files)
F:GameMW2 Servermainiw_05.iwd (952 files)
F:GameMW2 Servermainiw_04.iwd (1005 files)
F:GameMW2 Servermainiw_03.iwd (1437 files)
F:GameMW2 Servermainiw_02.iwd (1391 files)
F:GameMW2 Servermainiw_01.iwd (1272 files)
F:GameMW2 Servermainiw_00.iwd (1428 files)
F:GameMW2 Server/main
F:GameMW2 Server/main_shared
F:GameMW2 Server/players
F:GameMW2 Server/raw
F:GameMW2 Server/raw_shared
F:GameMW2 Server/devraw
F:GameMW2 Server/devraw_shared
F:GameMW2 Servermainlocalized_english_iw07.iwd (860 files)
    localized assets iwd file for english
F:GameMW2 Servermainlocalized_english_iw06.iwd (1474 files)
    localized assets iwd file for english
F:GameMW2 Servermainlocalized_english_iw05.iwd (1635 files)
    localized assets iwd file for english
F:GameMW2 Servermainlocalized_english_iw04.iwd (2172 files)
    localized assets iwd file for english
F:GameMW2 Servermainlocalized_english_iw03.iwd (2742 files)
    localized assets iwd file for english
F:GameMW2 Servermainlocalized_english_iw02.iwd (2732 files)
    localized assets iwd file for english
F:GameMW2 Servermainlocalized_english_iw01.iwd (2525 files)
    localized assets iwd file for english
F:GameMW2 Servermainlocalized_english_iw00.iwd (3013 files)
    localized assets iwd file for english

File Handles:
handle 1: console_mp.log
----------------------
92115 files in iwd files
Loading fastfile mp_afghan
Waited 1121 msec for asset 'maps/mp/mp_afghan.d3dbsp' of type 'col_map_mp'.
------- Game Initialization -------
gamename: IW4
gamedate: Feb  2 2010
Waited 205 msec for asset 'common_scripts/_destructible_types_anim_lockers.gsc' of type 'rawfile'.
-----------------------------------
We wanted to send a logging packet but we haven't connected to the LSP server yet, so we're dropping the packet.
-----------------------------------
GamerProfile - Updating and possibly saving for controller #0.

GamerProfile - Compressed 'Exe' keypairs for storage.  Used 73/1000 bytes.
GamerProfile - Compressed 'Common' keypairs for storage.  Used 164/1000 bytes.
aIW auth returned 13.37

Resolving server.alteriw.net
server.alteriw.net resolved to 94.23.19.48:19025
Sending heartbeat to server.alteriw.net
Steam auth server ID is 0x4213371337420000
******************Set External IP******************
Our external IP is 119.113.136.204:28960
Our internal IP is 192.168.1.60:28960

Setting our NAT to Open
Sent to LSP: HELLO: LSPXUID 1100001ded1ca7e - GT "aIW|Dedicated [v0.2a]" - MID 0 - HD "yes" - WS "yes" - BTN "buttons_default" - STK "thumbstick_default"

其中的192.168.1.60:28960便是我自己路由内笔记本的IP,我们服务器想自己玩就需要连接这个ip,不要尝试连接什么127.0.0.1或者119.113.136.204:28960这样的外网ip


路由测试成功,没有路由的朋友自己在研究吧,另外一点就是当你connect 192.168.1.60:28960的时候快速切进自己的游戏,不然容易出现服务器断开连接。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|3DMGAME ( 京ICP备14006952号-1  沪公网安备 31011202006753号

GMT+8, 2026-5-12 13:46 , Processed in 0.032875 second(s), 18 queries , Memcached On.

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表