Raised This Month: $246 Target: $400
 61% 

CSS:DM crashes on player spawn if side-loaded from /disabled/


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Slash The Mighty
Member
Join Date: May 2006
Location: Vault 13
Old 04-27-2021 , 06:02   CSS:DM crashes on player spawn if side-loaded from /disabled/
Reply With Quote #1

Hey, just installed a fresh setup of CSS-DM, and it was super screwy.
It took me a while to figure out the problem, but I eventually found it.

If you (like me) use linuxgsm to run multiple instances, and place the plugin in the plugins/disabled/ folder, as to be loaded individually through cssserver.cfg on the servers that are due to run CSS-DM, it won't work.

In my case, the server would start up just fine, and I'd be able to connect just fine.
The second I pressed one of the join team buttons tho, the server would freeze for 60 seconds and crash.
The same would happen if bots were on the server, the first bot would try and join a team only to freeze the server.

The fix for me was to move the plugins back into the default plugins/cssdm/ folder.

Now CSS-DM loads on all server instances, but at least it works.
From there, it's just a matter of unloading it from servers that shouldn't run CSS-DM, like so:
Code:
// Disable CSS:DM
cssdm_ffa_enabled "0" //fixes future issues with friendlyfire despite mp_friendlyfire 0
cssdm_enabled "0"
sm plugins unload cssdm/dm_basics.smx
sm plugins unload cssdm/dm_bot_quotas.smx
sm plugins unload cssdm/dm_equipment.smx
sm plugins unload cssdm/dm_preset_spawns.smx
sm plugins unload cssdm/dm_spawn_protection.smx
This is a little wicked, but if it works it works.
Though I'd share, enjoy. 🥂
__________________
---

Last edited by Slash The Mighty; 04-27-2021 at 06:23.
Slash The Mighty is offline
Send a message via AIM to Slash The Mighty Send a message via MSN to Slash The Mighty Send a message via Skype™ to Slash The Mighty
Reply


Thread Tools
Display Modes

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 12:14.


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