mirror of
https://github.com/ENSL/ensl_hlds.git
synced 2024-11-13 00:24:13 +00:00
update entry.sh to use localhost with correct exposed port
This commit is contained in:
parent
3d0731586f
commit
1a29555c96
1 changed files with 4 additions and 4 deletions
|
@ -17,14 +17,14 @@ if [[ "$HLTV_ROTATE" = "1" ]]; then
|
|||
fi
|
||||
|
||||
if [[ "$HLTV" = "1" ]]; then
|
||||
echo "Starting HLTV `host.docker.internal`:27016"
|
||||
echo "Starting HLTV localhost:27016"
|
||||
export LD_LIBRARY_PATH=.
|
||||
./hltv +serverpassword europe +connect host.docker.internal:27016 +record demos/gathers >> /home/steam/hlds/ns/demos/hltv-`date +%F-%h:%m`.log
|
||||
./hltv +serverpassword europe +connect localhost:27016 +record demos/gathers >> /home/steam/hlds/ns/demos/hltv-`date +%F-%h:%m`.log
|
||||
echo "Started"
|
||||
elif [[ "$HLDS" = "1" ]]; then
|
||||
echo "Starting HLDS -ip `host.docker.internal` -port 27016"
|
||||
echo "Starting HLDS -port 27016"
|
||||
export LD_LIBRARY_PATH=.
|
||||
./hlds_run -game ns +maxplayers 32 +log on +map ns_veil +exec ns/server.cfg -port 27016 -pingboost 3 +sys_ticrate 1000 -ip host.docker.internal
|
||||
./hlds_run -game ns +maxplayers 32 +log on +map ns_veil +exec ns/server.cfg -port 27016 -pingboost 3 +sys_ticrate 1000
|
||||
echo "Started"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue