Bardzo jest mi to potrzebne
Pozdrawiam
29 marzec 2010 - 20:47:
ReF... Hej panowie nie wiecie gdzie taki plugin dostane? ostatnio serw pada 2 razy dziennie
Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
|
Napisano 29.03.2010 20:47
Napisano 29.03.2010 20:53
Napisano 29.03.2010 20:59
Napisano 29.03.2010 21:13
Napisano 29.03.2010 21:15
hmm -retry do lini startowej ?
Napisano 29.03.2010 21:27
Napisano 29.03.2010 21:40
bo nie wiem jak plugin moze uruchomic wylaczony server jesli sam jest wtedy wylaczony
Napisano 29.03.2010 21:49
Napisano 29.03.2010 21:49
./hlds_run -help
Syntax:
./hlds_run [-game <game>] [-debug] [-norestart] [-pidfile]
[-binary [hlds_i486|hlds_i686|hlds_amd]
[-timeout <number>] [-gdb <gdb>] [-autoupdate]
[-steamerr] [-ignoresigint] [-beta <version>]
[-debuglog <logname>]
Params:
-game <game> Specifies the <game> to run.
-debug Run debugging on failed servers if possible.
-debuglog <logname> Log debug output to this file.
-norestart Don't attempt to restart failed servers.
-pidfile <pidfile> Use the specified <pidfile> to store the server pid.
-binary <binary> Use the specified binary ( no auto detection ).
-timeout <number> Sleep for <number> seconds before restarting
a failed server.
-gdb <gdb> Use <dbg> as the debugger of failed servers.
-steamerr Quit on steam update failure.
-beta <version> Make use of a beta version of this server from Steam
-ignoresigint Ignore signal INT ( prevents CTRL+C quitting
the script ).
-notrap Don't use trap. This prevents automatic
removal of old lock files.
Note: All parameters specified as passed through to the server
including any not listed.
Napisano 29.03.2010 22:23
Checking bootstrapper version ...
Use: steam -command <command> [parameters] [flags]
Commands:
update: Install or update HLDS
parameters:
-game <game> - Game name: use 'list' to see available games
-dir <installdir> - HLDS Install dir
(if dir not specified, will use value from last run of tool)
flags:
-verify_all - Verify all HLDS files are up to date
-retry - Automatically retry every 30 seconds if the Steam Network is busy
-remember_password - Remember password (if a username is supplied)
For example: steam -command update -game cstrike -dir /hlds
version: View installed versions
list: View available games
Optional parameters for all commands:
-username <username> - Steam account username (only needed to access limited content)
-password <password> - Steam account password (only needed to access limited content)
Użytkownik .minD edytował ten post 29.03.2010 22:27
Napisano 29.03.2010 23:47
Napisano 30.03.2010 06:59

IP: ts3.cserwerek.pl
Napisano 30.03.2010 07:47
Napisano 30.03.2010 12:33
run() {
# Runs the steam update and server
# Loops if RESTART is set
# Debugs if server failure is detected
# Note: if RESTART is not set then
# 1. DEBUG is set then the server is NOT exec'd
# 2. DEBUG is not set the the server is exec'd
if test -n "$RESTART" ; then
echo "Auto-restarting the server on crash"
#loop forever
while true
do
# Update if needed
update
# Run the server
$HL_CMD
retval=$?
if test $retval -eq 0 && test -z "$AUTO_UPDATE"; then
break; # if 0 is returned then just quit
fi
debugcore $retval
echo "`date`: Server restart in $TIMEOUT seconds"
# don't thrash the hard disk if the server dies, wait a little
sleep $TIMEOUT
done # while true
else
# Update if needed
update
# Run the server
if test "$DEBUG" -eq 0; then
# debug not requested we can exec
exec $HL_CMD
else
# debug requested we can't exec
$HL_CMD
debugcore $?
fi
fi
}
0 użytkowników, 0 gości, 0 anonimowych