本文更新于2020/2/29

安装目录

建议直接将game文件夹放D盘目录.内部结构都对应好了.
D:\T3\asrd\rd1
D:\T3\asrd\steamcmd\

安装

1,执行 D:\game\asrd\rd1\StartRD1.bat (如果不是按我前面提示的目录放的,那么需要先编辑这个文件)
2,会自动下载更新游戏.
3,游戏下载完会自动运行SRCDS.exe ,这个就是服务器主进程,关闭SRCDS.exe,也就是关闭服务器.
4,将我提供的game\asrd\rd1\reactivedrop_游戏下载后再将里面文件覆盖\ 这个文件夹里面的内容直接覆盖对应的文件.
5,再次执行 D:\game\asrd\rd1\StartRD1.bat 会自动下载mod并运行服务器

bat部分

 11title srcds ReactiveDrop2 cmd    窗口运行标题
..\steamcmd\steamcmd +login anonymous      登录匿名账户(steamcmd)
D:\game1\asrd\rd1\asrd\rd1     启动目录
+app_update 563560    自动更新游戏文件
+quitecho (%time%) srcds started.
con_logfile "console2.log" 连接日志记录文件
-maxplayers 16 最大游戏人数
+exec server2.cfg  默认server配置文件
+hostname "[CN]T2_No third-party maps" 服务器名称

自定义部分

编辑配置文件,请使用NOTEPAD++ 或者ATOM 或者 UE之类支持UTF-8的软件编辑,请不要系统自带记事本.

服务器名称/人数上限

 编辑
D:\game\asrd\rd1\StartRD1.bat
-maxplayers 10  人数
+hostname  服务器名称,用引号包起来.名称的话 windows服务器是支持中文 如果linux 用wine可以参考
    https://steamcommunity.com/sharedfiles/filedetails/?id=862024047

服务器高级设置

 编辑 D:\game\asrd\rd1\reactivedrop\cfg\server.cfg
hostport 27015 就是端口 自己记得在防火墙或者阿里云之类VPS控制面板开启安全端口
rcon_password "21ed"  请自己修改这个,这个好像别人可以远程控制你服务器...请设置一个特别复杂的密码,自己不用知道,脸滚键盘,随便打.
sv_steamgroup "33579655" steam组ID   33579655对应南方杀手创建的steam组(加入此组的用户可以在游戏打开的时候直接看到你的服务器,另外这里有服务器管理教程.)

关于公网ip的使用方法

首先要确认你拥有公网ip。

 需要登录路由器管理界面,具体地址在路由器下放会明确标写以及默认用户名账户
举个例子比如我用的tplink的路由器 192.168.1.1 查看WAN口的状态里边有ipv4的地址 然后去百度直接搜 ip 两个ip不一样那么你就是私网ip。
关闭路由器的防火墙,以及服务器的防火墙
路由器中端口映射服务器开启 游戏端口在sever.cfg配置文件中有 默认27015
端口映射如果没用可以用dmz主机进行测试,测试后务必关闭dmz。

如果没有公网ip怎么开服务器

如果没有公网ip,那么你又想开服务器,

 云服务器
内网穿透
找运营商去索要公网ip

MOD 使用

编辑

D:\game\asrd\rd1\reactivedrop\cfg\workshop.cfg
 ID对应创意工坊的ID
 861497042 对应  https://steamcommunity.com/sharedfiles/filedetails/?id=861497042

增加 T3 workshop.cfg文件

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175


rd_enable_workshop_item 1112385907 //4Fun Challenges



//rd_enable_workshop_item 958657887 //鼠标变成指示,单机mod
//rd_enable_workshop_item 856769698 //Bright Parasite 寄生虫高亮补丁 ,单机
//rd_enable_workshop_item 910871185 //Custom HUD 显示8个队友信息, 单机
//rd_enable_workshop_item 1431524375 //炸弹粒子
//rd_enable_workshop_item 1435789516 //足球


rd_enable_workshop_item 920595874 //Aliens Drop Loot
//rd_enable_workshop_item 936916506 //ASBI BackFire
rd_enable_workshop_item 1167497265 //ASBI Tier 1
//rd_enable_workshop_item 936914699 //BackFire
//rd_enable_workshop_item 942528430 //Backfire Energy Weapons Onslaught
rd_enable_workshop_item 1599446224 //AsSBI P 挑战
rd_enable_workshop_item 1584605820 //无asbi的p挑战
rd_enable_workshop_item 1176332590 //No Flamer BackFire
//rd_enable_workshop_item 1104834692 //OnFire BackFire Challenges




rd_enable_workshop_item 1204441372 //SCAVENGER 11.1


// 2020 02.19
rd_enable_workshop_item 1969483202 //冰Ice Age
rd_enable_workshop_item 1846586064 //give me the power
rd_enable_workshop_item 1933311549 //4fun+give me the power
rd_enable_workshop_item 1337125963 //Power-Up Rifle Mod步枪加电和自定义外星人选择带来的挑战集合。猛攻开启
rd_enable_workshop_item 1365831405 //New Level One Challenger从一级添加更多武器和物品------d等
rd_enable_workshop_item 910875846 //更多武器 More Starting Equipment
rd_enable_workshop_item 1663821856 //Hold the door 打怪产生门
// 所有地图 更新于2020.3.5
rd_enable_workshop_item 2013209534
rd_enable_workshop_item 1973725602
rd_enable_workshop_item 1614683161
rd_enable_workshop_item 922535233
rd_enable_workshop_item 912495756
rd_enable_workshop_item 1206252032
rd_enable_workshop_item 861497042
rd_enable_workshop_item 918258674
rd_enable_workshop_item 915825188
rd_enable_workshop_item 914071790
rd_enable_workshop_item 909702841
rd_enable_workshop_item 1093180806
rd_enable_workshop_item 908169099
rd_enable_workshop_item 1550139489
rd_enable_workshop_item 1528228467
rd_enable_workshop_item 848260335
rd_enable_workshop_item 1118193931
rd_enable_workshop_item 902578057
rd_enable_workshop_item 936675978
rd_enable_workshop_item 880002363
rd_enable_workshop_item 888540730
rd_enable_workshop_item 1091586526
rd_enable_workshop_item 910004286
rd_enable_workshop_item 856807495
rd_enable_workshop_item 848935191
rd_enable_workshop_item 1435789516
rd_enable_workshop_item 918505277
rd_enable_workshop_item 921199337
rd_enable_workshop_item 899642699
rd_enable_workshop_item 1557516502
rd_enable_workshop_item 926408225
rd_enable_workshop_item 913021935
rd_enable_workshop_item 915370759
rd_enable_workshop_item 1566109639
rd_enable_workshop_item 848331447
rd_enable_workshop_item 912403124
rd_enable_workshop_item 1552568795
rd_enable_workshop_item 1539163254
rd_enable_workshop_item 1551965583
rd_enable_workshop_item 1519884777
rd_enable_workshop_item 1237706276
rd_enable_workshop_item 1139612462
rd_enable_workshop_item 913650485
rd_enable_workshop_item 936685990
rd_enable_workshop_item 912295353
rd_enable_workshop_item 918461785
//rd_enable_workshop_item 922487973 //Jacob's Rest Practice
rd_enable_workshop_item 935577904
rd_enable_workshop_item 930171604
rd_enable_workshop_item 912391147
rd_enable_workshop_item 1137665830
rd_enable_workshop_item 912200251
rd_enable_workshop_item 1742966456
rd_enable_workshop_item 916055799
rd_enable_workshop_item 936758385
rd_enable_workshop_item 936092737
rd_enable_workshop_item 936101427
rd_enable_workshop_item 923212897
rd_enable_workshop_item 1559750537
rd_enable_workshop_item 911647482
rd_enable_workshop_item 1259154538
rd_enable_workshop_item 914421802
rd_enable_workshop_item 1313628775
//rd_enable_workshop_item 935639233 //Zoidberg Reactor Campaign
rd_enable_workshop_item 1312255876
rd_enable_workshop_item 1121225033
rd_enable_workshop_item 872381076
rd_enable_workshop_item 943623443
rd_enable_workshop_item 915564134
rd_enable_workshop_item 936751209
rd_enable_workshop_item 1337885195
rd_enable_workshop_item 957780766
rd_enable_workshop_item 935487339
rd_enable_workshop_item 911490837
rd_enable_workshop_item 1626396865
rd_enable_workshop_item 896151542
rd_enable_workshop_item 1636064547
rd_enable_workshop_item 951153486
rd_enable_workshop_item 912382267
rd_enable_workshop_item 916097064
rd_enable_workshop_item 947665763
rd_enable_workshop_item 910275735
rd_enable_workshop_item 1109961848
rd_enable_workshop_item 1119808306
rd_enable_workshop_item 935549703
rd_enable_workshop_item 931391928
//rd_enable_workshop_item 1795328721
rd_enable_workshop_item 1384208753
rd_enable_workshop_item 1773700907
//rd_enable_workshop_item 1787511404
rd_enable_workshop_item 1110701441
rd_enable_workshop_item 931330279
rd_enable_workshop_item 1417813936
rd_enable_workshop_item 940245258
rd_enable_workshop_item 922334923
rd_enable_workshop_item 1352547848
rd_enable_workshop_item 912372077
rd_enable_workshop_item 1897488567
rd_enable_workshop_item 1897276227
rd_enable_workshop_item 1632619654
rd_enable_workshop_item 1737542240
rd_enable_workshop_item 1890426486
rd_enable_workshop_item 1666494339
rd_enable_workshop_item 1528716585
rd_enable_workshop_item 909991842
rd_enable_workshop_item 1755027141
rd_enable_workshop_item 1139381252
rd_enable_workshop_item 1116080348
rd_enable_workshop_item 914418286
rd_enable_workshop_item 1896506941
rd_enable_workshop_item 1822739548
rd_enable_workshop_item 1589215389
rd_enable_workshop_item 1782790265
rd_enable_workshop_item 1648879226
rd_enable_workshop_item 1489254161
rd_enable_workshop_item 1963113575
rd_enable_workshop_item 1820128803
rd_enable_workshop_item 1601467010
rd_enable_workshop_item 1137756817
rd_enable_workshop_item 934871104
rd_enable_workshop_item 920352412
rd_enable_workshop_item 1756515767
rd_enable_workshop_item 2004993840
rd_enable_workshop_item 1287920225

// 2020-3-10 challenge
//rd_enable_workshop_item 1833578091 //Funplayers Mod
rd_enable_workshop_item 1662513411 //Full Moon Speed Freak
rd_enable_workshop_item 1831775391 //Boomer Party!
rd_enable_workshop_item 1849007337 //血条
rd_enable_workshop_item 1918010674 //Power of Despair
rd_enable_workshop_item 2004834354 //You Are Spy
rd_enable_workshop_item 943658947 //突击步枪万岁
rd_enable_workshop_item 1716572480 //Bouncing Betty
rd_enable_workshop_item 1336339476 //Death Ray死亡激光。
rd_enable_workshop_item 1192819294 //第一人称
rd_enable_workshop_item 927864921 //医疗挑战Medical Research - Challenge

管理员名单

编辑

 D:\game\asrd\rd1\reactivedrop\addons\sourcemod\configs\admins.cfg
其中STEAM_1:1:123779401 是我自己的,可以在游戏控制台使用命令status获得(自己).也可以在游戏日志中获得(其他人)
补充已知bug 如果管理员ID重复,会造成服务器不定时重启

服务器公告

编辑

 D:\game\asrd\rd1\reactivedrop\addons\sourcemod\configs\Advertisements.txt
WINDOWS服务器支持中文,注意保持文件格式(UTF-8 无bom)  linux不清楚中文支持情况.

服务器保留人数

公告播放间隔 \ 服务器保留位置 (比如我的服务器是10人服务器,8个正常位置,2个保留位置)

编辑

 D:\game\asrd\rd1\reactivedrop\cfg\sourcemod\sourcemod.cfg
sm_advertisements_interval 60   公告间隔,单位秒
sm_reserved_slots 2    保留人数2

服务器管理

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
1,查看用户信息:包括 国家,IP,steam ID , user ID
命令sm_users
用法就是直接输入这个指令回车即可.

特别注意user id
user id 是每个人进入该服务器自动分配的数字,而且每次进入都会不一样.
下面其他命令都和这个user id 有关系
比如我的userid 为4

2,设置某人准备/取消准备
命令
sm_setready
用法
sm_setready [1|0] [#userid|@all] 1 = 准备, 0=不准备

举例:让所有人都准备
sm_setready 1 @all

举例:让某个用户准备,比如用户当前user id为 4 (4前面加一个#号)
sm_setready 1 #4

3,设置某人房主
命令
sm_setleader
用法
sm_setleader [#userid]
sm_setleader #4

举例: 将user id 为4的设置为管理员
sm_setleader #4

4,踢人
命令 sm_kick
用法
sm_kick [#userid]

举例: 将uesrid 为4的用户踢掉.
sm_kick #4

原文作者: Y.A.K.E
原文链接: https://www.yge.me/public/addons/yakeblog/detail/show/id/21.html