Open CelestialKnight7 opened 2 months ago
Definitely a team error. That sounds probable. Test?
whatcha do its /ai 1 1 3 20 1 1, kill that guy, then do /ai 1 1 3 20 1 and that guy will crash
Didn't crash
Second call to /ai needs to spawn multiple I think. Perhaps Bradley messing with turret made it so the same team AI destroy multiple AI or mutilate the team property?
TypeError: Cannot read properties of undefined (reading 'replace') at Function.parseTeamExtras (/home/ubuntu/Pixel-Tanks/engine.js:281:35) at Function.getUsername (/home/ubuntu/Pixel-Tanks/engine.js:282:36) at FFA.ondeath (/home/ubuntu/Pixel-Tanks/engine.js:203:60) at AI.damageCalc (/home/ubuntu/Pixel-Tanks/engine.js:1026:59) at AI.update (/home/ubuntu/Pixel-Tanks/engine.js:847:68) at FFA.tick (/home/ubuntu/Pixel-Tanks/engine.js:171:60) at Timeout._onTimeout (/home/ubuntu/Pixel-Tanks/engine.js:21:40) at listOnTimeout (node:internal/timers:559:17) at processTimers (node:internal/timers:502:7)
Adding try-catch for better context
i made everything dum
Bro is so devoted to the scam that he literally changed his username for it.
No clue why this is happening other than somehow an AI without a team is either dying or being ticked.
Possibly #641 ?
Error: TypeError: Cannot read properties of undefined (reading 'replace') Origin: uncaughtException
happens when ai of the same team dies after an ai from that team previously died
i think