Author Topic: wierd bug in fred  (Read 1119 times)

0 Members and 1 Guest are viewing this topic.

Offline Getter Robo G

  • 211
  • Elite Super Robot Pilot
Upon loading a ship that previously worked for months causes crash. Here is the error message that appears when you run FRED

Warning:    ships.tbl (9437)
Error: Expecting float, found  [$subsystem:            conea, ]

Now you can make and run missions in fred but if you choose this vessel that used to work ,CE Victory a battleship, (no changes ever were made) then it causes crash and standard "unable to open file" you can add a new ship but don't change to the Victory's class otherwise it crashes (so I narrowed it down to which ship but I JUST added a GTC Cube that is invisible to make a fire point from a planet based effect and called it plotdevice1 (pd1.pof) why is this affecting a totaly different part of the table?) I figured this rattled something cause everything was fine before I added this new thing.

[EDIT] Well it gets stranger, I did a find inteh ship's table for conea and it was a subsystem for an asteroid base I didn't have a .pf for yet... I never ahd trouble with it before and never used it , just had th entry in there and such no probs... I delted it and bham things started to work again...  WEIRD!
« Last Edit: December 05, 2004, 07:41:41 am by 2035 »
"Don't think of it as being out-numbered, think of it as having a WIDE target selection!"

"I am the one and ONLY Star Dragon..."
Proof for the noobs:  Member Search

[I'm Just an idea guy, NOT: a modeler, texturer, or coder... Word of advice, "Watch out for the ducks!"]

Robotech II - Continuing...
FS2 Trek - Snails move faster than me...
Star Blazers: Journey to Iscandar...
FS GUNDAM - The Myth lives on... :)

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
A float is a programming term for a number with a decimal point. The error was telling you that the table had found a subsystem called Conea  instead of the number it was expecting.

Once you understand the programming lingo the parser errors tend to be fairly easy to understand :D
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

  

Offline Getter Robo G

  • 211
  • Elite Super Robot Pilot
It was just very stragne that all of a sudden in the THREE MONTHS fred was working with that exact same entry in the table that for no apparent reason it started acting up? Chalk it up to wierdness, thank goodness it's for an installation that I don't have yet so I just deleted the whole ship entry and it works fine now (When you choose CE Victory the batleship works find and does not cause a crash anymore)...
"Don't think of it as being out-numbered, think of it as having a WIDE target selection!"

"I am the one and ONLY Star Dragon..."
Proof for the noobs:  Member Search

[I'm Just an idea guy, NOT: a modeler, texturer, or coder... Word of advice, "Watch out for the ducks!"]

Robotech II - Continuing...
FS2 Trek - Snails move faster than me...
Star Blazers: Journey to Iscandar...
FS GUNDAM - The Myth lives on... :)