[SCRIPT] X3TC Cheat Package : v1.70 : Updated: 20/03/2021 (TC/AP/FL Compatible)

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

Post Reply
shanjoo
Posts: 9
Joined: Mon, 24. Apr 17, 18:08

Cheat package

Post by shanjoo » Mon, 24. Apr 17, 18:14

whenever I try to download and open your mod(as a zip file), I get a popup notice saying it don't recognize it as a valid archive.
do you have it available for spk download?

User avatar
X2-Illuminatus
Moderator (Deutsch)
Moderator (Deutsch)
Posts: 24949
Joined: Sun, 2. Apr 06, 16:38
x4

Post by X2-Illuminatus » Mon, 24. Apr 17, 18:27

Both downloads linked in the opening post are already spk files. If your browser tries to save them as a zip file, then that's the problem you have to look into.

See also what interal wrote a couple of posts above.
Nun verfügbar! X3: Farnham's Legacy - Ein neues Kapitel für einen alten Favoriten

Die komplette X-Roman-Reihe jetzt als Kindle E-Books! (Farnhams Legende, Nopileos, X3: Yoshiko, X3: Hüter der Tore, X3: Wächter der Erde)

Neuauflage der fünf X-Romane als Taschenbuch

The official X-novels Farnham's Legend, Nopileos, X3: Yoshiko as Kindle e-books!

shanjoo
Posts: 9
Joined: Mon, 24. Apr 17, 18:08

Post by shanjoo » Mon, 24. Apr 17, 18:39

X2-Illuminatus wrote:Both downloads linked in the opening post are already spk files. If your browser tries to save them as a zip file, then that's the problem you have to look into.

See also what interal wrote a couple of posts above.
I figured it out. just had to replace .zip with .spk and it worked just fine.

Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22197
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow » Tue, 25. Apr 17, 10:55

did you try to download and open via the browser ?

or did it happen just be clicking on the link ?

i did set the web server to advertise the files as zip archives to try to prevent some web browsers from opening them up as text.
but they should still download as spk files

interal
Posts: 9
Joined: Sun, 22. Apr 12, 22:41
x3tc

Post by interal » Fri, 28. Apr 17, 11:44

another way to install the spk is to copy the link and paste it in open file inside the plugin manager thats how i do it

crycrow why dont u use mime types for it? the octet stream should do fine?

AddType application/octet-stream .spk

or google "htaccess octet stream"

Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22197
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow » Fri, 28. Apr 17, 13:47

i did use a mime type, but i used the Archive one.

i will try octet-stream

xsnoopdogx
Posts: 34
Joined: Mon, 28. Nov 05, 21:37
x3tc

Post by xsnoopdogx » Tue, 9. May 17, 17:59

Hi cycrow, after downloading your package I had a Problem with the installing progres.I can't open,unzip or install it.

I try to translate the german error text.

"E\SteamLibary\steamapps\common\x3 terran conflict\addon\cheatcollectionpackageap-v1.62-18.12.2011.zip >the Archive is maybe an unknown Format or it's damaged<"

can you help me please?

User avatar
The Q
Pancake Award Winner 2017
Posts: 578
Joined: Fri, 20. Nov 09, 21:02

Post by The Q » Tue, 9. May 17, 18:34

The file which you can download in the opening post is not a .zip file, but an .spk file. As Cycrow explained above, he set his webserver to advertise the file as .zip file to prevent browsers from opening it directly. Try changing the file extension from .zip to .spk. Then you should be able to install it using the Plugin Manager.
Morkonan, Emperor of the Unaffiliated Territories of the Principality of OFF-TOPIC, wrote:I have come to answer your questions! The answers are "Yes" and "Probably" as well as "No" and "Maybe", but I'm not sure in which order they should be given.
xkcd: Duty calls

interal
Posts: 9
Joined: Sun, 22. Apr 12, 22:41
x3tc

Post by interal » Tue, 9. May 17, 18:46

guessing crycrow didnt have the time yet to fix it
theres no need for zip once he uses octet-stream in his http server config for the spk files

all we can do i the mean time is rename .zip to .spk untill its fixed

xsnoopdogx
Posts: 34
Joined: Mon, 28. Nov 05, 21:37
x3tc

Post by xsnoopdogx » Tue, 9. May 17, 19:09

hm ok those things I had done before and understaqnd as well but how I could change zip in spk??

interal
Posts: 9
Joined: Sun, 22. Apr 12, 22:41
x3tc

Post by interal » Tue, 9. May 17, 19:21

goto folder options in explorer and untick hide known extensions
then just rename the file

Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22197
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow » Wed, 10. May 17, 19:56

should hopefully be working now

interal
Posts: 9
Joined: Sun, 22. Apr 12, 22:41
x3tc

Post by interal » Fri, 12. May 17, 17:02

works like a charm thx
just need to cleanup 100 forum pages hehe :P

starscape678
Posts: 1
Joined: Tue, 18. Jul 17, 14:51
x3fl

Post by starscape678 » Sat, 22. Jul 17, 15:02

Hey Cycrow, is there a way to use your cheat menu to add lucike's pilots to ships? If so, is it possible to give them experience?

Also, thank you _SO MUCH_ for this. This is really the most useful utility I've had in testing scripts, mods and general gameplay concepts.

Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22197
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow » Tue, 25. Jul 17, 10:53

Can't be done via the cheat menu itself, could be done via a simple script.
Experience is most likely a local variable, so you just need to find what it is and use a script to set it

User avatar
X2-Illuminatus
Moderator (Deutsch)
Moderator (Deutsch)
Posts: 24949
Joined: Sun, 2. Apr 06, 16:38
x4

Post by X2-Illuminatus » Tue, 25. Jul 17, 11:08

@starscape
In this post Lucike posted the script code to create a union pilot with maximum skills.
Nun verfügbar! X3: Farnham's Legacy - Ein neues Kapitel für einen alten Favoriten

Die komplette X-Roman-Reihe jetzt als Kindle E-Books! (Farnhams Legende, Nopileos, X3: Yoshiko, X3: Hüter der Tore, X3: Wächter der Erde)

Neuauflage der fünf X-Romane als Taschenbuch

The official X-novels Farnham's Legend, Nopileos, X3: Yoshiko as Kindle e-books!

User avatar
mr.WHO
Posts: 8534
Joined: Thu, 12. Oct 06, 17:19
x4

Post by mr.WHO » Thu, 2. Nov 17, 15:43

I have a question regarding the ships spawned by the cheat sript.

No matter what equipment I set (e.g. Smart or Extended), some ships are spawned without weapons or only half weapon banks filled.
I have to then manually cheat missing weapons to the ship.

Is this a fault of the mod that I use (Star Wars mod)?
Or Cheat script fault?
Or AP spawn logic fault?

occ42
Posts: 5
Joined: Wed, 13. Jul 16, 02:19

Post by occ42 » Thu, 23. Nov 17, 09:29

I can't get it to show up in the command console, or the interface controls settings menu. I enabled the script editor, and that does show up, but I can't find the script. Could it be that I have the Steam version of the game?

Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22197
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow » Thu, 23. Nov 17, 10:49

mr.WHO wrote:I have a question regarding the ships spawned by the cheat sript.

No matter what equipment I set (e.g. Smart or Extended), some ships are spawned without weapons or only half weapon banks filled.
I have to then manually cheat missing weapons to the ship.

Is this a fault of the mod that I use (Star Wars mod)?
Or Cheat script fault?
Or AP spawn logic fault?
It doesn't generally fill up all the weapons bays, as most ships don't have the power for firing all weapons. The smart routine just picks from more types of weapons, extended refers to the extra ship equipment.

Also note that the weapon selection routines are based on the standard lasers, so mods that change them may not use the correct ones

Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22197
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow » Thu, 23. Nov 17, 10:53

occ42 wrote:I can't get it to show up in the command console, or the interface controls settings menu. I enabled the script editor, and that does show up, but I can't find the script. Could it be that I have the Steam version of the game?
Most likely problem is that they have installed correctly (or to the wrong place)
In the script editor, view the available scripts and scroll down to the bottom, there should be some starting with z cheat.cycrow
If they are not there, then its not installed correctly.
This couldn't be because you havnt selected the correct game from the drop down menu, or that steam is in program files and windows is blocking it.
For the layer, running with administrator rights should fix it

Post Reply

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