View Single Post
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 03-16-2020 , 19:50   Re: [DEV] Plugin reload
Reply With Quote #5

Updated.

Quote:
1.6 (17-Mar-2020)
- Code is simplified, changed timing logic.
- Plugin load status is now always displayed (it's checked with 0.5 sec. delay after actual re-loading).
- Status description is simplified.
- Plugin change is now detected by file size as well.
- "sm_autoreload_delay" ConVar safe minimum is defined as 1.0 sec.
- Disabled load/reload selection logic based on plugin status, since FindPluginByFile returns 0 even if plugin is loaded but disabled. Now, reload + load is always executed together.
- Added ability to display in chat part of error log when plugin is failed to load (you can disable or adjust number of lines in "sm_autoreload_error_lines" ConVar).
- Added an option to display info in console only, see "sm_autoreload_show_info" description.

1.5 (16-Mar-2020)
- Better file uploading finish detection, so no more twice spam in error log (thanks to SilverShot).
- Some message misprints corrected.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline