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

Server Freeze/crash (Issues with plugins)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Schpraaankiii
Veteran Member
Join Date: Dec 2009
Location: Sweden Norrköping
Old 03-11-2012 , 22:00   Server Freeze/crash (Issues with plugins)
Reply With Quote #1

I was going to post this at Scripting Help but then I saw this so I gues I have to post it here instead.
If the thread is posted in the wrong place just feel free to move it.

I'm having some problems with my hlds. It freezes (only when there are players on the server).
My "Restart on crash"-program doesn't understand that the server has crashed cuz the process is still running.
When the server freezes like this, all the players get "Connection Problem" and the HLDS Console is stuck. I cant type anything and the FPS is still.
3-5 seconds before this happens the players on the server get a massive fps dropp and then it's just stuck.

This is the modules I have installed/activated
Code:
fun
engine
fakemeta
geoip
sockets
regex
nvault
cstrike
csx
hamsandwich
adminfreelook
mysql
This is the plugins I have (I have tried to pause them one by one to see if I could find the problem and I think it's the badstyle_bcm.amxx that is the problem but I'm not sertain. Sometimes the server can be up for days and sometimes it freezes after just a few hours so it's hard to know wich plugin that causes this bug.)
Code:
Standard-Admin-Chat.amxx

; Admin Base - Always one has to be activated
admin.amxx		; admin base (required for any admin-related)
;admin_sql.amxx		; admin base - SQL version (comment admin.amxx)
amxbans.amxx

; Basic
admincmd.amxx		; basic admin console commands
;adminhelp.amxx		; help command for admin console commands
adminslots.amxx		; slot reservation
;multilingual.amxx	; Multi-Lingual management

; Menus
menufront.amxx		; front-end for admin menus
cmdmenu.amxx		; command menu (speech, settings)
plmenu.amxx		; players menu (kick, ban, client cmds.)
;telemenu.amxx		; teleport menu (Fun Module required!)
mapsmenu.amxx		; maps menu (vote, changelevel)
pluginmenu.amxx		; Menus for commands/cvars organized by plugin

; Chat / Messages
adminchat.amxx		; console chat commands
antiflood.amxx		; prevent clients from chat-flooding the server
;scrollmsg.amxx		; displays a scrolling message
;imessage.amxx		; displays information messages
adminvote.amxx		; vote commands

; Map related
;nextmap.amxx		; displays next map in mapcycle
;mapchooser.amxx		; allows to vote for next map
timeleft.amxx		; displays time left on map

; Configuration
pausecfg.amxx		; allows to pause and unpause some plugins
statscfg.amxx		; allows to manage stats plugins via menu and commands

; Counter-Strike
;restmenu.amxx		; restrict weapons menu
statsx.amxx		; stats on death or round end (CSX Module required!)
;miscstats.amxx		; bunch of events announcement for Counter-Strike
stats_logging.amxx	; weapons stats logging (CSX Module required!)

; Enable to use AMX Mod plugins
;amxmod_compat.amxx	; AMX Mod backwards compatibility layer

; Custom - Add 3rd party plugins here
ircbot2.amxx
jumpstats_main.amxx
jumpstats_long.amxx 
jumpstats_count.amxx 
jumpstats_bhop.amxx 
jumpstats_ladder.amxx 
jumpstats_weird.amxx 
badstyle_bcm.amxx
hns_xp.amxx 
speclist.amxx
auto_join_on_connect.amxx
hidenseek.amxx 
frostnades.amxx
mutemenu.amxx 
custom_motd.amxx 
HighPingKicker.amxx 
ad_manager.amxx 
deagsmapmanager.amxx 
admin_freelook.amxx 
amx_gag.amxx
ghostchat.amxx
death_hud.amxx

//ANTI CHEATS
Anti-kzh.amxx
anti_wtj.amxx
Anti-afk.amxx
Anti-jointeam.amxx
Anti-Reklam.amxx
swear_filters.amxx
namereplace.amxx
badstyle_bcm is just an small update of the plugin Bollnas Course Maker (5.48) (just some minor changes so the update could not have caused this bug, it actually made the server freeze even before I changed it.)

I read here that booster_mm.dll might solve the problem but it didn't. I have also tried to put the badstyle_bcm plugin at the top of plugins.ini but no changes.
This server has been tested on different computers/networks (but only on windows) so the problem must be in the server or the plugins, or can it be that the plugins only will work proper on a Linux?
I know a server that uses this plugins/version on Linux and I know that it works for them.

Here are the .sma code for the plugin: badstyle_bcm.sma (And all the credz goes ofc to Lainen for making this plugin that I (and some others) just have updated for private use.)

Please help me find the bug/bugs!
...and while your at it, you can also (if you know how/have time) add some blocks (deagle, money, pole, awp, usp, granades, blind trap, camouflage, etc...).

Sorry for my bad English.

Update (1)
I replaced the .rar files that contained the server logs with a .zip file with logs in it and instead of uploading it to speedyshare I attached it here.

Update (2)
I forgot to mention that we also have a build server that we only use to build the blocks for the maps. This server crashes/freezes aswell but not nearly as often. This server is password protected and only available for admins so it has alot less active players and some other plugins, but since it still freezes I figured it must be one of the bold-marked plugins that causes the bug (the plugins that are bold are the once who is in both the buildserver and the other server).
(this is the plugins.ini file from the build server)
Code:
; AMX Mod X plugins
badstyle_bcm.amxx
jumpstats_main.amxx
jumpstats_long.amxx
jumpstats_count.amxx
jumpstats_bhop.amxx
jumpstats_ladder.amxx
jumpstats_weird.amxx

; Admin Base - Always one has to be activated
admin.amxx		; admin base (required for any admin-related)
;admin_sql.amxx		; admin base - SQL version (comment admin.amxx)

; Basic
admincmd.amxx		; basic admin console commands
;adminhelp.amxx		; help command for admin console commands
adminslots.amxx		; slot reservation
;multilingual.amxx	; Multi-Lingual management

; Menus
menufront.amxx		; front-end for admin menus
;cmdmenu.amxx		; command menu (speech, settings)
plmenu.amxx		; players menu (kick, ban, client cmds.)
;telemenu.amxx		; teleport menu (Fun Module required!)
mapsmenu.amxx		; maps menu (vote, changelevel)
pluginmenu.amxx		; Menus for commands/cvars organized by plugin

; Chat / Messages
adminchat.amxx		; console chat commands
;antiflood.amxx		; prevent clients from chat-flooding the server
;scrollmsg.amxx		; displays a scrolling message
;imessage.amxx		; displays information messages
;adminvote.amxx		; vote commands

; Map related
;nextmap.amxx		; displays next map in mapcycle
;mapchooser.amxx		; allows to vote for next map
;timeleft.amxx		; displays time left on map

; Configuration
pausecfg.amxx		; allows to pause and unpause some plugins
statscfg.amxx		; allows to manage stats plugins via menu and commands

; Counter-Strike
;restmenu.amxx		; restrict weapons menu
;statsx.amxx		; stats on death or round end (CSX Module required!)
;miscstats.amxx		; bunch of events announcement for Counter-Strike
;stats_logging.amxx	; weapons stats logging (CSX Module required!)

; Enable to use AMX Mod plugins
;amxmod_compat.amxx	; AMX Mod backwards compatibility layer

; Custom - Add 3rd party plugins here
hns_xp.amxx
autorespawn.amxx
RemoveENTY.amxx
gametype.amxx
infinite_round.amxx
semiclip.amxx
Update (3)
I also forgot to mention that when this bug first occurred I updated to Metamod: v1.19p32 and Amxmodx: v1.8.2-Dev
but that didn't solve anything.

Update (4)
Here is a print from the HLDS Console when the latest freeze occurred.


I also attached a "Latest-logs.zip" file here beneath. It contains the logs from when we started the server yesturday until it freezed today. All plugins had "debug" activated.
Attached Files
File Type: zip logs.zip (25.4 KB, 84 views)
File Type: zip latest-logs.zip (2.7 KB, 78 views)
__________________
CAOSK-ESPORTS.COM

Last edited by Schpraaankiii; 03-12-2012 at 13:03. Reason: I replaced the .rar files that contained the server logs with a .zip file with logs in it and instead of uploading it to speedyshare I attached it here.
Schpraaankiii is offline
Send a message via Skype™ to Schpraaankiii
wickedd
Veteran Member
Join Date: Nov 2009
Old 03-11-2012 , 22:18   Re: Server Freeze/crash (Issues with plugins)
Reply With Quote #2

Can you attach the logs files instead having us download them from that site? Also, I don't think .rar is allowed here.
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
Schpraaankiii
Veteran Member
Join Date: Dec 2009
Location: Sweden Norrköping
Old 03-11-2012 , 22:25   Re: Server Freeze/crash (Issues with plugins)
Reply With Quote #3

Quote:
Originally Posted by wickedd View Post
Can you attach the logs files instead having us download them from that site? Also, I don't think .rar is allowed here.
I fixed it. They are attached and in a .zip file now.
__________________
CAOSK-ESPORTS.COM
Schpraaankiii is offline
Send a message via Skype™ to Schpraaankiii
wickedd
Veteran Member
Join Date: Nov 2009
Old 03-11-2012 , 22:44   Re: Server Freeze/crash (Issues with plugins)
Reply With Quote #4

Enable debug for the plugin "Anti-kzh.amxx", then check the logs.

Code:
Anti-kzh.amxx debug
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
Schpraaankiii
Veteran Member
Join Date: Dec 2009
Location: Sweden Norrköping
Old 03-11-2012 , 23:10   Re: Server Freeze/crash (Issues with plugins)
Reply With Quote #5

Quote:
Originally Posted by wickedd View Post
Enable debug for the plugin "Anti-kzh.amxx", then check the logs.

Code:
Anti-kzh.amxx debug
We have tried to run the server whithout that plugin and it still crashed so I don't think that is it.
But we have now enabled debug for all plugins and the next time the server crash I will attach the new log file and a print of the hlds console.

...and I have also removed the "reklama" part from the Anti-kzh plugin so that error wont show up in the logs again.
__________________
CAOSK-ESPORTS.COM

Last edited by Schpraaankiii; 03-11-2012 at 23:12.
Schpraaankiii is offline
Send a message via Skype™ to Schpraaankiii
Old 03-12-2012, 13:08
ExperialDust
This message has been deleted by Exolent[jNr]. Reason: Don't bump until 2 weeks have passed since last post.
Old 03-12-2012, 14:59
Schpraaankiii
This message has been deleted by Exolent[jNr]. Reason: Don't bump until 2 weeks have passed since last post.
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 20:54.


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