Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.throw is throwing nades which no longer exist within the server's nade.cfg file #242

Open
parker789 opened this issue May 19, 2022 · 0 comments
Labels

Comments

@parker789
Copy link

parker789 commented May 19, 2022

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

  • 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)
@splewis splewis added the bug label Jul 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants