splewis / csgo-multi-1v1

CS:GO Sourcemod plugin to create multi-1v1 arena servers
GNU General Public License v3.0
277 stars 68 forks source link

Errors thrown by player_death event hook #210

Open m0rbit opened 5 years ago

m0rbit commented 5 years ago

L 11/21/2018 - 21:17:26: [SM] Exception reported: Array index out-of-bounds (index -1, limit 66) L 11/21/2018 - 21:17:26: [SM] Blaming: multi1v1.smx L 11/21/2018 - 21:17:26: [SM] Call stack trace: L 11/21/2018 - 21:17:26: [SM] [1] Line 864, ./scripting/multi1v1.sp::Event_OnPlayerDeath L 11/21/2018 - 21:17:27: [SM] Exception reported: Array index out-of-bounds (index -1, limit 66) L 11/21/2018 - 21:17:27: [SM] Blaming: multi1v1.smx

kleuser75 commented 5 years ago

fix mp_disconnect_kills_players 0

m0rbit commented 5 years ago

thx mp_disconnect_kills_players 0 done

crashzk commented 5 years ago

Any correction by the plugin about this error?

The publication is in the latest version of SourceMod & Metamod and Multi 1v1. "CS:GO Multi1v1" (1.1.9) by splewis For now I am using the solution by the cvar who informed...

@splewis

splewis commented 4 years ago

You could try with https://github.com/splewis/csgo-multi-1v1/commit/dce8afcd24378e8bc103908191075cbe20e96e57 now.

That's just me taking a random guess at the code though. I didn't test it. People that actually run 1v1 servers are in a far better position to test/figure out such bugs.

crashzk commented 4 years ago

You could try with dce8afc now.

That's just me taking a random guess at the code though. I didn't test it. People that actually run 1v1 servers are in a far better position to test/figure out such bugs.

Just to keep updated, this fix doesn't work, I keep getting this error log:

L 07/28/2020 - 18:05:46: [SM] Exception reported: Array index out-of-bounds (index -1, limit 66)

L 07/28/2020 - 18:05:46: [SM] Blaming: multi1v1.smx

L 07/28/2020 - 18:05:46: [SM] Call stack trace:

L 07/28/2020 - 18:05:46: [SM]   [1] Line 868, ./scripting/multi1v1.sp::Event_OnPlayerDeath

Plugin Version: CS:GO Multi1v1 (1.1.10-dev+219) by splewis