[SM bug] AutoExecConfig doesn't work if cfg too long
Hi,
this problem is partially mentioned by Silvers in his Cvar Configs Updater (see item 3.3) and still actual. I did tons of server reboots to find out the possible cause and solution. Here is what I have. 1) Two identical plugins with different names and cfg/cvar names: a. Code:
#define PLUGIN_VERSION "1.0"Code:
#define PLUGIN_VERSION "1.0"Quote:
Quote:
Code:
sm_cvar_notify; sm_gear_notifyQuote:
Used sm: 1.8 official and 1.10.0.6276 self-built. Temporarily fix: 1. Bug is disappering after I comment/delete (almost) any line from server.cfg. 2. It also disappearing if I move several lines from server.cfg to separate file and execute it from server.cfg by: Code:
exec separate.cfg4. For some plugins map reload can help. Can you fix it in sm core? |
Re: [SM bug] AutoExecConfig doesn't work if cfg too long
Exec'd cfgs are parsed by the game engine, not by SM.
|
Re: [SM bug] AutoExecConfig doesn't work if cfg too long
Due to the fact cfg is an inalienable part of sm plugins, and the fact bug exists on many servers for years, is it possible sm core team to make own simple parser for cfg-files, that read cvars always reliably?
____ Edit. 4. Also, bug is disappearing after I'm changing load order of plugins, so l4d_gear_transfer.smx renamed to a.smx and sit closer to the first place. So, it fit the logic that all cfgs has read until some overflow moment. |
Re: [SM bug] AutoExecConfig doesn't work if cfg too long
I made a fix: https://forums.alliedmods.net/showthread.php?t=307804
|
| All times are GMT -4. The time now is 22:29. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.