Post
by UniTrader » Thu, 22. Jun 17, 17:24
next issue:
regarding the Commands
<connect_to_trade_location ship="this.ship" tradedock="if true then $parkslot else 'Unark Signal 1'" result="$success" />
and
<disconnect_from_trade_location ship="this.ship" />
i have the impression that the blocking mechanism included in them does not work properly, at least on CVs which have the oddity that multiple Parking Slots ( from <find_tradeoffer_parking_slot/> ) refer to the same park position. i already tried to force docking Ships to only use one of them, but to no avail, after several hours of leaving it running multiple Ships attempt to Dock simultaneously.at the same Parking Place.... (and yes, before attempting parking i always check the result of <connect_to_trade_location/> )
When i checked the current parking Scripts i noticed that they now include a proper queue. iirc when i wrote my own Docking Scripts (which started more than a year ago) this was not yet the case, and ships polled for free parking Slots until they got one, so i assumed this result was reliable enough to prevent this..
if not stated otherwise everything i post is licensed under WTFPL
Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter
I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help