View Issue Details

IDProjectCategoryView StatusLast Update
0001080FSSCPFREDpublic2012-01-09 18:06
ReporterWanderer Assigned Totaylor  
PrioritynormalSeveritytrivialReproducibilityalways
Status resolvedResolutionfixed 
Summary0001080: Use of armor prompts fred-d errors
DescriptionAs said... The use of armor type on a ship prompts an (non-fatal) error with fred-d. Subsystem armor doesn't cause this error. Error doesn't appear with game (fs2_open) debug builds.
Additional InformationHappen with multiple builds including rc7dot8 build.
TagsNo tags attached.

Activities

taylor

2006-10-03 06:17

administrator   ~0006786

So... what is the error? ;)

Wanderer

2006-10-03 06:27

developer   ~0006787

Test was made using - and so the armor and the ship are from - SoL

Warning: Invalid armor name XXXXX specified in ship class ZZZZZ
File:C:\temp\fs2_open_3_6_9.rc7dot8\code\ship\Ship.cpp
Line: 3474

Armor table has an armor entry that matches the one found from ships.tbl. And there actually aint any large problems as i can keep clicking on the 'No' until fred starts but its a nuissance.

taylor

2006-10-03 06:43

administrator   ~0006788

Is the armor name longer than 31 characters?

Wanderer

2006-10-03 06:46

developer   ~0006789

No. Armor name lenght is six (6) letters... And it functions ingame exactly as defined in the tables.

taylor

2006-10-03 07:02

administrator   ~0006790

Umm, so it works without the warning in the game, but with the warning in FRED?

If that's the case then FRED2 is just missing an armor_init() call to parse the armor tbl. Obviously if the armor tbl hasn't been parsed yet then there is no way to verify the ship's armor. :)

I'll fix this at some point before the day is over if nobody else beats me to it.

Wanderer

2006-10-03 07:40

developer   ~0006791

'Umm, so it works without the warning in the game, but with the warning in FRED?'

Yeah, more precisely warning appears only in fred-d

taylor

2006-10-06 08:42

administrator   ~0006816

Should be fixed in the next build.


Fixered.

Related Changesets

fs2open: fs2_open_3_6_9 r3620

2006-10-06 05:44

taylor


Ported: N/A

Details Diff
make sure that the armor stuff gets initted (should fix Mantis bug 0001080)
Affected Issues
0001080
mod - /branches/fs2_open_3_6_9/fs2_open/code/fred2/management.cpp Diff File

fs2open: trunk r3622

2006-10-06 05:54

taylor


Ported: N/A

Details Diff
make sure that the armor stuff gets initted (should fix Mantis bug 0001080)
Affected Issues
0001080
mod - /trunk/fs2_open/code/fred2/management.cpp Diff File

Issue History

Date Modified Username Field Change
2006-10-03 05:47 Wanderer New Issue
2006-10-03 06:17 taylor Note Added: 0006786
2006-10-03 06:27 Wanderer Note Added: 0006787
2006-10-03 06:43 taylor Note Added: 0006788
2006-10-03 06:46 Wanderer Note Added: 0006789
2006-10-03 07:02 taylor Note Added: 0006790
2006-10-03 07:03 taylor Status new => assigned
2006-10-03 07:03 taylor Assigned To => taylor
2006-10-03 07:40 Wanderer Note Added: 0006791
2006-10-06 08:42 taylor Status assigned => resolved
2006-10-06 08:42 taylor Resolution open => fixed
2006-10-06 08:42 taylor Note Added: 0006816
2012-01-05 22:55 taylor Changeset attached => Import 2012-01-05 17:52:05 fs2_open_3_6_9 r3620
2012-01-05 22:55 taylor Changeset attached => Import 2012-01-05 17:52:05 trunk r3622
2012-01-09 18:06 taylor Changeset attached => fs2open_websvn fs2_open_3_6_9 r3620
2012-01-09 18:06 taylor Changeset attached => fs2open_websvn trunk r3622