X4: Foundations

X4: Foundations

TaterTrade
706 Comments
deltaCorben 10 Jul @ 2:12pm 
Adding money to the station budgets has solved it. Sorry for not seeing that earlier.
deltaCorben 9 Jul @ 12:39pm 
When I set a station trade rule to only trade with my faction at a factory, my dead tater fleet will completely ignore that factory.
sgtspock 4 Jul @ 12:49pm 
Hi DeadAirRT. I love your mods! I have a feature request for Deadtater: It would be nice if I could assign an Auxiliary ship to supply my Deadtater fleet and have ships that take damage automatically repair themselves when damaged after their current trades are finished.
DeadAirRT  [author] 27 Jun @ 6:46pm 
@Kater - I have never once seen that in all my testing, or received any reports of it. You most likely have something messing with your trade offers (a different mod) or there is some information missing in your description of the problem.

If you have queue spreading turned on, there is no way for multiple ships to get the same trade at the same time. If you are using SETA or something then that would cause issues because this game can barely run smoothly at 1x speed with all the objects in the galaxy, let alone 4-6x
Bix' 19 Jun @ 6:28pm 
Thanks DeadAir for maintaining this mod, I paused the game few years ago and to find this is still updated is somewhat soothing. Thanks also for all your scripts, pretty convenient.
Kater Lysator 19 Jun @ 10:29am 
Thats the thing, i use exactly that. And even if i cancel the trade, sometimes they come back. But since its a general mod problem, or at least seems to be, i would almost assume its a "this is a mod" problem. Sometimes ships keep coming for minutes, even if all resources are already here. Canceled ships sometimes even just keep re-reserving the trade etc. Its weird. I would love to look deepter into that...but i lack the technical knowledge :/
DeadAirRT  [author] 17 Jun @ 7:30am 
@Kater - Yes, use deadtater with the queue spreading. Can't do anything about the engine not updating the trade offer when multiple traders find the exact same trade other than not allowing multiple to process at the same time.
Kater Lysator 14 Jun @ 8:48pm 
Is there any way to make the mod "respect" trade reservations? What happened is...as per usual, i forgot a module for one of the station building missions. I added it and within a few seconds, 4 Frogs running on dead tater (1 fleet, 100 Frogs for testing) announced and reserved a delivery. all 4 combined, perfect amount. Just when i wanted to close the menu, 6 further frogs reserved the full amount of claytronics needed each. So far, i have only seen this happen for construction sites and with various trade mods (in different savegames). Can this be fixed/changed/influenced somehow? Maybe for completions sake, its not a new problem, this goes back, as far as i can remember, to the day tatertrade was first released. Same happens with Random Trade, Random Supply and even more often and more severe with the mules and warehouses mod (none of which are or ever where active in the current savegame).
F1tgal911 7 Jun @ 7:41am 
@no fun
Yes. I use it in 7.60.
no fun 27 May @ 3:59pm 
This still work with the latest update? :Toastard:
Imporio 19 May @ 2:15pm 
Love your mods.
Appreciation comment. :steamhappy:
DeadAirRT  [author] 1 May @ 5:35pm 
@x-act - it means you have the settings making them not find anything.
x-act 30 Apr @ 5:45pm 
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 @ 6:19am 
lol - can't even find the config screen... help!
DeadAirRT  [author] 15 Apr @ 4:06am 
@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 @ 11:36pm 
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 @ 6:22pm 
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  [author] 4 Apr @ 6:11pm 
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 @ 5:55pm 
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.
DeadAirRT  [author] 4 Apr @ 5:31pm 
@deceiver9811 - if your station doesn't have money in it's budget, it doesn't generate trade offers. if it only has partial budget, it only generates partial orders.
Deceiver9811 4 Apr @ 5:27pm 
Noticing a weird problem where my traders refuse to sell to my own stations. Not sure if it's a conflict with the SW Interworlds mod replacing the existing factions (and thus somehow causing problems with "Only buy from my faction" trade rules), or if I'm doing something wrong.
DeadAirRT  [author] 25 Mar @ 4:58am 
@probe1 - use trade restrictions (it's a type of blacklist) in global orders
Probe1 24 Mar @ 8:11pm 
Boron don't appear in the list of trade bans.
DirtDiver_ZA 16 Mar @ 4:00am 
@Merluca - I agree, I'm just grateful for DeadAirRT making this Mod. Thanks!
Merluca Kitsokami 15 Mar @ 5:44pm 
@DeadAirRT - Oh Dont worry, its not a bother, im quite happy with how the Mod works and enjoy it a lot,
If you fix it or not, of if its even possible cause of Egosoft Magic sorcery, its something you decide.
So, whatever you decide to do, you have my thanks.
DeadAirRT  [author] 15 Mar @ 2:43pm 
@DirtDiver_ZA, Merluca - So the stations are in fact known because you have the trade subscription, and the pathing is handled by egosoft scripts. This previously worked without issue but once again egosoft did something with a patch (7.5) that I may or may not bother to fix for them again. Sorry for the inconvenience.
Merluca Kitsokami 15 Mar @ 6:13am 
Part 2:
Ok After i flew a ship myself into the sector to open up the route, they started to fly again, even if i didnt find the Station, so the Problem seems to be the path into the unkown sector.
Merluca Kitsokami 15 Mar @ 6:01am 
Hello, I just stumbled into the same Problem, Only using the trader mod, after Buying a trade Subscription and the Trader trying to fly for a Station in a unknown sector, they just freeze.
DirtDiver_ZA 15 Mar @ 2:29am 
Hi,

Yes I do have the trade license. Would that be the reason why the station is known to the traders?
Otherwise its not a big issue. I just need to explore more :)
DeadAirRT  [author] 14 Mar @ 5:08pm 
@DirtDiver_ZA - I already filter for known stations and use sector satellites myself. It doesn't look like you placed a satellite in that sector already so it shouldn't be known, did you buy the trade license or something?
DirtDiver_ZA 14 Mar @ 10:08am 
OK update on my issue. I have found that there were two stations with the same name. My traders was trying to trade with the one station that was in a sector I have not discovered yet. As show in the picture here: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3444297389

After I went to that sector and discovered it, the traders started their trade. Is there a setting to prevent them from trying to trade with unknown stations? Could be the Sectors Satellite Mod causing the issue.
DirtDiver_ZA 14 Mar @ 1:41am 
Hi DeadAirRT,

Thank you for this mod. Have been using DeadTater to supply my Shipyards and for the most part it works great and efficient. The only issue that I do encounter, is that sometimes a trader would just freeze after finishing its trade.

The trader mimics its commander, and when its frozen, its orders for the next trade is listed and correct. Under Command in the behaviour panel, it will show "Dock at PAR Advanced Electronics Factory I", with "Calculating Parameters" popping on and off.

But the trader never start to fly to its destination. To resolve the issue, I have to delete all orders, and then it will again continue trading.
DeadAirRT  [author] 6 Mar @ 7:36pm 
@site - that means you likely have a mod changing order.assist and breaking things.
Site 5 Mar @ 12:29pm 
Love the mod, have used it for years and the mimic used to work like it is supposed too, now it LITERALLY mimics the leaders exact moves not his orders not sure if it is something with my game or if there is a bug
bitmapkid 1 Mar @ 8:02pm 
@DeadAirRT Thanks. I just realized that my trade rule was the opposite of what I was trying to achieve.

And with the Auto Wares option enabled, it means that the wares I had selected didn't matter.

Everything is working fine now. Thanks.
DeadAirRT  [author] 1 Mar @ 2:45pm 
@bitmapkid - you are specifically banning trade from terran and "green"
Mars Albiorix 1 Mar @ 8:08am 
turn off the Auto Wares option I think
bitmapkid 26 Feb @ 2:43pm 
I am trying to get my traders (DeadTater) to only trade with TER stations and I don't know what I'm doing wrong.

This is my DeadTater order: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3434855152

You can see that it's restricting to only TER wares and still in the current order it's going to buy Soja Husk.

I also explicitly set a rule to prevent trading with other factions: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3434855131

And still, it's trying to trade with a HOP station.

What am I missing?
kimsk6985 25 Feb @ 6:33am 
thanks! then I have to set a satellite to keep a trade offer updated...
DeadAirRT  [author] 25 Feb @ 5:59am 
@Harris - No the AI does not use them, and I highly highly doubt you are seeing anything from this mod. The amount of variables at play alone makes it impossible, but to put it simply: if your computer is losing 5 fps from a script checking if a table is empty or not every 5 seconds then you have bigger issues to solve :D

@kimsk6985 - It does not cheat information. This script uses the same information available to vanilla traders.
kimsk6985 25 Feb @ 12:44am 
does DeadTater logic need trade offer subscription or satellite to update an offer? or dose it automatically find a best deal without those satellite or subscription
Harris 22 Feb @ 9:34pm 
Does the AI utilize these scripts in any way? I was doing some basic testing on individual mods to see performance impact and noticed that while this mod was active and I possessed no ships, the game experienced a minor (5-ish fps) performance loss, which was very unexpected as I had thought this mod did nothing until you assigned a ship to the given behavior
DeadAirRT  [author] 22 Feb @ 2:36pm 
@akry - I wrote dead tater and ludsoe wrote tater trader. I do not plan on ever dealing with the assigning to station because of changes egosoft made several versions ago.

@Emrysin - Unless you have something conflicting that messes with order.assist, yes they do.
Emrysin 22 Feb @ 8:37am 
Hello, subordinates assigned to the fleet do not carry out the "Prefer My Buy Offers" and "Prefer My Sell Offers" commands, only the command ship carries out these commands.
Akry 30 Jan @ 11:30am 
its just so funny that Deadtater has the option for minimum cargo and tatertrade has the option to attach to AI station.
I want to use both :(
:D
Akry 28 Jan @ 6:08pm 
Wait what? I assumed distance penalty is between the pickup station and the dropoff station.
You mean to tell me that the ship jumping 8 sectors to its next pickup found that trade more profitable with 24% penalty? (i'm using 3% but I ought to use 5 instead.)
DeadAirRT  [author] 28 Jan @ 10:47am 
@Mayynak - No, I have not coded for that. If you want to minimize "free hauling" then increase distance penalty

@Akry - No, I have not coded for that. Distance penalty is based on the ships current location, not from the anchor. The anchor only serves to determine what sectors are considered.
Akry 28 Jan @ 9:44am 
Is it possible to make the script change the anchor point to the latest dropoff sector?
For example, if the trader that has its anchor in argon prime finished selling refined metals in Pious Mist, then the new anchor would be Pious Mist and it would start calculating new trades based on that.
is this even a good idea? I just witnessed a trader having 4/4 range setup going 4 sectors from the anchor point to drop off a batch and then wanting to travel 8 sectors to the other direction to pick up the next.
I wonder if that was the most lucrative trade. I assumed the distance penalty is there exactly to prevent this, but does the distance penalty takes into the account how far a trader has to go to pick up its next shipment?
MayynaK 22 Jan @ 4:53am 
hello thanks for the great mode. i have question, is there a way to make trader not locked on any station or space and be like a freelance trader that looking for a best trade on last sector he is in. like example :

start at argon prime buy wares and sell at holy vision then buy at holy vision (or close to holy vision ) and sell somewhere else. im trying to minimize free hauling
Kombinator 21 Jan @ 10:30am 
@DeadAirRT
Thanks for the answer. It is interesting that if I apply traders as trade for the station they do not have this budget problem for some reason.