I found one.
Code: Select all
File mining.ship.collect.xml
line 29-42
<!-- Move to destination zone -->
<do_if value="this.ship.zone != $zone">
<debug_text text="'Go mining to zone: ' + $zone.knownname" chance="$debugchance" />
<!-- If the zone to mine is a highway -->
<do_if value="$zone.isclass.highway">
<debug_text text="'Error moving to %1. This zone is a highway'" />
<!-- <resume label="start" /> -->
</do_if>
<run_script name="'move.generic'">
<param name="destination" value="$zone"/>
<param name="endintargetzone" value="true" />
<param name="debugchance" value="$debugchance"/>
</run_script>
</do_if>
explanation:
line 34: missing variable in the debug_text command
Since this is a pretty rare situation to actually happen, probably experienced it.
Found same thing in same file at line 470
<!-- Move to destination zone -->
<do_if value="this.ship.zone != $zone">
<debug_text text="'Go mining to zone: ' + $zone.knownname" chance="$debugchance" />
<!-- If the zone to mine is a highway -->
<do_if value="$zone.isclass.highway">
<debug_text text="'Error moving to %1. This zone is a highway'" />
<!-- <resume label="start" /> -->
</do_if>
Found something else at line 513
<do_if value="$gatherrate" max="0">
<debug_text text="player.age + ' WARNING: gatherrate for %1 in zone %2 is %4'.[$currentware, $zone.knownname, $gatherrate]" chance="$debugchance" />
</do_if>
explanation:
Its using %4 when there are no 4th variables in the list. Should be %3