FortyTwoFortyTwo / Randomizer

TF2 plugin that randomizes player loadout in any imaginable combinations
GNU General Public License v3.0
35 stars 15 forks source link

Fix error from multiple users taking damage at same time #121

Closed dedimark closed 2 months ago

dedimark commented 2 months ago

after yesterday update

L 06/21/2024 - 00:00:40: [SM] Exception reported: Array index out-of-bounds (index 394, limit 66) L 06/21/2024 - 00:00:40: [SM] Blaming: randomizer.smx L 06/21/2024 - 00:00:40: [SM] Call stack trace: L 06/21/2024 - 00:00:40: [SM] [1] Line 87, randomizer\sdkhook.sp::Client_OnTakeDamagePost L 06/21/2024 - 00:00:42: [SM] Exception reported: Array index out-of-bounds (index 400, limit 66) L 06/21/2024 - 00:00:42: [SM] Blaming: randomizer.smx L 06/21/2024 - 00:00:42: [SM] Call stack trace: L 06/21/2024 - 00:00:42: [SM] [1] Line 87, randomizer\sdkhook.sp::Client_OnTakeDamagePost L 06/21/2024 - 00:00:43: [SM] Exception reported: Array index out-of-bounds (index 400, limit 66) L 06/21/2024 - 00:00:43: [SM] Blaming: randomizer.smx L 06/21/2024 - 00:00:43: [SM] Call stack trace: L 06/21/2024 - 00:00:43: [SM] [1] Line 87, randomizer\sdkhook.sp::Client_OnTakeDamagePost L 06/21/2024 - 00:00:48: [SM] Exception reported: Array index out-of-bounds (index 400, limit 66) L 06/21/2024 - 00:00:48: [SM] Blaming: randomizer.smx L 06/21/2024 - 00:00:48: [SM] Call stack trace: L 06/21/2024 - 00:00:48: [SM] [1] Line 87, randomizer\sdkhook.sp::Client_OnTakeDamagePost L 06/21/2024 - 00:00:55: [SM] Exception reported: Array index out-of-bounds (index 400, limit 66) L 06/21/2024 - 00:00:55: [SM] Blaming: randomizer.smx L 06/21/2024 - 00:00:55: [SM] Call stack trace: L 06/21/2024 - 00:00:55: [SM] [1] Line 87, randomizer\sdkhook.sp::Client_OnTakeDamagePost L 06/21/2024 - 00:01:38: [SM] Exception reported: Array index out-of-bounds (index 400, limit 66) L 06/21/2024 - 00:01:38: [SM] Blaming: randomizer.smx L 06/21/2024 - 00:01:38: [SM] Call stack trace: L 06/21/2024 - 00:01:38: [SM] [1] Line 87, randomizer\sdkhook.sp::Client_OnTakeDamagePost L 06/21/2024 - 00:01:39: [SM] Exception reported: Array index out-of-bounds (index 394, limit 66) L 06/21/2024 - 00:01:39: [SM] Blaming: randomizer.smx L 06/21/2024 - 00:01:39: [SM] Call stack trace: L 06/21/2024 - 00:01:39: [SM] [1] Line 87, randomizer\sdkhook.sp::Client_OnTakeDamagePost L 06/21/2024 - 00:01:51: [SM] Exception reported: Array index out-of-bounds (index 400, limit 66) L 06/21/2024 - 00:01:51: [SM] Blaming: randomizer.smx L 06/21/2024 - 00:01:51: [SM] Call stack trace: L 06/21/2024 - 00:01:51: [SM] [1] Line 87, randomizer\sdkhook.sp::Client_OnTakeDamagePost L 06/21/2024 - 00:02:24: [SM] Exception reported: Array index out-of-bounds (index 400, limit 66) L 06/21/2024 - 00:02:24: [SM] Blaming: randomizer.smx L 06/21/2024 - 00:02:24: [SM] Call stack trace: L 06/21/2024 - 00:02:24: [SM] [1] Line 87, randomizer\sdkhook.sp::Client_OnTakeDamagePost L 06/21/2024 - 00:03:10: [SM] Exception reported: Array index out-of-bounds (index 394, limit 66) L 06/21/2024 - 00:03:10: [SM] Blaming: randomizer.smx L 06/21/2024 - 00:03:10: [SM] Call stack trace: L 06/21/2024 - 00:03:10: [SM] [1] Line 87, randomizer\sdkhook.sp::Client_OnTakeDamagePost

FortyTwoFortyTwo commented 2 months ago

Fixed at https://github.com/FortyTwoFortyTwo/Randomizer/commit/16790cbfb66687605e9475e225e012fc355f6a89