Jump to content


Photo

2 Bugs with BiG WP in BG1 Part


  • Please log in to reply
52 replies to this topic

#41 dreamer2007

dreamer2007
  • Member
  • 430 posts

Posted 09 June 2008 - 06:09 AM

Quickfix would be to unequip either staff or shield with some IE editing tool

Didn't work for me. I tried removing first the shield, no effect, then the staff, no effect, and then just to see what happens every item she had but the same CTD happened.

#42 DavidWallace

DavidWallace
  • Validating
  • 337 posts

Posted 09 June 2008 - 06:16 AM

Quickfix would be to unequip either staff or shield with some IE editing tool

Didn't work for me. I tried removing first the shield, no effect, then the staff, no effect, and then just to see what happens every item she had but the same CTD happened.

Had you already saved in the area before trying? If so, editing the base CRE file won't help, since she'll be included in the savegame.

#43 dreamer2007

dreamer2007
  • Member
  • 430 posts

Posted 09 June 2008 - 06:21 AM

Had you already saved in the area before trying? If so, editing the base CRE file won't help, since she'll be included in the savegame.

I loaded a game before entering the area for every try but no effect. It seems that the true problem is elsewhere.

#44 Taimon

Taimon
  • Member
  • 387 posts

Posted 09 June 2008 - 06:45 AM

You mentioned Zeela looking like a ghast or something, so you probably have an additional conflict.
Can you check the area script and look for something odd related to Zeela?
Might as well take a look at Lamalha's dialogue file, since you said Zeela only appeared after the dialogue with her.

Edited by Taimon, 09 June 2008 - 06:46 AM.


#45 dreamer2007

dreamer2007
  • Member
  • 430 posts

Posted 09 June 2008 - 07:33 AM

I looked at the area script but I didn't see anything special about Zeela. Also I don't think that anything is wrong with the dialog of Lamalha since the CTD happens just after spell casting not the conversation. It just triggers the action override of her party to become hostile. The only thing that is different is the structure of the party from what I see: the original one was zeela telka lamalha and maneira, and now there are natalka, lamalha and zeela, Natalka being hostile without talking with Lamalha, Lamalha and Zeela becoming hostile because of the conversation.

Edited by dreamer2007, 09 June 2008 - 07:33 AM.


#46 Taimon

Taimon
  • Member
  • 387 posts

Posted 09 June 2008 - 09:35 AM

Try looking at the ARE actors and if Maneira is not listed there, do a --change-log on the ARE.

And what does CLUAConsole:CreateCreature("zeela") spawn on your setup? The CRE file from zeela you posted above looks okay (besides the staff at weapon 2).

By the way, how did you remove the items? (I just set the item slot to -1.)

Edited by Taimon, 09 June 2008 - 09:39 AM.


#47 dreamer2007

dreamer2007
  • Member
  • 430 posts

Posted 09 June 2008 - 11:57 AM

Try looking at the ARE actors and if Maneira is not listed there, do a --change-log on the ARE.


The strange fact is that she is listed in the are file

And what does CLUAConsole:CreateCreature("zeela") spawn on your setup? The CRE file from zeela you posted above looks okay (besides the staff at weapon 2).


She appears normally, and when I attack her there is no crash happening, very strange...

By the way, how did you remove the items? (I just set the item slot to -1.)


I used Near Infinity and I just deleted them one by one

#48 Taimon

Taimon
  • Member
  • 387 posts

Posted 09 June 2008 - 12:08 PM

Strange indeed.
Natalka is from NTotSC, right?

Can I have a look at your area file and the area script?

/Edit:
The error log might also give us some hints.
(Add Logging On=1 to [Program Options] in baldur.ini, then reproduce the crash and post the contents of baldur.err.)

Edited by Taimon, 09 June 2008 - 01:25 PM.


#49 erebusant

erebusant

    It takes a village...

  • Modder
  • 2109 posts

Posted 09 June 2008 - 04:54 PM

Don't worry David, SCS is involved but (as nearly always) innocent.

Good description, Defel. Helped me tracking this down.

It's DSotSC (v1.95) in combination with SCS Smarter Priests.
DSotSC gives a (two-handed) staff to Zeela (as weapon 2), which is never used with her standard scripts.
With Smarter Priest installed, she's trying to equip it after casting her spells. But her current equipment is a one-handed weapon + shield and the engine crashes when trying to equip a two-handed weapon while already wearing a shield.
Quickfix would be to unequip either staff or shield with some IE editing tool.

I currently can't check if erebusant fixed that in v2.00 of DSotSC.
(Look for zeela.cre in the tp2 and see if she still gets the staff as weapon 2)

Is there a way to unequip a shield per script? (I don't think so.)

I'll update the DSotSC.tp2 for v205. In the meantime, run this fix for Zeela.

Attached Files


It takes a village...


#50 Miloch

Miloch

    Barbarian

  • Modder
  • 6579 posts

Posted 09 June 2008 - 08:57 PM

DSotSC gives a (two-handed) staff to Zeela (as weapon 2), which is never used with her standard scripts. With Smarter Priest installed, she's trying to equip it after casting her spells. But her current equipment is a one-handed weapon + shield and the engine crashes when trying to equip a two-handed weapon while already wearing a shield.

Interesting... I wouldn't think this would cause a CTD, but who knows. Sounds like there's other stuff going on too though.

Is there a way to unequip a shield per script? (I don't think so.)

You could destroy it and recreate it and FillSlot() if you wanted to re-equip it, but that's pretty hackish.

The Tutu version of DSotSC adds that staff to High Hedge instead of Zeela (and did so before I knew about this... I think it was an unused item in the original mod). Zeela does get blessed chain mail and a flail +1 instead.

Infinity Engine Contributions
Aurora * BG1 NPC * BG1 Fixpack * Haiass * Infinity Animations * Level 1 NPCs * P5Tweaks
PnP Free Action * Thrown Hammers * Unique Containers * BG:EE * BGII:EE * IWD:EE
================================================================
Player & Modder Resources
BAM Batcher * Creature Lister * Creature Checker * Creature Fixer * Tutu/BGT Area Map & List * Tutu Mod List
================================================================
"Infinity turns out to be the opposite of what people say it is. It is not 'that which has nothing beyond itself' that is infinite, but 'that which always has something beyond itself'." -Aristotle


#51 dreamer2007

dreamer2007
  • Member
  • 430 posts

Posted 09 June 2008 - 09:18 PM

Can I have a look at your area file and the area script?


Of course, here they are. By the way thank you for your help.

The error log might also give us some hints


ASSERTION FAILED!
File: ObjAnimation.cpp
Line: 20462

Exp: m_currentVidCellShield == NULL

Msg: no msg.
Run Debugger?

Attached Files



#52 Taimon

Taimon
  • Member
  • 387 posts

Posted 09 June 2008 - 10:32 PM

This is the error message you get when the engine doesn't expect a shield animation on the current creature and crashes if it has one.
So you seem to have the same issue.

Can you look at the baldur.sav of your savegame, and make sure AR3900 is not listed there? (That's what David suspected above.)

Also try setting the item slot for the shield to -1 on zeela.cre, instead of deleting the item.

#53 dreamer2007

dreamer2007
  • Member
  • 430 posts

Posted 10 June 2008 - 04:26 AM

Yes it worked!!! Great! That was truly the problem, with the shield... now the entire party appears with no problems and fights me until every person in my team is dead with no CTD :P . My mistake was that I didn't know that the information from the area would remain saved in such a high level of detail and that I had to decompress and manually remove the are file from the save. I thought that playing a save game outside of the area was enough. And truly to just put -1 in the item slot is easier and more efficient. Thank you again for your help Taimon and all of you. I am glad that another bug that was affecting some people was found and will be solved for everybody in the future.

Edited by dreamer2007, 10 June 2008 - 04:41 AM.