[SOLVED] Problem with CLS2 and Jumpdrive

General discussions about the games by Egosoft including X-BTF, XT, X², X³: Reunion, X³: Terran Conflict and X³: Albion Prelude.

Moderator: Moderators for English X Forum

Post Reply
Echo4
Posts: 2
Joined: Sun, 28. Mar 21, 12:04

[SOLVED] Problem with CLS2 and Jumpdrive

Post by Echo4 » Sun, 28. Mar 21, 14:32

I have 2 statoins (Station 1 and Station 2) and 2 TSs (TS 1 and TS 2). TS 1 is an unupgraded Argon Mercury that just stays docked at an NPC SPP. TS 2 is a fully upgraded OTAS Mistral Super Freighter. The trader is a Logistician, its Supply conditions are: Minimum transfer amount on collection: 0 and Minimum transfer amount on delivery: 75. Its Jumpdrive settings are: Use Jumpdrive: Yes and Jumpdrive energy: 200. Its Waypoints are:
1.1: NPC SPP where TS 1 is, Fly to station
2.1: TS 1, Unload, Energy Cells, Manual input: 300
3.1: NPC SPP where TS 1 is, Buy, Energy Cells, Minimum product price, Maximum cargospace
4.1: TS 1, Unload, Energy Cells, Manual input: 300
4.2: Refuel jump energy
5.1: Station 1, Unload, Energy Cells, Maximum cargospace
5.2: Refuel jump energy
6.1: Station 2, Unload, Energy Cells, Maximum cargospace
6.2: Refuel jump energy

When I dock TS 2 at the NPC SPP where TS 1 is, Station 1 and 2 are missing more than 15000 Energy Cells each, TS 1 is empty and TS 2 is full. Now I start TS 2's CLS2 script. TS 2 does exactly as scripted up to waypoint 5.2, then, with less than the 200 Energy Cells that it should have, it heads toward Station 2. Any idea on why it does this instead of returning to the NPC SPP, and on how to fix it?
Last edited by Echo4 on Tue, 30. Mar 21, 13:11, edited 1 time in total.

Aydan
Posts: 234
Joined: Sat, 8. Sep 07, 20:56

Re: Problem with CLS2 and Jumpdrive

Post by Aydan » Mon, 29. Mar 21, 12:07

I may have missed a thing, but that's exactly what you told TS2 in point 6.1:

6.1: Station 2, Unload, Energy Cells, Maximum cargospace

So it will execute this step before going back to the SPP. Just by the way, why do you use the CLS to buy energy cells? Wouldn't it be better to use the commercial agent? If you'd like to supply several separate stations with multiple supplies. You should be able to use some kind of storage station and a trading post for the distribution for over 15 stations by buying all nescessary goods on the storage station (running a commercial agent freighter) with comfortably giving you the option to set prices, delivering it to a player owned trading post by CLS and distributing wares by a second freighter to numerous stations under your control. They can even deliver several goods at the same time if you are able to manage their flight time compared to the fabrication cycles. That's a delivery in time while keeping the set price for goods bought as low as you want it to be. If you just get in the mood to grow your business by adding some more stations, this is the most flexible way. You just need a storage big enough and some time to write the schedules.

Echo4
Posts: 2
Joined: Sun, 28. Mar 21, 12:04

Re: Problem with CLS2 and Jumpdrive

Post by Echo4 » Tue, 30. Mar 21, 12:24

Thanks for your answer. I'll try to be more precise with my question: since 200 < 15000*75% = 11250, why is the Minimum transfer amount on delivery of 75% ignored?

I use CLS2 instead of CAGs because CAGs have to make the trip to the station to buy, while CLS2 are already there when the price drops to 12. Since I use OTAS Mistral Super Freighters for this role, they are able to empty any SPP enough that they can return to the SPP before its price drops back to 12. Instead, a CAG would start moving after the price becomes 12, which increases the likelihood of an NPC trader buying the Energy Cells and wasting credits for the CAG jump fuel and wage. Also, since there is no need for the CLS2 to be as fast as possible to make the purchase, I can use TSs with a bigger cargo hold, thus reducing the amount of jumpdrive fuel required to haul the same amount of Energy Cells. Finally, CLS2 don't need an homebase so they can use my balance instead of that of the warehouse, while CAGs are forced to be homebased, which means my warehouse is forced to sell what it is stocking. In the case of Energy Cells, this is a problem.

What TSs do you use for CAGs? I'd prefer to keep the buying price as the minimum product price, therefore in this scenario I would trust only OTAS Mistrals to get to the station in time. For reference, I only use CAG OTAS Mistrals that sell at average price.

I'm not yet at the point where I can buy a Trading Station or Equipment Dock, so I'm just using complexes with stopped production. Actually, I'm relatively early in the game and my goal for now is to buy Energy Cells, Ore and Silicon and sell these wares plus food (that I produce) in the Argon sectors around Argon Prime as efficiently as possible, but in order to increase the survival chance of my traders in unsecure sectors, all of the traders who have to move between stations must have max shields, Fight Command Software MK1 and MK2, and Jumpdrive and Energy Cells as jump fuel.

I figured how to solve the problem I originally had with my CLS2: refueling jumprdive energy from my own stations doesn't work, but refueling from ships works fine. One possible explanation as to why my CLS2 thought it was fine to unload less than 200 Energy Cells disregarding the Minimum transfer amount on delivery of 75%, could be that the Minimum transfer amount on delivery is not calculated over how much the CLS2 is told to transfer, but over how much of that ware it holds. In other words, instead of transferring a minimum of 15000*75% = 11250 Energy Cells, it checks if it can transfer a minimum of 200*75% = 150 Energy Cells. Luckily, the software is able to make a distinction between jumpdrive fuel that can't be unloaded and Energy Cells that can be unloaded. Again, since refueling from my own stations doesn't work, my CLS2 somehow "forgot" that those less than 200 Energy Cells it had where jumprdive fuel, considered them Energy Cells and delivered them to the next station. The same thing happened when I changed all the refuel jump energy waypoints with load up to 200 Energy Cells. The only thing that actually works is refueling jump energy from another ship.

This is how I'm currently setting up my logistics:
  • Jumpdrive Energy HQ: a complex of 2x Boron Bio Gas Factory M with stopped production
  • Ore HQ: a complex of an Ore Mine and a Boron Bio Gas Factory M with stopped production that transfers credits to my account whenever it has more than 0 Cr
  • Silicon HQ: a complex of a Silicon Mine and a Boron Bio Gas Factory M with stopped production that transfers credits to my account whenever it has more than 0 Cr
  • Food HQ: a complex of bio and food factories that produces food that transfers credits to my account whenever it has more than 0 Cr
  • Energy Cells HQ: a complex of SPP with stopped production that transfers credits to my account whenever it has more than 0 Cr
  • Jumpdrive Energy Holders: one CLS2 Argon Mercury on each NPC SPP, NPC Ore Mine and NPC Silicon Mine with a single waypoint: fly to station
  • Jumpdrive Energy Loaders: one CLS2 Argon Mercury on each of my HQs with Minimum transfer amount on collection: 0 and two waypoints: fly to station and load max Energy Cells
  • Energy Buyers: one CLS2 OTAS Mistral Super Freighter on each NPC SPP with Minimum transfer amount on collection: 0, Minimum transfer amount on delivery: 75 (to increase the amount of wares delivered per jump) and the following waypoints:
    1. fly to NPC SPP
    2. unload 300 energy cells to the Jumpdrive Energy Holder docked at the NPC SPP (in the event that the CLS2 returns to the SPP with some Energy Cells remaining, this is here to free a bit of its cargo hold before buying)
    3. buy max energy cells at min price from the NPC SPP
    4. unload 300 energy cells to the Jumpdrive Energy Holder docked at the NPC SPP
    5. refuel jumpdrive energy from the Energy Holder docked at the NPC SPP
    6. unload max energy cells to Jumpdrive Energy HQ (it's a priority to keep the Jumpdrive Energy HQ filled so that all my other traders can refuel jumpdrive energy and be able to always jump)
    7. refuel jumpdrive energy from the Energy Loader docked at Jumpdrive Energy HQ
    8. unload max energy cells to Food HQ (once my traders are full of jumpdrive energy, I use the excess Energy Cells to produce food to sell; I plan to be the only one to produce food)
    9. refuel jumpdrive energy from the Energy Loader docked at Food HQ
    10. unload max energy cells to Energy Cells HQ (once my traders are full of jumpdrive energy and my Food HQ of Energy Cells, I sell the excess Energy Cells)
    11. refuel jumpdrive energy from the Energy Loader docked at Energy Cells HQ
  • Jumpdrive Energy Distributors: at least one (but I could need more) CLS2 OTAS Mistral with Minimum transfer amount on collection: 0, Minimum transfer amount on delivery: 75 and the following waypoints:
    1. fly to Jumpdrive Energy HQ
    2. load max energy cells from Jumpdrive Energy HQ
    3. refuel jumpdrive energy from the Jumpdrive Energy Loader docked at Jumpdrive Energy HQ (this tricks the Jumpdrive Energy Distributors into thinking they are holding jumpdrive energy in addition to Energy Cells)
    4. unload max energy cells to and refuel jumpdrive energy from each Jumpdrive Energy Holder in NPC SPPs, NPC Ore Mine and NPC Silicon Mine
    5. unload max energy cells to Ore HQ
    6. refuel jumpdrive energy from the Jumpdrive Energy Loader docked at Ore HQ
    7. unload max energy cells to Silicon HQ
    8. refuel jumpdrive energy from the Jumpdrive Energy Loader docked at Silicon HQ
    9. unload max energy cells to the Jumpdrive Energy Loader docked at Food HQ (Jumpdrive Energy Loaders have a waypoint to load Energy Cells, however since the traders will stay Apprentices it will take some time for them to actually do so and I can't guarantee that the Energy Cells will still be there, so this and the following waypoints are just there for precaution)
    10. refuel jumpdrive energy from the Jumpdrive Energy Loader docked at Food HQ
    11. unload max energy cells to the Jumpdrive Energy Loader docked at Energy Cells HQ
    12. refuel jumpdrive energy from the Jumpdrive Energy Loader docked at Energy Cells HQ
  • Ore and Silicon Buyers: one CLS2 OTAS Mistral Super Freighter or Argon Mercury Hauler on each NPC Ore Mine and NPC Silicon Mine with Minimum transfer amount on collection: 0, Minimum transfer amount on delivery: 75 and the following waypoints:
    1. fly to NPC Ore Mine or NPC Silicon Mine
    2. refuel jumpdrive energy from the Jumpdrive Energy Holder docked at the NPC Ore Mine or NPC Silicon Mine
    3. buy max Ore or Silicon at min price from the NPC Ore Mine or NPC Silicon Mine
    4. unload max Ore or Silicon to Ore HQ or Silicon HQ
    5. refuel jumpdrive energy from the Jumpdrive Energy Loader docked at Ore HQ or Silicon HQ
  • Ore, Silicon, Food and Energy Cells Sellers: CAG OTAS Mistrals homebased at their HQ that sell at average price
I must admit I didn't think about making a complex with an Ore Mine and a Mosquito Missile Factory, for example, so that I could use CAGs to buy and sell Ore at the same time, but that can only work for Ore and Silicon since they are the only wares I'm currently interested in just buying and selling without using. However, is it even possible to separate the buying price and the selling price for intermediate products?

Last edited: 2021-04-01T09:26+0000

Post Reply

Return to “X Trilogy Universe”