Raised This Month: $51 Target: $400
 12% 

some of server crashes caused by bad maps


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Darkthrone
Senior Member
Join Date: Jun 2009
Old 06-20-2010 , 15:59   some of server crashes caused by bad maps
Reply With Quote #1

just to note
my linux box has been crashed with this error on some maps:
Code:
classname missing from entity!
is there are any workaround for this problem, without need for decompiling map?
example maps:
ze_neko_canyon
zm_neko_dam_beta
zm_neko_dark_v2_fix2
__________________
all the best for your Zombie:Reloaded server
Auto !zspawn | ZProp | Infinite Ammo | Anti-Doorblock


Last edited by Darkthrone; 07-05-2010 at 10:18.
Darkthrone is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 06-20-2010 , 17:10   Re: some of server crashes caused by bad maps
Reply With Quote #2

You could try using Stripper:Source, match the entities that do not have classnames via their origin, and then insert the appropriate class name. A bit long winded for a workaround though.
__________________
thetwistedpanda is offline
Darkthrone
Senior Member
Join Date: Jun 2009
Old 06-20-2010 , 17:42   Re: some of server crashes caused by bad maps
Reply With Quote #3

found solution here
so, using stripper:source, just add to the global_filters.cfg
Code:
modify:
{
    match:
    {
    "classname" "point_template"
    "spawnflags" "0"
    }
    replace:
    {
    "spawnflags" "2"
    }
}

modify:
{
    match:
    {
    "classname" "point_template"
    "spawnflags" "1"
    }
    replace:
    {
    "spawnflags" "3"
    }
}
but how to fix issue with entity, on which you press use key and server crashes?
one more example map:
zm_opt_cityholdout_v1 (check my comment on fpsb)
__________________
all the best for your Zombie:Reloaded server
Auto !zspawn | ZProp | Infinite Ammo | Anti-Doorblock


Last edited by Darkthrone; 06-20-2010 at 17:53.
Darkthrone is offline
rhelgeby
Veteran Member
Join Date: Oct 2008
Location: 0x4E6F72776179
Old 06-20-2010 , 19:12   Re: some of server crashes caused by bad maps
Reply With Quote #4

This is useful info. In a comment someone also mentioned that the bsp compiler had a bug a few years ago that made some maps crash on linux servers. Recompiling the map might solve it, but the map authors are probably not accessible anymore.
__________________
Richard Helgeby

Zombie:Reloaded | PawnUnit | Object Library
(Please don't send private messages for support, they will be ignored. Use the forum.)
rhelgeby is offline
Send a message via MSN to rhelgeby
Darkthrone
Senior Member
Join Date: Jun 2009
Old 06-20-2010 , 23:36   Re: some of server crashes caused by bad maps
Reply With Quote #5

after some playing with vmex and hammer, i found solution for maps:
zm_neko_dark_v2_fix2
zm_opt_cityholdout_v1

the solution is also using stripper:source, just need to correct spawnflags of entity which causes glitch, for first map it is a incorrect prop_dynamic spawnflags, for second map it is a incorrect prop_dynamic_override spawnflags
this must be individually fixed and added to the /addons/stripper/maps/<mapname>.cfg
__________________
all the best for your Zombie:Reloaded server
Auto !zspawn | ZProp | Infinite Ammo | Anti-Doorblock

Darkthrone is offline
zeroibis
Veteran Member
Join Date: Jun 2007
Old 06-23-2010 , 00:59   Re: some of server crashes caused by bad maps
Reply With Quote #6

I had some maps that crashed a lot and opted to just remove them. Some of them got remade into versions that no longer crash but I do not remember the names as this was a few months ago.
__________________
zeroibis is offline
Darkthrone
Senior Member
Join Date: Jun 2009
Old 07-05-2010 , 10:21   Re: some of server crashes caused by bad maps
Reply With Quote #7

since ob update, some maps (at least zm_neko_dark_v2_fix2) works without any stripper:source workarounds
__________________
all the best for your Zombie:Reloaded server
Auto !zspawn | ZProp | Infinite Ammo | Anti-Doorblock

Darkthrone is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:24.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode