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.