[MOD] AutoTrader with Options ver. 0.8 Jan. 20, 2023
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
-
- Posts: 127
- Joined: Tue, 19. Feb 13, 04:20
Re: [MOD] AutoTrader with Options ver. 0.5 Dec 17, 2018
Could someone explain which file and lines should be altered to deactivate the jump feature?
-
- Posts: 3206
- Joined: Thu, 16. Jul 09, 12:24
Re: [MOD] AutoTrader with Options ver. 0.5 Dec 17, 2018
No need to remove that, when you start an autotrader through the comm, choose the setup before you start the auto trader. changing the settings you will get a log in your ingame log which shows what's active or not. 0 = true, 1 = false. The jump feature can be turned off this way.
-
- Posts: 127
- Joined: Tue, 19. Feb 13, 04:20
Re: [MOD] AutoTrader with Options ver. 0.5 Dec 17, 2018
Thanks ^
Very happy with this Auto-trader!
What would be great to see in the future :
- option to have the ships dock instead of the current transfer mechanics
- a way to set fleet-wide settings
- limit the jumps per trade
Very happy with this Auto-trader!
What would be great to see in the future :
- option to have the ships dock instead of the current transfer mechanics
- a way to set fleet-wide settings
- limit the jumps per trade
-
- Posts: 10
- Joined: Fri, 25. Nov 05, 22:27
Re: [MOD] AutoTrader with Options ver. 0.5 Dec 17, 2018
Happy Holidays Euclid and thanks for this great mod!
I'm not sure if this is intended behavior or not, but after I started my traders and miners using the mod, they stopped reporting to statistics page (i.e. number of trades, profit from trades, trade rank, etc.). Other than that, the mod has worked flawlessly for me

I'm not sure if this is intended behavior or not, but after I started my traders and miners using the mod, they stopped reporting to statistics page (i.e. number of trades, profit from trades, trade rank, etc.). Other than that, the mod has worked flawlessly for me


-
- Posts: 36
- Joined: Tue, 2. Sep 08, 20:07
Re: [MOD] AutoTrader with Options ver. 0.5 Dec 17, 2018
i use some Argon Drill Miner but they do not jump and dont use travel speed ?!
-
- Posts: 3518
- Joined: Thu, 26. Jan 06, 19:45
Re: [MOD] AutoTrader with Options ver. 0.5 Dec 17, 2018
Does AutoTrader clear away any stocks that did not get sold in time ?
X4 vanilla traders have an unfortunate issue of sometimes not selling wares because the trader was pipped at the post by another trader, and so the ship can slowly get clogged up with wares that never get sold ..
.. Would that scenario ever happen with AutoTrader, or does AutoTrader have the ability to sell wares that are left in limbo ?
X4 vanilla traders have an unfortunate issue of sometimes not selling wares because the trader was pipped at the post by another trader, and so the ship can slowly get clogged up with wares that never get sold ..
.. Would that scenario ever happen with AutoTrader, or does AutoTrader have the ability to sell wares that are left in limbo ?
Spec's@2025-05-17 - Laptop - Acer Predator Helios Neo 16 AI - Win 11 x64
CPU - Intel Core Ultra 9 275HX 2.7-5.4ghz, RAM - 32gb DDR5 6400(OC),
Discrete GPU - NVidia Geforce RTX 5070 Ti, VRAM 12gb GDDR7,
SSD - M.2 PCIe NVME 1Tb, OLED WQXGA 2560x1600.
Seeker of Sohnen. Long live Queen Polypheides. 
CPU - Intel Core Ultra 9 275HX 2.7-5.4ghz, RAM - 32gb DDR5 6400(OC),
Discrete GPU - NVidia Geforce RTX 5070 Ti, VRAM 12gb GDDR7,
SSD - M.2 PCIe NVME 1Tb, OLED WQXGA 2560x1600.


-
- Posts: 6
- Joined: Fri, 7. Dec 18, 23:20
Re: [MOD] AutoTrader with Options ver. 0.5 Dec 17, 2018
Could you add the means to modify the default settings? I did so by modifying the scripts a hair, but not everyone is capable of that.
E.g. Jump defaults to 0, and Know All Trades defaults to 0.
E.g. Jump defaults to 0, and Know All Trades defaults to 0.
-
- Posts: 440
- Joined: Thu, 22. Apr 04, 01:53
Re: [MOD] AutoTrader with Options ver. 0.5 Dec 17, 2018
From the time I've run it, I've seen it sell even what the vanilla autotrader left behind so I'm going to say a tentative 'yes' to this...alt3rn1ty wrote: ↑Fri, 21. Dec 18, 22:31 Does AutoTrader clear away any stocks that did not get sold in time ?
X4 vanilla traders have an unfortunate issue of sometimes not selling wares because the trader was pipped at the post by another trader, and so the ship can slowly get clogged up with wares that never get sold ..
.. Would that scenario ever happen with AutoTrader, or does AutoTrader have the ability to sell wares that are left in limbo ?
It's not if we win or lose that matters, it's that we stood and faced it.
-
- Posts: 30
- Joined: Sun, 29. Nov 09, 20:34
Re: [MOD] AutoTrader with Options ver. 0.5 Dec 17, 2018
[Suggestion] I'd for one would love to be able to blacklist sectors from trade/mining to avoid needless slaughter of ships, it's really irritating when traders run into sectors that are obviously no longer safe. 

-
- Posts: 31
- Joined: Wed, 30. Mar 16, 18:28
Re: [MOD] AutoTrader with Options ver. 0.5 Dec 17, 2018
Care to share your personal mod? I'd be highly interested in your modified defaults.
-
- Moderator (Script&Mod)
- Posts: 13487
- Joined: Sun, 15. Feb 04, 20:12
Re: [MOD] AutoTrader with Options ver. 0.5 Dec 17, 2018
Was close korvyr 
To modify the default settings to non-cheat you need to change all "true" in lines 43 to 67 of EuclidsAutoTraderAlt.xml to "false".
Cheers Euclid

To modify the default settings to non-cheat you need to change all "true" in lines 43 to 67 of EuclidsAutoTraderAlt.xml to "false".
Cheers Euclid
"In any special doctrine of nature there can be only as much proper science as there is mathematics therein.”
- Immanuel Kant (1724-1804), Metaphysical Foundations of the Science of Nature, 4:470, 1786
- Immanuel Kant (1724-1804), Metaphysical Foundations of the Science of Nature, 4:470, 1786
-
- Posts: 287
- Joined: Fri, 29. Nov 13, 23:14
Re: [MOD] AutoTrader with Options ver. 0.5 Dec 17, 2018
@Euclid, Could you rework your mod to make it less spammy in the logbook and provide little more clear and usable information about trades and performance?
I love the mod, already did in XR, but the log is been flooded with a little useless info right now.
Cheers!
I love the mod, already did in XR, but the log is been flooded with a little useless info right now.
Cheers!
-
- Moderator (Script&Mod)
- Posts: 13487
- Joined: Sun, 15. Feb 04, 20:12
Re: [MOD] AutoTrader with Options ver. 0.5 Dec 17, 2018
Hi Endeavour79 
I'm not happy about the current report myself but it's a trade-off. It is possible to add info on the last finalized trade, like "bought x wares form y for z credits and sold them to p for q credits for a total profit of w credits". However, this would lead to even more spam in the player's logbook. I'll think about adding an option to enable/disable detailed trade reports. What kind of "information about trades and performance" would you like to see?
Cheers Euclid

I'm not happy about the current report myself but it's a trade-off. It is possible to add info on the last finalized trade, like "bought x wares form y for z credits and sold them to p for q credits for a total profit of w credits". However, this would lead to even more spam in the player's logbook. I'll think about adding an option to enable/disable detailed trade reports. What kind of "information about trades and performance" would you like to see?
Cheers Euclid
"In any special doctrine of nature there can be only as much proper science as there is mathematics therein.”
- Immanuel Kant (1724-1804), Metaphysical Foundations of the Science of Nature, 4:470, 1786
- Immanuel Kant (1724-1804), Metaphysical Foundations of the Science of Nature, 4:470, 1786
-
- Posts: 287
- Joined: Fri, 29. Nov 13, 23:14
Re: [MOD] AutoTrader with Options ver. 0.5 Dec 17, 2018
Thanks for the quick response.
I could see a few ways for reporting:
1. Regular status update in Log
- Classified as Upkeep or Squad or something "not general", for easier filtering
- Providing overall info like profit total, average time on a trade, distance travelled, AT config option values, top 3 goods sold most
2. Detailed report - ad hoc - via comms menu
- All of the above
- Plus what you mentioned for current trade
- Status of current task/activity
Lastly, a whole analytics and charting UI for the AT performance would be awesome but I'd think that's likely a whole new project itself
I could see a few ways for reporting:
1. Regular status update in Log
- Classified as Upkeep or Squad or something "not general", for easier filtering
- Providing overall info like profit total, average time on a trade, distance travelled, AT config option values, top 3 goods sold most
2. Detailed report - ad hoc - via comms menu
- All of the above
- Plus what you mentioned for current trade
- Status of current task/activity
Lastly, a whole analytics and charting UI for the AT performance would be awesome but I'd think that's likely a whole new project itself

-
- Moderator (Script&Mod)
- Posts: 13487
- Joined: Sun, 15. Feb 04, 20:12
Re: [MOD] AutoTrader with Options ver. 0.5 Dec 17, 2018
Thanks for the feedback Endeavour79 
The current periodic info is already submitted to the "Upkeep" tab of the player's logbook. I've added info on the last trade to it (just one or two more lines). Testing it atm and will hopefully upload an update soon™
Cheers Euclid

The current periodic info is already submitted to the "Upkeep" tab of the player's logbook. I've added info on the last trade to it (just one or two more lines). Testing it atm and will hopefully upload an update soon™

Cheers Euclid
"In any special doctrine of nature there can be only as much proper science as there is mathematics therein.”
- Immanuel Kant (1724-1804), Metaphysical Foundations of the Science of Nature, 4:470, 1786
- Immanuel Kant (1724-1804), Metaphysical Foundations of the Science of Nature, 4:470, 1786
-
- Posts: 2
- Joined: Sat, 8. Dec 18, 12:02
Re: [MOD] AutoTrader with Options ver. 0.6 Jan. 11, 2019
doesnt seem to be working on the 1.51 beta
-
- Moderator (Script&Mod)
- Posts: 13487
- Joined: Sun, 15. Feb 04, 20:12
Re: [MOD] AutoTrader with Options ver. 0.6 Jan. 11, 2019
It works fine for me. What exactly is the problem?
Cheers Euclid
"In any special doctrine of nature there can be only as much proper science as there is mathematics therein.”
- Immanuel Kant (1724-1804), Metaphysical Foundations of the Science of Nature, 4:470, 1786
- Immanuel Kant (1724-1804), Metaphysical Foundations of the Science of Nature, 4:470, 1786
-
- Posts: 6
- Joined: Mon, 9. Mar 09, 09:41
Re: [MOD] AutoTrader with Options ver. 0.6 Jan. 11, 2019
Hi Euclid. After some debugging I finally able to find what is the issue in your script, and why it goes into negative profits.
In Version 0.6, File: AutoTraderOptions\aiscripts\stationautotrade.xml Line: 209 you set buyoffer to new offer each time you analyze new ware. Because of this you loosing actual profitable buyoffer. I fixed this by renaming $byoffer to $byoffertmp on lines 209, 226-229, 232 and adding after line 232
Hope that helps 
In Version 0.6, File: AutoTraderOptions\aiscripts\stationautotrade.xml Line: 209 you set buyoffer to new offer each time you analyze new ware. Because of this you loosing actual profitable buyoffer. I fixed this by renaming $byoffer to $byoffertmp on lines 209, 226-229, 232 and adding after line 232
Code: Select all
<set_value name="$buyoffer" exact="$buyoffertmp" />

-
- Posts: 1
- Joined: Fri, 11. Jan 19, 06:04
Re: [MOD] AutoTrader ver. 0.1 Dec 10, 2018
This. All of this. Resolved the issues with the game locking up on launch with certain mods. Using Win 7 as well.Kadatherion wrote: ↑Mon, 10. Dec 18, 19:15 Hey Euclid, you should add the other language ids to the content.xml.
Otherwise, as it happens for all mods, the game crashes/freezes on load for those who don't have the game installed on English Steam (not sure if the same happens to GoG users). This is from the root game dir. If you install mods without the dummy language ids under /documents, the game loads, but it's also been reported that while the game interface recognizes the mods as active, they often won't work / don't work as intended.Code: Select all
<?xml version="1.0" encoding="utf-8"?> <content id="AuT" name="AutoTrader" description="A Fire-and-Forget Trader or Miner" author="Euclid" version="0.1" date="2018-10-12" save="0" enabled="1"> <text language="7" name="AutoTrader" description="The Universe Trader is back with a Vengeance" author="Euclid" /> <text language="33" name="AutoTrader" description="The Universe Trader is back with a Vengeance" author="Euclid" /> <text language="34" name="AutoTrader" description="The Universe Trader is back with a Vengeance" author="Euclid" /> <text language="39" name="AutoTrader" description="The Universe Trader is back with a Vengeance" author="Euclid" /> <text language="44" name="AutoTrader" description="The Universe Trader is back with a Vengeance" author="Euclid" /> <text language="49" name="AutoTrader" description="The Universe Trader is back with a Vengeance" author="Euclid" /> <text language="86" name="AutoTrader" description="The Universe Trader is back with a Vengeance" author="Euclid" /> <text language="88" name="AutoTrader" description="The Universe Trader is back with a Vengeance" author="Euclid" /> </content>
On the Nexus, on the sector satellites mod first but on other ones too, it also seems to have been confirmed that new game content (not the case of this mod, but I've seen they reported something like this for your jump/anomaly mod) indeed needs to be placed into .cat files, as loose files will cause the game to crash on load for Win7 users. That's a behavior that isn't as confirmed as the language ids one, so it might not be 100% sure yet, but as a Win7 user myself I can testify it indeed seems to work like that for me.
-
- Posts: 287
- Joined: Fri, 29. Nov 13, 23:14
Re: [MOD] AutoTrader with Options ver. 0.6 Jan. 11, 2019
Hi Euclid, any chance we could get an updated version that eliminates the negative profit trades?