Jump to content


Photo

[BG2:ToB] TobEx Release Thread


  • Please log in to reply
578 replies to this topic

#381 ydfhdsfh

ydfhdsfh
  • Member
  • 49 posts

Posted 29 January 2011 - 06:45 PM

in v15 im getting a LOT of warnings. Or rather, the same warning repeating

[Sun 30 Jan 2011 03:50:40] DETOUR_CDerivedStats::DETOUR_OpAdd(): this->pStatsEx == NULL || cds.pStatsEx == NULL


There are like 20 of them per second. and goes on and on, with smaller breaks now and then. Thats what i have in tobex.ini


[Debug]
Critical Error Message Box Fix=1
Externalise Logging=1
Log Assertion Failures=1
Log Assertion Warnings=0
Log Dialogue Bar=1
Log File Mode=0
Log More Messages=0
Restore Extra Combat Info Text=0
Verbose Logging=0

#382 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 29 January 2011 - 06:50 PM

TobEx beta 0016 released. Be really, really careful with this version because I have completely replaced the CEffectDamage::ApplyEffect() code, so if I have typo'ed some stuff, weird things (like crash) can happen. My testing has been OK with it though, but I can't pick up everything.

Change list:
-Class/structure updates
-Added: AddKit Actions Fix
-Added: Apply Concentration Check On Damage This is a concept hack at this stage, by no means final
-Added: Cleric-Ranger HLA Fix
-Added: Configurable Spells Can Target Invisible
-Added: Damage Fix
-Added: Externalise HP Tables
-Added: Log Missing Resources
-Added: No Spell Interruption On Zero Damage
-Added: Targetting Dead Animations Fix
-Core: Fixed a bug with incorrect patching of SPELLS.2DA
-Externalise Encumbrance Restrictions: Fixed a bug with encumbrance calculation
-Externalise Logging: Moved to debug QUICK_MENU
-Expanded Stats: Added hard-coded stats 202-208
-Expanded Stats: Prevented divide by zero crashes
-Reviewed TobEx_ini.txt

Edited by Ascension64, 29 January 2011 - 07:34 PM.

--------------
Retired Modder
Note: I do not respond to profile comments/personal messages in regards to troubleshooting my modifications. Please post on the public forums instead.

Baldur's Gate Trilogy-WeiDU and Mods
Throne of Bhaal Extender (TobEx)

Contributions: (NWN2) A Deathstalker (voice acting) - (IWD2) IWD2 NPC Project (soundset editing) - (Misc) SHS PC Soundsets (voice acting)
Legacy: (BG/Tutu/BGT) Beregost Crash Fixer 1.9 (18 Jul 10) - (BG2) Enable conversations with charmed/dominated creatures (18 Jul 10) - (BG2) Experience Corrections (18 Jul 10) - (Misc) Platform Conversion Utility RC2 (13 Feb 10)


#383 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 29 January 2011 - 06:54 PM

in v15 im getting a LOT of warnings. Or rather, the same warning repeating

[Sun 30 Jan 2011 03:50:40] DETOUR_CDerivedStats::DETOUR_OpAdd(): this->pStatsEx == NULL || cds.pStatsEx == NULL


There are like 20 of them per second. and goes on and on, with smaller breaks now and then. Thats what i have in tobex.ini

Can you post your TobEx.log? There might be a problem with the Expanded Stats hack. The good thing is that this is getting caught instead of giving you a crash. I need to check if it is always OpAdd().
Can you tell me about what you were doing at the time? Also, single player/multiplayer?

Edited by Ascension64, 29 January 2011 - 06:55 PM.

--------------
Retired Modder
Note: I do not respond to profile comments/personal messages in regards to troubleshooting my modifications. Please post on the public forums instead.

Baldur's Gate Trilogy-WeiDU and Mods
Throne of Bhaal Extender (TobEx)

Contributions: (NWN2) A Deathstalker (voice acting) - (IWD2) IWD2 NPC Project (soundset editing) - (Misc) SHS PC Soundsets (voice acting)
Legacy: (BG/Tutu/BGT) Beregost Crash Fixer 1.9 (18 Jul 10) - (BG2) Enable conversations with charmed/dominated creatures (18 Jul 10) - (BG2) Experience Corrections (18 Jul 10) - (Misc) Platform Conversion Utility RC2 (13 Feb 10)


#384 ydfhdsfh

ydfhdsfh
  • Member
  • 49 posts

Posted 29 January 2011 - 07:58 PM

Installed v16. and yeah, set Expanded Stats=0 and got this again. The log file has nothing but these lines, 50KB in like 5 secs. Both times a new singleplayer ToB game with a created generic fighter doing nothing but standing. It isnt happening in main menu. Only during game.

And that single one line, which showed regardless of above setting. Log attached.

[Sun 30 Jan 2011 05:04:42] CDerivedStats_NumAttacksShortToFloat(): Number of attacks out of range (255)


Attached File  TobEx1.log   48.06K   224 downloads

#385 ydfhdsfh

ydfhdsfh
  • Member
  • 49 posts

Posted 29 January 2011 - 08:08 PM

ok i just did the same procedure only with everything set to 1 in the [Debug] section of tobex.ini. Log attached.Attached File  TobExFull.log   52.71K   241 downloads

#386 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 29 January 2011 - 08:25 PM

Oh, yeah. False alarm. I put the logging in the wrong spot. If you activate Expanded Stats, it should actually remove the problem... (there isn't actually a problem, just the logging shouldn't be there)

Edited by Ascension64, 29 January 2011 - 08:30 PM.

--------------
Retired Modder
Note: I do not respond to profile comments/personal messages in regards to troubleshooting my modifications. Please post on the public forums instead.

Baldur's Gate Trilogy-WeiDU and Mods
Throne of Bhaal Extender (TobEx)

Contributions: (NWN2) A Deathstalker (voice acting) - (IWD2) IWD2 NPC Project (soundset editing) - (Misc) SHS PC Soundsets (voice acting)
Legacy: (BG/Tutu/BGT) Beregost Crash Fixer 1.9 (18 Jul 10) - (BG2) Enable conversations with charmed/dominated creatures (18 Jul 10) - (BG2) Experience Corrections (18 Jul 10) - (Misc) Platform Conversion Utility RC2 (13 Feb 10)


#387 ydfhdsfh

ydfhdsfh
  • Member
  • 49 posts

Posted 30 January 2011 - 05:40 AM

v16, casting limited wish -> mass minor globe of invulnerability, causes each globe to log 6 times for each party member, for a total of 78 (6+6x6+6x6) log entries shown. Idk if it is applied 6 times too.

Edited by ydfhdsfh, 30 January 2011 - 05:45 AM.


#388 -Pacek-

-Pacek-
  • Guest

Posted 30 January 2011 - 05:22 PM

Using V15, the component "disable duplicate effect stacking" causes my blade's song to last forever!

#389 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 30 January 2011 - 10:42 PM

v16, casting limited wish -> mass minor globe of invulnerability, causes each globe to log 6 times for each party member, for a total of 78 (6+6x6+6x6) log entries shown. Idk if it is applied 6 times too.

Do you still have Expanded Stats off?

Using V15, the component "disable duplicate effect stacking" causes my blade's song to last forever!

Interesting to note, thanks. Beta hacks are DO NOT USE, btw.

--------------
Retired Modder
Note: I do not respond to profile comments/personal messages in regards to troubleshooting my modifications. Please post on the public forums instead.

Baldur's Gate Trilogy-WeiDU and Mods
Throne of Bhaal Extender (TobEx)

Contributions: (NWN2) A Deathstalker (voice acting) - (IWD2) IWD2 NPC Project (soundset editing) - (Misc) SHS PC Soundsets (voice acting)
Legacy: (BG/Tutu/BGT) Beregost Crash Fixer 1.9 (18 Jul 10) - (BG2) Enable conversations with charmed/dominated creatures (18 Jul 10) - (BG2) Experience Corrections (18 Jul 10) - (Misc) Platform Conversion Utility RC2 (13 Feb 10)


#390 ydfhdsfh

ydfhdsfh
  • Member
  • 49 posts

Posted 30 January 2011 - 11:17 PM

I have everything set at "standard" install, short of some obvious gameplay settings, like disable silence on charm=0 and quad slots for everyone=0. Exp stats =1. Here is the ini just in case.Attached File  TobExini.rar   1.37K   148 downloads

#391 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 30 January 2011 - 11:20 PM

Give beta 0017 a shot. Might not fix the problem. If you still get too many messages, post your TobEx.ini.

Beta 0017 released. Maintenance, with a few changes:
-Assertion updates
-Class/structure updates
(-Added: Learn Spell Mod) - this hack is WIP and cannot be enabled
-Added: Non-Ammo Launcher Damage Fix
-Expanded Stats: Fixed incorrect logging of a problem that occurred when this hack was disabled
-Externalise Encumbrance Restrictions: Prevented divide by zero crashes
-Configurable Spells Can Target Invisible: Fixed incorrect TobEx.ini detection that prevented this hack from being enabled
-Log Assertion Errors/Log Assertion Warnings: Started compiling some more informative messages for assertions with uninformative expressions

--------------
Retired Modder
Note: I do not respond to profile comments/personal messages in regards to troubleshooting my modifications. Please post on the public forums instead.

Baldur's Gate Trilogy-WeiDU and Mods
Throne of Bhaal Extender (TobEx)

Contributions: (NWN2) A Deathstalker (voice acting) - (IWD2) IWD2 NPC Project (soundset editing) - (Misc) SHS PC Soundsets (voice acting)
Legacy: (BG/Tutu/BGT) Beregost Crash Fixer 1.9 (18 Jul 10) - (BG2) Enable conversations with charmed/dominated creatures (18 Jul 10) - (BG2) Experience Corrections (18 Jul 10) - (Misc) Platform Conversion Utility RC2 (13 Feb 10)


#392 ydfhdsfh

ydfhdsfh
  • Member
  • 49 posts

Posted 31 January 2011 - 12:31 AM

ah, tried it w/o tobex, Mass globes still flooding the log, (mass undead protection doesnt) so tobex isnt causing it. Maybe its even vanilla behavior. Dont have many mods installed, tactics, ascension and fixpack, and thats it. Ah and tb#tweaks now. X

Anyway in v17 exp. stats=0 doesnt flood the console anymore. yay.

#393 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 31 January 2011 - 12:56 AM

You haven't shown me what the log is being flooded with... if it is assertion warnings, I can't do much about that. You'll have to disable Log Assertion Warnings.

Update: Nope, just tested with your saved game. You are talking about the dialogue bar logging lots of stuff. TobEx doesn't do anything to it, maybe except save it in TobEx_dlg.log if you have Log Dialogue Bar enabled.

Edited by Ascension64, 31 January 2011 - 01:02 AM.

--------------
Retired Modder
Note: I do not respond to profile comments/personal messages in regards to troubleshooting my modifications. Please post on the public forums instead.

Baldur's Gate Trilogy-WeiDU and Mods
Throne of Bhaal Extender (TobEx)

Contributions: (NWN2) A Deathstalker (voice acting) - (IWD2) IWD2 NPC Project (soundset editing) - (Misc) SHS PC Soundsets (voice acting)
Legacy: (BG/Tutu/BGT) Beregost Crash Fixer 1.9 (18 Jul 10) - (BG2) Enable conversations with charmed/dominated creatures (18 Jul 10) - (BG2) Experience Corrections (18 Jul 10) - (Misc) Platform Conversion Utility RC2 (13 Feb 10)


#394 ydfhdsfh

ydfhdsfh
  • Member
  • 49 posts

Posted 31 January 2011 - 04:02 AM

Well since now thanks to certain codegods the length of the log window is not fixed anymore no biggie i guess. But the game is a bit crashy now. Had 5 crashes with v17 so far. 3 of them one place, reproducible. Log attached. Save attached. Talking to the Wood-guy initiates combat and may result in crash, immediately, or later in that combat encounter. Party is on a direct way of clearing Sendai, Abazigal and then some end.. guy.. boss, so lots of good testing grounds still expected.

...
...
[Mon 31 Jan 2011 12:43:16] Assertion warning. Return Address: 0x8AE705 File: ObjCreature.cpp Line: 9509 Expression: FALSE Message: (null)
[Mon 31 Jan 2011 12:43:25] ASSERTION FAILED! Return Address: 0x8AE58D File: ObjCreature.cpp Line: 9466 Expression: FALSE Message: (null)
[Mon 31 Jan 2011 12:43:25] ASSERTION FAILED!
File: ObjCreature.cpp
Line: 9466

Exp: FALSE

Msg: no msg.
Run Debugger?

Attached File  000001298-sendaiwood.rar   1.16MB   254 downloads
Attached File  TobExCr.rar   4.32K   152 downloads


Added: then i think about it there is supposed to be a scripted video sequence during or after that fight. All 3 crashes happened before that.

Edited by ydfhdsfh, 31 January 2011 - 04:27 AM.


#395 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 31 January 2011 - 04:28 AM

Hmm, turn off "Use Animation Percentages for Throwing Weapons". Looks like some throwing items aren't using percentages adding up to 100%.

--------------
Retired Modder
Note: I do not respond to profile comments/personal messages in regards to troubleshooting my modifications. Please post on the public forums instead.

Baldur's Gate Trilogy-WeiDU and Mods
Throne of Bhaal Extender (TobEx)

Contributions: (NWN2) A Deathstalker (voice acting) - (IWD2) IWD2 NPC Project (soundset editing) - (Misc) SHS PC Soundsets (voice acting)
Legacy: (BG/Tutu/BGT) Beregost Crash Fixer 1.9 (18 Jul 10) - (BG2) Enable conversations with charmed/dominated creatures (18 Jul 10) - (BG2) Experience Corrections (18 Jul 10) - (Misc) Platform Conversion Utility RC2 (13 Feb 10)


#396 ydfhdsfh

ydfhdsfh
  • Member
  • 49 posts

Posted 31 January 2011 - 11:26 AM

Done, and played through that encounter twice(starting to hate that guy). No more assertion warnings, game didnt crash, and i got the scripted sequence showed right in the middle of the battle too. Should i continue with that option ON or OFF? So far i have it on, to check for other problematic places.

add: had another one two maps later when a drow attempted to flee to another map. Disabled it.

Edited by ydfhdsfh, 31 January 2011 - 04:45 PM.


#397 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 31 January 2011 - 11:15 PM

Probably keep it off. It is a modder feature to allow custom animation sequences for throwing weapons.

Ah, it's Jan's crossbow XBOW15.ITM, the animation percentages are all 0. (XBOW16.ITM has a similar issue)
Anyway, I'll prevent these crashes when using the component (the warnings will stay, because that will help modders), and also update the core TobEx component to fix these up.

Edited by Ascension64, 31 January 2011 - 11:15 PM.

--------------
Retired Modder
Note: I do not respond to profile comments/personal messages in regards to troubleshooting my modifications. Please post on the public forums instead.

Baldur's Gate Trilogy-WeiDU and Mods
Throne of Bhaal Extender (TobEx)

Contributions: (NWN2) A Deathstalker (voice acting) - (IWD2) IWD2 NPC Project (soundset editing) - (Misc) SHS PC Soundsets (voice acting)
Legacy: (BG/Tutu/BGT) Beregost Crash Fixer 1.9 (18 Jul 10) - (BG2) Enable conversations with charmed/dominated creatures (18 Jul 10) - (BG2) Experience Corrections (18 Jul 10) - (Misc) Platform Conversion Utility RC2 (13 Feb 10)


#398 ydfhdsfh

ydfhdsfh
  • Member
  • 49 posts

Posted 01 February 2011 - 03:05 AM

Huhu, v12 had a cool feature of selecting same HLA multiple times, i think there were some side effects but hey restarting a game once in a while is not a big deal. But now Mazzy advanced in both classes simultaneously and cant select GWW twice :x

#399 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 01 February 2011 - 04:20 AM

Are you making a comment, or is this a bug? If bug, can you get Greater Whirlwind twice without using TobEx?

--------------
Retired Modder
Note: I do not respond to profile comments/personal messages in regards to troubleshooting my modifications. Please post on the public forums instead.

Baldur's Gate Trilogy-WeiDU and Mods
Throne of Bhaal Extender (TobEx)

Contributions: (NWN2) A Deathstalker (voice acting) - (IWD2) IWD2 NPC Project (soundset editing) - (Misc) SHS PC Soundsets (voice acting)
Legacy: (BG/Tutu/BGT) Beregost Crash Fixer 1.9 (18 Jul 10) - (BG2) Enable conversations with charmed/dominated creatures (18 Jul 10) - (BG2) Experience Corrections (18 Jul 10) - (Misc) Platform Conversion Utility RC2 (13 Feb 10)


#400 ydfhdsfh

ydfhdsfh
  • Member
  • 49 posts

Posted 01 February 2011 - 04:48 AM

It was a unique feature of earlier Tobex versions. Not present in vanilla bg2. I thought you "fixed" vanilla bg2, so people can now select one HLA multiple times if they advance multiple levels at once. Im not sure how to qualify its absence now.