SRCDS - skrypcior
(Różnice między wersjami)
Linia 21: | Linia 21: | ||
done | done | ||
</pre> | </pre> | ||
+ | |||
+ | |||
+ | [[Kategoria:SRCDS]] | ||
+ | [[Kategoria:Linux]] | ||
+ | [[Kategoria:Serwery gier]] |
Wersja z 16:27, 4 cze 2006
#!/bin/bash ############### S_WORKDIR="/home/hl/hlds_css" S_BIN="/home/hl/hlds_css/srcds_run" S_GAME="cstrike" S_PORT="27017" S_MAXPL="16" S_RCON="******" S_MAP="de_dust" S_CFG="server.cfg" S_PID="srcds.pid" S_TIC="100" S_PORT="27009" ################## while [ true ] ; do cd $S_WORKDIR $S_BIN -game $S_GAME +port $S_PORT +maxplayers $S_MAXPL +rcon_password $S_RCON +map $S_MAP +exec $S_CFG +mapchangecfgfile $S_CFG -tickrate $S_TIC -debug -sport $S_PORT -pidfile S_PID done