EnglishGermanFrenchRussianPolishItalianSpanish
Log inRegister
 
[SCRIPT] Find all Free Ships in the Universe - v2 *updated 11/26/2008*
Post new topic Reply to topic Goto page 1, 2, 3  Next
View previous topic :: View next topic
Author Message
Graxster





Joined: 14 Oct 2006
Posts: 814 on topic

Thank you for registering your game
modified
PostPosted: Fri, 24. Oct 08, 01:28    Post subject: [SCRIPT] Find all Free Ships in the Universe - v2 *updated 11/26/2008* Reply with quote Print

Find Free Ships - v2


  • Adds a hotkey to find all ships with no pilots in the universe.
  • Results output to either the player logbook, or an external log file.
  • Results are displayed as [Sector name], [Ship name], [XYZ coordinates].
  • If the ship is in an Unknown Sector, the output will append the sectors connected to that sector. ie: Free Ship: Unknown Sector <- PTNI Headquarters: Nova X: 2000 Y: 4500 Z: 9450


Changes for version 2:

- No longer returns Neutral Race ships with Unknown Object as pilots (only returns ships if pilot name is "No Pilot").
- Added popup menu that asks whether you want output to go to player logbook or log file.
- Added SPK version for download.
- Included hotkey uninstall script.

Enjoy!

-Grax

SPK



RAR archive





Last edited by Graxster on Wed, 26. Nov 08, 20:16; edited 6 times in total
Back to top
View user's profile Send private message
Gazz





Joined: 13 Jan 2006
Posts: 12407 on topic
Location: Bavaria
Thank you for registering your game
PostPosted: Fri, 24. Oct 08, 14:11    Post subject: Reply with quote Print

I also had a script (the NICE script) that would report the ship's sector and found that "Unknown Sector" isn't such a useful information after all.

I changed it to something like:
Unknown sector (13/15) near Unholy Descent.
The latter is the closest sector in jumps, that is not called "Unknown sector".

If you don't mind the brute force approach, just record a "reference sector" for each Unknown sector to display.


_________________
My complete script download page. . . . . . Xai-Corp MSCI List is scripter's friend. I AM THE LAW!
There is no sense crying over every mistake. You just keep on trying till you run out of cake.
Back to top
View user's profile Send private message Visit poster's website
Graxster





Joined: 14 Oct 2006
Posts: 814 on topic

Thank you for registering your game
PostPosted: Sat, 25. Oct 08, 20:53    Post subject: Reply with quote Print

Updated to make it easier to find Unknown Sectors. Updated again to add Hotkey assignment.

-G

Back to top
View user's profile Send private message
X-Paul





Joined: 25 Jun 2007



PostPosted: Thu, 30. Oct 08, 00:56    Post subject: Reply with quote Print

Not sure if I've misread the instructions, but it doesn't seem to be working for me.

I've put the scripts (.xml files) in my X3:TC scripts folder but when I go to the control - interface section in the game, there's nothing there to set a hotkey for.

What am I doing wrong?

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





Joined: 14 Oct 2006
Posts: 814 on topic

Thank you for registering your game
PostPosted: Thu, 30. Oct 08, 01:07    Post subject: Reply with quote Print

Have you activated the script editor?

Back to top
View user's profile Send private message
X-Paul





Joined: 25 Jun 2007



PostPosted: Thu, 30. Oct 08, 20:30    Post subject: Reply with quote Print

Graxster wrote:
Have you activated the script editor?


Doh!

I'm off to bang my head against a wall to confirm my stupidity.

thanks for the help!

Back to top
View user's profile Send private message
TSM
Not a Moderator




Joined: 01 Jul 2004
Posts: 1765 on topic
Location: Lancashire,UK
Thank you for registering your game
PostPosted: Sun, 2. Nov 08, 01:37    Post subject: Reply with quote Print

Graxster Sir Wink , could you edit this scipt to output to a text file for printing instead? in the log is fine but tedious Smile


_________________
FAQ's Egosoft Interactive FAQ
Egosoft Wiki
Back to top
View user's profile Send private message Visit poster's website
3D_Master





Joined: 17 Oct 2008
Posts: 173 on topic

Thank you for registering your game
PostPosted: Tue, 4. Nov 08, 13:45    Post subject: Reply with quote Print

This also picks up the all the blue pirates that the game spawns in Argon core sectors.

This ships all have the pilot listed as 'Unknown Object' and they are happily flying around.


_________________
Whilst all answers are replies, not all replies are answers
Back to top
View user's profile Send private message
Hieronymos





Joined: 30 Dec 2005
Posts: 829 on topic
Location: California--A State of Mind
Thank you for registering your game
PostPosted: Wed, 26. Nov 08, 06:10    Post subject: Reply with quote Print

You might want to add this to the TC script list...


_________________
Back to top
View user's profile Send private message
Graxster





Joined: 14 Oct 2006
Posts: 814 on topic

Thank you for registering your game
PostPosted: Wed, 26. Nov 08, 08:02    Post subject: Reply with quote Print

It's already listed, in the cheats sticky.

-Grax

Edit: Updated to version 2. Thanks for the suggestions, sorry it took so long to get around to actually doing it.

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





Joined: 16 Jan 2006



PostPosted: Sat, 20. Dec 08, 08:30    Post subject: Reply with quote Print

ermm. Is this cheat script for X3TC? i'm new to this mod thingy. I've tried to download and put the find_free_ships_v2.spk to c:\x3 terran conflict\scripts. but somehow i cant find the command to set my shortcut key. can anyone please advise?

I have also noticed this files end with extension *.spk where the other files in scripts folder are *.pck. Is this correct?

really appreciate someone can advise me.
thanks

Back to top
View user's profile Send private message
TSM
Not a Moderator




Joined: 01 Jul 2004
Posts: 1765 on topic
Location: Lancashire,UK
Thank you for registering your game
PostPosted: Sat, 20. Dec 08, 18:12    Post subject: Reply with quote Print

you set hotkeys in your interface settings in the options.


_________________
FAQ's Egosoft Interactive FAQ
Egosoft Wiki
Back to top
View user's profile Send private message Visit poster's website
amurph0



MEDALMEDALMEDAL

Joined: 16 Jun 2008
Posts: 715 on topic
Location: Ireland
Thank you for registering your game
PostPosted: Sat, 20. Dec 08, 18:24    Post subject: Reply with quote Print

hoshigami wrote:
I have also noticed this files end with extension *.spk where the other files in scripts folder are *.pck. Is this correct?


.SPK's are used for Cycrow's plugin manager, it makes it easir to install/UnInstall addons

http://forum.egosoft.com/viewtopic.php?t=218121


_________________
AeroCool Xpredator Black // AMD Phenom II 1090T 4.0GHz // H100 // ASUS ChIV Formula // 2x XFX Radeon 6870 Dual Fan // 4x2GB Patriot G-Series DDR3 1600MHz // Crucial M4 64Gb // 1TB Samsung F3 // Corsair HX1000W PSU
Back to top
View user's profile Send private message
Graxster





Joined: 14 Oct 2006
Posts: 814 on topic

Thank you for registering your game
PostPosted: Sat, 20. Dec 08, 20:24    Post subject: Reply with quote Print

hoshigami wrote:
ermm. Is this cheat script for X3TC? i'm new to this mod thingy


I suppose you could consider it a cheat, since it will locate empty ships even if you don't have a satellite in the sector.

Quote:
I have also noticed this files end with extension *.spk where the other files in scripts folder are *.pck. Is this correct?


See amurph's post above, or just download the .rar version and extract it to the correct directory.

-Grax

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





Joined: 02 Dec 2003
Posts: 2158 on topic

Thank you for registering your game
PostPosted: Thu, 14. May 09, 02:26    Post subject: Reply with quote Print

How about going one step further and assigning those ships to the player?


_________________
Nanite Hull Repair, Resource-Free Factory, Collect Wares Mk 2, Remove Products from Docks, Hack Station
Back to top
View user's profile Send private message Visit poster's website
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 Sat, 21. Oct 17, 17:52

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.31449 seconds, sql queries = 29