This commit is contained in:
aozhiwei 2023-10-02 12:22:13 +08:00
parent a19ac1bf69
commit 128796e486
5 changed files with 38 additions and 12 deletions

View File

@ -1,11 +0,0 @@
path_arr=$(echo $PWD|tr '/' '\n')
path_arr=(${path_arr})
GAME_ID=${path_arr[-5]}
if echo $GAME_ID | grep -q '[^0-9]'
then
echo 'game_id参数必须为数字'
exit 1
fi
python ../../third_party/tools/scripts/server/monitor.py wsproxy${GAME_ID} '-n1 -i1'

View File

@ -0,0 +1,14 @@
{
"open": 0,
"sndwnd": 128,
"rcvwnd": 128,
"nodelay": 2,
"interval": 10,
"resend": 2,
"nc": 1,
"rx_minrto": 10,
"fastresend": 1
}

View File

@ -0,0 +1,7 @@
[
{
"instance_id": 1,
"ip": "127.0.0.1",
"port": 7621
}
]

View File

@ -0,0 +1,16 @@
[
{
"instance_id" : 1,
"listen_ip": "127.0.0.1",
"listen_port": 7601,
"listen_udp_host": "192.144.200.110",
"listen_udp_port": 17601
},
{
"instance_id" : 2,
"listen_ip": "127.0.0.1",
"listen_port": 7602,
"listen_udp_host": "192.144.200.110",
"listen_udp_port": 17602
}
]

View File

@ -74,7 +74,7 @@ aux_source_directory(.
)
set(EXECUTABLE_OUTPUT_PATH
${PROJECT_BINARY_DIR}/../bin
${PROJECT_BINARY_DIR}/../bin/wsproxy/bin
)
add_executable(