Ok.
Here are my scripts *they work flawless without sourcemod enabled*
They are just restart scripts for when the server crashes.
They work well with other mods enabled but not sourcemod.
I have tryed other servers without zombiemod and just sourcemod enabled and i get the same error.
Dont pay much attention to the scripts.
because you can take those out of the equation by
cd /WazzGame/27015/orangebox/
screen -d -m -S srcds27015 ./srcds_run -console -game cstrike +maxplayers 32 +ip 96.251.47.8 -tickrate 100 +port 27015 +map zm_lila_panic +exec server.cfg"
and just running srcds like normal.
because srcds has a restart feature built in *at least in linux it does*
Code:
#!/bin/sh
#
init() {
# Sets the variables
SRCDS_EXE_DIRECTORY="/WazzGame/27015/orangebox/"
SRCDS_EXE="./srcds_run"
TIMEOUT=5
SRCDS_EXE_PARMS="-console -game cstrike +maxplayers 32 +ip 96.251.47.8 -tickrate 100 +port 27015 +map zm_lila_panic +exec server.cfg"
}
run() {
# Runs the server and restarts on crash
echo "Server will AUTO-RESTART on crash"
#loop forever
while true
do
# Run the server
cd $SRCDS_EXE_DIRECTORY
$SRCDS_EXE $SRCDS_EXE_PARMS
# Don't Lag The Box :(
sleep $TIMEOUT
done
}
# Initialise
init $*
# Run
run
# Quit normally
quit 0
And the init.d service
Code:
#!/bin/bash
# chkconfig: 2345 10 90
# description: srcds27035
# Path to script
SCRIPT_EXE="/WazzGame/run_scripts/srcds27015"
# Screen Name
SCREEN_NAME="srcds27015"
case "$1" in
start)
if screen -ls |grep $SCREEN_NAME
then
echo "$SCREEN_NAME is up"
else
screen -d -m -S $SCREEN_NAME $SCRIPT_EXE
echo "$SCREEN_NAME Starting..."
fi
;;
stop)
if screen -ls |grep $SCREEN_NAME
then
echo "Stopping $SCREEN_NAME"
kill `screen -ls |grep $SCREEN_NAME |awk -F . '{print $1}'|awk '{print $1}'`
echo "Done..."
else
echo "$SCREEN_NAME is down"
fi
;;
restart)
if screen -ls |grep $SCREEN_NAME
then
echo "Stopping $SCREEN_NAME"
kill `screen -ls |grep $SCREEN_NAME |awk -F . '{print $1}'|awk '{print $1}'`
echo "Done..."
else
echo "$SCREEN_NAME is down"
fi
echo "Starting $SCREEN_NAME"
screen -d -m -S $SCREEN_NAME $SCRIPT_EXE
echo "Done..."
;;
status)
# Check whether there's a "srcds" process
ps aux | grep -v grep | grep srcds_linux > /dev/null
CHECK=$?
[ $CHECK -eq 0 ] && echo "SRCDS is UP" || echo "$SCREEN_NAME is DOWN"
;;
*)
echo "Usage: $0 {start|stop|status|restart}"
exit 1
;;
esac
exit 0
So ya lets get to it
[root@linux1 /]# service srcds27015 restart
4928.srcds27015 (Detached)
Stopping srcds27015
Done...
Starting srcds27015
Done...
[root@linux1 /]#
[root@linux1 /]# screen -list
There is a screen on:
4955.srcds27015 (Detached)
1 Socket in /var/run/screen/S-root.
[root@linux1 /]# screen -x 4955
So ya then it all works normal.
So i go to type quit in console *or you can rcon quit*
And it does the following all normal.
this is without sourcemod enabled / loaded
quit
L 09/14/2010 - 07:05:51: [META] Loaded 0 plugins (1 already loaded)
L 09/14/2010 - 07:05:51: server_message: "quit"
CAsyncIOManager: 0 threads terminating. 0 reads, 0 writes, 0 deferrals.
CAsyncIOManager: 0 single object sleeps, 0 multi object sleeps
CAsyncIOManager: 0 single object alertable sleeps, 0 multi object alertable sleeps
L 09/14/2010 - 07:05:51: Log file closed
L 09/14/2010 - 07:05:51: server_message: "restart"
Reference Count for Material ___error (10) != 0
Reference Count for Material __depthwrite00 (1) != 0
Reference Count for Material __depthwrite01 (1) != 0
Reference Count for Material __depthwrite10 (1) != 0
Reference Count for Material __depthwrite11 (1) != 0
Reference Count for Material ___glintbuildmaterial (1) != 0
Reference Count for Material __particlesdepthwrite (1) != 0
Reference Count for Material particle/muzzleflash/noisecloud1 (6) != 0
Tue Sep 14 07:05:51 PDT 2010: Server Quit
And the server restarts and works like normal.
Now this one here is with sourcemod enabled.
Connection to Steam servers successful.
VAC secure mode is activated.
meta list
Listing 6 plugins:
[01] SourceMod (1.3.4) by AlliedModders LLC
[02] ZombieMod (3.0.0 B) by c0ldfyr3
[03] CS:S Tools (1.3.4) by AlliedModders LLC
[04] BinTools (1.3.4) by AlliedModders LLC
[05] SDK Tools (1.3.4) by AlliedModders LLC
[06] SDK Hooks (1.3.0) by Tsunami
quit
L 09/14/2010 - 07:07:40: [META] Loaded 0 plugins (2 already loaded)
L 09/14/2010 - 07:07:40: server_message: "quit"
CAsyncIOManager: 0 threads terminating. 0 reads, 0 writes, 0 deferrals.
CAsyncIOManager: 0 single object sleeps, 0 multi object sleeps
CAsyncIOManager: 0 single object alertable sleeps, 0 multi object alertable sleeps
L 09/14/2010 - 07:07:40: Log file closed
L 09/14/2010 - 07:07:40: server_message: "restart"
the server does NOT restart and come backup
just kinda freezes there at "L 09/14/2010 - 07:07:40: server_message: "restart""
Im not sure why its hanging but its getting on my nerves...
Once the server gets "Server Quit"
it reboots.
and with sourcemod enabled it doesn't get that far and just stays stuck there at server_message: "restart""
Server Info
CENT OS 5.5 32 Bit
And some console out put here
version - plugins - ect
meta version
Metamod:Source version 1.8.3
Build ID: 732:96932fe375a5
Loaded As: Valve Server Plugin
Compiled on: Jul 18 2010
Plugin interface version: 15:14
SourceHook version: 5:5
http://www.metamodsource.net/
meta list
Listing 6 plugins:
[01] SourceMod (1.3.4) by AlliedModders LLC
[02] ZombieMod (3.0.0 B) by c0ldfyr3
[03] CS:S Tools (1.3.4) by AlliedModders LLC
[04] BinTools (1.3.4) by AlliedModders LLC
[05] SDK Tools (1.3.4) by AlliedModders LLC
[06] SDK Hooks (1.3.0) by Tsunami
sm version
SourceMod Version Information:
SourceMod Version: 1.3.4
SourcePawn Engine: SourcePawn 1.1, jit-x86 (build 1.3.4)
SourcePawn API: v1 = 4, v2 = 3
Compiled on: Jul 18 2010 01:01:40
Build ID: 3013:4d6afc42522c
http://www.sourcemod.net/
sm plugins list
[SM] Listing 37 plugins:
01 "WazzGame Basic Votes" (1.2.4) by AlliedModders LLC
02 "Admin File Reader" (1.3.4-dev) by AlliedModders LLC
03 "WazzGame FloodCheck" (2.00) by WazzGame
04 "WazzGame Blink" (1.0) by WazzGame
05 "Client Preferences" (1.3.4-dev) by AlliedModders LLC
06 "Dissolve" (1.0.0.1) by L. Duke
07 "Map Nominations" (1.3.4-dev) by AlliedModders LLC
08 "WazzGame Admin Menu" (1.3.4-dev) by AlliedModders LLC
09 "WazzGame RCON Lock" (2.0) by WazzGame
10 "WazzGame Fun Votes" (1.3.2) by AlliedModders LLC
11 "Fun Commands" (1.3.4-dev) by AlliedModders LLC
12 "Spray Tracer" (5.
by Nican132, CptMoore, Lebson506th
13 "Connect Announce" (1.1) by Arg!
14 "Player Commands" (1.3.4-dev) by AlliedModders LLC
15 "WazzGame Admin_Jetpack3" (3) by Jon
16 "Basic Info Triggers" (1.3.4-dev) by AlliedModders LLC
17 "Advertisements" (0.5.5) by Tsunami
18 "WazzGame Super" (2.6) by WazzGame
19 "WazzGame MapChooser" (1.2.4) by AlliedModders LLC
20 "Nextmap" (1.3.4-dev) by AlliedModders LLC
21 "WazzGame Basic Chat" (1.3.4-dev) by AlliedModders LLC
22 "Admin ESP" (1.1.0) by KawMAN
23 "Ban disconnected players" (1.03) by mad_hamster
24 "Basic Ban Commands" (1.3.4-dev) by AlliedModders LLC
25 "Basic Comm Control" (1.3.4-dev) by AlliedModders LLC
26 "Reserved Slots" (1.3.4-dev) by AlliedModders LLC
27 "Rock The Vote" (1.3.4-dev) by AlliedModders LLC
28 "Admin Help" (1.3.4-dev) by AlliedModders LLC
29 "SM Super Menu" (0.5) by pRED*
30 "WazzGame Ads" (1.1) by WazzGame
31 "Anti-Flood" (1.3.4-dev) by AlliedModders LLC
32 "Sound Commands" (1.3.4-dev) by AlliedModders LLC
33 "WG Spawn Protection" (1.0.0) by WazzGame
34 "Basic Commands" (1.3.4-dev) by AlliedModders LLC
35 "Stop HintText Sound" (1.0.0) by Tauphi, exvel
36 "Spray Pruning" (1.0.0.1) by sslice
37 "Players Votes" (1.5.0) by The Resident, pZv!
If you notice a lot of "WazzGame" plugins its because i mod a lot of the plugins and then rename them to know which ones i modded.
So can anyone here got any ideas?
Anyone help me out here?
Thx.
__________________