Page 1 of 1
Captain, we have a problem...The WARPDRIVES ARE BROKEN
Posted: 15.08.2009, 05:45
by Chuft-Captain
(Read this with a Scottish accent
)
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
Re: Captain, we have a problem...The WARPDRIVES ARE BROKEN
Posted: 15.08.2009, 15:59
by Reiko
SCOTTY: "Oh, my bairns! My poor, poor bairns..."
Re: Captain, we have a problem...The WARPDRIVES ARE BROKEN
Posted: 15.08.2009, 16:26
by chris
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
Re: Captain, we have a problem...The WARPDRIVES ARE BROKEN
Posted: 17.08.2009, 12:30
by duds26
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.)
Re: Captain, we have a problem...The WARPDRIVES ARE BROKEN
Posted: 24.08.2009, 15:50
by Chuft-Captain
FYI,
Warpdrive normal service is restored -- build 4855 (Thanks Chris)