[MOD] Yet Another Trader v2.03c (updated 11th March '16)
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
-
- Posts: 117
- Joined: Mon, 14. Jul 14, 05:59
-
- Posts: 287
- Joined: Fri, 29. Nov 13, 23:14
Using your mod since a few days now and must say, job well done. Easy to handle and easy to manage your trading fleet!!
One odd thing I noticed is trade execution though..
My CV was buying 38 or so Force Field Proj. and 56 HIT/MA Turrets and the Galaxy Trader had more than enough of both on board (from earlier manual trading).. But instead of docking once (max twice) to fill both trade offers, the GT docked like 6 or more times and always sold chunks of the total..
Is this intended behaviour? Any way to change that?
One odd thing I noticed is trade execution though..
My CV was buying 38 or so Force Field Proj. and 56 HIT/MA Turrets and the Galaxy Trader had more than enough of both on board (from earlier manual trading).. But instead of docking once (max twice) to fill both trade offers, the GT docked like 6 or more times and always sold chunks of the total..
Is this intended behaviour? Any way to change that?
- YorrickVander
- Posts: 2689
- Joined: Tue, 29. Oct 13, 21:59
I've not seen this directly, but I have noticed that ships with fractured storage will sometimes do something similar to what you describe. In ship details, highlight storage and details again : most ships you will see multiple entries for each storage type (in stations too). My assumption is that if a given trade crosses a storage boundary it will be split into 2 trades. This is very annoying and is fixable but vanilla ships I believe all have this to some degree. I've also seen this happen in manual trading where my ship reports the purchase twice.
Fixing requires redoing the storage macros for the ships.
Fixing requires redoing the storage macros for the ships.
X Rebirth - A Sirius Cybernetics Corporation Product
Split irritate visiting pilot with strange vocal patterns.
Split irritate visiting pilot with strange vocal patterns.
-
- Posts: 117
- Joined: Mon, 14. Jul 14, 05:59
hello yorrick thank you for the great mod, i have only used your mod for mining only and it has worked great. and now i need a ship to buy my ship part from my stations and go sell it to other stations. should i assign lyraneas to the stations manager and he sell it for me, or should i get some trading ships set up?
Hello again. I believe theres something wrong with the trader scripts running for me. My Fedhelms are mining and selling quite happily, but my 6 titurels and 1 rahanas are only willing to buy fuel (i deleted what they already had in my attempt to 'reset' them). Once they've stocked up on their 2500 fuel, they just sit around in the system doing absolutely nothing except 'searching for trade', even though there are plenty available.
I only noticed this issue because i realised i was missing a fair few traders due to them having just stopped in an unsafe location.
edit: forgot to say, i tested whether it was another mods faults but uninstalling all of them (except a shipyard building one for fear of breaking things).
edit2: ok, most of the titurels have decided to start trading in energy cells, alas i cant sit around watchin them anymore, i need my sleep >_<
I only noticed this issue because i realised i was missing a fair few traders due to them having just stopped in an unsafe location.
edit: forgot to say, i tested whether it was another mods faults but uninstalling all of them (except a shipyard building one for fear of breaking things).
edit2: ok, most of the titurels have decided to start trading in energy cells, alas i cant sit around watchin them anymore, i need my sleep >_<
Living in a land of make believe. Making peoples dreams die 1 by 1.
-
- Posts: 287
- Joined: Fri, 29. Nov 13, 23:14
Hmm..in my case it was both, a Stock Rahannas Container and a Styrvok Container. Do they have fractured storage??YorrickVander wrote:I've not seen this directly, but I have noticed that ships with fractured storage will sometimes do something similar to what you describe. In ship details, highlight storage and details again : most ships you will see multiple entries for each storage type (in stations too). My assumption is that if a given trade crosses a storage boundary it will be split into 2 trades. This is very annoying and is fixable but vanilla ships I believe all have this to some degree. I've also seen this happen in manual trading where my ship reports the purchase twice.
Fixing requires redoing the storage macros for the ships.
-
- Posts: 287
- Joined: Fri, 29. Nov 13, 23:14
ahh then no their not fractured
slight update on my issue, i think somethings broken in the whole games automated navigation, i just found a system with like 50 water freighters... and im have trouble making my own ships leave the area >_<
slight update on my issue, i think somethings broken in the whole games automated navigation, i just found a system with like 50 water freighters... and im have trouble making my own ships leave the area >_<
Living in a land of make believe. Making peoples dreams die 1 by 1.
- YorrickVander
- Posts: 2689
- Joined: Tue, 29. Oct 13, 21:59
As for the storage fracturing, check as i said above : go to ship details in game, click the word storage and details again. If you see a list like 'bulk 6000' 'bulk 6000' then yes it is fractured into 6000 unit compartments.
News on the 'trading null to null for 0Cr' issue :
I've nailed the bug and happily (for me) it's not in my code but a bug in the <execute_trade function that calls the exe code. Happily also for the mods users its a cosmetic bug for us, as in testing the trade went through and the captain's wallets did go up despite this issue.
Essentially what is happening is the trade data is being lost in certain unknown circumstances inside the exe code and causing the 'trade complete' check (that would fire on manual trading to the event monitor and say 'deal complete sir!') and any following checks on the trade data in the ai to fail.
I have 3 possible workarounds for this under consideration so new version will be up as soon as I decide and test the best of them.
Again you can carry on using the mod, it isn't losing your money It just looks rubbish on the logbook. Selectable ware for mining is also ready for next release, along with 2 other minor bug fixes.
News on the 'trading null to null for 0Cr' issue :
I've nailed the bug and happily (for me) it's not in my code but a bug in the <execute_trade function that calls the exe code. Happily also for the mods users its a cosmetic bug for us, as in testing the trade went through and the captain's wallets did go up despite this issue.
Essentially what is happening is the trade data is being lost in certain unknown circumstances inside the exe code and causing the 'trade complete' check (that would fire on manual trading to the event monitor and say 'deal complete sir!') and any following checks on the trade data in the ai to fail.
I have 3 possible workarounds for this under consideration so new version will be up as soon as I decide and test the best of them.
Again you can carry on using the mod, it isn't losing your money It just looks rubbish on the logbook. Selectable ware for mining is also ready for next release, along with 2 other minor bug fixes.
X Rebirth - A Sirius Cybernetics Corporation Product
Split irritate visiting pilot with strange vocal patterns.
Split irritate visiting pilot with strange vocal patterns.
-
- Posts: 287
- Joined: Fri, 29. Nov 13, 23:14
- YorrickVander
- Posts: 2689
- Joined: Tue, 29. Oct 13, 21:59
That is expected and something similar will come up for any diff file on a mission director script. What it means is, that after diff processing the game engine rejects running it as if it were a full script.Endeavour79 wrote:Found this in the debug..
[=ERROR=] Error loading MD file extensions\YorrickAutoTrade\md\MainMenu.xml: Ignoring root node 'diff' in XML file 'extensions\YorrickAutoTrade\md\MainMenu.xml'.
X Rebirth - A Sirius Cybernetics Corporation Product
Split irritate visiting pilot with strange vocal patterns.
Split irritate visiting pilot with strange vocal patterns.
-
- Posts: 117
- Joined: Mon, 14. Jul 14, 05:59
- YorrickVander
- Posts: 2689
- Joined: Tue, 29. Oct 13, 21:59
@exelsiar - already done for next patch.
@mohammadm55 - I'll look for this happening. In the meantime, do your stations have cargo drones? Or at least your trade ships? Lack of drones could be a cause. There can sometimes be budget issues too, the manager might need enough funds to cover the transaction even though they will not actually be removed as the sale happens (ES bug not sure if they fixed it).
@mohammadm55 - I'll look for this happening. In the meantime, do your stations have cargo drones? Or at least your trade ships? Lack of drones could be a cause. There can sometimes be budget issues too, the manager might need enough funds to cover the transaction even though they will not actually be removed as the sale happens (ES bug not sure if they fixed it).
X Rebirth - A Sirius Cybernetics Corporation Product
Split irritate visiting pilot with strange vocal patterns.
Split irritate visiting pilot with strange vocal patterns.
-
- Posts: 117
- Joined: Mon, 14. Jul 14, 05:59
- YorrickVander
- Posts: 2689
- Joined: Tue, 29. Oct 13, 21:59
v0.1.2 released
Fixed null to null for 0Cr bug
New feature - select specific ware for miners, or 'Any' to behave as normal looking for market needs. Cannot be set via config due to current AI setup, will revisit in next version as will likely need to change things anyway after new patch is released.
Sorry for delay, BlackRain is very good at distracting me with interesting problems and ideas.
Fixed null to null for 0Cr bug
New feature - select specific ware for miners, or 'Any' to behave as normal looking for market needs. Cannot be set via config due to current AI setup, will revisit in next version as will likely need to change things anyway after new patch is released.
Sorry for delay, BlackRain is very good at distracting me with interesting problems and ideas.
X Rebirth - A Sirius Cybernetics Corporation Product
Split irritate visiting pilot with strange vocal patterns.
Split irritate visiting pilot with strange vocal patterns.
Is the above still valid? I ask because you then say this:Again I will need to ask you to restart your traders and miners. This is not ideal but I'd rather ask this than do something incorrect and screw up your saves. Thanks for your understanding
The contradiction is a tad confusing. Loving that progress is still being madeAny trades in progress when reloading with new version may still generate the bugged output, this will fix itself next trade, or preferably on stop/start of the mod on each ship.
Living in a land of make believe. Making peoples dreams die 1 by 1.
- YorrickVander
- Posts: 2689
- Joined: Tue, 29. Oct 13, 21:59
Yeah I do still ask you to, as current trades still have potential to behave strangely without a restart with any ai script change, even one as basic as this. I mentioned that only to clarify possible output error and mistaken thought that the patch was failing.
X Rebirth - A Sirius Cybernetics Corporation Product
Split irritate visiting pilot with strange vocal patterns.
Split irritate visiting pilot with strange vocal patterns.