PHP-Quelltext |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
#!/bin/sh
#VARIABLES
NAME="surf-server"
IP="MEINE SERVERIP" <--- Ip hab ich entfernt hier^^
MAP="surf_classics2"
MAXPLAYERS=40
PORT=27415
TICK=66
ADDITIONAL="+sv_pure 0 -debug"
############################################# ########
#DO NOT EDIT BELOW UNLESS YOU KNOW WHAT YOU'RE DOING#
############################################# ########
echo "Starting $NAME"
sleep 1
screen -A -m -d -S $NAME ./srcds_run -console -game csgo -usercon -disabletv -nohltv +map $MAP -ip $IP -port $PORT -tickrate $TICK -maxplayers_override $MAXPLAYERS $ADDITIONAL -autoupdate
###END###
|
Quellcode |
|
1 |
-net_port_try 1 |
Benutzerinformationen überspringen
Administrator
Wohnort: Hagen
Beruf: Mechatroniker (didaktische Systeme)
Rootserver vorhanden: Nein
Quellcode |
|
1 2 3 4 5 6 7 |
port=$1 clientport=$(expr $port + 100) tv_port=$(expr $clientport + 100) steamport=$(expr $tv_port + 100) ports="-port $port +clientport $clientport +tv_port $tv_port -steamport $steamport -strictportbind" echo "$ports" |
Quellcode |
|
1 2 |
./ports.sh 27015 -port 27015 +clientport 27115 +tv_port 27215 -steamport 27315 -strictportbind |
Quellcode |
|
1 |
-strictportbind |
Quellcode |
|
1 |
-net_port_try 1 |
Quellcode |
|
1 2 3 |
-game csgo -ip X -port 27015 -net_port_try 1 -steamport 26091 +tv_port 27016 +clientport 27017 -autoupdate ..... -game csgo -ip X -port 27025 -net_port_try 1 -steamport 26092 +tv_port 27026 +clientport 27027 -autoupdate ..... usw. |
Dieser Beitrag wurde bereits 3 mal editiert, zuletzt von »fluxX« (15. Februar 2016, 16:38)
Benutzerinformationen überspringen
Administrator
Wohnort: Hagen
Beruf: Mechatroniker (didaktische Systeme)
Rootserver vorhanden: Nein