What's the difference between AIAutoPlay and ChangePlayer?

stmartin

aka. poyuzhe
Joined
Aug 4, 2007
Messages
640
Location
Shanghai
I've got a crash in the HoTK mod, it's weird.

Sometimes when I AIAutoPlay for 1 turn, CTD.

But when I ChangePlayer incrementally, and returns back to the original player, it won't CTD.

So just wondering is there any difference for the game between the two?
 
Changing players incrementally means that slightly different code runs since each player you switch to in then a human and not an AI when their turn starts. That's probably the difference.

Refar and glider1 have figured out how to debug the SDK with free tools, if you can get it working these debugging tools are incredibly useful. Check it out towards the end of this thread.
 
Top Bottom