| closedUpdating/upgrading existing plugins |
| Started by =|[76AD]|= TatsuSaisei on 02-25-2007, 08:12 AM |
Threads: 54
Joined: May 2005
the MORAL of the story: SHUT OFF your server when you add an update or upgraded pluginn nAdding plugins is as easy as uploading the file (plugin.AMXX) to the proper folder (addons/amxmodx/plugins) on the game server and then properly listing that file in the plugins.ini (addons/amxmodx/config/plugins.ini) file and then either restarting the server or simply changing maps...n nnow that was easy.... but what about adding an upgrade or an update to an existing plugin ?? This can also be as easy but there is an important step here that is not necessary when adding a completely new plugin....n nyou MUST shut server off then turn it back on !!!n nWhen you initially start a game server all the important information regarding the game is loaded into system RAM (memory) and kept there... as maps change and time goes on, the information in memory rarely changes and is used to speed up processing. When you add an update/upgrade to the server and do not reboot, you are adding MORE information to the memory without first removing the useless or unneeded information... sometimes this will never cause a problem, but other times, such drastic changes occur to a plugin that cause parts of it to no longer work, especially if the plugin then depends on the state of a variable in memory which has probably become corrupt by stacking more into it without removing the useless...n nmy explanation is heading toward rambling so I will leave of here....n nthe MORAL of the story: SHUT OFF your server when you add an update or upgraded plugin... you will lose all of 30-60 seconds of live server time and will save days/weeks of hassles and frustration for you and the plugin author...
Threads: 103
Joined: May 2005
well thats a bit of an extreme i think..nnat least for someone like myself.. who may upload 10 different changed plugins daily.. and usually im doing it when theres a lot of ppl on..nnntho my server does reboot itself almost every night around 3 or 4 AM.. so that probably helps me alot anyway
Threads: 54
Joined: May 2005
well thats a bit of an extreme i think..n nat least for someone like myself.. who may upload 10 different changed plugins daily.. and usually im doing it when theres a lot of ppl on..n n ntho my server does reboot itself almost every night around 3 or 4 AM.. so that probably helps me alot anywayn nextreme for those who understand more about computers then the average user... but yes, in most circumtances adding updates will not have adverse effects, atleast not immediately sometimes... and if your server reboots on a schedule.. then to be fair for you it may be difficult to ever notice any problems, since the "issue" is corrected every morning... loln nin any case it does not HURT to shut off the server and turn it back on every so often... therefore when adding in a major update... why not kill a bunch of birds with one stone !! :eek: n n:D
Threads: 57
Joined: Oct 2005
The only time I reboot my server is when a test plugin I make causes it to crash, which is at least once per day :P
Threads: 3
Joined: Mar 2007
Some servers do not need to reboot or change maps after adding a plugin or admin etc. It depends on which server provider you buy from.
Threads: 7
Joined: Nov 2006
'Tis always a good idea, especially on windows boxes, to truly reboot - Windows has always been bad about memory leaks, and forgetting what it has stopped using.rnLinux boxes, I have less experience with, but rebooting is never a bad thing.rnKinda like it's great for your home computer to reformat and start new every once in a while.

