xandicar wrote:I have the same problem, I think.
I have two new freighters that sit and wait for something. I did some easy buy and sell orders, but they don't execute. (they are accepted in the trade screen and money is deducted) Now the prices on the two locations have changed and both are frozen in there commands.
The first has a buy order of 1 at a significant lower price as the local price that is show on the sales/order menu when I checked.
They other has a sales order of items bought before, which where loaded. Now cargo hull is empty, but sales order isn't set as fulfilled.
I See that there are price differences on both locations on check moment. Maybe there is some interference between the price on placement and the price on execution? (wild guess) Maybe that is why they are waiting?
If this would be the case, it isn't logical, since you buy / sell on screen and on contract basis in my opinion. So purchase / sales price are set on execution of the command. So if the local price changes it shouldn't effect the contract price. I am curious if it is programmed like this.
Just an idea:
If the screen price is different from local price then a contract should be bounced or a different price should be offered with a yes or no question. This way you cover timing differences between local arrival and pick-up / delivery and changes in prices in the mean time.
Hopefully I can get some enlightenment on what is wrong, me or the script logic.
Pfffhh...this is a hard nut.
I did some testing and looked at the data in the save file. Found the lines where to edit the orders, but that didn't have any effect on load. The Capt of the ship is stuck in the command and keeps stuck.
That command doesn't change even if I change the lines of the order. Also seen that if you order 1 single unit of an item it doesn't add the command line amount= "1" min="1". This can be on purpose but it is different from the other two order lines where the amount and min are shown. Adding these to the order doesn't conflict on load and in game. Everything seems the same when adding. But still the Capt is stuck in his command and doesn't do anything.
I found a strange workaround (or fault) that changed the orders on my other stuck freighter. This one had an finished unload at a station, but didn't complete the order and still had the sell in the Capt command line.
I did contact him and gave him >> new order >> take me too and selected a different sector and did <Plot Course>. This popped up and when it dropped from screen the orders where cancelled and sales money added to my account. All 3 of them and I could assign a new order to this Capt. So I added a simple buy order and it got accepted and shown in details for this Capt. Only downside is that he doesn't move since the command is still on the old command that did cause the block.
The idea that comes to my mind is the code in the trading (order) procedure is open and doesn't have a reset loop if there is an unexpected event. I haven't been able to find the line where the command is written for these Capt(s) / Ship(s) combination.
For now I have seen enough code.
