Reload a plugin every X seconds
There is a plugin that usually stop functioning for one player and the only solution I know of is to reload it. Every five minutes would be fine, but I only know how to do it manually when a player tells me it's failing to him. I want to automate it, how can I do it?
|
Re: Reload a plugin every X seconds
better focus in fixing the issue
|
Re: Reload a plugin every X seconds
Quote:
https://forums.alliedmods.net/showpo...&postcount=127 |
Re: Reload a plugin every X seconds
With such old code and syntax, variables named that's confusing, my eyes started to bleed. Would be better to re-write the plugin since that one has a severe lack of optimization and convoluted methods.
|
Re: Reload a plugin every X seconds
If you want this "fixed" try finding where is the issue and then ask for help, giving more technical and detailed info.
Requesting someone (that isn't even the author) to read 1800+ lines of code + old syntax and fix it for you, and for free, it's too lazy. band-aid fixes usually only bring more issues than fixes. Try removing (set to 0 or a bigger value) any fatigues changing the cvars belows: Code:
z_gun_swing_coop_max_penalty : 8 : , "rep", "cl", "launcher" : **The number of swings before the maximum punch/melee/shove fatigue delay is set in (coop). |
Re: Reload a plugin every X seconds
Quote:
And you have explained well the reasons why I find it much more comfortable to reload the plugin from time to time than to fix it directly, since it is a rare error, approximately once every hour. |
Re: Reload a plugin every X seconds
Hello, for reload the plugin this should works
PHP Code:
|
Re: Reload a plugin every X seconds
Quote:
Trying to find some plugin that activates fatigue for melee during further extensive searching, I couldn't find anything. This will do the job in the meantime. |
Re: Reload a plugin every X seconds
Quote:
I explain: create a file for example: automatic.cfg put it in: Steam\SteamApps\common\Left 4 Dead 2\left4dead2\cfg inside it, type these commands: PHP Code:
PHP Code:
|
All times are GMT -4. The time now is 08:36. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.