EnglishGermanFrenchRussianItalianSpanish
Log inRegister
 
[SCRIPT] Dead Ships Revival Script
Post new topic Reply to topic Goto page 1, 2, 3  Next
View previous topic :: View next topic
Author Message
euclid
Moderator (Script&Mod)
Moderator (Script&Mod)



Joined: 15 Feb 2004
Posts: 9090 on topic
Location: Gower, South Wales
Thank you for registering your game
modified
PostPosted: Wed, 25. Apr 07, 13:04    Post subject: [SCRIPT] Dead Ships Revival Script Reply with quote Print

Have you encountered 'dead' ships (see this tech support thread and also this one in the German tech support forum)? Then this script is for you Smile



Download link


Just copy both files into your script folder. Whenever you load a game the script searches for dead ships and starts a job on them. You will find a message in your log on the number of revived ships.

Edit: dead link revived - thx Merroc Smile


Cheers Euclid



Last edited by euclid on Wed, 5. Feb 14, 18:58; edited 2 times in total
Back to top
View user's profile Send private message Send e-mail MSN Messenger
ttl





Joined: 06 Feb 2005
Posts: 537 on topic
Location: Helsinki, Finland
Thank you for registering your game
PostPosted: Wed, 25. Apr 07, 13:41    Post subject: Reply with quote Print

Great idea Thumb up

But I would ask for a more accurate description on how you determine a ship is "dead", and what you make it do? Or do you just wipe the poor buggers out? Or am I just paranoid about my game Rolling Eyes

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



MEDALMEDALMEDAL

Joined: 23 Apr 2005
Posts: 17030 on topic
Location: GalNet BBS
Thank you for registering your game
PostPosted: Wed, 25. Apr 07, 13:46    Post subject: Reply with quote Print

Each spawned NPC ship runs a script defined in jobs.txt. "Dead ship" no longer runs a script it is supposed to run forever. This script regognizes those halted ships and probably restarts the command that the ship is supposed to run.

I guess this is the same script, which the germans include in the X3plus script collection?

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



MEDALMEDALMEDAL

Joined: 09 May 2004
Posts: 12276 on topic

Thank you for registering your game
PostPosted: Wed, 25. Apr 07, 13:53    Post subject: Reply with quote Print

jlehtone wrote:
I guess this is the same script, which the germans include in the X3plus script collection?


Similarly ... the result is the same.


_________________
Back to top
View user's profile Send private message Visit poster's website
Red Spot





Joined: 04 Feb 2005
Posts: 3224 on topic
Location: The Netherlands
Thank you for registering your game
PostPosted: Wed, 25. Apr 07, 16:18    Post subject: Reply with quote Print

jlehtone wrote:
..........no longer runs a script it is supposed to run forever.



not completelly correct as most scripts are designed to shut down on almost any "dunno" ...

its the job-scripts that generally are supposed to run forever and some, mostly "follower" scripts, again shut down on specific conditions (those ships are generally revived by their job-leader when in specific conditions)



G


_________________
Last edited by Red Spot on Sat, 2. Jul 05, 20:05; edited 34 times in total
Back to top
View user's profile Send private message Visit poster's website
DangerDave





Joined: 24 Mar 2007



PostPosted: Wed, 25. Apr 07, 18:41    Post subject: Reply with quote Print

In my experience, 'dead' ships, that have no command set for whatever reason, will be automatically 'revived' unless 'set race controlled logic' is set to FALSE for those ships.


_________________
Dave.
Back to top
View user's profile Send private message
Stormsong





Joined: 06 Nov 2002
Posts: 4453 on topic
Location: Berlin
Thank you for registering your game
PostPosted: Wed, 25. Apr 07, 19:37    Post subject: Reply with quote Print

Technical stuff aside, all I know is that the script revived several dozen "dead" ships in my game the first time I loaded after installing, and continues to do so every time I load subsequent games (generally one or two ships per session).


_________________
"The most beautiful thing we can experience is the mysterious. It is the source of all true art and science."
Back to top
View user's profile Send private message Send e-mail
xTemon



MEDAL

Joined: 09 Jan 2007
Posts: 967 on topic
Location: The other side of nowhere
Thank you for registering your game
PostPosted: Wed, 25. Apr 07, 19:41    Post subject: Reply with quote Print

Mind if I ask what a dead ship is Thinking

Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
Lancefighter





Joined: 19 Dec 2004
Posts: 2936 on topic

Thank you for registering your game
PostPosted: Wed, 25. Apr 07, 19:42    Post subject: Reply with quote Print

From what i understand, it is a NPC ship without a command - IE, Not the un-polited ships you can 'steal', but just random ships that aren't doing anything.

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





Joined: 06 Sep 2004
Posts: 83 on topic
Location: Bristol, UK
Thank you for registering your game
PostPosted: Wed, 21. Nov 07, 16:17    Post subject: Reply with quote Print

Anyone know another source for this script? I'm getting a 404 error for the website.


_________________
"I had an Alfredo Garibaldi under my command during the Dilgar invasion. Excellent soldier."
"That's my dad."
"So much for genetics."
-- General Richard Franklin and Garibaldi in Babylon 5:"GROPOS"
Back to top
View user's profile Send private message
moggy2



MEDALMEDAL

Joined: 06 Nov 2002
Posts: 4588 on topic
Location: Montréal
Thank you for registering your game
PostPosted: Wed, 21. Nov 07, 17:44    Post subject: Reply with quote Print

I've got I copy of it. I'll pm you a link in a sec.

@euclid, I can host it on xai-corp.net if you want to find a new home for it.


_________________

RSS Feed : Submit News Article : Download Scripts : Image Galleries
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
vtecem



MEDAL

Joined: 28 Sep 2006
Posts: 181 on topic

Thank you for registering your game
PostPosted: Wed, 21. Nov 07, 21:33    Post subject: Reply with quote Print

moggy2 wrote:
I've got I copy of it. I'll pm you a link in a sec.

@euclid, I can host it on xai-corp.net if you want to find a new home for it.


That would be cool, so I can get a copy of it too. Smile

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





Joined: 06 Nov 2002
Posts: 4453 on topic
Location: Berlin
Thank you for registering your game
PostPosted: Thu, 22. Nov 07, 14:56    Post subject: Reply with quote Print

Wasn't this included in the Bonus Pack at some point, or did that never come about?


_________________
"The most beautiful thing we can experience is the mysterious. It is the source of all true art and science."
Back to top
View user's profile Send private message Send e-mail
moggy2



MEDALMEDAL

Joined: 06 Nov 2002
Posts: 4588 on topic
Location: Montréal
Thank you for registering your game
PostPosted: Thu, 22. Nov 07, 15:10    Post subject: Reply with quote Print

I tested it for the bonus pack, but it didn't make it in.

While it revived some of the dead ships, when I looked closely, there were a few ships that it was reviving each time In other words they weren't all revived.


_________________

RSS Feed : Submit News Article : Download Scripts : Image Galleries
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
jlehtone



MEDALMEDALMEDAL

Joined: 23 Apr 2005
Posts: 17030 on topic
Location: GalNet BBS
Thank you for registering your game
PostPosted: Thu, 22. Nov 07, 17:05    Post subject: Reply with quote Print

What does
Code:
039       $Ship -> beginne Arbeit

do?

(That is in 'setup.freetrader.xml' included in X3plus. Apparently a oneshot restarter more geared to get X3plus version of freetrader running.)


_________________
Goner Pancake Protector X
Insanity included at no extra charge.
There is no Box. I am the sand.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic Reply to topic Goto page 1, 2, 3  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 Fri, 17. Aug 18, 19:15

All times are GMT + 2 Hours

[ Disclaimer / Impressum ] | [ Privacy Policy / Datenschutz ]

Board Security

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