Skip to content

Commit

Permalink
添加使用方法
Browse files Browse the repository at this point in the history
  • Loading branch information
helianthus1370@gmail.com committed Mar 20, 2020
1 parent 86f099b commit ffa52d2
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,17 @@ GTAOL, 犯罪之神挑战
### 目的
由于硬性的条件是**不可死亡**, 但GTAOL当在出现死亡的一瞬间, 结束掉游戏进程, 不让它上传死亡数据, 即可重新上线继续从当前进度开始打, 不过要队伍里面的人都结束掉进程, 如果有人没结束掉, 那么他的进度将会重置(一个人重置之后所有人都要重新打), 为了防止这种尴尬的情况, 就有了此软件.

### 使用方法
程序使用`F4`键, `F4`键, `F4`键来干掉GTA5进程.

##### Online
启动Server, 默认会监听`25155`端口, 要将这个端口映射到公网, 起码客户端要能连接到你这个端口.

启动Client, 输入Server的地址, 列如服务端的ip为`192.168.5.2`, 监听的端口为`25155`, 则Client输入Server地址的时候就是`192.168.5.2:25155`, 连接成功后, Server会收到消息并提示, Client也会提示连接成功

##### Offline
如果没公网ip,或者和队友都有足够快的手速, 可以选择以离线模式运行本程序, 只需要在`Client.exe`同级目录打开`cmd`, 输入`Client.exe -online=false`, 即可直接运行本程序.

### 功能
`Server.go`
```
Expand Down

0 comments on commit ffa52d2

Please sign in to comment.