Replays Old replay limited in size crashes client

What type of bug are you reporting? Unsure

What is the bug?
Not sure if this is the right place to post this so here goes. So I wanted to view a match very long time ago (2014) the thing is when I view the replay the replay breaks and stops at turn 245 with the following message.

Turn 245

TypeError: Cannot read properties of undefined (reading 'charAt')

at BattleLog.add (https://play.pokemonshowdown.com/js/battledata.js?0.7851907351941803:3001:15)
at Battle.log (https://play.pokemonshowdown.com/js/battle.js?0.45434077898805847:1301:16)
at Battle.runMajor (https://play.pokemonshowdown.com/js/battle.js?0.45434077898805847:3688:6)

Here is the replay I am referring too with the bug.

https://replay.pokemonshowdown.com/gen3oubeta-140361324

Are you able to replicate it? If so, how?
It is easily replicated. go to the link and once you are at turn 245 it always does it.
 
The replay ends at that point. It was probably truncated to 65534 bytes due to being too long. The truncation happens in the middle of a command, which fails to parse, thus the error messages.
 

Users Who Are Viewing This Thread (Users: 1, Guests: 0)

Top