[X3TC Bonus Plugin] Commercial Agent (CAG)

The place to discuss scripting and game modifications for X³: Terran Conflict and X³: Albion Prelude.

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

Merroc
Posts: 5920
Joined: Mon, 16. Feb 04, 20:01
x3tc

Post by Merroc »

I'm gonna need some help, as I'm half going crazy trying to figure it out.

So I have this EC complex, almost full loop with only the silicon mine missing. There are two things I can't for life get to work...

Firstly, using the command console of the station, I set Energy Cells from intermediate to product. Second, on all the CAG ships the Sell Product function is on 20% and the Sell Products Freighter cargo bay on 30%. The ships keep making the EC complex go empty on EC, stopping Argnu Beef/Cahoona and Crystal production, very annoying. I want them to stop at 20%, I set that function at that level for a reason. If it's not at least 20% full, I want them to do nothing (or participate in the other thing). And when it's at 20%, I want them to take as much (not what's over 20%) as they can to the station they're gonna sell EC to.
Screw the rationale that it's better to run than to wait. It's better to sell as much EC as they can to a station than to sell only 10% of the target stations cargo space.

The other thing, I noticed that buying Argnu Beef / Cahoonas cheaply from the NPC I can then sell them to the NPC again from near max price. So I set Purchasing Intermediates at 70% and Selling Intermediate Products to 30%. But the CAGs aren't trading at full capacity. They're buying my stock full, but refuse to sell down to 30%. I read to safeguard production??? Why? It's sold down to 30%, that's to safeguard production!

So can someone tell me how to set the CAGs up to a) not sell below 20% EC and to actively trade intermediates?
Erixon
Posts: 8
Joined: Wed, 26. Oct 11, 23:07
x4

Problem with filter

Post by Erixon »

I have question about global configuration. Why filter through name of ship doesn't work? For example, I have 2 ships: first from Silicon Mine, second from Teladanium Foundry. I have named one ship as Silicon Mine I, another as Teladanium I. If I write in filter "Silicon" and send some settings, both ships receive this settings. But only first must receive it. May be, I do something wrongly. Please help me. Script is from bonuspack.
Cosmin
Posts: 197
Joined: Tue, 21. Sep 04, 20:18
x3tc

Post by Cosmin »

My CAG won't even do the simplest task.. spent last 2 days trying to configure it and I AM REALLY FRUSTRATED NOW!!!!!!

I have a large SPP in Circle of Labour that needs crystals.
In Omicron Lyrae (1 jump away) there is a Crystal Fab almost full with crystals.
I set the CAG to shopper, add ware crystals, all other settings to default.. does not work..
It just stays in the SPP (which is set as homebase) and is on stand by..
What can I do???
Transworld Enterprises
CEO Cosmin C. Constantin

The proud producers of Uncle Ton's canned boron meat.
User avatar
Saetan
Posts: 3223
Joined: Wed, 1. Feb 06, 19:26
x4

Post by Saetan »

First I'm thinkin' of: Check, if your CAG's warelist is set to whitelist or to blacklist.

Second I'm thinkin' of: If you post us a log (Analysis to Log-Feature, textfile found beneath savegame directory afterwars) you would help us to help you.
Vayde
Posts: 850
Joined: Fri, 6. Feb 04, 21:02
x3tc

Post by Vayde »

First thing I would check is have you put credits into the spp so the CAG has cash to buy with?

I've been playing this game for years and I still forget to do that on a new station/complex setup :)
Still life in the old dog yet...
User avatar
cattafett
Posts: 884
Joined: Thu, 30. Aug 07, 00:40
x3tc

Post by cattafett »

using the new BP for AP and when you select a homebased ship from a stations own ship list i get this
[ external image ]
the panel on the right is cut short i think
any ideas ?
those UFOs you hear about are just what you tried to explaine to me going over my head
Advanced Complex-Hub you know you need it Catta Fett's D.O.G.S Vanilla safe mod collectionyou don't need them but you want them
Friendship is like peeing on yourself: everyone can see it, but only you get the warm feeling that it brings
aquatica
Posts: 186
Joined: Wed, 6. Nov 02, 20:31
x4

Post by aquatica »

Cosmin wrote:My CAG won't even do the simplest task.. spent last 2 days trying to configure it and I AM REALLY FRUSTRATED NOW!!!!!!

I have a large SPP in Circle of Labour that needs crystals.
In Omicron Lyrae (1 jump away) there is a Crystal Fab almost full with crystals.
I set the CAG to shopper, add ware crystals, all other settings to default.. does not work..
It just stays in the SPP (which is set as homebase) and is on stand by..
What can I do???
Simplest possible way to put it to work:

1) Assing a home base (the SPP), "Start Commercial Agent" and _EVERYTHING DEFAULT_. That will make the ship to sell the ecells as well, when it gets enough rank.

2) Money, Money, Money, Money, on that SPP. Crystals are expensive. Remember to NOT limit the jump range too short (like 0 ;) on the stations variables.

3) Also make sure you do not have enemy contacts within the sector; Can't be absolutely certain, but I recall the ships refusing to launch if hostiles are too nearby.

Extra: Set the trader to use homebase funds for trainings. After that, the status of the ship (if it is at the SPP already) should be "CAG on standby..." and after a while it should go to "Docking at <target station where the crystals are bought from>". If you don't get the ship's status to "CAG on Standby" first, or it stays at "None", you've obviously done something wrong. "Idle" can mean that you do not have money at the station which CAG needs to actually do something :)
Goekhan
Posts: 51
Joined: Thu, 23. Jul 09, 21:11
x4

Post by Goekhan »

May I ask a question? I'm a little bit lost here.

I usually had big trade empires, never got into building stations and such. But in AP, there are SEVERE supply problems, so I throw some mines here and there to keep the production going.

After this, I installed the bonus pack for AP, everything in it. I got CAG, CLSI/II. But as you might imagine, I'm "overwhelmed" with more settings.

Anyway, long story short, I've set up 4 CAGs going, 1 CLS in standby. I don't understand the importance/requirement of CLS so far. Please correct me if I'm wrong:

CAGs are there to "take care of it's homebase station", right? Buying resources, selling products, etc... 4 of my CAGs are currently busy loading the station up with ECells, so I guess they'll actually start selling some stuff when they advance in their careers.

My question about this part is, how much do they buy/sell for? I set ECell buying price (on my mine, I mean) to 12, but CAGs stopped working. Then I set it to 16, they now continue to work. So, if I'm to assume that, CAGs try to buy at/below, and try to sell at/above the prices you set on their home station? Just this answer would clarify a lot of questions on my mind.
Last edited by Goekhan on Thu, 22. Dec 11, 18:05, edited 1 time in total.
aquatica
Posts: 186
Joined: Wed, 6. Nov 02, 20:31
x4

Post by aquatica »

I actually responded to you in the CLS topic... was supposed to do it here. Anyhow, go check there.

And it's kinda.... bad, to ask all the same questions in several threads ;) Split 'em up to be thread-related and everyone's gonna be happy!
Lammy
Posts: 10
Joined: Sat, 2. Dec 06, 14:22
x4

Post by Lammy »

Will CAG work with AP?
aquatica
Posts: 186
Joined: Wed, 6. Nov 02, 20:31
x4

Post by aquatica »

X3AP has it's own Bonus Pack which includes it. So yes, it does :)
Goekhan
Posts: 51
Joined: Thu, 23. Jul 09, 21:11
x4

Post by Goekhan »

Yes, you can download AP bonus pack from the Downloads section of homepage. Or from here, individually, I guess.
User avatar
Peanutcat
Posts: 297
Joined: Fri, 8. Jul 11, 23:56
x4

Post by Peanutcat »

The Option Start Commercial Representation is grayed out on my traders.. Why is this?
F signature
aquatica
Posts: 186
Joined: Wed, 6. Nov 02, 20:31
x4

Post by aquatica »

You do have all the prerequisites on the ship, like Trading System Extension, Trade Command software etc...? And of course, HOME BASE SET! :)
User avatar
Peanutcat
Posts: 297
Joined: Fri, 8. Jul 11, 23:56
x4

Post by Peanutcat »

Yep.. And i found out why it wasnt wokring.. Apparently they had to be docked at a station :p
F signature
aquatica
Posts: 186
Joined: Wed, 6. Nov 02, 20:31
x4

Post by aquatica »

Uhm... No, they don't o_O Maybe you got a quirk of sorts. I use my CAG's pretty much like this: Buy a TS, fill it with eCells and 25MJ shields and fly it to Legend's Home, OTAS Shipyard.

Then I buy a ton of TS's from the OTAS (Mistrals, ofc) and if there's shields around, I shield 'em all. If I'm rich, buying like 10 Mistrals at the same time, I fill them up with shields. Like literally, every last one of 'em gets 10 shields if there's 10 in the market, meaning you got 100 shields instead of 10 ;) good way to make some hard profit btw!

Then I just load the TS's with eCells and proper amount of shields and then sent 'em to get other stuff, like engine boost, weapons etc. Then I usually order them to "Return Home" after assigning home base, so they clearly remember to use their prestigeous Jumpdrive - for some reason starting CAG at some times don't use the JD, even if enough eCells are in the TS to fuel the jump, but telling the TS to "Return Home" always works if homebase is within JD range.

Anyway, after the TS is in the same sector than it's homebase, I just start CAG. Never had any issues; the first thing it does is in any case "Return Home".
User avatar
Peanutcat
Posts: 297
Joined: Fri, 8. Jul 11, 23:56
x4

Post by Peanutcat »

THey need to be docked at a station so they will be able to get a pilot unless they alrdy have one
F signature
daishi5
Posts: 8
Joined: Sat, 29. Jul 06, 19:40
x3tc

Post by daishi5 »

Every time I tell my ships to start Commercial Representation, it erases their homebase settings. Any idea what I can do to make them work?
Maahes
Posts: 872
Joined: Wed, 20. Nov 02, 15:14
x4

Post by Maahes »

Does anyone else have a problem getting their CAG's/CLS to use jump beacons in AP?
User avatar
X2-Illuminatus
Moderator (Deutsch)
Moderator (Deutsch)
Posts: 25130
Joined: Sun, 2. Apr 06, 16:38
x4

Post by X2-Illuminatus »

The version in the X3AP bonuspackage is still the old version from the TC BP, so the scripts are not adjusted to make use of the jump beacons.
daishi5 wrote:Every time I tell my ships to start Commercial Representation, it erases their homebase settings. Any idea what I can do to make them work?
Would you please give us more details about your current setup? I.e. which game are you playing (X3TC or X3AP), what trade ships do you use, what is their homebase?
Nun verfügbar! X3: Farnham's Legacy - Ein neues Kapitel für einen alten Favoriten

Die komplette X-Roman-Reihe jetzt als Kindle E-Books! (Farnhams Legende, Nopileos, X3: Yoshiko, X3: Hüter der Tore, X3: Wächter der Erde)

Neuauflage der fünf X-Romane als Taschenbuch

The official X-novels Farnham's Legend, Nopileos, X3: Yoshiko as Kindle e-books!

Return to “X³: Terran Conflict / Albion Prelude - Scripts and Modding”