Just reporting that I've found and corrected a bug in the trade script files:
FILENAME: Xai.lib.trade.find.best.seller.xml
013 $seller = find station: product $ware with best price: max.price=$home.ware.price, amount=$ware.amount.toBuy, max.jumps=$home.maxJumps, startsector=$home.sector, trader=$ship
014 skip if $seller
015 $seller = find station sells: resource $ware with best price: max.price=$home.ware.price, amount=$ware.amount.toBuy, max.jumps=$home.maxJumps, startsector=$home.sector, trader=$ship
016 *write to player logbook: sprintf: fmt='Best seller for %s is %s.', $ware, $seller, null, null, null
Add line 14 & 15 to the above file... I had a problem my SSP would not get any crystals from a trade station a couple jumps away and the above fixed solved this.
Al.
FAO - Xai Trade Scripter & Users.
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
-
- Posts: 35
- Joined: Wed, 31. Dec 03, 19:00
-
- Posts: 5505
- Joined: Wed, 6. Nov 02, 20:31
Fixed version is now available for download on Xai Corporation www.error691.com/Xai