.throw smokes should be throwing all the smokes within the Category: Smokes as indicated by the plugin output ingame chat, and none else.
Actual behavior
There are additional smokes which are thrown, which do not belong to the "Smokes" category, as well as within the maps nades.cfg file on the server in general. I have absolutely no idea where these mystery nades are being thrown from. It's almost as if data is cached somewhere and csutils is using that data?
Steps to reproduce
Plugin version: 1.3.4
Sourcemod version: Newest
Steps to reproduce (please be specific): Save nades 1 - 4 within the Smokes category. Create additional nades. Somehow, some of these additional nades are being thrown when calling .throw smokes.. even after deleting those problem nades from the config.
This is from the error logs:
L 05/18/2022 - 22:17:20: [SM] Blaming: practicemode.smx
L 05/18/2022 - 22:17:20: [SM] Call stack trace:
L 05/18/2022 - 22:17:20: [SM] [1] Line 1604, ./scripting/practicemode.sp::CSU_OnThrowGrenade
L 05/18/2022 - 22:17:20: [SM] [3] Call_Finish
L 05/18/2022 - 22:17:20: [SM] [4] Line 334, ./scripting/csutils.sp::CaptureEntity
L 05/18/2022 - 22:17:32: [SM] Exception reported: Array index out-of-bounds (index -1, limit 66)
Expected behavior
.throw smokes
should be throwing all the smokes within the Category: Smokes as indicated by the plugin output ingame chat, and none else.Actual behavior
There are additional smokes which are thrown, which do not belong to the "Smokes" category, as well as within the maps nades.cfg file on the server in general. I have absolutely no idea where these mystery nades are being thrown from. It's almost as if data is cached somewhere and csutils is using that data?
Steps to reproduce
.throw smokes
.. even after deleting those problem nades from the config.This is from the error logs: