A script logic error occurred for player 4-Prot: Invalid mainState
not just 4-Prot sometimes 5-Terr or 4-Zerg
anyways how do i fix this? help :bangshead: [/size][/font]
That means that your scripts change the main state to a number for which no corresponding handling is defined in the if/then/else part in Zerg.galaxy and similar.
how do i fix it?
That depends on your script. Best search for all code where you change the main state.
I have found this to be a bug which has been fixed by updating to the latest beta launcher .25.
http://darkblizz.org/Forum2/sc2-tools/starcraft-ii-beta-launcher/ (http://darkblizz.org/Forum2/sc2-tools/starcraft-ii-beta-launcher/)
I have the same problem, and still can't be fixed by installing v0.27 launcher. And I also cant read the location number marked on the mini map.