Captain, we have a problem...The WARPDRIVES ARE BROKEN

Report bugs, bug fixes and workarounds here.
Avatar
Topic author
Chuft-Captain
Posts: 1779
Joined: 18.12.2005
With us: 18 years 11 months

Captain, we have a problem...The WARPDRIVES ARE BROKEN

Post #1by Chuft-Captain » 15.08.2009, 05:45

(Read this with a Scottish accent :wink: )

I've just been testing the TNG WARPDRIVE (http://www.sfe.sitesled.com/sfe/warpdrive.html) in build 4814 and it appears to be busted!

In 1.6.0 all appears fine, but in svn 4814:
Warp 1 (lightspeed) is 31.7 m/s!!!
Warp2 (10 x C) is 319 m/s

etc...


I suspect something has changed in the "setspeed" method.

CC
"Is a planetary surface the right place for an expanding technological civilization?"
-- Gerard K. O'Neill (1969)

CATALOG SYNTAX HIGHLIGHTING TOOLS LAGRANGE POINTS

Reiko
Posts: 1119
Joined: 05.10.2006
Age: 41
With us: 18 years 1 month
Location: Out there...

Re: Captain, we have a problem...The WARPDRIVES ARE BROKEN

Post #2by Reiko » 15.08.2009, 15:59

SCOTTY: "Oh, my bairns! My poor, poor bairns..."

chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 22 years 9 months
Location: Seattle, Washington, USA

Re: Captain, we have a problem...The WARPDRIVES ARE BROKEN

Post #3by chris » 15.08.2009, 16:26

Chuft--

Thanks for the alert. I just fixed this in SVN revision 4836. During the conversion to Eigen, I also changed the code to use kilometers instead of micro-light years. The script commands hadn't been adjusted for this unit change. I'd much that getspeed and setspeed use a standard unit like kilometers instead of microlightyears. But, that would cause compatibility problems of the sort that you observed with the warp drive script.

--Chris

duds26
Posts: 328
Joined: 05.02.2007
Age: 34
With us: 17 years 9 months
Location: Europe

Re: Captain, we have a problem...The WARPDRIVES ARE BROKEN

Post #4by duds26 » 17.08.2009, 12:30

This could be solved by letting the addon makers specify an input unit.
Please add the ability to specify a certain unit in addons to be sure to have the correct numbers.
Something for in 1.7 please.
(This way the code can check and convert to the right units and you can use any unit as default without breaking those addons.)

Avatar
Topic author
Chuft-Captain
Posts: 1779
Joined: 18.12.2005
With us: 18 years 11 months

Re: Captain, we have a problem...The WARPDRIVES ARE BROKEN

Post #5by Chuft-Captain » 24.08.2009, 15:50

FYI,

Warpdrive normal service is restored -- build 4855 (Thanks Chris)
"Is a planetary surface the right place for an expanding technological civilization?"
-- Gerard K. O'Neill (1969)

CATALOG SYNTAX HIGHLIGHTING TOOLS LAGRANGE POINTS


Return to “Bugs”