[MOD] Yet Another Trader v2.03c (updated 11th March '16)
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
-
- Posts: 2725
- Joined: Tue, 29. Oct 13, 21:59
-
- Posts: 837
- Joined: Sun, 17. Nov 13, 17:25
-
- Posts: 2725
- Joined: Tue, 29. Oct 13, 21:59
-
- Posts: 403
- Joined: Wed, 6. Nov 02, 20:31
Thanks for this Mod save a lots time finding trades
Also its a must have for the plot game lol
Yat traders have found loads of fusion reactors in a few hours & in 12hrs of looking my self i found ZERO i just have to check on there orders when they take the cash trades so i can redirect the reactors to my construction sites
Also its a must have for the plot game lol
Yat traders have found loads of fusion reactors in a few hours & in 12hrs of looking my self i found ZERO i just have to check on there orders when they take the cash trades so i can redirect the reactors to my construction sites
OS:MS Windows 10 Pro x64 / Cpu: AMD-FX Piledriver 8350 @4.0Ghz / Mb:GA-990FXA-UD3 / Memory:16Gb DDR3 Crucial Ballistix Tactical @1866
Gpu:Gigabyte Nvidia 770GTX 4GB GDDR5 / Storage:Crucial RealSSD M4 128GB System, WD Caviar Green 2TB HD Data & Games / Display:24" Asus VG248 1920 x 1080 @144Hz + Nvidia 3D Vision Kit
Input Devices:Razer Deathstalker / Razer Oruoboros / Thrustmaster Hotas Warthog / BroadBand:EE 4GEE MobileBroadBand (50Gb PCM)
Gpu:Gigabyte Nvidia 770GTX 4GB GDDR5 / Storage:Crucial RealSSD M4 128GB System, WD Caviar Green 2TB HD Data & Games / Display:24" Asus VG248 1920 x 1080 @144Hz + Nvidia 3D Vision Kit
Input Devices:Razer Deathstalker / Razer Oruoboros / Thrustmaster Hotas Warthog / BroadBand:EE 4GEE MobileBroadBand (50Gb PCM)
-
- Posts: 335
- Joined: Mon, 23. Apr 12, 23:56
found a (relatively minor) bug for miners: after collecting wares, they will look for available tradeoffers but ignore the amount of the tradeoffer and instead try to sell all they have, which, if that is more than what is offered to take, will result in a failed trade. I just stumbled upon this bug when I wondered why my galaxy miner (leviathan ship class) was not selling its wares. sure, it has an insanely big storage but this could happen to any ship, given a small enough buyoffer. the command in question is in yat.mining.ship.free, and the line is
I think $amount should be the max of the current amount in cargo and the amount offered by the tradepartner.
Code: Select all
<set_value name="$amount" exact="this.ship.cargo.{$buyoffer.ware}.count" />
-
- Posts: 2725
- Joined: Tue, 29. Oct 13, 21:59
-
- Not a Moderator
- Posts: 2947
- Joined: Thu, 1. Jul 04, 12:31
Code: Select all
38784.26 D:/Program Files (x86)/Steam/steamapps/common/X Rebirth/extensions/yat2/ui/menu_trading_offers.lua(27): GetNPCBlackboard(): Component 0 does not exist any more
-
- Posts: 2725
- Joined: Tue, 29. Oct 13, 21:59
-
- Posts: 78
- Joined: Tue, 13. Oct 15, 11:52
-
- Posts: 3206
- Joined: Thu, 16. Jul 09, 12:24
stations should automatically be able to do that now in 4.00. You set it up through the station manager I believe.I3laze wrote:Hi Yorrick, mod is still working flawlessly. Is there any way you can add options for traders to buy defence, repair and cargo drones themselves if they lose them? Just like the options for stations to restock drones when needed.
-
- Posts: 2725
- Joined: Tue, 29. Oct 13, 21:59
I3laze means the ships not the stations I was gonna wait for a bit. I have no idea if ES intend more content for XR now or whether they plan to re-add this functionality for ships. They may just want to put their energies into the next project. I'm gonna hang fire with this type of addition for the moment until ES tell us (ok that's not gonna happen but we live in hope) or sufficient time passes that I can assume there will be no 5.0 or next big release for XR with shiney new toys.
X Rebirth - A Sirius Cybernetics Corporation Product
Split irritate visiting pilot with strange vocal patterns.
Split irritate visiting pilot with strange vocal patterns.
-
- Posts: 3206
- Joined: Thu, 16. Jul 09, 12:24
-
- Posts: 529
- Joined: Sun, 29. Jan 12, 13:28
-
- Posts: 2725
- Joined: Tue, 29. Oct 13, 21:59
-
- Posts: 28
- Joined: Sat, 30. Apr 16, 11:27
Condition for notifications and write in logbook always false here:
For some reason ship that assign to Yat always leaves player squad.
Code: Select all
aiscripts\yat.trade.performplayertraderun.xml:503: <do_if value="this.ship.commander == player.primaryship">
aiscripts\yat.trade.performplayertraderun.xml:542: <do_if value="this.ship.commander == player.primaryship">
aiscripts\yat.trade.performplayertraderun.xml:600: <do_if value="this.ship.commander == player.primaryship">
aiscripts\yat.trade.performplayertraderun.xml:671: <do_if value="this.ship.commander == player.primaryship">
aiscripts\yat.trade.performplayertraderun.xml:704: <do_if value="this.ship.commander == player.primaryship">
aiscripts\yat.trade.performplayertraderun.xml:757: <do_if value="this.ship.commander == player.primaryship">
-
- Posts: 2725
- Joined: Tue, 29. Oct 13, 21:59
Ah yeah, my bad not removing some legacy stuff - I had intended that YAT ships could be in or out of squad for this version. Some unforseen issues with stuff added in 4.0 made it a buggy thing, so I reverted to forcing YAT ships to be out of squad. The design for yat 2 was done before 4.0 was announced in beta so it became a mission each beta release to check for new incompatabilities and changes to the base ai I leverage.
X Rebirth - A Sirius Cybernetics Corporation Product
Split irritate visiting pilot with strange vocal patterns.
Split irritate visiting pilot with strange vocal patterns.
-
- Posts: 529
- Joined: Sun, 29. Jan 12, 13:28
Well I took a gamble and it seems to be working just fine, both in and out of zone.YorrickVander wrote:afaik i know sensible miners hasn't been updated in quite some time so I cannot vouch for whether it works at all.
The only "downside" with having an auto-miner is that you can't see how much money it's made, I guess because it tries to use the regular profit calculations which doesn't work if you got the resources for free?
In any case, thanks a lot for this mod, it's a great addition.
-
- Posts: 40
- Joined: Sat, 7. Dec 13, 08:36