[PROGRAM] X Plugin Manager : V1.87 : 2024-01-06

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

draffutt
Posts: 4293
Joined: Wed, 21. Feb 07, 17:46
x4

Post by draffutt »

@Dragonessa

Most scripts that depend on EMP will need to be updated to reflect the fix to the EMP. LV discovered a problem with EMP and DIGSIN fixed and now PM uses that lastest version.

Unfortunately any script that uses a reference (I.E. >=) after the fixed entry in EMP will need to be updated. As you discovered advanced jumpdrive by Cycrow and LV’s upgrade kit are just examples.
None of us is as smart as all of us. ~Ken Blanchard

TC player bug fixes
Reunion player bug fixes
Nanomad
Posts: 8
Joined: Sat, 19. Jul 08, 12:30
x3tc

Post by Nanomad »

Which is the correct way of fixing the scripts? Opening the script editor and fixing the references? Or changing the ID in the t files?
draffutt
Posts: 4293
Joined: Wed, 21. Feb 07, 17:46
x4

Post by draffutt »

Fixing the references in the scripts
None of us is as smart as all of us. ~Ken Blanchard

TC player bug fixes
Reunion player bug fixes
Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22438
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow »

my scripts should be updated soon to work with the latest version
User avatar
Emerson d'Anite
Posts: 1289
Joined: Tue, 7. Mar 06, 20:24
x4

Post by Emerson d'Anite »

Emerson d'Anite wrote:Your t-file (0901-Lxxx.pck ?) and your TWareT.pck file were corrupted during the install.
I cannot open them like others .pck with 7zip, winrar, nor win-gz.
They were created again every times I use the plugin manager, and corrupted again :evil: (Win-gz say they are not gzip files)
« Il suivait son idée. C'était une idée fixe et il était surpris de ne pas avancer. » :)
Jacques Prévert
Alexfighter
Posts: 37
Joined: Wed, 22. Aug 07, 01:50

Post by Alexfighter »

Quesion:

Once one of those scripts are fixed/updated, would it be necessary to start a new game or, by updating he files, the names of the wares should appear right again?
Nanomad
Posts: 8
Joined: Sat, 19. Jul 08, 12:30
x3tc

Post by Nanomad »

I've manually fixed the scripts and everything is fine (without restarting the game).
Actually, it's quite easy to do. Just open the script editor and fix the references in the scripts (they are easy to spot since the ware name makes no sense)
Alexfighter
Posts: 37
Joined: Wed, 22. Aug 07, 01:50

Post by Alexfighter »

The problem is I don't know exactly what to do; what is to "fix the references".

Is it to edit the scripts and change some ZA_old to ZA_new names becase the names changed?

I actually never messed with the ingame script editor so I'm a bit lost but I'm not afraid of getting into trouble, he he. Although I might need some hints.
Nanomad
Posts: 8
Joined: Sat, 19. Jul 08, 12:30
x3tc

Post by Nanomad »

Nope, just change that ZA_something with the real name of the equipment (just press enter on ZA_ and then select ware and the correct one), save the script and then reload the save.

Acutually, i don't know what happens if you have ZA_something in any of your ships' inventory. I guess you will have to destroy that before changing the scripts (you can use the cheat menu to do that).

Also double check all the other cycrow's scripts since some might be using an incorrect ware (you will notice that easily)
Alexfighter
Posts: 37
Joined: Wed, 22. Aug 07, 01:50

Post by Alexfighter »

Thanks for the hint. I'll try it when I get home. Seems to be a very interesting exercise.
User avatar
Emerson d'Anite
Posts: 1289
Joined: Tue, 7. Mar 06, 20:24
x4

Post by Emerson d'Anite »

Emerson d'Anite wrote:
Emerson d'Anite wrote:Your t-file (0901-Lxxx.pck ?) and your TWareT.pck file were corrupted during the install.
I cannot open them like others .pck with 7zip, winrar, nor win-gz.
They were created again every times I use the plugin manager, and corrupted again :evil: (Win-gz say they are not gzip files)
I have uninstalled the plugin manager.
Then I have cleaned t and script directories (I suppressed all 3rd-party scripts)
Then I have installed plugin manager 1.20

Then t/0901-L033.pck and types/TWareT.pck are always corrupted. :evil:

What can I do ?
« Il suivait son idée. C'était une idée fixe et il était surpris de ne pas avancer. » :)
Jacques Prévert
Shootist
Posts: 1788
Joined: Sat, 10. Sep 05, 02:05
x4

Post by Shootist »

Nanomad wrote:Nope, just change that ZA_something with the real name of the equipment (just press enter on ZA_ and then select ware and the correct one), save the script and then reload the save.

Acutually, i don't know what happens if you have ZA_something in any of your ships' inventory. I guess you will have to destroy that before changing the scripts (you can use the cheat menu to do that).

Also double check all the other cycrow's scripts since some might be using an incorrect ware (you will notice that easily)
Ok. never used the script editor before. Have the ZA_yada_crap_ware problem. and all i did was install the cheat pack and plugin lite. The errors can be edited out? yes?

please tell me how. i can open the editor. i can see a list of scripts. which one(s) do I open?

thanks
draffutt
Posts: 4293
Joined: Wed, 21. Feb 07, 17:46
x4

Post by draffutt »

Emerson d'Anite wrote:Then t/0901-L033.pck and types/TWareT.pck are always corrupted. :evil:

What can I do ?
What excatly are you trying to do with those files? PCK files can come in two modes/types. Deflat mode and PCK mode. 7zip, winrar, win-gz and the like will only open a Defalt mode PCK. If the PCK is in "PCK" mode those programs will not open.
None of us is as smart as all of us. ~Ken Blanchard

TC player bug fixes
Reunion player bug fixes
Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22438
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow »

Shootist wrote:
Nanomad wrote:Nope, just change that ZA_something with the real name of the equipment (just press enter on ZA_ and then select ware and the correct one), save the script and then reload the save.

Acutually, i don't know what happens if you have ZA_something in any of your ships' inventory. I guess you will have to destroy that before changing the scripts (you can use the cheat menu to do that).

Also double check all the other cycrow's scripts since some might be using an incorrect ware (you will notice that easily)
Ok. never used the script editor before. Have the ZA_yada_crap_ware problem. and all i did was install the cheat pack and plugin lite. The errors can be edited out? yes?

please tell me how. i can open the editor. i can see a list of scripts. which one(s) do I open?

thanks
where exactly are you seeing all those wares ?
the cheat scripts dont use any wares, so if thats all u've installed, then its unlikly any of those wares will be in the universe
Shootist
Posts: 1788
Joined: Sat, 10. Sep 05, 02:05
x4

Post by Shootist »

Cycrow wrote:
Shootist wrote:
Nanomad wrote:Nope, just change that ZA_something with the real name of the equipment (just press enter on ZA_ and then select ware and the correct one), save the script and then reload the save.

Acutually, i don't know what happens if you have ZA_something in any of your ships' inventory. I guess you will have to destroy that before changing the scripts (you can use the cheat menu to do that).

Also double check all the other cycrow's scripts since some might be using an incorrect ware (you will notice that easily)
Ok. never used the script editor before. Have the ZA_yada_crap_ware problem. and all i did was install the cheat pack and plugin lite. The errors can be edited out? yes?

please tell me how. i can open the editor. i can see a list of scripts. which one(s) do I open?

thanks
where exactly are you seeing all those wares ?
the cheat scripts dont use any wares, so if thats all u've installed, then its unlikly any of those wares will be in the universe
Thanks for the reply.

I see the wares listed when ST/UT traders are checking to see what to buy. Nomenclature similar to ZA_EMP_MOD_ONLY_??? and ZZ_BLANK
Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22438
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow »

nothing you can do about that.

the ST/UT just cycle through all wares that are available in the game, weather they are used or not.

as those wares are in the data files, it will go through them.

theres really no way around this, u could remove the text, but they will still appear, jsut with ReadText##-#### instead.

only way to remove them would be to remove EMP completly, which would break most scripts
Shootist
Posts: 1788
Joined: Sat, 10. Sep 05, 02:05
x4

Post by Shootist »

Cycrow wrote:nothing you can do about that.

the ST/UT just cycle through all wares that are available in the game, weather they are used or not.

as those wares are in the data files, it will go through them.

theres really no way around this, u could remove the text, but they will still appear, jsut with ReadText##-#### instead.

only way to remove them would be to remove EMP completly, which would break most scripts
Thanks for the reply and your excellent work.

So this is not a life ending bug that will bite me at the worse possible time? C'est bon and thanks.
Dragonessa
Posts: 15
Joined: Sun, 16. Dec 07, 02:23

Post by Dragonessa »

Just did the autoupdate for the new SPK libraries and I now get an exception when trying to run the plugin manager.


************** Exception Text **************
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at CPackages.ReadGameLanguage(CPackages* , Boolean )
at PluginManager.StartUp.Background_Finished(Object Sender, RunWorkerCompletedEventArgs E)
at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
at System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object arg)

This isn't my week for X3. This is my 3rd clean reinstall so far. :lol:

Any way to get plugin manager to recognize existing installed scripts based on the old information? It seems if I remove the old PluginManager folder (from version 1.20) it can start without an exception. Only.... that means it doesn't know the scripts/ships/mod I already have installed. :o At this point I don't think I'm going to reinstall. I'm just going to live with it. (Otherwise I'm never going to actually play the game at this rate. *laughs*)

EDIT: OK, no sooner did I post this than I figured out how to fix it. I just opened the old .dat file and changed the UpdateTime line to: "UpdateTime: 0". Technically I have no idea what that does but PM runs now with no ill effects seemingly. :)
Perpetual Sin
Posts: 5
Joined: Fri, 2. Jul 10, 22:01

Post by Perpetual Sin »

Cycrow you genius! thank u! i love this thing it save lots of time :D
The Terran Empire needs YOU!
tbowen
Posts: 213
Joined: Sat, 11. Jul 09, 00:22
x3tc

Post by tbowen »

I also really appreciate the plugin manager--and the other scripts you have put together for the game. However, the last time (yesterday) I opened the manager it did an automatic update. Of course, not a problem by itself. However, now all of the new "wares" are showing up as za_custom_something-something-something. Do I need to reload all of the scripts?

I did try reading through this thread, and noticed someone talking about renaming the wares through the script-editor. But, I am a little leery of using that--not having the slightest idea what I am doing.

Perhaps this is also helpful--specifically, the wares I am using, and so which should show up are:

boarding transporter extension
advanced jumpdrive
FTL (I think)
advanced thruster (this one I also can't buy, even though I am the highest boron rank)
advanced navigation (though, I think this one still shows up normal)
I think there are one or two others.

Also, the pluginmanager updated to v1.20 (I should probably mention this is the lite version).

Any ideas? Or, any other info you need to help?

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