Skip to content

Commit 99a3996

Browse files
author
Col. Schwi
authored
Update README.md
1 parent d91a423 commit 99a3996

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ To give Insurgency:Sandstorm Server Some Commands When It Starts a Round to Over
66
当回合开始时给叛乱:沙漠风暴服务端一些指令来覆盖被游戏模式所设定的配置
77

88

9+
910
# ATTENTION
1011
.NET Core 3.1 is required to run this program.
1112

@@ -14,18 +15,30 @@ To give Insurgency:Sandstorm Server Some Commands When It Starts a Round to Over
1415
https://dotnet.microsoft.com/download/dotnet-core/3.1
1516

1617

18+
1719
# How to use
18-
1.Put program at the root of server. (Where the `InsurgencyServer.exe` is located)
20+
1. Put program at the root of server. (Where the `InsurgencyServer.exe` is located)
21+
1922
2. Create two txt files and a cmd file in same location. (Example: *a*.txt, *b*.txt and *c*.cmd)
23+
2024
3. Writing your server config in *a*.txt . (Example content as "*`Precinct?Scenario=Scenario_Precinct_Checkpoint_Security?MaxPlayers=8 -Port=37102 -QueryPort=37131 -AdminList=Admins -MapCycle=Mapcycle -hostname="yourname"`*", you should remove the outside "", but DO NOT REMOVE which follows "`-hostname=`".)
25+
2126
4. Writing your commands in *b*.txt , use NewLine to spilt each commands. They're as same as the rcon commands.
27+
2228
5. Writing the *c*.cmd as following example: "`ISSServerProt.exe --argsFile `*`a`*`.txt --rconPort `*`port`*` --rconPassword `*`password`*` --name `*`Normal`*` --CommandFile `*`b`*`.txt`".
29+
2330
6. Run the *c*.cmd , you should join the server after it started at least 45 secs. But if it starts so slowly that the program's connect request is sended earlier than server could accept them, the commands will not be executed correctly.
2431

32+
2533
### 如何使用
2634
1. 将程序放在服务器根目录下。 (`InsurgencyServer.exe`所在的位置)
35+
2736
2. 在相同位置创建一个cmd文件和两个txt文件。(例如 *a*.txt , *b*.txt 和 *c*.cmd )
37+
2838
3.*a*.txt 写下你的服务器配置。(示例内容:"*`Precinct?Scenario=Scenario_Precinct_Checkpoint_Security?MaxPlayers=8 -Port=37102 -QueryPort=37131 -AdminList=Admins -MapCycle=Mapcycle -hostname="yourname"`*",你应该删去外侧的 "" ,但不要删除跟着"`-hostname=`"的。)
39+
2940
4.*b*.txt 写下你的指令,用换行符分割各个指令。它们和rcon指令一样。
41+
3042
5. 依照以下示例编写 *c*.cmd : "`ISSServerProt.exe --argsFile `*`a`*`.txt --rconPort `*`port`*` --rconPassword `*`password`*` --name `*`Normal`*` --CommandFile `*`b`*`.txt`" 。
43+
3144
6. 运行*c*.cmd,你应该在服务器启动45秒后再加入。但如果它启动的很慢,以至于程序的连接请求在服务端能接受之间就被发送,指令将不会被正确执行。

0 commit comments

Comments
 (0)