ERROR: MAX_GAMESTATE_CHARS exceeded
Moderator: Moderators
ERROR: MAX_GAMESTATE_CHARS exceeded
I can't find out why I am getting this error or what it is . Anyone know ?
I was doing a little research on this error. I found nothing definitive, but have a pretty good idea of the problem.
The MAX_GAMESTATE_CHARS is configured in the game's hardcode.
I don't know what the value is for MoHAA, but based on the fact that it sets a maximum number of strings reserved for AI, I would say you have too many AI, all running scripts (even if they are turned off, they still run threads).
Instead of spawning them all, hiding them, and showing them in groups, your problem will be solved by spawning the groups when they are needed. This way, they are not running any threads at all until they are needed.
The MAX_GAMESTATE_CHARS is configured in the game's hardcode.
I don't know what the value is for MoHAA, but based on the fact that it sets a maximum number of strings reserved for AI, I would say you have too many AI, all running scripts (even if they are turned off, they still run threads).
Instead of spawning them all, hiding them, and showing them in groups, your problem will be solved by spawning the groups when they are needed. This way, they are not running any threads at all until they are needed.


