DarkBlizz

Game On => Land of AI => STARCRAFT II: WINGS OF LIBERTY => AI Help Section => Topic started by: chris0990 on March 25, 2010, 06:20:31 PM

Title: A script logic error occurred for player 4-Prot: Invalid mainState
Post by: chris0990 on March 25, 2010, 06:20:31 PM
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]
Title: Re: A script logic error occurred for player 4-Prot: Invalid mainState
Post by: AIAndy on March 26, 2010, 03:36:22 AM
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.
Title: Re: A script logic error occurred for player 4-Prot: Invalid mainState
Post by: chris0990 on March 27, 2010, 02:57:21 AM
how do i fix it?
Title: Re: A script logic error occurred for player 4-Prot: Invalid mainState
Post by: AIAndy on March 27, 2010, 05:39:11 AM
That depends on your script. Best search for all code where you change the main state.
Title: Re: A script logic error occurred for player 4-Prot: Invalid mainState
Post by: TriggaHappyClown on March 28, 2010, 01:07:20 AM
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/)
Title: Re: A script logic error occurred for player 4-Prot: Invalid mainState
Post by: easonlee on March 29, 2010, 04:15:51 PM
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.