GNUsNotUnix Posted May 25, 2014 Share Posted May 25, 2014 Hi all, I'm having a problem with gemrb 0.8.1 playing SoA and ToB. I'm playing a game with Minsc, charname (a wizard), and Aerie. For some reason, Minsc and charname only ever critically miss or critically hit in combat (with the hits considerably less frequent). I have tried resting my party, having them unequip and re-equip, and casting greater restoration on them, to no effect. The only thing I can think of that might cause the problem so selectively (not for Aerie) is that Aerie is the only character of my party who has not reached epic level. Is there a known cause for this behaviour? Any thoughts or suggestions are greatly appreciated. Thanks! Link to comment
SyntaxError Posted May 25, 2014 Share Posted May 25, 2014 you arent the first to encounter this, however, I'm not certain the cause is known. I believe the current theory is either fatigue endlessly building, or possibly something else about bonus to hit overflowing into negative territory. Link to comment
GNUsNotUnix Posted May 25, 2014 Author Share Posted May 25, 2014 you arent the first to encounter this, however, I'm not certain the cause is known. I believe the current theory is either fatigue endlessly building, or possibly something else about bonus to hit overflowing into negative territory. The latter seems unlikely, since my wizard charname is having the problem. Link to comment
SyntaxError Posted May 25, 2014 Share Posted May 25, 2014 That's a valid point. Did you try resting repeatedly (for days on end even) to see if that has an effect? Link to comment
GNUsNotUnix Posted May 25, 2014 Author Share Posted May 25, 2014 Odd. I just tried resing at an inn for a few days, and afterward Aerie had the same problem. It's as if resting made it worse. Link to comment
SyntaxError Posted May 25, 2014 Share Posted May 25, 2014 so maybe its an underflow... lynx will probably have more to say. I think posting a save game with the problem might help anybody that wants to look into the problem. Link to comment
lynx Posted May 25, 2014 Share Posted May 25, 2014 the fatigue luck malus should really not be a problem anymore. Even broken saves are partly handled, so absurdly crazy values are impossible and should go away with resting. So yeah, a save would be handy. Link to comment
GNUsNotUnix Posted May 26, 2014 Author Share Posted May 26, 2014 Okay, I'm attaching a save. Thanks for your replies. save.zip Link to comment
mark Posted May 26, 2014 Share Posted May 26, 2014 Sounds rather like an overflow than underflow if character skills and boni are added/multiplied resulting in a number too large for the used datatype which results in a negative result. I don't know the D&D rules enough to know what formulas they use. btw (a bit offtopic but generally related to show what effects can happen): as I quickly checked for overflows I found many occurances of malloc(X*Y) which are very problematic, because if X*Y is smaller than X or Y (which is never checked!) and malloc succeeds (which is the only thing that seems to be checked), there is a high probability to screw up memory operations. In C++ malloc should never be used. Edit: please specify on which platform you use gemrb. Link to comment
lynx Posted May 26, 2014 Share Posted May 26, 2014 Ok, it's as expected in the save (luck corrupted, fatigue fine). Did you start the game in a different version? It's the fact that fatigue is fine that makes us skip the luck adjustment, so your corrupt value is left untouched. Oh, you can fix it by pressing ctrl+space for the console to pop up and then issuing sps(IE_LUCK, 0). Select another party member and repeat. ctrl+space to close. Link to comment
GNUsNotUnix Posted May 26, 2014 Author Share Posted May 26, 2014 I did in fact start the game in a 0.8.0.1. sps(IE_LUCK, 0) did the trick! Thanks very much! It's the fact that fatigue is fine that makes us skip the luck adjustment, so your corrupt value is left untouched. That's curious. Would that mean that not resting (thus becoming fatigued) would cause the problem to stop, too? Perhaps that's why resting made it worse for Aerie? Link to comment
lynx Posted May 26, 2014 Share Posted May 26, 2014 Great, so nothing is amiss. Not resting wouldn't help in this case, as your luck was too screwed up. Probably wouldn't help Aerie either. She seemed special, as she only had a luck of -8 (vs -43), which is not an automatic critical on a d20. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.