Vague debug data


#1

When modding the debug can be a lifesaver. but the .txt file doesn’t display most of the file. Getting a start-up crash with the description:

Unknown bonus value:…\src\SIM_ShipHull.cpp 52

Helps to identify the error, but I’ve got no idea what the error is. I was working with my mod when this happened, so it’s probably related to that, but no idea what else it could be.


#2

Check your hull files.
One of the Bonuses might have a spelling error.

[bonuses]
0 = INTEGRITYBOOST
1 = SPEEDBOOST
2 = POWERBOOST
3 = SHIELDBOOST
4 = ARMOURBOOST
5 = COSTBOOST

Order of boosts is not important . .


#3

Darn! Ninja’d by someone more experienced!

Usually that means one of your hulls has a bonus that is misspelled. My own personal demon in this area is armor; since Cliff is across the pond, he quite naturally spells the bonus as ARMOURBOOST, which I mistype about 1 in 3 tries.


#4

Only by a minute.

Great minds, AcePalarum, great minds :slight_smile:

Well, you have the same answer, from two Friendly Community Mod Squad members :slight_smile:
Good luck with the bug hunt Tek0516


#5

Seems I put ARMOR instead of ARMOUR. Being a Canadian half the time I end up using the British spelling and the other half the American version. It gets both frustrating and confusing.