Patrol errors
Patrol errors? Yes, once again. But these are tricky.
I've created a system with pop zones, ambient zones, populated asteroid fields and a few patrols, military patrols through the asteroid fields and pirate trading patrols between their planet and two jump holes to be exact. Everything's working just fine.
Now, I created pirate attack patrols into the asteroid fields. When testing, I flew through one of the fields and got a CTD. So, I commented out all the attack patrols and it went fne again. Knowing, what causes the error, I searched for mistakes in the patrols code. But they seemed to be alright. After all, I copied them from similar original patrols.
Then, I de-commented just the patrols leading into one field and the other one worked. The field with the patrols, however, is still nit working: I was flying towards it, and it crashed, and another time, I was flying through the north of the field, and it still crashed. However, all pirate patrols are in the south.
Any ideas? Oh and, if you need certain bits of the code, just say so.
EDIT: Just found out: When flying in orbit around the planet the attack patrols originate from gives my no crash. So I suspect it has something to do with the asteroid field AND the patrol.
Edited by - Manhattan_Guy on 10/25/2005 2:29:59 PM
I've created a system with pop zones, ambient zones, populated asteroid fields and a few patrols, military patrols through the asteroid fields and pirate trading patrols between their planet and two jump holes to be exact. Everything's working just fine.
Now, I created pirate attack patrols into the asteroid fields. When testing, I flew through one of the fields and got a CTD. So, I commented out all the attack patrols and it went fne again. Knowing, what causes the error, I searched for mistakes in the patrols code. But they seemed to be alright. After all, I copied them from similar original patrols.
Then, I de-commented just the patrols leading into one field and the other one worked. The field with the patrols, however, is still nit working: I was flying towards it, and it crashed, and another time, I was flying through the north of the field, and it still crashed. However, all pirate patrols are in the south.
Any ideas? Oh and, if you need certain bits of the code, just say so.
EDIT: Just found out: When flying in orbit around the planet the attack patrols originate from gives my no crash. So I suspect it has something to do with the asteroid field AND the patrol.
Edited by - Manhattan_Guy on 10/25/2005 2:29:59 PM