[SCRIPT] Salvage Claim Software : V1.21 : 20-01-2010

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

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

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

Post by Cycrow » Sun, 17. Jan 10, 18:10

for Custom Wares, the text is held in the spk file itself, as the ware and text files is created by the manager.

it should be called, Salvage Claim Software

using the Plugin Manager 1.10 latest RC should work better

Lit
Posts: 45
Joined: Fri, 17. Feb 06, 15:27
x3

Post by Lit » Sun, 17. Jan 10, 19:54

New ware will be added when I install plugin with Plugin Manager Lite?
But I cant use Plugin Manager Lite for adding new plugins, my TWareT.txt, TShips.txt and more other files totaly modified. Plugin Manager Lite also ask to install Ware Manager first but already install it manualy (extracting .spk and place files in folders).

To install this script (Salvage Claim Software) I use spktool.exe, but I dont found "setup file" for new ware (ware ID in text xml file, Name of ware). Can I install this script manualy?
PS. I have installed EMP-X mod and already have all addition blank-wares.

Also, I cant find utility for modifing this new spk file for translation.

Wating for help and sorry for bad english
***modified***

Nho
Posts: 180
Joined: Fri, 24. Feb 06, 18:19
x3

Post by Nho » Mon, 18. Jan 10, 16:45

Lit wrote:Plugin Manager Lite also ask to install Ware Manager first but already install it manualy (extracting .spk and place files in folders).
Same problem here, instaling with Plugin manager lite it ask me to install Ware manager 1.00. I have Ware manager 1.01 installed. Should I retrograd it?

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

Post by Cycrow » Mon, 18. Jan 10, 17:03

Lit wrote:New ware will be added when I install plugin with Plugin Manager Lite?
But I cant use Plugin Manager Lite for adding new plugins, my TWareT.txt, TShips.txt and more other files totaly modified. Plugin Manager Lite also ask to install Ware Manager first but already install it manualy (extracting .spk and place files in folders).

To install this script (Salvage Claim Software) I use spktool.exe, but I dont found "setup file" for new ware (ware ID in text xml file, Name of ware). Can I install this script manualy?
PS. I have installed EMP-X mod and already have all addition blank-wares.

Also, I cant find utility for modifing this new spk file for translation.

Wating for help and sorry for bad english
This plugin uses the custom wares feature of the plugin manager. It cannot be extracted and installed manually as it needs the plugin manager to create the correct ware files, and the plugin manager scripts to make that ware available.

There is a slight problem with the text entries for the current spk however, but i will release a new one soon that should be working.

as for your files being modified, that shouldn't matter, the point of the plugin manager, is that it creates its file on top of what u already have, weather thats modified, or vanilla.

so if you have a fake patch with your Modified TWareT file in, when u install this, the plugin manager will take your modified TWareT file, add the new wares on the end and create a new one that combines both.

the same is true for TShips.


as for the version with Ware Manager, this is a bug in the 1.00 version of the plugin manager, only way to fix this would be to install 1.00 version of the Ware Manager, or update to the latest RC for 1.10 of the plugin manager.

The full release should be available any day now thou.

as for the extracting and editing, the only available tool to do that is spktool.exe atm, im still working on the new packager, and will be a while before its usable.

spktool can do most things, unfortuatlly no support for modifying custom wares atm.

when you get the translations, just send them too me, and ill add it to the package for you.

althou the next release ill make it easier to do the translations anyways.

for now, jsut wait for the next release, which will be either today or tommorow depending on how much time i get to sort it

Lit
Posts: 45
Joined: Fri, 17. Feb 06, 15:27
x3

Post by Lit » Mon, 18. Jan 10, 21:56

Cycrow wrote:as for your files being modified, that shouldn't matter, the point of the plugin manager, is that it creates its file on top of what u already have, weather thats modified, or vanilla.

so if you have a fake patch with your Modified TWareT file in, when u install this, the plugin manager will take your modified TWareT file, add the new wares on the end and create a new one that combines both.
This sounds good!!
But I dont use fake patch or mods in "mods" folder. All modified files I place in to the forders (t, tex, types, objects, maps, director...).
So, when I enable "modified" mode in latest XPluginManager, I found in "type" folder my old modified TWareT.txt and new TWareT.pck (created by XPluginManager). TWareT.pck contain official TWareT data and EMP-X mod modification, but dont contain my modified wares from old TWareT.txt in type folder.
I think, XPluginManager dont found my modified types/TWareT.txt file and create new TWareT.pck as for unmodified game. :gruebel:
And what game will use types/TWareT.txt or types/TWareT.pck when there are two files? I dont know

You are doing titanic work (not the Titanic, I mean "great" :) ), thank You :wink:
***modified***

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

Post by Cycrow » Mon, 18. Jan 10, 22:46

yeah thats the one thing the plugin manager cant do, it wont read the files in the folders so it'll just replace it with its own.

if you have have any normal mods running, then it might be easier just to add your modified files to a normal mod and enable it in the normal way.

this would mean ur files will always be used over any fake patches u might have, and wont interfer with the plugin managers file.

if you use the X3 Editor to mod your files, then it can read/write files inside mods just the same as if they were in folders

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

Post by Cycrow » Wed, 20. Jan 10, 18:37

Updated to 1.21.

this should fix the problem with the Wares and Texts

Best used with the latest RC of the Plugin Manager Lite, 1.10 RC3

mrbooks
Posts: 11
Joined: Tue, 15. May 07, 01:53

Post by mrbooks » Wed, 3. Feb 10, 17:47

Hi Cycrow, :)
First I wish to say I appreciate all you've done to expand the X Universe. I really really do! My question: Are there significant differences in X3R ships versus X3TC ship packages? I dont doubt the likelyhood in the larger ships or stations that can be boarded, but what about the smaller ships? Can a X3R ship package be loaded into an X3TC game? I had some cool star trek ship models and I'm bummed it doesnt seem I can have my own Voyager in X3TC. -Mrbooks

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

Post by Cycrow » Thu, 4. Feb 10, 20:47

there are some differences between X3R and TC ships, the main one being the weapons the ship/turrets can use, as the games have different weapons, using a ship set to X3R weapons might end up having a strange weapon set in TC.

the new XSP files can store weapon masks for both games however, and the XSP Converter allows you to convert the old xsp files to use this, and set the weapons masks for each games.

ships from either game can be loaded however, just make sure ur using the latest version of the plugin manager lite

corbosman
Posts: 50
Joined: Wed, 30. Dec 09, 00:32

Post by corbosman » Fri, 26. Feb 10, 22:49

Im having some problems getting this plugin to work. Im using all the latest versions, and im seeing the Salvage Claim Software in the Station Info (although for 4,512,076), but when I try to buy it I dont see it.

Am I forgetting something?

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

Post by Cycrow » Sat, 27. Feb 10, 16:10

did it appear to buy it, ie, did you money go down, etc ?

perhaps your looking in the wrong place for it ?
it should be in the shields cargo hold, in the freight list

corbosman
Posts: 50
Joined: Wed, 30. Dec 09, 00:32

Post by corbosman » Sat, 27. Feb 10, 16:52

No, what I mean is. I can't even buy it. It's not in the list of stuff I can buy. If I look at the station list itself, I can see it for 4 million+ , but if I then want to trade, it's not in the list of items to trade.

User avatar
RLHDLW
Posts: 179
Joined: Thu, 29. Apr 04, 13:18
x3tc

Post by RLHDLW » Sun, 14. Mar 10, 01:14

I have reinstalled X3TC 2.5 and also re-installed latest versions of all scripts I had before.
Only thing that doesn't work yet is Salvage Claim Software. I see "SS-Ware_NEW_9" both in my ships and in Teladi EDs (~95k), but it is dysfunctional.
RLHDLW
red' net, spui

User avatar
AtomicDryad
Posts: 209
Joined: Sat, 19. Jan 08, 01:04

Post by AtomicDryad » Mon, 22. Mar 10, 15:02

Ditto. Here's a quick fix that gives System Override Software the same functionality. Find what looks similar and only change what I've put in bold:

in setup.cycrow.scs
* $ware = [THIS]->call script 'plugin.manager.getware' : ID='SS_WARE_CY_SCS'
$ware = {System Override Software 5773}

if $ware
$text = read text: page=$page.id id=1

...snip...

$eq = {Equipment Dock 2075}
* = [THIS]->call script 'plugin.waremanager.add' : a.stationType=$eq a.race={Teladi} a.ware=$ware a.amount=-1 a.maintain=[TRUE]
end
return null

There's also a bug (from what I can tell) that speed is never 0 OOS. Since I'm jumping a chocaro around to snag stuff whilst lazily reclining in my TL's Comfy Chair(tm) I did this to plugin.scs.valid to fix the script OOC:

* $Speed = $target->get current speed
* skip if $Speed == 0
* return [FALSE]

return [TRUE]


FYI, as far as what's causing the ware issue, I can't find 'SS_WARE_CY_SCS' in the TWareT.pck in plugin manager's dat file.

Uzza
Posts: 15
Joined: Mon, 13. Apr 09, 15:03
x3tc

Post by Uzza » Sat, 10. Apr 10, 21:01

Hello, I have an issue with this script when combined with the Military Base Response revamp script.

If I use the Salvage Claim Software while being too close to one of ships created by that script, they will see it as an illegal act and turn red to me.

I'm not sure if it's your script or the other, but it's annoying when I want to salvage ships in claimed space.

Other than that I just love this. Claimed a Kha'ak Destroyer by combining SCS with the NPC Bailing Addon. :twisted:

willypokorny
Posts: 607
Joined: Fri, 28. Aug 09, 09:27
x4

Post by willypokorny » Mon, 10. May 10, 15:37

Hi,

I've a question for you, Cycrow:

Will it work when I'll set the name ID of one of unused software and replace the ID of it in those scripts?

User avatar
Familiar
Posts: 244
Joined: Wed, 5. May 10, 09:26
x3tc

Post by Familiar » Mon, 24. May 10, 15:25

Wares Manger is what behind the link...
Can it be fixed?

Wilson-MG-
Posts: 73
Joined: Sat, 7. Aug 10, 07:47
x4

Post by Wilson-MG- » Sat, 7. Aug 10, 07:52

corbosman wrote:No, what I mean is. I can't even buy it. It's not in the list of stuff I can buy. If I look at the station list itself, I can see it for 4 million+ , but if I then want to trade, it's not in the list of items to trade.
I'm having the same issue.

EDIT: TECSG informed me his Suite salvages cap ships and it's working for me.

If I uninstall this script using the plugin manager I shouldn't have to go back to an older savegame, correct?

Ghostrider[FVP]
Posts: 3262
Joined: Wed, 6. Nov 02, 20:31
x3ap

Post by Ghostrider[FVP] » Sun, 12. Sep 10, 02:10

Hello all,

sorry i've some trouble .... i can't find SCS on any teladi equipment docks ... where is my mistake?


I know this script from X3R and its run good..but now? plz.. help and sorry my bad english ;)
Föderation Vereinter Planeten -=)FVP(=-
Since 1998... join the future! X3-The Sonen
Image
Ghostrider's X-Universum [INDEX]Lucikes Scripts & Mods

Botpwned
Posts: 83
Joined: Sat, 27. Mar 10, 06:40
x3tc

Post by Botpwned » Mon, 13. Sep 10, 06:14

@Ghost: You might wanna try using the cheat menu and try finding the ware in the list of all wares if you can't find it then it is not installed properly.
If your best is not good enough why even try?
SEE THIS, SEE THIS!!! YOU BEEN TROLLED!

Post Reply

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