Page 1 of 1

Once more into stupid Question territory....

Posted: Sun Jul 15, 2007 10:37 pm
by Robbeasy
Sorry to be a pain folks.... one more thing, then I'll shut up......my advanced compass appears to have stopped working...

key config has it as "\\". Is this right????

also, while we're here, the keyconfig also says 'kay_advanced_nav_array' instead of 'key_advanced.....'

i take it this might not help matters??

Re: Once more into stupid Question territory....

Posted: Mon Jul 16, 2007 8:35 am
by JensAyton
Robbeasy wrote:
key config has it as "\". Is this right?
Yes, this is correct. \ is used as an “escape” character for special characters in C-derived languages, including the OpenStep property list format used for keyconfig.plist. For example, if you wanted to use " as a key, the correct form would be: """. Being the escape character makes \ a special character that needs to be escaped with the escape character.

Or, to put it differently: for technical reasons, the character \ must be written “\\” in this context.

That aside, extraneous characters will simply be ignored.
Robbeasy wrote:
also, while we're here, the keyconfig also says 'kay_advanced_nav_array' instead of 'key_advanced.....'
“kay_advanced_nav_array” is indeed the correct key for this key. Correct spelling support will be a feature of future versions of Oolite.

Posted: Mon Jul 16, 2007 9:00 am
by davcefai
Your advanced compass might have been damaged in a fight. You can get it repaired at a planet with the required tech level.

To see if it is damaged examine your save file with a text editor. It will have _Damaged appended to the name key.

Posted: Mon Jul 16, 2007 10:55 am
by TGHC
@Robeasy

Don't worry about asking questions, this is a friendly board, and you'll normally get a pretty rapid response.

Good hunting!