[SCR] Commercial Agent [2010-04-28 X3TC 3.3.03]

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
User avatar
bumpinthenight
Posts: 118
Joined: Thu, 5. Jul 07, 20:58
x3tc

Post by bumpinthenight » Tue, 18. Nov 08, 18:34

Awe yah! Thank you ten-fold for producing this trio of scripts, they have made trade-empire building fun and effective :)

I do have one question: What's the chances of getting the pilot experience systems to integrate themselves if even partially? Like all three script's pilots do the same basic thing of flying around and dropping/picking up wares but I do understand the EST pilots would probably be the most demanding as they are free-roaming traders opposed to the others which are more or less following a stricter set of rules.

I'd like to be able to 'retire' an EST pilot into a commodities or commercial agent role once in a while just to be able to instantly have a jump-capable one, is this something you can see as a realistic possibility?

Painman
Posts: 1694
Joined: Fri, 6. Apr 07, 07:12
x3tc

Post by Painman » Tue, 18. Nov 08, 19:21

bumpinthenight wrote:Awe yah! Thank you ten-fold for producing this trio of scripts, they have made trade-empire building fun and effective :)

I do have one question: What's the chances of getting the pilot experience systems to integrate themselves if even partially? Like all three script's pilots do the same basic thing of flying around and dropping/picking up wares but I do understand the EST pilots would probably be the most demanding as they are free-roaming traders opposed to the others which are more or less following a stricter set of rules.

I'd like to be able to 'retire' an EST pilot into a commodities or commercial agent role once in a while just to be able to instantly have a jump-capable one, is this something you can see as a realistic possibility?
If I'm not mistaken, from following the dialogue regarding the CLS and EST pilots... they have this capability. They certainly used to, anyhow.

I planned on using pilots as ESTs in Aldrin (training ground), then putting them to work for my factories.

I'm sure I'll be corrected promptly if this is no longer the case :)

User avatar
Lucike
Posts: 12969
Joined: Sun, 9. May 04, 21:26
x4

Post by Lucike » Tue, 18. Nov 08, 19:34

Right, they have this capability. All pilots have the same training.
Image

User avatar
bumpinthenight
Posts: 118
Joined: Thu, 5. Jul 07, 20:58
x3tc

Post by bumpinthenight » Tue, 18. Nov 08, 19:42

Perfect :) Thanks again!

ViceGrips
Posts: 17
Joined: Sun, 1. Feb 04, 05:57
x4

Post by ViceGrips » Tue, 18. Nov 08, 19:57

Lucike wrote:
TSM wrote:Lucike the T folder in the libary and the script folder does not have 44 (English) version is this an issue before I install?
No issue. The files 8000.pck and 8013.pck are 44 basic files.

Important: if you have a file named "8000-L044.pck" from an alpha version of the CAG, then you must delete it.

Your friendly Script Service ;)
Lucike
ok i just downloaded the 3.1.00 and i get the language file not found for CAG ingame mail. How do i fix this?

Thanks ViceGrips

User avatar
Lucike
Posts: 12969
Joined: Sun, 9. May 04, 21:26
x4

Post by Lucike » Tue, 18. Nov 08, 20:11

@ViceGrips

Please check your t-folder. Is there the file "8000.pck"?
Image

Guigui
Posts: 6
Joined: Wed, 24. Aug 05, 19:24
x2

Post by Guigui » Tue, 18. Nov 08, 22:28

Hi Lucike, same issue for me.

I've got mails ingame when i load a game : "The language file for CAG doesn't exist" and "the language file for pilot union doesn't exist".

I checked, 8000.pck is in the t folder.

I play on a "33" version of the game.

amirite
Posts: 243
Joined: Thu, 23. Oct 08, 22:01

Post by amirite » Tue, 18. Nov 08, 23:32

Just curious, could someone give me a good example of where this would be used? I've got EST for Universe Trading, and CLS to manage resource fetching/selling... to me these two seem to cover all the bases (love them both btw).

But I'm probably just not aware of what situations this Commercial Agent mod would apply to. I don't have an in-depth knowledge of all the trade activities in X3.
-TEVE

Vicrry06
Posts: 227
Joined: Sat, 9. Dec 06, 23:36
x3tc

Post by Vicrry06 » Wed, 19. Nov 08, 02:19

CAG buys and sells for your factories - it does best fetching resources from the NPC stations and selling your products to NPC stations. Most of the time CAG will do better than CLS will for general station management; CAG looks for the best prices possible and CLS follows a defined route. CLS is intended for internal logistics (between two factories/complexes you own); moving excess energy cells from a SPP complex to a underproducing complex a sector over for example.

Try switching over your CLS pilots to CAG - one of the beauties of Lucike's scripts is that your pilots will not lose levels for doing so.

Malkuth74
Posts: 295
Joined: Fri, 31. Dec 04, 19:31
x3tc

Post by Malkuth74 » Wed, 19. Nov 08, 07:01

SPK works with all scripts. I always pack up the files myself when someone doesn't release them with the Downloads.

Not hard at all just put all Sript and text files in folders they belong.

No need for the uninstall folders since PCK will get rid of them automatically anyway if you unisntall the files.

Been using the german ones for some time now... Love em.

User avatar
Lucike
Posts: 12969
Joined: Sun, 9. May 04, 21:26
x4

Post by Lucike » Wed, 19. Nov 08, 07:28

Guigui wrote:I play on a "33" version of the game.
Please copy this french dummy file in your t-folder.

http://www.lucike.info/x3_terran_confli ... 0-L033.pck

EDIT: Hm, I have forgotten the 8013-L033.pck. I will upload it after work.

Done. http://www.lucike.info/x3_terran_confli ... 3-L033.pck
Last edited by Lucike on Wed, 19. Nov 08, 20:15, edited 2 times in total.
Image

jlehtone
Posts: 21811
Joined: Sat, 23. Apr 05, 21:42
x4

Post by jlehtone » Wed, 19. Nov 08, 10:17

amirite wrote:Just curious, could someone give me a good example of where this would be used? I've got EST for Universe Trading, and CLS to manage resource fetching/selling... to me these two seem to cover all the bases (love them both btw).
Stock Trade Mk1, Mk2, Mk3, as well as CAG, CLS, and EST all haul wares from one station to another. Their difference is on how much you can or must affect what they haul and where they haul.

Lets take the stock Trade Mk1/2 (Best buy / Best sell). The ships serves its homebase. But it can haul only one ware, and it cannot both buy and sell. Thus, a Crystal Fab would need four such ships to "cover all bases". Furthermore, you cannot specify accurately whom they trade with, as they go for "best offer".

CAG does the same. It serves its homebase. It does go for "best offer" too, but you have more ways to tell it avoid "problematic" clients (like a sector next door invaded by Kha'ak). And it jumps better than stock scripts (which have logical bugs). You can even tell a CAG working for station in Argon Prime to trade only with stations in Getsu Fune. But the most direct benefit of CAG is that it will trade all wares of its homebase, and will both buy and sell. One ship to serve one station is enough. And you can configure it to do a trade run only when it is absolutely necessary. A ship in space is a ship in danger. The less exposure the better.

Sure, you can set EST to trade in specific area. But it is more difficult to make it serve one specific player station. EST is a configurable implementation of the idea used also in stock Trade Mk3 Local/Universal Trader. But the stock script is said to be buggy, and EST would probably outperform it even if it wasn't. :D Lack of control of UT has created many modified versions of UT, but EST is not one of them. It is clearly a different implementation, "done right".

Internal Commodity Logistics (CLS1) is for hauling between player stations. It is not about trading. It is very handy, if you cannot join your stations into one complex (like when the station is a Dock, a TL, or in different sector. You could use the trading scripts to achieve similar results, but CLS1 is much more to the point, without uncertainty. And CLS1 runs only when necessary. It is the initial implementation of "truly closed loop", from era before complexes.

External Commodity Logistics (CLS2) is closer to EST/Local Trader. It can do internal logistics too. You could even configure it to serve one player station, But the main problem is that you have to configure it. You do set up a route, one way or other, and CLS2 will follow that route. Thus, it does not use "best offers", or run "only if necessary". And a ship serving specific player station has to do that, like CAG does. While less flexible, it can do very specific tasks where others fail.
Goner Pancake Protector X
Insanity included at no extra charge.
There is no Box. I am the sand.

kipstafoo
Posts: 86
Joined: Fri, 7. Nov 08, 00:08
x3tc

Post by kipstafoo » Wed, 19. Nov 08, 13:43

Hmmm... I tried this out with a Super Demeter fully loaded with equipment. For some reason it just hangs out at my complex with 'CAG On Standby' as its action. Is there some sort of configuration for this CAG that would make it just hang out?

Thanks

lt_wentoncha
Posts: 495
Joined: Thu, 15. Dec 05, 01:51
x4

Post by lt_wentoncha » Wed, 19. Nov 08, 13:50

Is this friendly w/ the plugin manager?

User avatar
Lucike
Posts: 12969
Joined: Sun, 9. May 04, 21:26
x4

Post by Lucike » Wed, 19. Nov 08, 14:14

kipstafoo wrote:Hmmm... I tried this out with a Super Demeter fully loaded with equipment. For some reason it just hangs out at my complex with 'CAG On Standby' as its action. Is there some sort of configuration for this CAG that would make it just hang out?
Out of your complex? Hm, please make a log.

Configure Reports -> Analysis to Log

The log can you find where the savegames stored.
Image

gogosy
Posts: 9
Joined: Thu, 12. Jul 07, 22:42
x4

Post by gogosy » Wed, 19. Nov 08, 17:29

all my ships just stay in hombase with a "CAG On Standby"command

User avatar
Lucike
Posts: 12969
Joined: Sun, 9. May 04, 21:26
x4

Post by Lucike » Wed, 19. Nov 08, 17:32

gogosy wrote:all my ships just stay in hombase with a "CAG On Standby"command
Lucike wrote:Hm, please make a log.

Configure Reports -> Analysis to Log

The log can you find where the savegames stored.
Image

jlehtone
Posts: 21811
Joined: Sat, 23. Apr 05, 21:42
x4

Post by jlehtone » Wed, 19. Nov 08, 17:41

lt_wentoncha wrote:Is this friendly w/ the plugin manager?
Does not use not require PluginManager. Whether that is "friendly" or not, is IMO subjective.
Goner Pancake Protector X
Insanity included at no extra charge.
There is no Box. I am the sand.

kipstafoo
Posts: 86
Joined: Fri, 7. Nov 08, 00:08
x3tc

Post by kipstafoo » Wed, 19. Nov 08, 17:50

Here's the log:

Commercial Agent

Script version: 3100
Libraries version: 3106
Pilot Union version: 3100

Pilot: Iaron Jorwan
Pilot rank: Apprentice
Flight time: 0:00 hour
Employ time: 21:34 hour
Payment: 0 credits
Profit: 0 credits
Expenses: 0 credits

Promotion: Yes
Payment: Global account

Ship name: CAG Super Demeter - Gamma A
Ship class: TS
Ship type: Demeter Super Freighter
Transport class: Extra Large Containers XL
Cargo bay size: 7030 units
Cargo bay volume: 51 units

Relation to Argon: Neutral
Relation to Boron: Neutral
Relation to Split: Neutral
Relation to Paranid: Neutral
Relation to Teladi: Neutral
Relation to Xenon: Foe
Relation to Kha'ak: Foe
Relation to Pirates: Foe
Relation to Goner: Neutral
Relation to ATF: Neutral
Relation to Terran: Neutral
Relation to Yaki: Foe

Fight Command Software MK1: installed
Fight Command Software MK2: installed

Jump Drive: installed
Jump Drive: activated
Jump Drive: not allowed
Jump Drive energy: 703 energy cells
Jump Drive minimum jumps: 1 jumps

Home base: BSI Ore Belt Hub (Ore Belt)
Home base class: Complex Hub
Home base type: Argon Complex Hub
Station account: 26,649,337 credits
Trade jumps: 1 jumps

Black list stations: -
Black list sectors: -

Trader job: Trader
Purchase resources: 80 %
Sell products: 20 %
Sell products freighter cargo bay: 30 %
Purchase intermediate products: 10 %
Sell intermediate products: 80 %
Purchase stations credit balance: 100,000 credits

Home sector: Ore Belt
Home jumps: 1 jumps

Ware list type: Blacklist
Ware list: -

Tradeable ware from home base:
Delexian Wheat: price 30 credits, cargo bay 15,287 units, cargo bay 91 %
Cluster Flak Array: price 638,852 credits, cargo bay 0 units, cargo bay 0 %
Photon Pulse Cannon: price 934,904 credits, cargo bay 0 units, cargo bay 0 %
High Energy Plasma Thrower: price 139,924 credits, cargo bay 0 units, cargo bay 0 %
Tomahawk Heavy Missile: price 21,962 credits, cargo bay 0 units, cargo bay 0 %

User avatar
Lucike
Posts: 12969
Joined: Sun, 9. May 04, 21:26
x4

Post by Lucike » Wed, 19. Nov 08, 18:01

kipstafoo wrote:Pilot rank: Apprentice

Tradeable ware from home base:
Delexian Wheat: price 30 credits, cargo bay 15,287 units, cargo bay 91 %
Cluster Flak Array: price 638,852 credits, cargo bay 0 units, cargo bay 0 %
Photon Pulse Cannon: price 934,904 credits, cargo bay 0 units, cargo bay 0 %
High Energy Plasma Thrower: price 139,924 credits, cargo bay 0 units, cargo bay 0 %
Tomahawk Heavy Missile: price 21,962 credits, cargo bay 0 units, cargo bay 0 %
Is the log complete? What should the pilot do? Should the pilot buy weapons? ;)
Last edited by Lucike on Wed, 19. Nov 08, 18:12, edited 1 time in total.
Image

Post Reply

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