[X3TC Bonus Plugin] Commercial Agent (CAG)

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

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

Post Reply
ArnoldWest
Posts: 12
Joined: Sat, 22. Nov 08, 00:24

Post by ArnoldWest » Mon, 31. Aug 15, 22:52

Also cleared my cache, still can't post to the CAG thread.

User avatar
ubuntufreakdragon
Posts: 5198
Joined: Thu, 23. Jun 11, 14:57
x4

Post by ubuntufreakdragon » Tue, 1. Sep 15, 04:24

are there other resources with higher priority?
You can either declare a block or a trade list of wares make sure you used the rigth edition.
also cag has a debuglog, which would be checked for additional information.

If posting still doesn't work try the quote button as workaround, as this button will link to the reply page, too, just delete the quote. :wink:
My X3 Mods

XRebirth, things left to patch:
In General; On Firing NPC's; In De Vries; Out Of Zone; And the Antiwishlist

UniTrader
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 14571
Joined: Sun, 20. Nov 05, 22:45
x4

Post by UniTrader » Tue, 1. Sep 15, 04:28

***merging Topics***
if not stated otherwise everything i post is licensed under WTFPL

Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter ;)

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help ;)

ArnoldWest
Posts: 12
Joined: Sat, 22. Nov 08, 00:24

Re: Script Assistance Request - CAG (Forum won't let me reply to CAG thread)

Post by ArnoldWest » Tue, 1. Sep 15, 11:09

ArnoldWest wrote:Hi everyone,

2. I setup several ships to be Commercial Agents. (Tested 1-4). Used "Trade List" and input all the types of materials I needed (and some guns and ammo etc).
I think that's your answer for "Trade list" or "Black List".

There are no resources with higher priorities. Even with the traders set exclusively to CAG for Energy Cells they still won't be imported.

This is with them set to "Purchase Resources".

As I said in my last post... my CAG just bought 1000 teladianium, limit is 1135, current stock is 7000+. Dockware manager limit that is.

I'll just abandon the whole project and find a different way, thanks anyway.

ravayen
Posts: 56
Joined: Mon, 25. Jan 16, 02:02
x4

Post by ravayen » Mon, 25. Jan 16, 02:15

Dunno how active this topic still is but if anyone could help...

I'm ok with editing scripts but appalling at formula, all i want to do is change the plugin.com.agent.auto.price script to charge minimum price at 90% of cargo space instead of 100%

for the life of me i cant see which 100 to change lol.

Any help would be appreciated.

Don_Zardeone
Posts: 62
Joined: Fri, 19. Dec 03, 14:22
x3

Post by Don_Zardeone » Sun, 15. Jan 17, 01:10

I just spent maybe 6 hours trying to figure out why my CAG was on standby.

I have a BoFu complex in queens retribution. 2 bogas and 2 bofu factories. I have 2 CAGs in there.

- Over 4 000 000 in station funds
- Cags set to default
- Prices set to default average (no matter what I set them to, the cags will not sell bofu)
- Energy more than half full

Observations:
- CAGs don't sell BoFu
- The only BoFu that gets sold is sold to NPC traders
- Once BoGas goes over 80%, cags will sell bogas
- When told to sell at best price (aka classic mode), they sell as normal but then end up selling to... see spoiler


SOLUTION:
Spoiler contains plot related stuff that is interfering with cag:
Spoiler
Show
Set a Cag block on the xenon hub that you get from the plot. My hub had no money (41credits) but the autoseller kept supplying it for some reason.

Hub is connected to queens retribution as per the plot requirements.
As soon as I set the block, my cags started selling bofu.

I googled for this, searched forums, everything. May this help the next guy.

User avatar
ZacUK
Posts: 68
Joined: Sun, 15. Jan 06, 02:14
x4

Re: [X3TC Bonus Plugin] Commercial Agent (CAG)

Post by ZacUK » Sun, 6. Jan 19, 13:55

I'm really sorry for the thread necromancy.... But this does seem to be the correct thread for the CAG plugin.

I'm stuck / confused (Which is quite normal for me.)

I'm playing X3AP Vanilla (just with the Bonus Pack installed.)

I cannot for the life of me work out how to keep my weapons complexes funded with enough cash for the supply ships to buy the resources required for manufacturing.

1) I go into the complex command console, pick a command slot that is set to "none" - All the commands are none / inactive in fact.
2) I pick option 5 (Administration (Commercial Agent.))
3) I select Station Settings.
4) Then Money Transfer.
5) Now this is where i'm getting stuck;

For whatever reason, I can't seem to work out how to setup the station so that it takes money from my main player account. No settings seem to make any difference.

Would anyone know what's wrong, or how to setup properly?

Thanks!

User avatar
Trevelvis
Posts: 1042
Joined: Sun, 4. Apr 04, 15:20
xr

Re: [X3TC Bonus Plugin] Commercial Agent (CAG)

Post by Trevelvis » Tue, 25. Aug 20, 23:07

I am using the Commercial Agent through the Bonus Plugin and some of my complexs work fine with it but I have a stand alone factory using one and no matter what I do it only buys 40 energy cells every time. The factory has 25000 with 5000 free and the ship has empty cargo but even if i reset it it always buys 40 ecells . Please advise as been away from the games so long i might be doing something wrong, thanks for your time :?

Post Reply

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