Closed Electr0 closed 5 years ago
i am found source, this is related to variable g_iRound in massive g_strRoundData
massive created with #define MAXROUNDS 48 which was exceeded in my case
i am think it not related for competitive matches logic because 48 rounds as sayd plugin athor "ridiculously high", i think it related for vanilla with automatich mapchange to next campaing after campaing finish was passed, or mapchange votes.
for this cases we should call ResetStats)() or cmd statsreset to flush old data after campaign finished.
L 09/15/2019 - 05:02:35: [SM] Blaming: optional/zonemod/l4d2_playstats.smx L 09/15/2019 - 05:02:35: [SM] Call stack trace: L 09/15/2019 - 05:02:35: [SM] [1] Line 1743, C:\Users\Sir\Documents\THE MAP\New Scripting\l4d2_playstats.sp::Event_PlayerHurt L 09/15/2019 - 05:02:35: [SM] Exception reported: Array index out-of-bounds (index 65, limit 48)
also: L 09/15/2019 - 06:30:05: [SM] Exception reported: Array index out-of-bounds (index 76, limit 48) L 09/15/2019 - 06:30:05: [SM] Blaming: optional/zonemod/l4d2_playstats.smx L 09/15/2019 - 06:30:05: [SM] Call stack trace: L 09/15/2019 - 06:30:05: [SM] [1] Line 7214, C:\Users\Sir\Documents\THE MAP\New Scripting\l4d2_playstats.sp::IsMissionFinalMap L 09/15/2019 - 06:30:05: [SM] [2] Line 819, C:\Users\Sir\Documents\THE MAP\New Scripting\l4d2_playstats.sp::OnMapEnd
and:
L 09/15/2019 - 04:51:45: [SM] Exception reported: Array index out-of-bounds (index 63, limit 48) L 09/15/2019 - 04:51:45: [SM] Blaming: optional/zonemod/l4d2_playstats.smx L 09/15/2019 - 04:51:45: [SM] Call stack trace: L 09/15/2019 - 04:51:45: [SM] [1] Line 2099, C:\Users\Sir\Documents\THE MAP\New Scripting\l4d2_playstats.sp::Event_PlayerDeath L 09/15/2019 - 04:51:45: [SM] Exception reported: Array index out-of-bounds (index 63, limit 48)
i am using last .smx binary