View Single Post
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 07-14-2022 , 01:28   Re: [ANY] Plugin Updates Checker (1.5) [18-Apr-2022]
Reply With Quote #24

With the latest version, I'm getting the same error again as last time, but it's now coming from a different place in the code:
Code:
L 07/13/2022 - 22:14:38: [SM] Exception reported: Invalid memory access
L 07/13/2022 - 22:14:38: [SM] Blaming: plugin_updates_checker.smx
L 07/13/2022 - 22:14:38: [SM] Call stack trace:
L 07/13/2022 - 22:14:38: [SM]   [1] Line 634, C:\l4d2ds\left4dead2\addons\sourcemod\scripting\plugin_updates_checker.sp::CheckVersions
L 07/13/2022 - 22:14:38: [SM]   [2] Line 520, C:\l4d2ds\left4dead2\addons\sourcemod\scripting\plugin_updates_checker.sp::OnRequestComplete
By the way, the source code uses a hardcoded "1.0" as the plugin version instead of your "PLUGIN_VERSION" definition.
Code:
"[ANY] Plugin Updates Checker" (1.0) by SilverShot
Lastly, there's a compiler warning:
Code:
//SourceMod Batch Compiler
// by the SourceMod Dev Team


//// plugin_updates_checker.sp
//
// plugin_updates_checker.sp(475) : warning 219: local variable "HTTPRequest" shadows a variable at a preceding level
// Code size:         23724 bytes
// Data size:         8880 bytes
// Stack/heap size:     131072 bytes
// Total requirements:  163676 bytes
//
// 1 Warning.
//
// Compilation Time: 0.47 sec
// ----------------------------------------

Press enter to exit ...
SourceMod Version: 1.11.0.6905
__________________
Psyk0tik is offline