DodaFu's Universal Complex Tool [V 3.42 Beta][4/1/2008]

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

User avatar
-Dusty-
Posts: 2301
Joined: Fri, 30. Dec 05, 20:17
x3tc

DodaFu's Universal Complex Tool [V 3.42 Beta][4/1/2008]

Post by -Dusty- »

  • DodaFu's Universal Complex Tool
  • Version: 3.42 Beta
  • Last Update: April 1st, 2008
  • Author: DodaFu [KBG]
  • Translator: Dusty


    Attention: The current version of this program comes with the german database. This means, the program itself is in english, but the factory/ware names are in german!
    I'm working on the translation, but this will take some time. This thread will be updated too as soon as the translation is finished.
  • [ external image ]
    DUCT_V3.42.zip

    Installation: Extract the zip. file and run DUKT.jar
    Java has to be installed!

    If you have downloaded Version 3.41, I strictly recommend you to download the new version 3.42 due to there have been some major problems in 3.41.
  • [ external image ] The german Thread is here.

Image
[ external image ] Description:
Image

This tool has been developped by DodaFu [KBG] for calculating complexes and any other production cycles in X3. Anything is possible, starting with single factories and ending with a whole trading imperium. The DUCT can be used for X-Btf, X-T and X2 as well.

There is one point that stands out when comparing the DUCT with other complex calculation tools: It is fully adjustable. The user can change Everything - factories, wares, races...

In Addition, there are loads of "Mini-Features" like a sectormap or a roid calculator which tells you where you can find enough roids for your complex.


Image
[ external image ] Main Features:
Image
  • Easy complex calculation. Simply enter the factories which produce your product, the DUCT tells you which factories you need to make the complex self-sufficient.
  • Calculation of HQ-Supplying complexes (Ship production)
  • Fully adjustable - the user can add, change and delete wares, factories and sectors - this makes the DUCT compatible with all mods.
  • Descriptions of all races, wares and factories
  • Complete list of all asteroids
  • Automac mines - choose a sector, and the DUCT tells you which roids you need.
  • Loads of additional tools, like a universe map, route-planner, yield calculator, help system and maybe some eastereggs...
Image
[ external image ] ARES Export:
Image

The DUCT is able to export a list of stations which can be imported by A.R.E.S..

To export the file, calculate your complex and select "Import/Export" in the main menu. Then hit the "ARES" Button. Now, a file named 498848.xml will be created in the "out" folder of the program (this folder can be changed in the options).

Now this is important: You have to rename the file to 448848.xml AND open it with the Text Editor and change the line <language id="49"> to <language id="44">. Now copy the file into your "t" folder located in your X3 main directory. Then you can import the list using ARES. See the ARES manual for details.



Image
[ external image ] First Steps:
Image


Calculating complexes

EXAMPLE: I want to build a self-sufficient booze-comlex. I have a silicon-roid with a yield of 10. My complex should contain 1 Space Fuel Distillery L and 1 Bliss Place M. What do I need to make this complex self-sufficient?

1. Run the DUCT
2. Look at the left side. There you'll see a list of all factories. Now search the Distillery and the Bliss Place.
tip: The easiest way to find a station or a ware is to use the 'search' feature. Go to Search/station and type the name (or a part of it). Now you can scroll trough the results with down-/upward.
3. Enter the two factories: 1 Distillery L and 1 Bliss Place M.
[ external image ]
4. Now you have to create the mine. Go to New/Add mine. Select the size (L), the yield (10) and the product (Silicon wafers).[ external image ]
5. Scroll down in the list to your new mine. Enter 1.
6. Click on 'reverse calculate'. Now, the tool calculates what factories you need to make the complex self-sufficient.
7. The list's a little crowded. But that's no problem – click on 'activate filter' on the left bottom of the window. All factories which you don't need will be hidden.
8. Finished – Now you can see your complex. It should look like this. That was it – calculating complexes can be as this easy :D
9. If you want to, you can save the result in a textfile. Go to File output/Put out as textfile. Now you can find your complex in following folder: DUKT/out/simple.txt


Calculating the complex for a ship-production

EXAMPLE: I want to produce the M7-Hyperion in my headquarters. I know which resources I need and how long it takes to produce it. But what complex do I have to build for a constant production?

1. Run the DUCT :D

2. First, you have to create the ship. Go to New/Add wares. Enter the name and select the transport class 'Ship L'. It should look like this:
[ external image ]
Select 'Examine', and if all settings are correct, click on 'create'.
3. Now, go to New/Add ship production. Select the Hyperion as the product.
4. Search the new ship production at the bottom of the factorylist. Selecht 'deactivate' and 'change'.
5. Enter the correct resources.
6. Click on 'reverse calculate'. Now, the tool calculates what factories you need to produce the hyperion. This complex will be self-sufficient, if you enter the mines too.
7. The list's a little crowded. But that's no problem – click on 'activate filter' on the left bottom of the window. All factories which you don't need will be hidden.
8. Finished – Now you can see your complex. That was it – calculating complexes for producing a ship can be as this easy :D




Image
[ external image ] Changelog:
Image

Version 2.9:
- comma-values will be written out
- Fixed: Building costs exceedet a maximal value, this is now increased
- Fixed: old counts for factories/wares if the options have been resetted
- Fixed: "Enforce surplus production with intermediate products" wasn't set in the options even if it has been setB
- Fixed: Usage of roids was calculated incorrect in some cases
- Fixed: "Clear fields" ignored the roid list
- Fixed: "Enforce surplus production with intermediate products" created an abort too early

Version 2.8:
- All problems with threads fixed (thanks to all who reported those bugs)
- New option to enforce surplus-production at intermediate products
- New status: All roids taken, some differ
- Sector complexes will be identified
- If 1 is entered as intermission, it will be reduced to 0
- Position of trades/transfers doesn't matter for the calculation
- The size of automatic generated mines can now be chosen
- Mines with a yield of 0 will be calculatet automatically, too
- Fixed: Error with the first roid in a list
- Fixed: Error with parralel reverse calculation
- Fixed: Without roids, the complex is always identified as a sector complex
- Fixed: Wrong ware as roid type, if the index of the ware has been modified
- Fixed: the optimal calculation didn't calculate trades/transfers which are selected as possibilites
- Fixed: roid list wasn't saved, even if this was desired


Version 2.62BETA:
- New status: roids available, some deviate
- sector complexes will be detected
- Fixed: error with the first roid in a list


Version 2.59BETA:
- Possibility to enter an intermission, which is considered by all
factories, mines, tradings and transfers
- line-by-line output of factories in the textfile
- First split-up to threads
- Lists optimized
- Fixed: wrong FULL-status when several mines with the same
mineral were present
- Fixed: Nullpointerexception in the route planner when
deactivated the logs were deactivated and a route through a
forbidden sector has been choosen
- Fixed: non-consideration of the size in the change-menu of
level-r-factories (thanks to jlethone, who found this error)
- Fixed: wrong price when creating mines
- Fixed: inaccurate price when duplicated
- Fixed: white text in some fields


Version 2.0 (KBG-Release):
- Roid-lists added
- Coordinates in the Universe-map will be shown even at existing
sectors
- Removed some pop-up-windows (They will only be shown if they
differ from the standard-values)
- Universe map available in the "create sector" and "change
sector" dialogueU- Route-logging is optional
- Extended Filter
- Fixed: Behoben: Bug in the sector-coordinates when creating a
new sector
- Fixed: Username isn't the prefix of the player-race
- Fixed: Credits (money) will be lost when saving a ship
production


Version 1.9
-New features:
---Included a Sector-System
---A route planner to find the nearest way from sector A to B
---Universe Map with informations about shipyards, equipment docks etc. and gate positions
---New race system
---Help system - pressing F1 will show a help-window
-visual point-out for buttons
-simple moving of factories and races in the list
-revised interface
-some bugs fixed
-many revised features


Version 1.32BETA:
- If you enter resources again, the old settings will be adjustet to the new ones.
- Special mark of buttons, if you point on it with the mouse
- Easy replacement of wares and factories in the main window: first click selects a ware/factory, second click locks it again. V
- Program has now an icon
- New Check: Deactivated factories - shows all deactivated factories.
- New Check: Reverse calculation settings, shows all wares which are reverse calculationable, but have no correct main factory
- Fixed: reverse calculation settings at minerals not active
- Fixed: Long complex names are cutted off at 2 sides
- New ware type: With Asteroids, normal ware, which can be used for creating asteroids, but not for creating mines
- New factory type
- Changes in the database which are made in version 1.3.2 can NOT be used in older versions!

Version 1.1:
Release (english version)
- Scrolling thru lists with the mouse wheel
- Close Windows with the standard buttons (x) top right
- possibility to change button positions
- "Apply Changes" and "Abort" are now in the middle of the window
- Deleting of factories is only possible if "Permit Changes" is activated
- Info-window during calculations

Version 1.01:
- Most Buttons have been replaced by menus
- Size S is now placed, if all other ticks have been removed.
- 3 Input fields at the mineral details were inactive, even if the rest wasn't

Version 1.0:
Release (german version)
- selection of a race for a factory
- possibility to ink factories of a specified race
- possibility to move factories in the list by an index
- check, which tests, if the first resource of every level-r-factory is used in the correct usage (900/hour).
Last edited by -Dusty- on Tue, 1. Apr 08, 18:03, edited 16 times in total.
fud
Posts: 9837
Joined: Wed, 25. Jan 06, 14:26
x3

Re: [Translated] DodaFu's Universal Complex Tool

Post by fud »

Profitlord [KBG] wrote: PS. I'm sorry for my bad english, but I try to translate as good as possible :D
No worries about that. Your English is far better than a lot of people I know that have never left the US. :D
Smart_Bomb
Posts: 532
Joined: Fri, 22. Dec 06, 13:35
x4

Post by Smart_Bomb »

i can only read english lol but coulnt get the program to work

[ external image ]
- Please check out & vote on my X4:F expansion idea thread

[ external image ]
User avatar
-Dusty-
Posts: 2301
Joined: Fri, 30. Dec 05, 20:17
x3tc

Post by -Dusty- »

@Smart_Bomb: Looks like you dont have Java Runtime Environmet installed... Try to download it here and install it. I hope that helps :)
Merroc
Posts: 5920
Joined: Mon, 16. Feb 04, 20:01
x3tc

Post by Merroc »

Seeing as im born lazy, got any screenshots for me? :p
User avatar
-Dusty-
Posts: 2301
Joined: Fri, 30. Dec 05, 20:17
x3tc

Post by -Dusty- »

Sure i've got screens for you. Maybe this one?

[ external image ]

Another one...

[ external image ]

Wanna see more? Just download the tool and use it :P

btw. I don't know your tool, Merroc, but i'll have a look at it :)
Deleted User

Post by Deleted User »

Someone's got a sense of humour:
gotta love the 'Bananas' ware entry :rofl:


Looks very complicated, but interesting,
gonna take me a while to work out what you do with it exactly.
User avatar
-Dusty-
Posts: 2301
Joined: Fri, 30. Dec 05, 20:17
x3tc

Post by -Dusty- »

Dave Toome wrote: Looks very complicated, but interesting
Yeah, you need some time to work yourself in. But if you know the main functions, it's easy to use the tool :)

Btw. yeah, the bananas are funny :D
... There are some more special wares, and even some eastereggs... who finds them first? :D
User avatar
-Dusty-
Posts: 2301
Joined: Fri, 30. Dec 05, 20:17
x3tc

Post by -Dusty- »

Some changes in the database:

-Ore is now next to silicon
-Tractor Beam factory data corrected
-a warename corrected

dowload: here or in the startpost (database only)

***Important***
To update, you have to delete the old files in the folder "data", excepting the options.kto! Then extract the new files in the folder.
User avatar
DodaFu [KBG]
Posts: 3463
Joined: Sun, 28. Sep 03, 16:23
x4

Post by DodaFu [KBG] »

Profitlord [KBG] wrote:***Important***
To update, you have to delete the old files in the folder "data", excepting the options.kto! Then extract the new files in the folder.
Well, just the user.kfd, user.kwd and user.hqr have to be deleted (the base-files will be replaced), and they only exist, if you choosed to save. There will be a feature in future versions which will handle this a better way, so that there whould be no need to delete files...
Smart_Bomb
Posts: 532
Joined: Fri, 22. Dec 06, 13:35
x4

Post by Smart_Bomb »

works now thanks :)
- Please check out & vote on my X4:F expansion idea thread

[ external image ]
User avatar
-Dusty-
Posts: 2301
Joined: Fri, 30. Dec 05, 20:17
x3tc

Post by -Dusty- »

If someone has got some questions, problems, critics, tipps or suggestions for improvement, just post it here - I would be glad about some reviews. :)
Even if someone finds bad mistakes in the translation, send me a PM or contact me via E-Mail, XFire, ICQ or whatever...
User avatar
-Dusty-
Posts: 2301
Joined: Fri, 30. Dec 05, 20:17
x3tc

Post by -Dusty- »

Version 1.3.2 BETA available - see the startpost for details and download.

Btw:
Profitlord wrote:If someone has got some questions, problems, critics, tipps or suggestions for improvement, just post it here - I would be glad about some reviews. Smile
I'm still waiting for reviews... :)
User avatar
-Dusty-
Posts: 2301
Joined: Fri, 30. Dec 05, 20:17
x3tc

anybody out there?

Post by -Dusty- »

I think it's a little strange that there's not one statement to the tool itself, not even bad ones... Nobody seems to have interest in it - but there are many downloads... so some people have used the tool, and I think that someone could give me and DodaFu a little statement, even if it's negative - or would that be a too big work? :wink:

2nd question is related to the first one - is there any interest in the full 19-page-manual? Atm I've only translated the Quickstart-guide, which describes the main functions. But I don't want to translate the full manual if no one reads it... :roll:
User avatar
-Dusty-
Posts: 2301
Joined: Fri, 30. Dec 05, 20:17
x3tc

Post by -Dusty- »

Version 1.9 with a lot of new features and a revised interface is available!

You'll find all details in the startpost. Check it out! :D
jlehtone
Posts: 22488
Joined: Sat, 23. Apr 05, 21:42
x4

Post by jlehtone »

Interface was not intuitive to me. Luckily, that proofs nothing. :oops:

Tried saying: "What do I need for 50 alpha PBE?". It said 10 Cahoona and 5 Beef. Probably an iteration limit. A bit later the textbox for Beef (ie Cattle Ranch) had white text on white background. "unimplemented asteroids" was not thrilling either.

Then again, I'm quite happy with other tools. They just don't offer "I'll haul 500 Crystals off this plant every hour to unspeakable destination" input, which makes this tool interesting.
Goner Pancake Protector X
Insanity included at no extra charge.
There is no Box. I am the sand.
User avatar
-Dusty-
Posts: 2301
Joined: Fri, 30. Dec 05, 20:17
x3tc

Post by -Dusty- »

:o A reply - in this thread? :o thanks a lot! :D
jlehtone wrote:Tried saying: "What do I need for 50 alpha PBE?". It said 10 Cahoona and 5 Beef. Probably an iteration limit. A bit later the textbox for Beef (ie Cattle Ranch) had white text on white background.
Only small errors in the database... I've corrected it quickly - download it again. Thanks for the tip.
Well, if more people would tell us things like this, we could improve the tool - But if nobody does it, we'll never find such errors ;)
jlehtone wrote:"unimplemented asteroids" was not thrilling either.
The asteroids will be implemented in the next version which will come soon.
jlehtone wrote:... which makes this tool interesting.
The DUCT maybe isn't so easy to handle. But it has a lot of features which do more than compensate the bad handling :)

Btw. Don't use the scrollbar. Your CPU will live longer if you scroll with the mouse wheel...
jlehtone
Posts: 22488
Joined: Sat, 23. Apr 05, 21:42
x4

Post by jlehtone »

Profitlord [KBG] wrote:Your CPU will live longer if you scroll with the mouse wheel...
Fascinating. I've heard of such thing (wheel). I've even seen one. I hate it. I certainly don't have one. :P


BTW, Cartman's Komplexprüfer has errors in its asteroid list too (well, at least one), so your next version might really be "Paranid". :wink:
Goner Pancake Protector X
Insanity included at no extra charge.
There is no Box. I am the sand.
User avatar
-Dusty-
Posts: 2301
Joined: Fri, 30. Dec 05, 20:17
x3tc

Post by -Dusty- »

News: Version 2.62 BETA is available!

Details and download-links, as usual, in the Startpost :)
User avatar
DodaFu [KBG]
Posts: 3463
Joined: Sun, 28. Sep 03, 16:23
x4

Post by DodaFu [KBG] »

Here comes Version 2.64BETA1, i hope Profitlord will post details...

DOWNLOAD (It is only the application, because none of the other parts have been changed)

Return to “X Trilogy Universe”