Re: [DEV] Plugin reload
1 Attachment(s)
There is nothing wrong with functionality. Plugin executes both operations "load" and "reload" for plugins with unrecognized statuses.
To beautify server output and prevent one additional superfluous operation, please make the same log using this v.1.8d. You may receive msg like this: Quote:
|
Re: [DEV] Plugin reload
Nothing changed.
Let me show you the example plugin "speclist.smx" The plugin is already loaded on the server. I am throwing a new plugin (with the new sm_test command) Server console: [AutoReload] test/speclist.smx has changed timestamp. Reloading... [SM] Plugin test\speclist.smx is already loaded. In game chat : test/speclist.smx plugin reloaded. Status: NOT Loaded I check the performance: Unknown command "sm_test" I manually restart the plugin: Server console: sm plugins reload test/speclist [SM] Plugin Spectator List reloaded successfully. And only after that the plugin rebooted and the sm_test command started working. And the second error is this: The server is on. Delete the plugin: Server console: [AutoReload] test/speclist.smx plugin is deleted. Unloading... [SM] Plugin Spectator List unloaded successfully. I am returning the plugin Server console: [AutoReload] test/speclist.smx has changed timestamp. Reloading... [SM] Loaded plugin test\speclist.smx successfully. In game chat : test/speclist.smx plugin reloaded. Status: NOT Loaded |
Re: [DEV] Plugin reload
Windows?
Is everything OK when you do same tests using root folder "plugins" (without "test" subfolder) ? |
Re: [DEV] Plugin reload
Windows
Without without the "test" subfolder, everything works. The game chat also shows the status correctly. |
Re: [DEV] Plugin reload
Updated.
Quote:
|
Re: [DEV] Plugin reload
Cosmetic change.
Quote:
|
Re: [DEV] Autoreload plugins
Updated.
Quote:
- See details in scripting/include/autoreload.inc - See examples in scripting/include/test_forwards.sp |
Re: [DEV] Autoreload plugins
Updated.
Quote:
|
Re: [DEV] Autoreload plugins
This plugin saves me so much time. Thank you Timiditas and Dragokas!
|
Re: [DEV] Autoreload plugins
Updated.
Quote:
|
| All times are GMT -4. The time now is 22:16. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.