Emana202 / L4D2-Survivor-Bot-AI-Improver

A SourceMod plugin for L4D2 trying to improve survivor bots' AI as much as possible
20 stars 4 forks source link

Exception reported: Element -1 is out of bounds (Prop m_iAmmo has 32 elements). #14

Closed SefoNotasi closed 1 year ago

SefoNotasi commented 1 year ago
L 05/05/2023 - 20:38:19: SourceMod error session started
L 05/05/2023 - 20:38:19: Info (map "re3m6") (file "/game/left4dead2/addons/sourcemod/logs/errors_20230505.log")
L 05/05/2023 - 20:38:19: [SM] Exception reported: Element -1 is out of bounds (Prop m_iAmmo has 32 elements).
L 05/05/2023 - 20:38:19: [SM] Blaming: l4d2_sb_ai_improver.smx
L 05/05/2023 - 20:38:19: [SM] Call stack trace:
L 05/05/2023 - 20:38:19: [SM]   [0] GetEntProp
L 05/05/2023 - 20:38:19: [SM]   [1] Line 3102, F:\\l4d2_sb_ai_improver\L4D2-Survivor-Bot-AI-Improver\scripting\l4d2_sb_ai_improver.sp::GetClientPrimaryAmmo
L 05/05/2023 - 20:38:19: [SM]   [2] Line 3179, F:\\l4d2_sb_ai_improver\L4D2-Survivor-Bot-AI-Improver\scripting\l4d2_sb_ai_improver.sp::L4D2_OnFindScavengeItem
L 05/05/2023 - 20:38:19: [SM]   [4] Call_Finish
L 05/05/2023 - 20:38:19: [SM]   [5] Line 3470, l4dd\l4dd_forwards.sp::DTR_SurvivorBot_FindScavengeItem_Post
L 05/05/2023 - 20:52:20: Error log file session closed.