EnglishGermanFrenchRussianPolishItalianSpanish
Log inRegister
 
[script] broadcast return home
Post new topic Reply to topic
View previous topic :: View next topic
Author Message
seedee





Joined: 16 Sep 2006
Posts: 78 on topic

Thank you for registering your game
modified
PostPosted: Tue, 17. Feb 09, 13:36    Post subject: [script] broadcast return home Reply with quote Print

Greetings,
this is return.home command

DESCRIPTION
Wanna tell all the fighters owned by a certain carrier to return home ?
They're all across the galaxy and there's a ton of them ?
You don't want to search for them one by one (carrier property list is just too long) ?
This script have the answer !


USAGE
This script adds two commands :
one in the Ships "general" command and one in the stations commands
execute it on a carrier or a station to see all of their property return home.
Ships will use their jump drive like any other ship would do if you'd issued the commands yourself : ship will jump if able to AND set to.


DOWNLOAD
megaupload SPK version
megaupload ZIP version
filefront hosted SPK version


TECHNIQUE
languages :
33 - french
44 - english
44 language used if else with spk manager
t-file used :
7905
command slots used :
<t id="1158">COMMAND_RETURN_BASE_STATION</t>
<t id="1255">COMMAND_RETURN_BASE_CARRIER</t>

V1.1
repaired french text files (deleted accentuated chars, replaced with regular ones as X3 TC don't like them)
added loop to check if ship's already docked => if so the ship will do nothing but stay home
added check to know if ship has docking rights => if not i will escort (carrier) or fly to (station)

Hope it will be usefull,
Seedz

edit :
added filefront hosting solution for spk file



Last edited by seedee on Tue, 17. Feb 09, 21:32; edited 2 times in total
Back to top
View user's profile Send private message
Walterses





Joined: 27 Dec 2008
Posts: 201 on topic
Location: Australia
Thank you for registering your game
PostPosted: Tue, 17. Feb 09, 15:21    Post subject: Reply with quote Print

does this have any bugs?


_________________
Would someone kill those dam fighters all ready? Those flack cannons are giving me a headache Oops
Back to top
View user's profile Send private message Send e-mail MSN Messenger
seedee





Joined: 16 Sep 2006
Posts: 78 on topic

Thank you for registering your game
PostPosted: Tue, 17. Feb 09, 20:26    Post subject: Reply with quote Print

only one i can't get rid of without a really heavy loop test is that ships already docked will want to undock and redock,
won't really matter OOS though

(still working on it, if i can't get a "sexy" way of resolving that i might want to go brute force checking wich could be you know, kinda ressource freak for a big array of owned / docked ships)

edit :
found no way do deal with the "already docked" check without comparing owned ship VS docked ships one by one.
placed a new check to tell if owned ship has docking rights on base, if not, if ship => will escort, if station => will fly to
repaired a text file error with french version (X3 TC don't like "à" "é" "è" Sad)
currently uploading, files will be ok in 5minutes max

PS : reports on bugs are appreciated if found

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



MEDAL

Joined: 08 Jun 2009
Posts: 496 on topic
Location: Remember that Ship you harrased and let live? I'm back baby!
Thank you for registering your game
PostPosted: Mon, 18. Jan 10, 21:26    Post subject: Reply with quote Print

The filefront hosted SPK file is broken.
Megaupload still works though.


_________________
Incoming Message (4 New Messages)
Your Xenon K has Blue Screen of Death'd.
Your #deca CPU ship has 404'd.
Your Xenon P was docking and has stopped responding.
Your #deca.cefa has limited or no network connectivity.
Back to top
View user's profile Send private message
Kriegmarine





Joined: 28 Jan 2010



PostPosted: Mon, 1. Feb 10, 06:28    Post subject: Reply with quote Print

now make a script/hotkey that launches all landed ships w/o going into teh command console. maybe even a script that has all player-owned drones return to the ship it/they were launched from

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





Joined: 18 Dec 2013
Posts: 55 on topic

Thank you for registering your game
PostPosted: Thu, 2. Jan 14, 13:37    Post subject: Reply with quote Print

Links seems down
sounds like a handy little scrpit trough

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic Reply to topic
 
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 Mon, 23. Oct 17, 08:11

All times are GMT + 2 Hours


Board Security

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