Bonus Pack (CAG/CLS) and EST Compatibility Question (Pilots)

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

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

HighXplosive
Posts: 28
Joined: Tue, 7. Dec 10, 00:04

Bonus Pack (CAG/CLS) and EST Compatibility Question (Pilots)

Post by HighXplosive »

Done some research, couldn't find an up to date answer to this.

Just to be clear what copies of CAG/CLS/EST I have installed, I have the latest bonus back as detailed here (http://www.egosoft.com/download/x3tc/bonus_en.php) composed of, inter alia, CAG and CLS.

I also have EST installed, but note that it was last updated in 2009.

I have a read a message by Lucike (P2, Post 3) here (http://forum.egosoft.com/viewtopic.php? ... c&start=15) that confirmed that CAG, CLS and EST pilots are interchangeable.

However that cofirmation is out of date, I note that the post was dated 2008 AND EST has not been updated since 2009 AND the bonus pack and other updates made some changes to CAG and CLS. Having no real knowledge of the nature of the changes, my question therefore is:

Can anyone confirm if pilots are still compatible between the bonus pack version of CAG/CLS and EST (2009)?

Thanks in advance.
User avatar
jocan2003
Posts: 629
Joined: Tue, 6. Mar 07, 17:48
x4

Post by jocan2003 »

I cannot confirm it but after reading some of his script i would say there is a big chance that it wont affect anything.

CAG pilot can jump into EST and keep his rank.

If you were talking about version number upgrading from previous version i really dont know

Edit: wrote cant when i should have said can ...
User avatar
apricotslice
Posts: 14163
Joined: Sun, 16. May 04, 13:01
x4

Post by apricotslice »

No idea, but I cant see egosoft removing that feature for the bonus pack. The likelihood of introducing bugs messing with that is not worth the effort.
User avatar
Saetan
Posts: 3223
Joined: Wed, 1. Feb 06, 19:26
x4

Post by Saetan »

First, just to make sure:

Last version of CAG at time of this posting: 3.3.07 - 10th Nov. 2010
Last version of CLS at time of this posting: 3.3.03 - 28th Nov. 2010
Last version of EST at time of this posting: 3.3.02 - 19th Nov. 2010

Last version of Befehlsbibliothek "Libraries" at time of this posting: 3.5.03 - 18th Nov. 2010

... if the English topics seem to be out of date, just check out the German ones which are directly linked from each topic (just hit the flag). There are no separate downloads for different languages, they are all the same.

Also, you could download Lucikes Script Collection and use that one instead.


Second:
All pilots by Lucike are interchangeable. If they are of the same kind of job (traders vs. militaries) they even keep their ranks they've already got.

That's also the case for signed and non-signed versions of the script.


Third:
Why using the CAG and CLS of the bonus-pack, if you are already *modified*? The non-signed versions of the CAG and CLS are newer and therefore may have more features and also additional bug fixes.


Best regards
Saetan
HighXplosive
Posts: 28
Joined: Tue, 7. Dec 10, 00:04

Post by HighXplosive »

Thanks for that info.

With regards to why I'm using the bonus pack, I assumed the pack was being updated.

I'm assuming I can simply overwrite the old scripts if I extract the zip over the TC dir?
User avatar
Saetan
Posts: 3223
Joined: Wed, 1. Feb 06, 19:26
x4

Post by Saetan »

HighXplosive wrote:I'm assuming I can simply overwrite the old scripts if I extract the zip over the TC dir?
Normally: Yes, that should be enough.

But you may keep a backup, as your versions (at least the one for the EST) are very old. If direct update fails, use your back-ups to uninstall the scripts, delete the old files (there's a batch file for it) and do a fresh install of the scripts.
HighXplosive
Posts: 28
Joined: Tue, 7. Dec 10, 00:04

Post by HighXplosive »

Cool. I'll just risk it. Not too fussed about starting a new game with these good scripts.

With regards to the collection here (http://forum.egosoft.com/viewtopic.php? ... 78#3188578) Saetan, theres a couple of scripts that lack an English support topic so I haven't the faintest clue what they do or any useful documentation, but judging from the quality of the other scripts, they are well worth having.

Anyway you can assist? Not expecting full blown documentation of course (though it would be nice).
User avatar
Saetan
Posts: 3223
Joined: Wed, 1. Feb 06, 19:26
x4

Post by Saetan »

Sure ... I'm to lazy to make new manuals (or to keep some of the old ones up to date ;-)) but I still assist as good as I can.

If you have questions, feel free to ask in their respective topics. If a script doesn't have an own English one, just ask in the topic for the collection.
HighXplosive
Posts: 28
Joined: Tue, 7. Dec 10, 00:04

Post by HighXplosive »

No specific questions as such, but the collection first post lacks quick summaries of the German Support Topic only scripts. With a quick summary to each (as you already have for the others), I'm sure players can work out what it does themselves (provided the in-game GUI doesn't start spouting German words!). The summaries themselves, like the others, can still be abstract enough to be accurate with updates.

Yeah. Documentation is a royal pain in the tits.
User avatar
Saetan
Posts: 3223
Joined: Wed, 1. Feb 06, 19:26
x4

Post by Saetan »

HighXplosive wrote:No specific questions as such, but the collection first post lacks quick summaries of the German Support Topic only scripts.
I didn't add them, because I simply copied them from the English topics. I added the missing ones now too.
HighXplosive
Posts: 28
Joined: Tue, 7. Dec 10, 00:04

Post by HighXplosive »

Cheers.

Got a problem with the Economy and Supply trader GUI. Haven't accessed CLS or CAG GUIs yet so I don't know if they have the same problem.

The wrong strings seem to be appearing at certain places on the menu.

Where it should display home sector (just under the start trader text), the text "Product supply list" is displayed instead. In turn, where it should say "product supply list", it says "Restore defaults".

The actual "Restore defaults" at the end of the list is correct though.

I can still access the config functions of what the text should represent, so clicking on "Restore defaults" where it should instead say "Product suppy list" still takes me to the product supply list config.

I have no idea where or how the text is stored for the GUI, but I think it may be a pointer problem i.e. the script is pointing to a placeholder of the text and somewhere long the line of updating from the old EST copy and latest EST copy its mucked up.

This shouldn't be the case though: I used the uninstall scripts, waited in game then ran the uninstall batches according to the instructions on the page

Any ideas Saetan?
User avatar
Saetan
Posts: 3223
Joined: Wed, 1. Feb 06, 19:26
x4

Post by Saetan »

Did you get the messages (for each freigther one) that the script has been stopped due to the update?

This should always happen automatically, when a freighter finishes it's actual duty and doing an automatic restart after. Else you will have to do it manually.

Also, be sure that all files of the scripts have been replaced.
HighXplosive
Posts: 28
Joined: Tue, 7. Dec 10, 00:04

Post by HighXplosive »

Depends what you mean messages that the script has stopped: I got messages from each freighter saying they have completed their orders and are now needing new orders (from freighters that were previously running on old EST).

I did not however get any messages specifically stating that they had 'completed' their orders because of the script being updated, if thats what you mean.

I've definitely replaced the scripts, as I unzipped them over the TC dir and overwrote all files that already exist (therefore updating any files that are still relevent).

I did get messages saying the scripts had uninstalled when I was doing the uninstall process, before reinstalling them by unzipping the updated scripts files over it.

I am using Dockware Manager, CAG, CLS and EST plus the Libraries.

EDIT:

I have a theory: it may be latent data from the old EST pilots. I'll fire a pilot, then start the EST again and see if it fixes this GUI text error. Doubt this is the case.

Update:

Nope. That wasn't it.
User avatar
Saetan
Posts: 3223
Joined: Wed, 1. Feb 06, 19:26
x4

Post by Saetan »

HighXplosive wrote:Depends what you mean messages that the script has stopped: I got messages from each freighter saying they have completed their orders and are now needing new orders (from freighters that were previously running on old EST).
That was the message, I've meant. You did the update process via the uninstall-method? Did you copy the uninstall-script into the script-directory first, as it's described in their respective directories?


Anyways ... I think, the problem is caused due to mismatching versions of the script files and script language files.


This can be, as the freigther is running old versions of the script files (but the message above means, that the script was stopped and the script files got re-read again because of the restart.) At least, the script recognized, that there are newer script files else it wouldn't have re-started. Language files or some script files may be still a problem though.

That means for me, that there are still old script files ... or old language files.
Do you use Win7 (or Vista)? If so, extract the script files to an directory outside the protected "program files"-directory (maybe desktop or so) and copy them later by hand into the X3:TC directory. It seems to me, that some programs have problems to overwrite files in protected system directories, even if you did allow that.
HighXplosive
Posts: 28
Joined: Tue, 7. Dec 10, 00:04

Post by HighXplosive »

I did indeed copy the uninstall scripts and then let them register in game (message log updates saying each script has uninstalled individually). Then saved the game and quit, then done batch removals. Then I unzipped the updated scripts onto the TC dir.

I notice a new feature that wasn't present in the old EST: Special Equipment. So the script has updated in game.

I do use Vista. Note that I have disabled UAC (User Account Control): that stupid thing in Vista that would prompt you everytime you clicked anything even mildly system critical.

Heres how I replaced the script files. I didn't use an external ZIP program like 7Zip. Vista comes with a way of opening ZIP files as if you were browsing a folder.

I simply opened the zip, selected all the folders in the zips, right clicked and copied all the folders (scripts, t, etc) and pasted them directly into the TC directory. Any prompts of merging folders or overwriting files I simply allowed.

This would mean every file within those zips for each script (CAG, CLS, etc) should have correctly overwrote any old files at the correct locations (since the folder structure is preserved by me copying directly the folders of the zips).

Merging folders in Vista preserves the destination and source folder.
User avatar
Saetan
Posts: 3223
Joined: Wed, 1. Feb 06, 19:26
x4

Post by Saetan »

I'm out of ideas ... but I would be interessted into your savegame. If you don't mind, I would like to get your savegame including scripts- and t-directories. Even mod-files, if you've got any.

Also completly independent if you want to try a new game or not ... I'm just to curious about your problem now.

If you want to make your savegame available to me, you can load it to a file-hoster and send me a link ... or also send it direct via mail - saetan@gmx.eu.
HighXplosive
Posts: 28
Joined: Tue, 7. Dec 10, 00:04

Post by HighXplosive »

Sent. save game, t, script, mod and script.delete, script.uninstall, etc dirs included.

The save game uses CAG, EST, CLS, Dockware Manager, Missile Defender Mosquito, Turbo Boost (from Bonus Pack) and the MARS Fire turret scripts, all included. Included the types folder because it came with MARS.

You'll load into a Skiron parked at a dock. Multiple messages will come through (the ship waiting orders due to EST uninstall). Bare in mind, this is the savegame just after uninstalling, saving, reinstalling the scripts, and then starting up just after reinstalling.

If you want other saves, just ask.

As far as my game is concerned, if I initiate the GUI, the text is wrong in the places I outlined earlier.

Functionality seems fine.

Is it possible that because work has continued on the script that Lucike forgot to update the text content placeholders for the English language translation?

As far as starting a new game is concerned, is there a way to rank up to Trader immediately to so all I need to do is purchase the Nav, Trade and Trade Mk2 software on the Humble Merchant start, since EST requires you to be trader rank to initiate, so I can test whether a new game fixes this textual error.
User avatar
Saetan
Posts: 3223
Joined: Wed, 1. Feb 06, 19:26
x4

Post by Saetan »

HighXplosive wrote:Is it possible that because work has continued on the script that Lucike forgot to update the text content placeholders for the English language translation?
I did a first sight on the language files ...

... your language files:
English:
<t id="1013">Restore defaults</t>
<t id="1014">Product lists for supply</t>
<t id="1015">Starting sector \(%s\)</t>

German:
<t id="1013">Standard wiederherstellen</t>
<t id="1014">Produktlisten für Versorgung</t>
<t id="1015">Startsektor \(%s\)</t>
... language file of old EST (3.2.05 - 12th October 2009)
English:
<t id="1012">Restore defaults</t>
<t id="1013">Product lists for supply</t>
<t id="1014">Starting sector \(%s\)</t>
... that shows that your language file got replaced correctly, and there is no such update mistake. Also I can confirm your error, without finding a way to solve it.

I'll point Lucike to that problem, maybe he has a solution.
Last edited by Saetan on Wed, 8. Dec 10, 03:39, edited 2 times in total.
HighXplosive
Posts: 28
Joined: Tue, 7. Dec 10, 00:04

Post by HighXplosive »

I'm assuming those are the text content files as opposed to the pointers.

At first glance, it seems the 'pointer' to ID 1014 (Starting Sector <sectornameplaceholder>) is now incorrectly pointing at ID 1014 (Product lists for supply) in the new files, and the pointer is also set to the old ID 1013 (Product lists for supply) which is now ID 1013 (Restore Defaults).

If this is the case, this corresponds to the string errors in the GUI. Interestingly, the actual "restore defaults" function in the GUI has the correct string and correct function, as described earlier: even though, if we are to follow the pattern, it may be pointing to an 'ID 1011'?
User avatar
Saetan
Posts: 3223
Joined: Wed, 1. Feb 06, 19:26
x4

Post by Saetan »

Lucike answered today ... he'll take a further look into your problem. But there's also a confirmed error in the new language file (reset to standard instead of wares list), which will be corrected in the next version. With knowlegde of that error I can say:

Your problem with "mismatching pointers" exists only on old freigthers ... if you buy new ones, their menu is correctly shown, except for above mentioned mistake.

Best regards
Saetan

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