Join us at the Oolite Anniversary Party -- London, 7th July 2024, 1pm
More details in this thread.

cannot make vector : could not scan a float value

For test results, bug reports, announcements of new builds etc.

Moderators: winston, another_commander, Getafix

Post Reply
User avatar
Lestradae
---- E L I T E ----
---- E L I T E ----
Posts: 3095
Joined: Tue Apr 17, 2007 10:30 pm
Location: Vienna, Austria

cannot make vector : could not scan a float value

Post by Lestradae »

Hi guys,

anyone knows what that is?

Code: Select all

[strings.conversion.vector]: ***** ERROR cannot make vector from '0.0 -20, 22': could not scan a float value.
[strings.conversion.vector]: ***** ERROR cannot make vector from '0.0 -20, 22': could not scan a float value.
[strings.conversion.vector]: ***** ERROR cannot make vector from '0.0 -20, 22': could not scan a float value.
[strings.conversion.vector]: ***** ERROR cannot make vector from '0.0 -20, 22': could not scan a float value.
[strings.conversion.vector]: ***** ERROR cannot make vector from '0.0 -20, 22': could not scan a float value.
[strings.conversion.vector]: ***** ERROR cannot make vector from '0.0 -20, 22': could not scan a float value.
[strings.conversion.vector]: ***** ERROR cannot make vector from '0.0 -20, 22': could not scan a float value.
Thanks in advance

L
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5525
Joined: Thu Jun 12, 2008 6:55 pm

Post by Thargoid »

You've got a rogue comma after the -20, or missing after the 0.0 . A script seems to be trying to make a vector up from those three values, but they're not consistently presented (I forget offhand which is correct, with or without the comma).
Last edited by Thargoid on Sun Mar 15, 2009 7:13 pm, edited 1 time in total.
User avatar
Kaks
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 3009
Joined: Mon Jan 21, 2008 11:41 pm
Location: The Big Smoke

Post by Kaks »

Looks like the same problem reported by Screet about one of Simon B's ships. In that case, you need to remove the comma.
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
Post Reply