Jump to content


WVN777

Member Since 20 Nov 2013
Offline Last Active Mar 23 2018 02:56 PM

Topics I've Started

TobEx vs aTweaks "Opcode out of bounds"?

20 November 2013 - 05:56 PM

Hi All, I'm starting a fresh new install of BG2 SoA & ToB (Windows XP SP3, yeah I know). Patched, adding a few of my favorite mods, downloading latest versions, testing after each mod. Upon installing aTweaks 4-10, an error message suddenly started appearing in TobEx:

"CEffectSetStat::ApplyEffect(): nOpcode out of bounds (expected maximum 400)"

My WeiDU.log, TobEx.log, and Setup.aTweaks.Debug are attached.

 

Searched for clues, and another SHS thread (http://www.shsforums...bounds-message/) indicated a conflict between TobEx, which adds new opcodes to STATS.IDS, and mods that delete them, including (apparently) aTweaks. Sure enough, Near Infinity showed that STATS.IDS had exactly 200 entries. (Shouldn't that message say "minimum 400" ?) I don't know much about TobEx, but I gather those extra opcodes are important to somebody. Haven't found anything on this one in the other forums or archives. 

 

So have you seen this yourself? Any chance of changing aTweaks not to delete those extra TobEx opcodes? To get around it, I've copied the backup from aTweaks folder 153 back into STATS.IDS with Near Infinity (although in some areas it doesn't quite seem to match), and the TobEx error message seems to have gone away, at least for now. Was that the right thing to do, or is it likely to cause other problems later on?  Any other suggestions?  Thanks ! 

 

~ WVN777 ~