Page 1 of 1

Buying vs repairing

Posted: Fri Jul 20, 2007 7:42 pm
by Helvellyn
Are the tech level stats different for buying and repairing equipment? I've a damaged (normal, not naval) energy unit, and I can't find anywhere that'll repair it, at a whole range of tech levels up to 13. Needing a level 14 planet to repair it would be excessive.

Posted: Fri Jul 20, 2007 8:00 pm
by JensAyton
Repairs are (supposed to be) available at planets one tech level lower than sales. There is a random factor, though.

Posted: Fri Jul 20, 2007 10:48 pm
by nijineko
go to ceesexe (or something like that) if you are in galaxy one. tl15 or 14 depending on which information source you look up.

Posted: Fri Jul 20, 2007 11:33 pm
by Commander McLane
It's 15.

But as computers internally start counting with '0' you have to use 14 in a script to produce a TL 15.

Posted: Sat Jul 21, 2007 12:53 am
by nijineko
ahah, that's why it shows up as 14 in one source, and 15 when you actually visit. ^^

Posted: Sat Jul 21, 2007 12:58 am
by Commander McLane
BTW, the same principle applies to all informations that are internally represented as an integer ranging from 0 to n (n being 7, 255 or whatever), like government system, population, economy, planet number or galaxy number.

Posted: Sat Jul 21, 2007 1:00 am
by nijineko
gotcha. yeah, don't get me started about off-by-one errors. =D

Posted: Sat Jul 21, 2007 9:31 am
by BTBC
You may not be able to repair it full stop I bought a Supercobra with a Naval energy unit but no Extra Energy Unit and was unable to buy a EEU.

Posted: Sat Jul 21, 2007 9:55 am
by Commander McLane
That's not related to repairing. It's just that you can only install one energy unit in any ship. So if there's a naval unit, that's it.