Sep. 21, 2019

Hello der,  Guest
Trader Name:
 | Home | Forum List | Active Threads | Search:
Page: of 1   
Script Feedback > Feedback on Mantis' Explorer 4.9  
<< Thread >>

Joined: Nov 2007

posted: 12/06/2007 at 05:57 AM Post #1

Thanks for the script first off. I like it.

One suggestion so far (I no bupkis about scripting so take it with a grain of salt):

You get the turns per move by calling and then parsing/stripping information from the ship catalog... or so it seems. Wouldn't it be easier to pull that from the 'ship information' (I) feed? The reason I suggest getting it that way if you can is that when admins use non-standard ships, they don't always update the description. If that process is automated, then something in custom ship games can cause it to error on line 189 [turnsused = turnsused + tpw].

This was the output from the error:
Rexx         189 +++ turnsused = turnsused + tpw
Rexx       Error 41 running "C:\Program Files\SWATH\ZOC\explorer.zrx", line 189: Bad arithmetic conversion
Error       [explorer] Error: [R3] Script error (-1) - See SWATH console

I was in an imperial starship when I got that error. Let me know if you need any more information on it.

Once I went in and edited the 'tpw' variable and hard coded a 4, the script worked just fine.

Joined: Mar 2005

posted: 12/07/2007 at 08:25 AM Post #2

Thanks for the feedback.  Not sure why you're getting the error unless maybe you weren't at the command prompt when you started the script.  Guess I'll need to add a check for that for the next release.  As far as TPW value - I don't think there is any difference whether (i) is used or (c;) is used - they both should get the value straight from the ship type record.  However if anyone finds a case where they are not, please let me know.

Joined: Jul 2006

posted: 12/07/2007 at 02:00 PM Post #3

Using the 'I' is more accurate, as if the user has a ship locked in Tow, the 'I' command factors in the new TPW. The C; does not. 

Also. Using 'I' would indicate if you're in an Unlim or not --in which case being concerned about TPW would be moot.

The Joker's Always Smiling in Every Hand That's De

Joined: Mar 2005

posted: 12/10/2007 at 11:23 AM Post #4

Good point - I'll update that for the next release.  I never thought of that since I don't normally explore the universe with a ship in tow lol.
Script Feedback >  Feedback on Mantis' Explorer 4.9
<< Thread >>
 | Home | Forum List | Active Threads | Search:
Page: of 1   

"why hello der matey! have a sit and buy me an ale, eh?" -- The Grimy Old Trader

The Grimy Trader is best viewed at 1024x768 resolution -- this page was generated in: 0.547 seconds.