• New Horizons on Maelstrom
    Maelstrom New Horizons


    Visit our website www.piratehorizons.com to quickly find download links for the newest versions of our New Horizons mods Beyond New Horizons and Maelstrom New Horizons!

Unconfirmed Bug error

BlackHawk

Sailor
RUNTIME ERROR - file: store\initGoods.c; line: 364
missed attribute: speedv0
RUNTIME ERROR - file: store\initGoods.c; line: 364
no rAP data
RUNTIME ERROR - file: store\initGoods.c; line: 383
missed attribute: SpeedV0
RUNTIME ERROR - file: store\initGoods.c; line: 383
no rAP data
RUNTIME ERROR - file: store\initGoods.c; line: 407
missed attribute: speedv0
RUNTIME ERROR - file: store\initGoods.c; line: 407
no rAP data
RUNTIME ERROR - file: interface\shipyard.c; line: 2165
missed attribute: faceid
RUNTIME ERROR - file: interface\shipyard.c; line: 2165
no rAP data
RUNTIME ERROR - file: interface\shipyard.c; line: 2165
missed attribute: faceid
RUNTIME ERROR - file: interface\shipyard.c; line: 2165
no rAP data
 
The lines about "speedv0" are from "PROGRAM\STORE\initGoods.c" and I suspect the problem is chainshot, alias "knippels". And I also suspect that @BlackHawk has disabled the "USE_REAL_CANNONS" mod. Here's why:
Code:
   Goods[GOOD_KNIPPELS].Name       = "Knippels";
   Goods[GOOD_KNIPPELS].Cost       = 10 * GOODS_PRICE_SCALAR;  // Sulan (20)
   Goods[GOOD_KNIPPELS].Weight       = 3;
   Goods[GOOD_KNIPPELS].Units       = 20;
   if(USE_REAL_CANNONS)
   {
       Goods[GOOD_KNIPPELS].SpeedV0  = 0.85; // TIH gameplay adjustment Aug24'06 // was 0.9
       Goods[GOOD_KNIPPELS].DamageHull = 4.0;
       Goods[GOOD_KNIPPELS].DamageRig  = 10.0;
       Goods[GOOD_KNIPPELS].DamageCrew = 1.0;
       Goods[GOOD_KNIPPELS].Dispersion.X = 3.0;
       Goods[GOOD_KNIPPELS].Dispersion.Y = 8.0;
       Goods[GOOD_KNIPPELS].Dispersion.V = 0.08;
   }
   else
   {
       Goods[GOOD_KNIPPELS].DamageHull = 4.0;
       Goods[GOOD_KNIPPELS].DamageRig  = 10.0;
       Goods[GOOD_KNIPPELS].DamageCrew = 1.0;
       Goods[GOOD_KNIPPELS].DamageCrew = 1.5;
       Goods[GOOD_KNIPPELS].Dispersion.X = 1.5;
       Goods[GOOD_KNIPPELS].Dispersion.Y = 4.0;
       Goods[GOOD_KNIPPELS].Dispersion.V = 0.08;
   }
'Goods[GOOD_KNIPPELS].SpeedV0' is only defined if 'USE_REAL_CANNONS' is set. By contrast, 'Goods[GOOD_BALLS].SpeedV0' and 'Goods[GOOD_GRAPES].SpeedV0' are defined outside their 'if(USE_REAL_CANNONS' condition blocks, while 'Goods[GOOD_BOMBS].SpeedV0' is defined in both parts of the block - different values for realistic and non-realistic cannons. I don't know the mechanism in detail so I've no idea what 'SpeedV0' does, but it probably needs to be defined one way or another when 'USE_REAL_CANNONS' is not set.

The error about 'faceid' comes from this part of "PROGRAM\INTERFACE\shipyard.c":
Code:
   int cn = GetPassengerFromScroll(0);
   while(cn>=0)
   {
       attributeName = "pic" + (nAllPassngerQuantity+1);
       charRef = GetCharacter(cn);
       GameInterface.passengers.(attributeName).img1 = GetFacePicName(charRef);
       GameInterface.passengers.(attributeName).tex1 = FindFaceGroupNum("passengers.ImagesGroup","FACE128_"+charRef.FaceID); // <--- This line
       nAllPassngerQuantity++;
       cn=GetPassengerFromScroll(nAllPassngerQuantity);
   }
One of the passengers has no FaceID, therefore probably no valid interface picture. @BlackHawk, have a look through your passengers list and see if any of them are missing their face picture, or if any of them show a black person's face when the character model should be something else. Sometimes a black guy with a headband is the default picture, sometimes it's an African woman with a red vest.
 
One of the passengers has no FaceID, therefore probably no valid interface picture. @BlackHawk, have a look through your passengers list and see if any of them are missing their face picture, or if any of them show a black person's face when the character model should be something else. Sometimes a black guy with a headband is the default picture, sometimes it's an African woman with a red vest.
That's quite some discrimination in PotC, isn't it? :shock
 
Presumably one of the cheats was to disable "USE_REAL_CANNONS" in "InternalSettings.h"?

Do any of your passengers have missing or wrong interface pictures?
 
That's the one who is probably causing the error message. Which outfit is that passenger using - what does that passenger look like?
 
Which outfit did he have before? I'd rather like to fix the faulty outfit, which requires knowing which one it is. ;)
 
Back
Top