Page 1 of 2

Server crashes

PostPosted: Tue Jul 06, 2010 2:56 am
by mattb
Im getting server crashes :(

i have all the updates.

PostPosted: Tue Jul 06, 2010 3:00 am
by disconnect
Give this a shot, post results :)

viewtopic.php?f=70&t=1389

Re: Server crashes

PostPosted: Tue Jul 06, 2010 5:57 am
by mattb
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
     LAST EVENT: [07/05/2010 @ 23:49:54]          TOTAL OCCURENCES: [0042]    
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Traceback (most recent call last):
  File "../eventscripts/es.py", line 211, in tick
    x()
  File "../eventscripts/_libs/python/gamethread.py", line 173, in tick
    _executenode(first)
  File "../eventscripts/_libs/python/gamethread.py", line 155, in _executenode
    function(*a, **kw)
  File "../eventscripts/gungame51/scripts/included/gg_turbo/gg_turbo.py", line 72, in give_weapon
    pPlayer = getPlayer(userid)
  File "../eventscripts/_libs/python/playerlib.py", line 1292, in getPlayer
    return Player(userid)
  File "../eventscripts/_libs/python/playerlib.py", line 190, in __init__
    self.refreshAttributes()
  File "../eventscripts/_libs/python/playerlib.py", line 208, in refreshAttributes
    raise PlayerError, 'Player has left server'

PlayerError: Player has left server


and i add this to my autoexec.cfg?

log 1
eventscripts_debug 7
eventscripts_debuglog 1
sv_logflush 1

for?

Re: Server crashes

PostPosted: Tue Jul 06, 2010 6:37 am
by Monday
and i add this to my autoexec.cfg?

log 1
eventscripts_debug 7
eventscripts_debuglog 1
sv_logflush 1

for?


Well those settings are actually for your built in logs... not the gungame logs. Send us the .log file from a crash. /cstrike/logs

Re: Server crashes

PostPosted: Tue Jul 06, 2010 7:18 am
by mattb
oh the error log i gave you isnt right? so i would put that info in my gungame server and when it crashes it will make a log in cstrike/logs correct?

Re: Server crashes

PostPosted: Tue Jul 06, 2010 7:54 am
by mattb
added that to my autoexec.cfg then later it crashed

im looking for the crash logs but only saw this l0628000.log and so on with the same but nothing about crashing

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
     LAST EVENT: [07/05/2010 @ 23:49:54]          TOTAL OCCURENCES: [0042]    
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Traceback (most recent call last):
  File "../eventscripts/es.py", line 211, in tick
    x()
  File "../eventscripts/_libs/python/gamethread.py", line 173, in tick
    _executenode(first)
  File "../eventscripts/_libs/python/gamethread.py", line 155, in _executenode
    function(*a, **kw)
  File "../eventscripts/gungame51/scripts/included/gg_turbo/gg_turbo.py", line 72, in give_weapon
    pPlayer = getPlayer(userid)
  File "../eventscripts/_libs/python/playerlib.py", line 1292, in getPlayer
    return Player(userid)
  File "../eventscripts/_libs/python/playerlib.py", line 190, in __init__
    self.refreshAttributes()
  File "../eventscripts/_libs/python/playerlib.py", line 208, in refreshAttributes
    raise PlayerError, 'Player has left server'

PlayerError: Player has left server

Re: Server crashes

PostPosted: Tue Jul 06, 2010 11:30 pm
by mattb
anyone??

PostPosted: Wed Jul 07, 2010 1:27 am
by XE_ManUp
Give us some time, mattb. We are working on it. There will be an update tonight. But, since you haven't posted your server logs, we may not be able to help you. After this next update, we will see what happens. These things will take some time.

Re: Server crashes

PostPosted: Wed Jul 07, 2010 6:58 am
by mattb
The new gungame server we has been crashing sometimes.From what i saw Grenade spamming in the beginning of the round and kicking certain people crash the server.

PostPosted: Wed Jul 07, 2010 7:27 am
by XE_ManUp
Right. But without logs, we can't really help you with this - viewtopic.php?p=6092#p6092

Re: Server crashes

PostPosted: Wed Jul 07, 2010 8:06 pm
by -=k2=-
Hi guys,

I have set an new server with a config that I'm barely satisfied of stability and I found a configuration that makes the server crash systematically at the end of the gg when map is changing, even before winning music is played.
So I belive it is close symptom as for mattb, the error log is same.

When it crashes the log points turbo module but in fact I do suspect the origin of the problem lays with the settings of weapons file .
With the weapons order file including # of frag per weapon it crashes and with just the ordering of weapons it's running fine.
So I would suggest somebody else do a dubble check on my findings specially those that are crashing at end of GG and change map
My stable config is:
base plugins:
0:<TAB>"Source Python Extensions, 2009 - 2010, your-name-here"
1:<TAB>"Metamod:Source 1.8.2"
2:<TAB>"Mattie's EventScripts, http://www.eventscripts.com, Version:2.1.0.326"
3:<TAB>"Mani Admin Plugin 2009 V1.2U VSP Orange, http://www.mani-admin-plugin.com"
Sourcemod plugins
[01] SourceMod (1.3.4-dev) by AlliedModders LLC
[02] CS:S Tools (1.3.4-dev) by AlliedModders LLC
[03] BinTools (1.3.4-dev) by AlliedModders LLC
[04] SDK Tools (1.3.4-dev) by AlliedModders LLC

Game plugins
GG version v5.1 r457 (eventsscript)
and for "emulating the deathmatch
[05] CS:S DM (2.1.1) by AlliedModders
I have been obliged to use the sourcemod deathmatch because on my linux machine the GG5.1 deathmatch does not start at all,still it is loaded and dependent addons autorized(strip and dissolver) or disabled(elimination)
So see attached zipped file for the full config of GG.

Hoping this helps, I will let the serv run standalone if you want to test here is the address:
91.121.181.138:27090 no password, I start it everymorning 09:00 European cet

-=k2=-

PostPosted: Wed Jul 07, 2010 9:35 pm
by XE_ManUp
It would help you greatly if you updated GunGame to version 5.1.466.

PostPosted: Wed Jul 07, 2010 10:40 pm
by disconnect
Still crashing on round end with 5.1.466.

Re: Server crashes

PostPosted: Wed Jul 07, 2010 10:51 pm
by mattb

[EventScripts] Loaded:
[EventScripts]   [ enabled] corelib
[EventScripts]   [ enabled] corelib/testlib
[EventScripts]   [ enabled] corelib/interfaces
[EventScripts]   [ enabled] corelib/linkedlist
[EventScripts]   [ enabled] corelib/repeat
[EventScripts]   [ enabled] corelib/score
[EventScripts]   [ enabled] corelib/xalias
[EventScripts]   [ enabled] corelib/textlib
[EventScripts]   [ enabled] corelib/playergetset
[EventScripts]   [ enabled] corelib/getbotname
[EventScripts]   [ enabled] corelib/damage
[EventScripts]   [ enabled] corelib/playervar
[EventScripts]   [ enabled] corelib/sqlitelib
[EventScripts]   [ enabled] corelib/statlog
[EventScripts]   [ enabled] corelib/quickcmd
[EventScripts]   [ enabled] corelib/queue
[EventScripts]   [ enabled] corelib/vecmath
[EventScripts]   [ enabled] corelib/services
[EventScripts]   [ enabled] corelib/foreach
[EventScripts]   [ enabled] corelib/average
[EventScripts]   [ enabled] corelib/keyfilter
[EventScripts]   [ enabled] corelib/uniqueid
[EventScripts]   [ enabled] corelib/timelib
[EventScripts]   [ enabled] corelib/keygroupsort
[EventScripts]   [ enabled] corelib/keygrouprand
[EventScripts]   [ enabled] corelib/keyrand
[EventScripts]   [ enabled] corelib/exp
[EventScripts]   [ enabled] corelib/isnumerical
[EventScripts]   [ enabled] corelib/escinject
[EventScripts]   [ enabled] corelib/getplayercount
[EventScripts]   [ enabled] corelib/usermsglib
[EventScripts]   [ enabled] corelib/inrange
[EventScripts]   [ enabled] corelib/entitylib
[EventScripts]   [ enabled] corelib/es_install
[EventScripts]   [ enabled] corelib/es_checkversion
[EventScripts]   [ enabled] corelib/clientcmd
[EventScripts]   [ enabled] gungame51
[EventScripts]       About&#058;
                GunGame 5.1 (v5.1.466)


[EventScripts]     Authors:
                Michael Barr (XE_ManUp)
                Luke Robinson (Monday)
                Warren Alpert
                Paul Smith (RideGuy)
                Deniz Sezen (your-name-here)


[EventScripts]     Website:
                http://www.gungame5.com/

[EventScripts]    Included_Addons:
                gg_turbo (v5.1.458)
                gg_knife_pro (v5.1.453)
                gg_multi_level (v5.1.453)
                gg_dissolver (v5.1.414)
                gg_earn_nade (v5.1.458)
                gg_dead_strip (v5.1.458)
                gg_elimination (v5.1.458)
                gg_warmup_round (v5.1.460)
                gg_spawn_protect (v5.1.458)
                gg_nade_bonus (v5.1.443)

[EventScripts]    Custom_Addons: None

[EventScripts]------------------------
 


also since there was a new css update when you change maps after warm up round people only have knives noone has guns then when cts or ts are all dead next round everyone has guns again.

Attached log files below

Re: Server crashes

PostPosted: Thu Jul 08, 2010 5:44 am
by mattb
anyone got ideas why its crashing?

Re: Server crashes

PostPosted: Thu Jul 08, 2010 3:49 pm
by disconnect
This is in my server console, but doesnt make it to the gungame log file for whatever reason;

# ================================================
# >> GunGame 5.1 Exception Caught!
# ================================================
Traceback (most recent call last):
File ../eventscripts/es.py, line 275, in tick
x()
File ../eventscripts/_libs/python/gamethread.py, line 173, in tick
_executenode(first)
File ../eventscripts/_libs/python/gamethread.py, line 155, in _executenode
function(*a, **kw)
File ../eventscripts/gungame51/core/addons/__init__.py, line 729, in load
AddonManager().load(*a, **kw)
File ../eventscripts/gungame51/core/addons/__init__.py, line 287, in load
raise NameError, 'GunGame sub-addon %s is already loaded' % name
NameError: GunGame sub-addon gg_dissolver is already loaded
# ================================================

# ================================================
# >> GunGame 5.1 Exception Caught!
# ================================================
Traceback (most recent call last):
File ../eventscripts/es.py, line 275, in tick
x()
File ../eventscripts/_libs/python/gamethread.py, line 178, in tick
_executenode(task)
File ../eventscripts/_libs/python/gamethread.py, line 155, in _executenode
function(*a, **kw)
File ../eventscripts/gungame51/core/addons/__init__.py, line 734, in unload
AddonManager().unload(*a, **kw)
File ../eventscripts/gungame51/core/addons/__init__.py, line 330, in unload
self.remove_dependencies_conflicts(name)
File ../eventscripts/gungame51/core/addons/__init__.py, line 492, in remove_depe
ndencies_conflicts
%(', '.join(dependencies[name])) + 'sub-addon %s' %name)
DependencyError: Loaded sub-addon(s) gg_elimination depend on sub-addon gg_dead_
strip
# ================================================

gg_addon_loaded: gg_elimination of type included
gg_addon_loaded: gg_dead_strip of type included
gg_addon_loaded: gg_dissolver of type included

# ================================================
# >> GunGame 5.1 Exception Caught!
# ================================================
Traceback (most recent call last):
File ../eventscripts/es.py, line 275, in tick
x()
File ../eventscripts/_libs/python/gamethread.py, line 173, in tick
_executenode(first)
File ../eventscripts/_libs/python/gamethread.py, line 155, in _executenode
function(*a, **kw)
File ../eventscripts/gungame51/core/addons/__init__.py, line 734, in unload
AddonManager().unload(*a, **kw)
File ../eventscripts/gungame51/core/addons/__init__.py, line 330, in unload
self.remove_dependencies_conflicts(name)
File ../eventscripts/gungame51/core/addons/__init__.py, line 492, in remove_depe
ndencies_conflicts
%(', '.join(dependencies[name])) + 'sub-addon %s' %name)
DependencyError: Loaded sub-addon(s) gg_elimination depend on sub-addon gg_disso
lver
# ================================================

Re: Server crashes

PostPosted: Thu Jul 08, 2010 9:59 pm
by mattb
I can't get my logs only ones i could get because i checked all my logs nothing to do with gungame i added the info to my autoexec.cfg

Re: Server crashes

PostPosted: Fri Jul 09, 2010 12:38 am
by XE_ManUp
mattb wrote:I can't get my logs only ones i could get because i checked all my logs nothing to do with gungame i added the info to my autoexec.cfg

Even if your logs look like they have nothing to do with GG, they still "might" help us locate the source of the crash. Without a log, we won't be able to pinpoint where the crash occurs, or what is running on your server.

Re: Server crashes

PostPosted: Fri Jul 09, 2010 4:45 am
by mattb
Well i posted my log and i typed es_load in console please see the attachment above thanks !

PostPosted: Fri Jul 09, 2010 3:34 pm
by disconnect
My nade level crashes seem to be a little less frequent, but they arent gone. One thing I did was remove the earn nade option, it seemed to help a bit. With it on, i was getting the crash every time.

On nade level, a lot of things kick in, perhaps it needs to be revisited for issues? For example, on my server it would call the nade bonus, earn nade, map voting, enable friendly fire, and of course announce leader.