[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
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: 21809
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

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

Post by gogosy » Wed, 19. Nov 08, 18:03

Lucike wrote:
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.
the log:

Code: Select all


Commercial Agent

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

Pilot: Lalundas Yuyamados Hilibis V
Pilot rank: Apprentice
Flight time: 0:10 hour
Employ time: 0:56 hour
Payment: 0 credits
Profit: 0 credits
Expenses: 0 credits

Promotion: Yes
Payment: Global account

Ship name: <-=H=->
Ship class: TS
Ship type: Caiman Super Freighter
Transport class: Extra Large Containers XL
Cargo bay size: 10325 units
Cargo bay volume: 174 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: Neutral

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

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

Home base: Your Complex Hub alpha (Hatikvah's Faith)
Home base class: Complex Hub
Home base type: Argon Complex Hub
Station account: 2,000,000 credits
Trade jumps: 50 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: 30,000 credits

Home sector: Hatikvah's Faith
Home jumps: 50 jumps

Ware list type: Blacklist
Ware list: Argnu beef, Crystals, Energy Cells, Majaglit, Massom powder, Meatsteak Cahoonas

Tradeable ware from home base:
     Mosquito Missile: price 168 credits, cargo bay 271 units, cargo bay 8 %
     Typhoon Missile: price 33,692 credits, cargo bay 16 units, cargo bay 100 %
     Flail Barrage Missile: price 33,692 credits, cargo bay 16 units, cargo bay 100 %
     5 MJ Shield: price 20,776 credits, cargo bay 6 units, cargo bay 3 %
     Aurora Missile: price 2,020 credits, cargo bay 276 units, cargo bay 100 %
     Wasp Missile: price 1,348 credits, cargo bay 414 units, cargo bay 99 %
     Firefly Missile: price 224 credits, cargo bay 2,496 units, cargo bay 99 %
     2 GJ Shield: price 747,924 credits, cargo bay 4 units, cargo bay 50 %
     Tomahawk Heavy Missile: price 22,460 credits, cargo bay 24 units, cargo bay 100 %
     Advanced Satellite: price 13,476 credits, cargo bay 0 units, cargo bay 0 %
     Computer Components: price 1,348 credits, cargo bay 8 units, cargo bay 0 %
     Fighter Drone: price 4,044 credits, cargo bay 136 units, cargo bay 98 %
     Tempest Missile: price 13,476 credits, cargo bay 40 units, cargo bay 100 %
     Microchips: price 13,476 credits, cargo bay 0 units, cargo bay 0 %
     200 MJ Shield : price 155,816 credits, cargo bay 16 units, cargo bay 100 %
     Silkworm Missile: price 5,052 credits, cargo bay 108 units, cargo bay 98 %
     Massom powder: price 36 credits, cargo bay 6,666 units, cargo bay 100 %
     Majaglit: price 36 credits, cargo bay 269 units, cargo bay 4 %
     Meatsteak Cahoonas: price 72 credits, cargo bay 93,476 units, cargo bay 28 %
     Argnu beef: price 104 credits, cargo bay 6,491 units, cargo bay 5 %
     Ore: price 128 credits, cargo bay 17,286 units, cargo bay 98 %
     Energy Cells: price 16 credits, cargo bay 915,966 units, cargo bay 95 %
     Crystals: price 1,684 credits, cargo bay 3,260 units, cargo bay 16 %
     Silicon Wafers: price 504 credits, cargo bay 7,173 units, cargo bay 98 %

Mosquito Missile (Product (Standard search engine))
     Split Equipment Dock (Thuruk's Beard): price 168 credits, cargo bay 1,591 units, cargo bay 95 % ( Free )

[/quote]

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

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

@gogosy

Your pilot is an Apprentice and can not sell products.
Image

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

Post by gogosy » Wed, 19. Nov 08, 18:13

what should i do then?

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

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

gogosy wrote:what should i do then?
You can delete "Argnu beef" or "Crystals" from the blacklist. The pilot must buy resources in the first 2 hours.
Image

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

Post by gogosy » Wed, 19. Nov 08, 18:30

i understand ,3Q

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

Post by kipstafoo » Wed, 19. Nov 08, 18:36

I still don't. :)

I think I'm a bit retarded today... but I don't get it. :P

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

Post by jlehtone » Wed, 19. Nov 08, 19:16

kipstafoo wrote:I think I'm a bit retarded today... but I don't get it. :P
It. It is very simple.

The pilot has to be at least "Trader" in order to trade intermediates.
The pilot has to be at least "Courier" in order to sell products.
Your Complex probably has only intermediates and products.
Your pilot is "Apprentice". It can only buy resources.
Thus, there is nothing that the pilot can do on that Complex.
Therefore, the pilot cannot promote to "Courier" either.

You have to train the pilot elsewhere.
Goner Pancake Protector X
Insanity included at no extra charge.
There is no Box. I am the sand.

JackSlaughter
Posts: 80
Joined: Thu, 22. Jun 06, 04:53
x3

Post by JackSlaughter » Wed, 19. Nov 08, 22:33

I'm also getting the Language files missing error. I installed the files you posted about in the forum. However, still didn't fix the problem.

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

Post by Lucike » Wed, 19. Nov 08, 23:25

JackSlaughter wrote:I'm also getting the Language files missing error. I installed the files you posted about in the forum. However, still didn't fix the problem.
Which language version?
Image

JackSlaughter
Posts: 80
Joined: Thu, 22. Jun 06, 04:53
x3

Post by JackSlaughter » Wed, 19. Nov 08, 23:44

I installed the English??? and then I downloaded both of the links you posted in the post you made on Page 2.

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

Post by Lucike » Wed, 19. Nov 08, 23:48

JackSlaughter wrote:I installed the English??? and then I downloaded both of the links you posted in the post you made on Page 2.
On Page 2? These files are french dummy files. Do you have the file "8000.pck" in your t-folder?
Image

JackSlaughter
Posts: 80
Joined: Thu, 22. Jun 06, 04:53
x3

Post by JackSlaughter » Wed, 19. Nov 08, 23:54

Yes. I have the 8000.pck, oh, I thought you posted those files to fix this problem. I thought the mention of the French file was you just saying, "I'm going to grab the file from the french version until i get home."

I guess I assumed too much.

Tiberiumkyle
Posts: 95
Joined: Tue, 13. Jun 06, 01:36

Post by Tiberiumkyle » Thu, 20. Nov 08, 06:19

I can't get my agent to buy stuff for my HQ, it just sends a message that all wares are blocked. When I try to add them via the ware list, I get as far as the choose ware window, I click ware, and a window flickers with -null- in it, then drops back to the main command console for the ship.

Code: Select all

Commercial Agent

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

Pilot: Neol Gisler
Pilot rank: Apprentice
Flight time: 0:03 hour
Employ time: 0:43 hour
Payment: 0 credits
Profit: 0 credits
Expenses: 0 credits

Promotion: Yes
Payment: Global account

Ship name: CAG Your Mistral A-TSH
Ship class: TS
Ship type: Mistral
Transport class: Extra Large Containers XL
Cargo bay size: 40000 units
Cargo bay volume: 114 units

Relation to Argon: Neutral
Relation to Boron: Neutral
Relation to Split: Foe
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: 4000 energy cells
Jump Drive minimum jumps: 1 jumps

Detected enemy ship: Thuruk's Beard

Home base: Aesir Headquarters (Thuruk's Beard)
Home base class: Headquarters
Home base type: Headquarters
Station account: 197,974,184 credits
Trade jumps: 9 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: 30,000 credits

Home sector: Argon Prime
Home jumps: 20 jumps

Ware list type: Trade list
Ware list: 

Tradeable ware from home base:

EDIT: I played around with it on another station, and found that even with ships qued for construction, the HQ is not listing any products/resources, thus the ware selection issue, not seeing anything to pick. No idea why this is happening, and I'd like to be able to automate the construction of my ships as much as I can without having a complex to support it, as I stole the sector from the Split and they are quite angry about it.
Rawr!

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

Post by ViceGrips » Thu, 20. Nov 08, 06:53

yeah the 8000.pck is there. the 8000-L044 us also there. so i'm really confused. The EST and CLS and they run without issue. Thanks for your help. ViceGrips

JackSlaughter
Posts: 80
Joined: Thu, 22. Jun 06, 04:53
x3

Post by JackSlaughter » Thu, 20. Nov 08, 07:00

8000-L044 is supposed to be an XML right?

Edit:

Wait I just checked your first post and you state.

Language file
8000.xml (ID 8000)
8000-L039.xml (ID 8000)
8000-L049.xml (ID 8000)

Command Slot (Change command slots)
COMMAND_TYPE_TRADE_16 (416)
COMMAND_TYPE_CUSTOM_16 (716)
COMMAND_TYPE_STATION_16 (1116)

Object-Task
Global (restart)
Ship Task 0, 40 und 41


Except I just looked in my T folder and all those files are PCK not XML. I'm going to change their names and see if that works.

Post Reply

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