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

Array index out-of-bounds error #11

Closed
Jugheadbomb opened this issue Mar 9, 2024 · 8 comments
Closed

Array index out-of-bounds error #11

Jugheadbomb opened this issue Mar 9, 2024 · 8 comments

Comments

@Jugheadbomb
Copy link
Contributor

Happens sometimes and only with DHookCallback_CTFProjectile_Flare_Post

L 03/09/2024 - 09:18:40: [SM] Exception reported: Array index out-of-bounds (index -1, limit 8)
L 03/09/2024 - 09:18:40: [SM] Blaming: friendlyfire.smx
L 03/09/2024 - 09:18:40: [SM] Call stack trace:
L 03/09/2024 - 09:18:40: [SM]   [0] SetFailState
L 03/09/2024 - 09:18:40: [SM]   [1] Line 152, friendlyfire\entity.sp::Entity.CheckArrayBounds
L 03/09/2024 - 09:18:40: [SM]   [2] Line 158, friendlyfire\entity.sp::Entity.GetTeamInternal
L 03/09/2024 - 09:18:40: [SM]   [3] Line 141, friendlyfire\entity.sp::Entity.ResetTeam
L 03/09/2024 - 09:18:40: [SM]   [4] Line 301, friendlyfire\dhooks.sp::DHookCallback_CTFProjectile_Flare_Explode_Post
@Jugheadbomb
Copy link
Contributor Author

According to previous message, there is another error spam with these dhook IDS (686 and 687), happens on map change

L 03/09/2024 - 14:12:45: [friendlyfire.smx] Failed to remove dynamic hook (ID 687)
L 03/09/2024 - 14:12:45: [friendlyfire.smx] Failed to remove dynamic hook (ID 686)

@Mikusch
Copy link
Owner

Mikusch commented Mar 10, 2024 via email

@NNinja1255
Copy link

Got this same issue whenever Zatoichi dueling.

@Mikusch
Copy link
Owner

Mikusch commented Jun 18, 2024

Got this same issue whenever Zatoichi dueling.

Could you provide more info? Is there any specific setup that allows me to reproduce this consistently? Can you rule out that this isn't other plugins interfering?

@NNinja1255
Copy link

NNinja1255 commented Jun 18, 2024

It is literally just hitting people who have the zatoichi with the zatoichi. The only other plugin I have that modifies the attacker is the OnDamageTaken Hook, which I disabled and it didn't change anything.

@Mikusch
Copy link
Owner

Mikusch commented Jun 18, 2024

It is literally just hitting people who have the zatoichi with the zatoichi. The only other plugin I have that modifies the attacker is the OnDamageTaken Hook, which I disabled and it didn't change anything.

Thanks, I can reproduce this. Could you submit a new issue so I can track this better? Hopefully the fix won't take too long.

@NNinja1255
Copy link

Thanks, I can reproduce this. Could you submit a new issue so I can track this better? Hopefully the fix won't take too long.

#15

@Mikusch
Copy link
Owner

Mikusch commented Oct 17, 2024

I will mark this as closed for now - if it happens again please create another issue

@Mikusch Mikusch closed this as completed Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants