EnglishGermanFrenchRussianPolishItalianSpanish
Log inRegister
 
[SCRIPT] [TC] - Explorer Command Extension v2.6 - [31.08.2013]
Post new topic Reply to topic Goto page 1, 2, 3, 4, 5  Next
View previous topic :: View next topic
Author Message
Nicoman35





Joined: 17 Nov 2005
Posts: 661 on topic
Location: Bochum, Germany
Thank you for registering your game
modified
PostPosted: Fri, 19. Oct 12, 23:34    Post subject: [SCRIPT] [TC] - Explorer Command Extension v2.6 - [31.08.2013] Reply with quote Print

-------------------------------------------
Explorer Command Extension v2.6
-------------------------------------------

YAEXP (Yet Another Explorer)

Hi there people, I'm presenting you the plugin Explorer Command Extension.

The idea is not from me, but from ThisIsHarsh. Here is his original script.

Here, I am taking the opportunity and thank ThisIsHarsh for his idea and inspiration. Thank you.

You maybe ask yourself, why I made ANOTHER explorer where there are already so many of them around here.
Simple: There is no other utility fully fulfilling my whishes. So, step by step, I created one of my own.
I have rewritten and enhanced ThisIsHarsh's explorer exteinsion to a point, where I want to share it with you guys.

Currently available languages: English.

Features
    Arrow Deploy a satellite network
    Arrow Pattern flexible, you decide, where and how much satellites are to be deployed per secor
    Arrow Renaming of deployed satellites
    Arrow Satellite network is maintained. Destroyed satellites will be replaced
    Arrow Collect satellites
    Arrow Renaming of deployed satellites
    Arrow Black and Whitelists available
    Arrow Universe exploration integrated
    Arrow Ships depoying, collecting and exporing will take advantage of following devices: Mineral scanner, docking computer, jumpdrive, transporter device

    To give this script a more comercial character, the software charges money for any action made. A pricelist is included in the info section on every main menu.

    New gamestart not needed


You are welcome to make enhancing proposals and report any bugs you encouter.

Used command slots
COMMAND_TYPE_NAV_57
COMMAND_TYPE_SHIP_39
custom command id's used: 6520 - 6524

Latest version of Explorer Command Extension

After downloading, unpack and copy the three folders into the main game directory.

Please take into account, that this is currently a beta. Bug reporting and other advices dearly welcome!


Screenshots from the menu structure and how to get there



Notes:
- a manual is included in the archive

Have fun!

Version history:

v2.6:
    - bugfixing big time, don't remember what because of not working a long time on this. All kinds of problems adressed.




Last edited by Nicoman35 on Sat, 31. Aug 13, 10:56; edited 15 times in total
Back to top
View user's profile Send private message
Nicoman35





Joined: 17 Nov 2005
Posts: 661 on topic
Location: Bochum, Germany
Thank you for registering your game
modified
PostPosted: Fri, 19. Oct 12, 23:35    Post subject: Reply with quote Print

Version History:

28.10.2012
    - v 2.1.1 beta - Fixed jump beacons renaming issue
    - v 2.1.0 beta - New feature: Range settings menu

21.10.2012
    - v 2.0.2 beta - Compatibility with ANY colored names. Credits for this update goes to: DrBullwinkle!! Thank you doc! Separate patch no loger needed!
    - v 2.0.1 beta - Compatibility patch for Rename Ships with Extensions v2.9

19.10.2012
    - v 2.0 beta (initial release)




Last edited by Nicoman35 on Sun, 28. Oct 12, 17:35; edited 6 times in total
Back to top
View user's profile Send private message
joelR





Joined: 09 Jul 2007
Posts: 1973 on topic
Location: Seattle
Thank you for registering your game
PostPosted: Sat, 20. Oct 12, 00:00    Post subject: Reply with quote Print

Awesome. Thanks. I feel the same way about explorer scripts. None of them quite do what I want. This is great!


_________________
XRM AP Map
XRM Statistics
Back to top
View user's profile Send private message
joelR





Joined: 09 Jul 2007
Posts: 1973 on topic
Location: Seattle
Thank you for registering your game
PostPosted: Sat, 20. Oct 12, 00:14    Post subject: Reply with quote Print

What do you mean by this?


Code:
To activate the plugin, just open the Community Plugin Configuration Menu and hit 'Sector Size Changer'.
A self explanatory menu will open and guide you through.


I have that option but its from your script that actually changes sector sizes...


_________________
XRM AP Map
XRM Statistics
Back to top
View user's profile Send private message
joelR





Joined: 09 Jul 2007
Posts: 1973 on topic
Location: Seattle
Thank you for registering your game
PostPosted: Sat, 20. Oct 12, 05:08    Post subject: Reply with quote Print

Your script wont recognize colored names. So its not possible to tell what ship has explorer command software. Just an FYI.

http://i.imgur.com/Oivey.jpg


_________________
XRM AP Map
XRM Statistics
Back to top
View user's profile Send private message
Nicoman35





Joined: 17 Nov 2005
Posts: 661 on topic
Location: Bochum, Germany
Thank you for registering your game
PostPosted: Sat, 20. Oct 12, 11:47    Post subject: Reply with quote Print

joelR wrote:
What do you mean by this?

Code:
To activate the plugin, just open the Community Plugin Configuration Menu and hit 'Sector Size Changer'.
A self explanatory menu will open and guide you through.
...


AH CRAP. This comes when you use the same mask for your publications! Of course, this is not valid for this script. *fixed*

joelR wrote:
Your script wont recognize colored names. So its not possible to tell what ship has explorer command software. Just an FYI...


Hm, I'll have a look into that. Please give me the link to the colored names mod, so I see what to do about that problem.

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





Joined: 09 Jul 2007
Posts: 1973 on topic
Location: Seattle
Thank you for registering your game
PostPosted: Sat, 20. Oct 12, 14:19    Post subject: Reply with quote Print

Nicoman35 wrote:
Hm, I'll have a look into that. Please give me the link to the colored names mod, so I see what to do about that problem.


Here you go: Rename Ships with Expressions


_________________
XRM AP Map
XRM Statistics
Back to top
View user's profile Send private message
Nicoman35





Joined: 17 Nov 2005
Posts: 661 on topic
Location: Bochum, Germany
Thank you for registering your game
PostPosted: Sat, 20. Oct 12, 21:23    Post subject: Reply with quote Print

Rubber wanted!
Anyone has a clue how to remove color information on some text? In this case names of ships?
cheers

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





Joined: 09 Jul 2007
Posts: 1973 on topic
Location: Seattle
Thank you for registering your game
PostPosted: Sat, 20. Oct 12, 21:44    Post subject: Reply with quote Print

Nicoman35 wrote:
Rubber wanted!
Anyone has a clue how to remove color information on some text? In this case names of ships?
cheers


Alternatively, couldnt you just show only ships WITH the software instead of both? It doesnt seem all that useful to show both. That would eliminate the problem at least.


_________________
XRM AP Map
XRM Statistics
Back to top
View user's profile Send private message
Andrew Wilde





Joined: 13 Jul 2004
Posts: 56 on topic
Location: London
Thank you for registering your game
PostPosted: Sat, 20. Oct 12, 22:11    Post subject: Reply with quote Print

Nicoman35 wrote:
Rubber wanted!
Anyone has a clue how to remove color information on some text? In this case names of ships?
cheers


This got me started on fiddling about with colouring Ship names:
file:///Users/andrewwilde/Desktop/XTC/PRE%20XRM/MSCI%20Ref%20Pages/egosoft.com%20:%20View%20topic%20-%20Color%20in%20names.webarchive

Note especially the comment about needing to load the codes from a t file, they won't work properly inline in a script.


Really like the look of your script (I've just tried Gnasirator's Galaxy Explorer, but didn't quite it the bill for me), but a couple of Q's:

I'm just starting my first XRM run through, and that means all 'reds' are much more aggressive, and there are many more of them; and also, no jumpdrives for M3/4/5 Surprised (also jumpdrives are now 2 mill cr, which actually makes more sense I think). So no emergency jumping with what I would normally use as a scout/explorer - I lost 2 Discoverer Explorers (the only M5 in XRM that can carry M size, and therefore lay sats; and also 2 mill, too expensive to regularly lose) pretty quickly with Galaxy Explorer because, e.g., they'd lay a sat in Eleanor's Fortune (often full of pirates), it'd get destroyed before they'd decided where to go next, so they'd go back to re-lay it and get killed doing so. Wondered how your script would handle such a situation (think my ideal would be to immediately leave sectors where enemies are detected, but leave a log message stating sat not dropped due to hostiles).

Also Galaxy Explorer does have a function that I really liked, which is that explorers, when home based, could be set to operate only within a set range of their home base. Don't think yours have that function ?

Other than the above, your script looks almost exactly like the one I was never going to get round to writing for myself Very Happy .

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





Joined: 17 Nov 2005
Posts: 661 on topic
Location: Bochum, Germany
Thank you for registering your game
PostPosted: Sat, 20. Oct 12, 22:18    Post subject: Reply with quote Print

Smile ONLY shipps with the software aboard are shown. The list just enables you to choose a couple ships which will do some job.
As an alternative, I made a version for you, where the index numbers in front of the ships are colored.

It's not what I have in mind for the final version. I will try to solve the problem. Meanwhile, use this cruch.

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





Joined: 17 Nov 2005
Posts: 661 on topic
Location: Bochum, Germany
Thank you for registering your game
PostPosted: Sat, 20. Oct 12, 22:32    Post subject: Reply with quote Print

@ Andrew Wilde
IN fact, ships utilizing my scripts comport like rabbits (as long as they have a jumpdrive, navigation software MK1, some energy aboard and emergentcy jumping is allowed). When an enemy ship is spotted within a certain range (adjustable), They jump away imediately.

I do admit for ships without jumpdrive live is much worse. No checks for enemies is made for them. Use expensive M6 in XRM Very Happy

This is because I never figured out how to intelligently avoid enemies and hold them at a distance by choosing appropriate manouvers. This would require some trigonometry calculations that I am not capable of. But if someone would like to tell me.... Rolling Eyes

Quote:

Also Galaxy Explorer does have a function that I really liked, which is that explorers, when home based, could be set to operate only within a set range of their home base. Don't think yours have that function ?

I'll see if I am able to implement such a feature.

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





Joined: 09 Jul 2007
Posts: 1973 on topic
Location: Seattle
Thank you for registering your game
PostPosted: Sun, 21. Oct 12, 01:11    Post subject: Reply with quote Print

Nicoman35 wrote:
Smile ONLY shipps with the software aboard are shown. The list just enables you to choose a couple ships which will do some job.
As an alternative, I made a version for you, where the index numbers in front of the ships are colored.

It's not what I have in mind for the final version. I will try to solve the problem. Meanwhile, use this cruch.


Ok, thanks. I misunderstood then. I assumed that it showed ships without explorer command software as well.

Im with andrew wilde too. The option to tether ships to a homebase would be great. That way you could have them be responsible for maintaining the satellite network in a given area as opposed to the entire universe.

@Andrew Wilde - If you would like instructions on how to change the JD ware size in XRM its a very easy process. Let me know and I can walk you through it.


_________________
XRM AP Map
XRM Statistics
Back to top
View user's profile Send private message
jack775544





Joined: 13 Dec 2011
Posts: 1111 on topic
Location: Australialand
Thank you for registering your game
PostPosted: Sun, 21. Oct 12, 01:29    Post subject: Reply with quote Print

Nicoman35 wrote:
Rubber wanted!
Anyone has a clue how to remove color information on some text? In this case names of ships?
cheers


Couldn't you just put it through a t file eg.

T File
Code:
<page id="1234">
      <t id="1">\033X%s</t>
</page>


MSCI
Code:
$Text = *Coloured Text*
$NoCol = sprintf: pageid=1234 textid=1, $Text, null, null, null, null



_________________
1940s - Various "computers" are "programmed" using direct wiring and switches. Engineers do this in order to avoid the tabs vs spaces debate.
Back to top
View user's profile Send private message
Nicoman35





Joined: 17 Nov 2005
Posts: 661 on topic
Location: Bochum, Germany
Thank you for registering your game
PostPosted: Sun, 21. Oct 12, 12:17    Post subject: Reply with quote Print

Hey jack775544,

Tried that:
Code:
$aim = get player tracking aim
write to player logbook $aim
$txt = sprintf: pageid=$page.id textid=350, $aim, null, null, null, null
write to player logbook $txt


With this in t file
Code:
<t id="350">\033X%s</t>


Here the result:


Didn't work Evil or Very Mad

Obviously, there is no way to sterilize a string from its color information. At least I do not know, how.
I will test something else: Changing RSwE itself. I will try to make a local var containing the name without any color info, which my mod then can read. Any other sugestions to make life easyer?

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, 4, 5  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, 20. Oct 17, 14:21

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