[MOD] Yet Another Trader v2.03c (updated 11th March '16)

The place to discuss scripting and game modifications for X Rebirth.

Moderators: Scripting / Modding Moderators, Moderators for English X Forum

User avatar
TheRealBix
Posts: 400
Joined: Thu, 2. Jul 09, 14:34
x4

Post by TheRealBix »

Oh sounds pretty nice !

As soon as i'll restart my X journey i'll test it :D
User avatar
YorrickVander
Posts: 2774
Joined: Tue, 29. Oct 13, 21:59
x4

Post by YorrickVander »

Glad you like it folks :)

Working on next update and adding translations (finally). Kaehla has very kindly offered to take my english /t file and do a french version. Any takers for other languages?
X Rebirth - A Sirius Cybernetics Corporation Product

Split irritate visiting pilot with strange vocal patterns.
Spieler195583
Posts: 14
Joined: Sun, 16. Aug 09, 19:37
x4

Post by Spieler195583 »

I encountered a problem, after I sold a ship, that was used as free trader before (was trader -> got damaged, I sent it to the shipyard for fixing and sold it afterwards) there is a "null null null based at null with 0 Cr cap"- entry in my YAT-Overview and now I can't configure the ships any more via the config menu, nor via the selection in the overview-section.

But this is really a great mod, fun to play with it, so I'd love to get rid of this null entry to use it again to its full extend. :)
User avatar
YorrickVander
Posts: 2774
Joined: Tue, 29. Oct 13, 21:59
x4

Post by YorrickVander »

I hadn't considered anyone selling an active trader lol. Will look into it. I guess one can always trust the end-user to do something *really* unexpected...
X Rebirth - A Sirius Cybernetics Corporation Product

Split irritate visiting pilot with strange vocal patterns.
User avatar
YorrickVander
Posts: 2774
Joined: Tue, 29. Oct 13, 21:59
x4

Post by YorrickVander »

I would suggest the following to attempt to fix your game :

1) Make a backup of your save
2) Resquad all working YAT ships to return the money from captain and remove them from the list.
3) Quicksave, deactivate YAT (subscribed = no in main menu > extensions), exit game.
4) Restart game, quicksave again, reactivate YAT, exit game
5) Restart game and hope for the best! You are a very silly Otani :P

Fix in next update for the selling issue so this doesn't happen again.

EDIT added catches for upgrading and repairing just in case.
X Rebirth - A Sirius Cybernetics Corporation Product

Split irritate visiting pilot with strange vocal patterns.
Endeavour79
Posts: 287
Joined: Fri, 29. Nov 13, 23:14
x4

Post by Endeavour79 »

Yorrick, the disable/remove YAT function in the menu, does it completely remove all YAT entries for this ship from the savegame?

Otherwise a remove YAT completely mod may help. Saw this from some other modder here for uninstalling his mods.
User avatar
skalapunk
Posts: 105
Joined: Tue, 9. Aug 11, 22:11
x4

Post by skalapunk »

Hi Yorick! A quick question:

Do my Traders rely on my player's information? Ie, do i need to fly around exploring the universe to discover stations and trade offers of those stations?

or do the Traders have access to everything by default?
User avatar
Baconnaise
Posts: 766
Joined: Sat, 23. Nov 13, 15:50
x4

Post by Baconnaise »

Traders don't pull trades like the player. They see any and all trades.
User avatar
YorrickVander
Posts: 2774
Joined: Tue, 29. Oct 13, 21:59
x4

Post by YorrickVander »

@ Endeavour79 - No that's for an individual ship - the same code is run on resquadding etc. It probably wouldn't work on the null error described earlier :( Most of my mods don't actually need an uninstall function. Maybe the Astromechs as removing the mod leaves engineers in ships until destroyed. For the rest disabling, restarting and saving does the job just fine.

@ Skalapunk - exactly as Baconaise says :) They also don't try to dock at hostile stations anymore (old bug for day 1 players).

@Spieler195583 - Let me know if you still have issues, I have another idea for fixing your save if removal > reinstall fails.
X Rebirth - A Sirius Cybernetics Corporation Product

Split irritate visiting pilot with strange vocal patterns.
User avatar
YorrickVander
Posts: 2774
Joined: Tue, 29. Oct 13, 21:59
x4

Post by YorrickVander »

YAT translations - for anyone willing the english t file can be d/l from here :

https://drive.google.com/?tab=wo&authus ... ldkWl80c2c

English + French covered already. If you could also include the Name + Desc for the Extensions menu ie

Code: Select all

  <text language="44" name="Yet Another Trader" description="Automatic trading and mining system" author="Yorrick Vander"></text>
  <text language="33" name="Un Commerce Automatique de plus" description="Système Commercial et minier automatique" author="Yorrick Vander"></text>
It would also be much appreciated. Google translate is pretty awful as are my language skills :D
X Rebirth - A Sirius Cybernetics Corporation Product

Split irritate visiting pilot with strange vocal patterns.
Endeavour79
Posts: 287
Joined: Fri, 29. Nov 13, 23:14
x4

Post by Endeavour79 »

I like and use this mod!
I'll do German for you mate!

Here you go.. Let me know if you need anything else..
You need to set GERMANID to the correct ID..
Hope the special characters like ü and ­ö work.

https://www.dropbox.com/s/8wmbps8lefhji ... 4.xml?dl=1
Spieler195583
Posts: 14
Joined: Sun, 16. Aug 09, 19:37
x4

Post by Spieler195583 »

I tried remove/ reinstall before I came here, so no it doesn't fix the null bug, sry forgot to write this before.
Aaannd, there was someone faster with the german translation...
Zippe
Posts: 195
Joined: Sat, 31. Jan 04, 16:25
x4

Post by Zippe »

First time I used a Cluster Miner and some Errors came up:

Code: Select all

[74.000000]={
["gamestart"]=7.000000,
["message"]="Error: aicontext<YAT.mining.ship.free,0xbf18>: 21139.356 setting range Deep Drill I...",
["timestamp"]=1413564365.000000,},

[85.000000]={
["gamestart"]=7.000000,
["message"]="Error: aicontext<YAT.mining.ship.free,0xbf18>: 21139.356 got to movetocollect Deep Drill I...",
["timestamp"]=1413564365.000000,},

[84.000000]={
["gamestart"]=7.000000,
["message"]="Error: aicontext<YAT.mining.ship.free,0xbf18>: 21139.356 got to findware Deep Drill I...",
["timestamp"]=1413564365.000000,},

[86.000000]={
["gamestart"]=7.000000,
["message"]="Error: aicontext<YAT.mining.ship.free,0xbf18>: 21440.088 got to collect Deep Drill I...",
["timestamp"]=1413564666.000000,},
I watched the ship a bit, it was just sitting between the asteroids and doing nothing, but the hold slowly filled up with Ore.
User avatar
YorrickVander
Posts: 2774
Joined: Tue, 29. Oct 13, 21:59
x4

Post by YorrickVander »

@Spieler195583 - ok mate. After resquadding and uninstalling; with notepad++ (for preference, any text editor capable of handling large files will do, but not notepad) search and delete the list variable lTradeShips from a backup of your save and you should be set to rebuild the list of YAT ships.

@Zippe - nothing to worry about there, just some debug lines I didn't deactivate after changing the code to 2.50 ready. They'll be gone in next version.

@Endeavour79 - Thanks mate :)
X Rebirth - A Sirius Cybernetics Corporation Product

Split irritate visiting pilot with strange vocal patterns.
Spieler195583
Posts: 14
Joined: Sun, 16. Aug 09, 19:37
x4

Post by Spieler195583 »

Nope, that did also not fix the problem, I have no idea what's wrong there, shall I send you my savegame, so you can see for yourself what happened?
User avatar
YorrickVander
Posts: 2774
Joined: Tue, 29. Oct 13, 21:59
x4

Post by YorrickVander »

yeah please mate, will pm you my email
X Rebirth - A Sirius Cybernetics Corporation Product

Split irritate visiting pilot with strange vocal patterns.
User avatar
YorrickVander
Posts: 2774
Joined: Tue, 29. Oct 13, 21:59
x4

Post by YorrickVander »

Heh well with some embarrassment I see I gave Spieler195583 the wrong variable name to delete from his save. In case of further incidents like this, lYAT_TradeGroup is the one to remove from your save with mod disabled. All stored YAT ships including null errors are then removed.
X Rebirth - A Sirius Cybernetics Corporation Product

Split irritate visiting pilot with strange vocal patterns.
DaniDE
Posts: 27
Joined: Fri, 1. Jul 11, 12:50

Post by DaniDE »

Here is some german translation for you. I would suggest keeping the name the same among all languages. If you wish you can translate it to "Noch ein weiterer Händler (Yet Another Trader)" or the likes.

Code: Select all

<text language="44" name="Yet Another Trader" description="Automatic trading and mining system" author="Yorrick Vander"></text>
 <text language="33" name="Un Commerce Automatique de plus" description="Système Commercial et minier automatique" author="Yorrick Vander"></text>
<text language="49" name="Yet Another Trader" description="Automatisches Handels- und Bergbausystem" author="Yorrick Vander"></text>
 
I can´t access google drive, so the other strings of interest would be:
Configure Ships = Schiffe konfigurieren - Konfigurieren der automatischen Händler und Bergbauschiffe
Overview = Übersicht - Übersicht der autonomen Piloten (I suggest autonomous ships instead of pilots here to keep it in line with the rest: Schiffe)
Budget = Budget
Add Ship = Schiff hinzufügen - Einem Schiff den automatischen Handels- oder Bergbaubefehl geben
Remove Ship = Schiff entfernen - Automatisches Handeln/Abbauen stoppen.
Select Ship = Schiff auswählen
Select Option = Option auswählen
Range = Reichweite
Budget Cap = Budget begrenzen
Home Zone = Heimatzone
based at = beheimatet in Zone
Sector = Sektor
Zone = Zone
Galaxy = Galaxie
Cluster = System
thousand = tausend
million = million

-Dani
User avatar
YorrickVander
Posts: 2774
Joined: Tue, 29. Oct 13, 21:59
x4

Post by YorrickVander »

Thanks :)
X Rebirth - A Sirius Cybernetics Corporation Product

Split irritate visiting pilot with strange vocal patterns.
SyberSmoke
Posts: 655
Joined: Sat, 11. Feb 12, 04:03
x4

Post by SyberSmoke »

Could I request a trade mode: Supplier.

Unlike Trader, the supplier mode looks specifically at your stations and what they want. Then tries to get those goods, first from other stations you own, and then from other stations in general (If the player says it can).

If possible, trades from outside party stations will have a currency exchange from the station supplied (player Station) to the ship for the exact cost of the materials. If the station is broke, it can be taken (on request) from the player account.

--- edit ---
I would like to also add that it would be nice if your mod allowed the player to tell the trader things not to get. A bulk Rahanas just filled up on wheat in DeVries when there is no place accepting wheat right now. Yeah...That is a lot of wheat with no where to go at the moment.

Return to “X Rebirth - Scripts and Modding”