=|[76AD]|= TatsuSaisei
02-25-2007, 08:12 AM
the MORAL of the story: SHUT OFF your server when you add an update or upgraded plugin
Adding 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...
now 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....
you MUST shut server off then turn it back on !!!
When 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...
my explanation is heading toward rambling so I will leave of here....
the 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...
Adding 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...
now 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....
you MUST shut server off then turn it back on !!!
When 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...
my explanation is heading toward rambling so I will leave of here....
the 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...