X4: Foundations

X4: Foundations

524 Bewertungen
TaterTrade
13
2
2
2
2
7
3
3
4
4
2
3
2
   
Preis verleihen
Favorisieren
Favorisiert
Entfernen
Dateigröße
Veröffentlicht
Aktualisiert
412.096 KB
2. Mai 2020 um 17:41
28. Dez. 2024 um 7:16
20 Änderungshinweise (anzeigen)

Abonnieren zum Herunterladen
TaterTrade

Beschreibung
This mod includes two scripts: Tatertrader and DeadTater.
DeadTater is a completely rewritten script from scratch by me, and it uses the logic of comparing trade offers from Ludsoe. The name is a nod to the work from both of us and even as less of his code remains, it would not be possible without his work.
TaterTrader is the original script updated by me with permission from Ludsoe.

If you ask me which you should use: DeadTater would be my answer. It is designed to be as efficient and reliable as I could code. Just like the original, it does not use any information unavailable to the vanilla autotrader. It has a built in logistics mode in the option of my faction first that is still "profit based."

Why is TaterTrader still included? While I have not maintained all the options (homebound, assign to station), it still provides valuable options to the users who prefer it. It is still head and shoulders above vanilla autotrader. I have zero plans to add more factions to the ban section as long as it requires hardcoding factions.

Check the images for explanations on the features of both scripts.

Both DeadTater and TaterTrader use buy/sell offers to function. This means that stations must have funds in their account or they will not generate buy offers.

Both DeadTater and TaterTrader have mimic support built in. You can create trading fleets that each individually perform their respective script.

Both DeadTater and TaterTrader do not cheat information. They use the same information available as the vanilla trade script.

Both DeadTater and TaterTrader respect blacklist and traderule settings, unless overridden.

DeadTater features:

Profit based trader.
Adjustable distance penalty calculation.
My faction first - simplified logistics between player owned stations in range.
Prefer my buy offers - simplified logistics for supplying player owned stations in range.
Prefer my sell offers - simplified exporting of wares from player owned stations in range.
Auto wares - Automatically adjusts ware basket based on trades available in range.
Illegal wares - Allows trading in illegal goods.
Minimum fill - Traders will no longer accept trades below cargo capacity percentage.
Ignore Carrier / Auxillary - Prevents trading with the often buggy ship buyers.
Logbook entries - Enable or disable log entries showing estimated profit and the traders performance up to that point.
Global tater queue - Spreads performance impact and prevents individual traders from grabbing the same trade at the same time. Allows large numbers of traders to have near zero performance impact since only one is running intensive logic at a time.

The three prefer options are run in sequence in the order they are presented.

Author: DeadAir

TaterTrader Features:
Attempts to find the best profit based on the configurations of the order given.
A bunch of settings you change to tweak how and where it trades.
Only trades with trade offers known to the player.
Uses the games own built in trade orders to conduct its trades.
When the Traders home is set to a station, the station becomes the traders commander.
Traders use their commanders money if they have one.
The Traders follow faction trade restrictions, unless told otherwise.
There's ware list presets you can copy within the configuration options.
Fancy outputting to the player log.
Station Trader Mode allows you to focus the trader onto a station, to handle all its trade offers. Can be used on both player and NPC owned stations, even accounts for the stations build storage.

Configuration Options:
You can define a home sector or station.
Can set the trader to always return "Home" before attempting to seek another trade.
You can configure which wares the trader attempts to find trade deals for.
The maximum distance from home the trader can buy or sell at.
Change the Price the Traders perceive wares are set at your own stations. (Doesn't actually affect the cost)
You can set the Traders to bypass faction trade restrictions.
You can exclude sectors from the trade offer search.
You can use preset ware lists, I copied the ones used by the game itself.
You can set the Trader to compare distances between stations when searching for deals.
Enabling Station Trader Mode allows you to focus a stations offers, allowing you to automate your own stations or even NPC owned ones.

(Updating details might cause issues with my steam workshop update procedure, yay!)

Author: Ludsoe
Maintainer: DeadAir

Patch notes available on:
https://github.com/DeadAirRT

Best place to contact me:
Egosoft discord X4 Modding channel
Beliebte Diskussionen Alle anzeigen (5)
1
2. Sep. 2024 um 13:31
Tide & TaterTrade
Komodowaran
3
26. Mai 2022 um 18:36
ANGEHEFTET: Patch notes
DeadAirRT
3
1
23. Sep. 2023 um 22:47
ANGEHEFTET: Explanation of TaterTrade options
DeadAirRT
697 Kommentare
no fun 27. Mai um 15:59 
This still work with the latest update? :Toastard:
Imporio 19. Mai um 14:15 
Love your mods.
Appreciation comment. :steamhappy:
DeadAirRT  [Autor] 1. Mai um 17:35 
@x-act - it means you have the settings making them not find anything.
x-act 30. Apr. um 17:45 
No matter which setting I use, I always get the following message: 'Failed to find a trade "x" times...' Does someone have a solution?
PeanutButter 29. Apr. um 6:19 
lol - can't even find the config screen... help!
DeadAirRT  [Autor] 15. Apr. um 4:06 
@Grimmsdottir - limited to shorter range based on their own skills

@fadamor - if you are able to give the station it's budget then dead tater is your best option. If you aren't, then vanilla station trader since it sometimes can work without proper buy orders.
Grimmsdottir 14. Apr. um 23:36 
Hi DeadAirRT, I would like to ask a simple question regarding your deadtater script and the vanilla mimic fleet commander behaviour.
If I have a high star captain as the commander, who can buy/sell in up to 10+ sectors away, and I buy some new ships with newbie captains, will they share the same range as the commander, or will they be limited to their own smaller ranges?
fadamor 7. Apr. um 18:22 
DeadAirRT I have two questions regarding the use of Dead Tater:
First, is there a document somewhere explaining the settings?
Second, Given Vanilla Trading, Tater Trader, and Dead Tater, which setup would be the best for commanding freighters to supply a station for food and medical? I'm finding in Dead Tater that the freighters are claiming none are found even if # of jumps to buy is set to 15.
DeadAirRT  [Autor] 4. Apr. um 18:11 
If you set the trade rule for a ware to only buy from your faction, both tater/deadtater apply the trade rule to both sides. This shouldn't be the case for what your are seeing when you manually order them to trade but steam comments aren't exactly a good place to try and figure out your issue.

The most common things that people mess up are:
Budget (due to the way trade offers are implemented)
Trade restriction blacklist/whitelist inverse
Trade rule handling
Pricing
Buy up to/Sell up to problems
Deceiver9811 4. Apr. um 17:55 
The station that needs to buy Energy Cells has a full budget that exceeds 200% of the maximum value the traders can sell to it. It's not just station traders either, and even if I manually order a trader to load up on Energy Cells they will still wait until they find an NPC station buying them at the maximum price.