Raised This Month: $51 Target: $400
 12% 

[ANY] Command and ConVar - Buffer Overflow Fixer (2.9) [23-Jan-2024]


Post New Thread Reply   
 
Thread Tools Display Modes
Ja-Forces
Senior Member
Join Date: Jul 2009
Location: Leningrad
Old 06-16-2021 , 09:54   Re: [ANY] Command and ConVar - Buffer Overflow Fixer (2.5) [03-May-2021]
Reply With Quote #71

Works fine with https://forums.alliedmods.net/showpo...4&postcount=66
__________________

Last edited by Ja-Forces; 06-16-2021 at 09:55.
Ja-Forces is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 06-16-2021 , 10:18   Re: [ANY] Command and ConVar - Buffer Overflow Fixer (2.5) [03-May-2021]
Reply With Quote #72

Quote:
Originally Posted by Ja-Forces View Post
Thanks, have updated main post. Hopefully that works for CSGO and L4D2 without issues.
__________________
Silvers is offline
dr_lex
Member
Join Date: Dec 2014
Old 10-06-2021 , 02:02   Re: [ANY] Command and ConVar - Buffer Overflow Fixer (2.5a) [16-Jun-2021]
Reply With Quote #73

I noticed that the plugin takes most of the memory. Is this normal?
Quote:
0x00cd00ca new/command_buffer.s CellArray 524308
0x00ce00cb new/command_buffer.s CellArray 262164
__________________
dr_lex is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 10-06-2021 , 05:38   Re: [ANY] Command and ConVar - Buffer Overflow Fixer (2.5a) [16-Jun-2021]
Reply With Quote #74

I think this is correct. Does the size change over time or is this the only size? I can't check with the profiler.
__________________
Silvers is offline
azureblue
Member
Join Date: Oct 2021
Location: Two Steps from Hell
Old 11-26-2021 , 12:01   Re: [ANY] Command and ConVar - Buffer Overflow Fixer (2.5a) [16-Jun-2021]
Reply With Quote #75

Hi Silvers, I've just got error like this :

Quote:
L 11/26/2021 - 16:40:41: [SM] Exception reported: Failed to grow array
[2021-11-26 23:40:41]: L 11/26/2021 - 16:40:41: [SM] Blaming: command_buffer.smx
[2021-11-26 23:40:41]: L 11/26/2021 - 16:40:41: [SM] Call stack trace:
[2021-11-26 23:40:41]: L 11/26/2021 - 16:40:41: [SM] [0] ArrayList.PushString
[2021-11-26 23:40:41]: L 11/26/2021 - 16:40:41: [SM] [1] Line 186, C:\Servers\L4D2\left4dead2\addons\sourcemod\s cripting\command_buffer.sp::InsertCommandPost
and that issue always show up together with this error :

Quote:
[2021-11-26 23:40:41]: L 11/26/2021 - 16:40:41: [SM] [3] ConVar.IntValue.set
[2021-11-26 23:40:41]: L 11/26/2021 - 16:40:41: [SM] [4] Line 332, F:\SteamLibrary\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\l4d_s uperversus_no_survivor_management.sp::OnInfec tedChanged
[2021-11-26 23:40:41]: L 11/26/2021 - 16:40:41: [SM] [6] SetConVarFloat
[2021-11-26 23:40:41]: L 11/26/2021 - 16:40:41: [SM] [7] Line 2265, abm.sp::CountTeamMates
[2021-11-26 23:40:41]: L 11/26/2021 - 16:40:41: [SM] [8] Line 694, abm.sp::ADTimer
then my server suddenly crash and restart by itself.

Is there any suggestion?
thanks before !

L4D2
linux server
SM 1.11
btw, i'm renting a dedicated server.
azureblue is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 11-26-2021 , 13:13   Re: [ANY] Command and ConVar - Buffer Overflow Fixer (2.5a) [16-Jun-2021]
Reply With Quote #76

I wondered if this would happen and if the array was not being cleared. I have sent a PM with a new version if you could test and report back. From my testing it stopped the error but I can't tell if this is 100% correct. It's also more optimized in this new version which I'll post soon if you can confirm it's working. Thanks
__________________

Last edited by Silvers; 11-26-2021 at 13:14.
Silvers is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 11-27-2021 , 07:53   Re: [ANY] Command and ConVar - Buffer Overflow Fixer (2.6) [27-Nov-2021]
Reply With Quote #77

This should be more optimized and run faster than the previous version. Maybe also catch things if they failed to enter again. I hope everything works correctly. Thanks to "azureblue" for testing 2.6 and reporting that everything seems to work.

Code:
2.6 (27-Nov-2021)
    - Fixed "Failed to grow array" error. Thanks to "azureblue" for reporting.
__________________
Silvers is offline
sorallll
Senior Member
Join Date: Oct 2018
Old 12-05-2021 , 23:47   Re: [ANY] Command and ConVar - Buffer Overflow Fixer (2.6) [27-Nov-2021]
Reply With Quote #78

Version 2.6 does not take effect on sm1.11-6826, and the plug-in loads normally
sorallll is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 12-06-2021 , 07:38   Re: [ANY] Command and ConVar - Buffer Overflow Fixer (2.7) [27-Nov-2021]
Reply With Quote #79

Thanks.

Please try this version and report back.

I tested some more and this seemed to fix it breaking.

Code:
2.7 (06-Dec-2021)
    - Fixed the last version breaking plugin functionality. Thanks to "sorallll" for reporting.
__________________
Silvers is offline
sorallll
Senior Member
Join Date: Oct 2018
Old 12-06-2021 , 08:52   Re: [ANY] Command and ConVar - Buffer Overflow Fixer (2.7) [27-Nov-2021]
Reply With Quote #80

Thanks, effective
sorallll is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:22.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode