View Single Post
Old 04-25-12, 11:55 AM   #1772
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

This makes no sense. I disabled everything (AI code wise from IRAI) and am able to click on any ship without crashing. I slowly added one thing at a time until everything was re-enabled and I can still click on any ship without crashing This makes me suspect a rogue ship in the roster...something is wrong with one of them.

On a good note I figured out why ships come to a stop sometimes! Do you see anything wrong with this line of code:

!Ship:GetRole() == ROLE_IDLE and !Ship:GetRole() == ROLE_ERROR_BATTLESHIP and !Ship:GetRole() == ROLE_ERROR_ESCORT

This was a sinister bug!! The game wouldn't crash because of it. Here's what it should be:

Ship:GetRole() != ROLE_IDLE and Ship:GetRole() != ROLE_ERROR_BATTLESHIP and Ship:GetRole() != ROLE_ERROR_ESCORT

Now they keep looking/searching for you
TheDarkWraith is offline   Reply With Quote