EnglishGermanFrenchRussianPolishItalianSpanish
Log inRegister
 
[Script] - Logain Industries Capital Ship Energy Cell Generator (CSecG) v2 12/09/2010
Post new topic Reply to topic Goto page Previous  1, 2, 3 ... 9, 10, 11, 12  Next
View previous topic :: View next topic
Author Message
General_Failure





Joined: 25 Dec 2006
Posts: 50 on topic

Thank you for registering your game
PostPosted: Thu, 17. May 12, 21:15    Post subject: Reply with quote Print

So, I have a few orbital weapons platforms I threw a few of these in, however, is there -any- other mod that can help me automate them in shipping the e-cells to a base? Cause I'm not seeing anything really. And with freight drones you have to do it manually, and heck at that point it's quicker just to beam wares between ships then have them dock.

Other than that, I like it, just wish I could put it to better use! Unless I'm just missing something here.

Back to top
View user's profile Send private message
Szynszyl





Joined: 02 Jan 2009



PostPosted: Wed, 6. Jun 12, 17:44    Post subject: Reply with quote Print

Hello

At first i want sorry for my bad english. I have problem with script. I use the XRM and few other scripts compatible with mod. I have lastest ware manager but i dont have energy cell generator on peoduct list in docks. In AL consol I do not have the switch that turns script on. I instaled script manual and with Plugin Manager. What I have to do the script started to work

Back to top
View user's profile Send private message
Logain Abler





Joined: 31 Oct 2005
Posts: 2195 on topic
Location: Norwich, UK
Thank you for registering your game
PostPosted: Wed, 6. Jun 12, 21:06    Post subject: Reply with quote Print

Szynszyl wrote:
Hello

At first i want sorry for my bad english. I have problem with script. I use the XRM and few other scripts compatible with mod. I have lastest ware manager but i dont have energy cell generator on peoduct list in docks. In AL consol I do not have the switch that turns script on. I instaled script manual and with Plugin Manager. What I have to do the script started to work


If you can't turn it on via the AL Plugin option then it won't work, you must have some files missing.

There should be two file for the AL Plugin called something like:
al.LI.CSecG.event
al.plugin.LI.CSecG.register

LA


_________________
Freight Distribution Network|Strategic Sector Defence Network|Production Modules|Capital Ship Energy Cell Generator
Back to top
View user's profile Send private message Send e-mail
DrBullwinkle





Joined: 17 Dec 2011
Posts: 3351 on topic
Location: Boston, USA
Thank you for registering your game
PostPosted: Wed, 6. Jun 12, 21:15    Post subject: Reply with quote Print

Logain Abler wrote:
If you can't turn it on via the AL Plugin option then it won't work, you must have some files missing.


IIRC, the required ware for CSecG is bad. I never looked closely at exactly what was wrong with it... I just changed the required ware to something standard, and CSecG worked after that.

There are many posts about the same issue in the last few pages of this thread.


_________________
Peace through superior firepower

Bullwinkle's List | Marine Repairs and Training | Mobile Mining Mk2 | Drone Carrier Software (DCS) | Ship Tricks: Mini-Guides (with Video)
Back to top
View user's profile Send private message Visit poster's website
Szynszyl





Joined: 02 Jan 2009



PostPosted: Wed, 6. Jun 12, 22:19    Post subject: Reply with quote Print

Quote:
If you can't turn it on via the AL Plugin option then it won't work, you must have some files missing.

There should be two file for the AL Plugin called something like:
al.LI.CSecG.event
al.plugin.LI.CSecG.register

LA


Yes i dont have this filses, but .spk does not have these files. I extract spk file with spk explorer made by cycrow.

Quote:



IIRC, the required ware for CSecG is bad. I never looked closely at exactly what was wrong with it... I just changed the required ware to something standard, and CSecG worked after that.


Sorry but i not understand, my english is too bad. What is IIR??

Back to top
View user's profile Send private message
DrBullwinkle





Joined: 17 Dec 2011
Posts: 3351 on topic
Location: Boston, USA
Thank you for registering your game
PostPosted: Wed, 6. Jun 12, 23:10    Post subject: Reply with quote Print

Logain Abler wrote:
There should be two file for the AL Plugin called something like:
al.LI.CSecG.event
al.plugin.LI.CSecG.register


Unfortunately, the author has given some bad information here. CSecG Version 2 is not an Artificial Life Plugin, so there are no al.* files.

In my experience, this is the best version of CSecG, but it does require fixing the required ware. I am sure that Logain Abler will soon fix the installation files.

Quote:
What is IIRC??


Sorry... IIRC = "If I Recall Correctly". It is not so much English as it is an Internet abbreviation.


_________________
Peace through superior firepower

Bullwinkle's List | Marine Repairs and Training | Mobile Mining Mk2 | Drone Carrier Software (DCS) | Ship Tricks: Mini-Guides (with Video)
Back to top
View user's profile Send private message Visit poster's website
Szynszyl





Joined: 02 Jan 2009



PostPosted: Thu, 7. Jun 12, 10:39    Post subject: Reply with quote Print

So as I understand it, the current file .spk is not valid and hence my problem? And for now I can not fix it?

Back to top
View user's profile Send private message
DrBullwinkle





Joined: 17 Dec 2011
Posts: 3351 on topic
Location: Boston, USA
Thank you for registering your game
PostPosted: Thu, 7. Jun 12, 14:53    Post subject: Reply with quote Print

Szynszyl wrote:
So as I understand it, the current file .spk is not valid and hence my problem?


Yes.

Quote:
And for now I can not fix it?


If you are familiar with the script editor, then you can change the required ware in two places:

Setup.LI.CSecG:
Code:

set script command upgrade: command=$cmd1  upgrade={?}


Plugin.LI.CSecG.Task:
Code:

  $check = [THIS]->get true amount of ware {?} in cargo bay


Change the ware to something standard, such as Navigation Command Software Mk1, or maybe Special Command Software. The ware doesn't matter, as long as it is something that your installation recognizes.

Of course, the ship running CSecG must have the same ware installed.

(While you are changing things, the line in .Task should really be "get amount of ware..." *without* the "true". Some ships have wares built-in. The "true" will *not* work for those ships. I know... it seems backwards.)


_________________
Peace through superior firepower

Bullwinkle's List | Marine Repairs and Training | Mobile Mining Mk2 | Drone Carrier Software (DCS) | Ship Tricks: Mini-Guides (with Video)
Back to top
View user's profile Send private message Visit poster's website
Szynszyl





Joined: 02 Jan 2009



PostPosted: Thu, 7. Jun 12, 23:31    Post subject: Reply with quote Print

Unfortunately, I'm lousy at programming, maybe someone could convert these files to me?

Back to top
View user's profile Send private message
DrBullwinkle





Joined: 17 Dec 2011
Posts: 3351 on topic
Location: Boston, USA
Thank you for registering your game
PostPosted: Thu, 7. Jun 12, 23:34    Post subject: Reply with quote Print

I would be happy to post my fixed copy, but I keep thinking (hoping) that Logain Abler will show up any minute with an official fix.

@Logain Abler: If you are busy, do you want me to post a fix? At least temporarily?


_________________
Peace through superior firepower

Bullwinkle's List | Marine Repairs and Training | Mobile Mining Mk2 | Drone Carrier Software (DCS) | Ship Tricks: Mini-Guides (with Video)
Back to top
View user's profile Send private message Visit poster's website
Logain Abler





Joined: 31 Oct 2005
Posts: 2195 on topic
Location: Norwich, UK
Thank you for registering your game
PostPosted: Fri, 8. Jun 12, 23:30    Post subject: Reply with quote Print

DrBullwinkle wrote:
I would be happy to post my fixed copy, but I keep thinking (hoping) that Logain Abler will show up any minute with an official fix.

@Logain Abler: If you are busy, do you want me to post a fix? At least temporarily?


That would be great if you have one. I do need to sort this one out, the CSecG ware installed fine for me when it was wrote the script., so not sure what went wrong. If I get chance this weekend I'll try and figure it out.

Looks like I can't remember much about this one, I thought it was an AL plugin as it installed on NPC ships.... maybe that was work in progress.


LA


_________________
Freight Distribution Network|Strategic Sector Defence Network|Production Modules|Capital Ship Energy Cell Generator
Back to top
View user's profile Send private message Send e-mail
DrBullwinkle





Joined: 17 Dec 2011
Posts: 3351 on topic
Location: Boston, USA
Thank you for registering your game
modified
PostPosted: Sat, 9. Jun 12, 00:48    Post subject: Reply with quote Print

OK, here you go, Szynszyl.

I am sure that LA will improve this when he gets a chance, but this version should be functional:

CSecG v2.04 (fix for broken ware)

Logain Abler wrote:
the CSecG ware installed fine for me when I wrote the script., so not sure what went wrong.


Unfortunately, testing custom wares on your own game is not a sufficient test. As far as I can tell, there does not seem to be a reliable way to add custom wares to the game. Your v2.0 .spk *should* work. And it might even work *sometimes*. But the past several pages of this thread is evidence that it does not *always* work.

I changed the requirement to Navigation Command Software Mk1. That is not as much fun as a custom ware, but it works reliably, which the custom ware does not.

I also changed the test for the ware. The v2.0 tests "get true amount of ware" which is wrong. It should be "get amount of ware" (without the "true"). The "true amount" skips ships that have the ware built in. It is backwards from what seems logical.


* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
EDIT: My theory is that bad installations and/or incorrect versions of EMP mess up some installations and some scripts that use custom wares.

EMP is lightly documented, and the chain of versions (including current version) is not documented at all. The various links and out-of-date instructions to use this version or that are a jumbled mess. AFAIK, the way in which the Plugin Manager supports EMP is not documented at all.

The result is that a player, who reads and follows instructions, is likely to have multiple versions of EMP installed simultaneously. It appears that EMP changed at some point in its history, resulting in some scripts with old EMP wares that do not work. Also, there seems to be at least one bug in EMP itself (the Advanced Thruster Control requires a nearly-impossible notoriety of 1,000,000 with the Boron).

The net result is that you cannot predict the state of a player's EMP installation; thereby making custom wares difficult or impossible to install reliably.

    MARS works reliably because the MARS ware exists in the vanilla TWareT. EMP is not required.

* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    You did make a version 3 beta of CSecG... but it does some bizarro* stuff (*technical term). Version 2 worked best for me, after fixing the ware.



_________________
Peace through superior firepower

Bullwinkle's List | Marine Repairs and Training | Mobile Mining Mk2 | Drone Carrier Software (DCS) | Ship Tricks: Mini-Guides (with Video)


Last edited by DrBullwinkle on Sat, 9. Jun 12, 11:03; edited 4 times in total
Back to top
View user's profile Send private message Visit poster's website
Szynszyl





Joined: 02 Jan 2009



PostPosted: Sat, 9. Jun 12, 10:02    Post subject: Reply with quote Print

Thx guys i test a new files and i write what is a effect.

Back to top
View user's profile Send private message
Logain Abler





Joined: 31 Oct 2005
Posts: 2195 on topic
Location: Norwich, UK
Thank you for registering your game
PostPosted: Sat, 9. Jun 12, 10:24    Post subject: Reply with quote Print

Cheers DrBullwinkle,

You're last post has probably saved me hours of testing, frustration, research and hair pulling.

LA


_________________
Freight Distribution Network|Strategic Sector Defence Network|Production Modules|Capital Ship Energy Cell Generator
Back to top
View user's profile Send private message Send e-mail
Szynszyl





Joined: 02 Jan 2009



PostPosted: Sat, 9. Jun 12, 11:00    Post subject: Reply with quote Print

The script works great, it is true the game crashes to me but it's probably already a problem for me.

One more time great thanks guys Smile

Unfortunly a fixed script crash my game :/

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic Reply to topic Goto page Previous  1, 2, 3 ... 9, 10, 11, 12  Next
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
Control Panel
Login Data
The time now is Wed, 22. May 13, 05:31

All times are GMT + 2 Hours


Board Security

Copyright © EGOSOFT 1989-2009
Powered by phpBB © 2001, 2005 phpBB Group
Template created by Avatar & BurnIt!
Debug: page generation = 0.19939 seconds, sql queries = 74