Project

General

Profile

Bug #1970

Approaching From Multiple Functions

Added by bjcasey over 7 years ago. Updated over 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
vbulletin_issue_id:

Description

If AstroBot is required to approach a target and the approach function is called from multiple sources (ie. main script and module script), it will bug out waiting for approach, but not be moving at all.

Fix: Add a check to the call for approach.  If it is already approaching a target, skip it.

Fix 2: Add a check to the wait for approach, that if you aren't approaching, it attempts to approach the target.

#1

Updated by bjcasey over 7 years ago

Hauler is forgetting that it's inventory is full when it is approaching when the condition is met.  This leaves it in a stuck state where it does not warp to station.

Also available in: Atom PDF