Jump to content


Photo

2 Bugs with BiG WP in BG1 Part


  • Please log in to reply
52 replies to this topic

#21 Miloch

Miloch

    Barbarian

  • Modder
  • 6579 posts

Posted 06 June 2008 - 12:04 AM

Maybe a changelog of her scripts is needed.

Yeah, that's what I was suggesting. Actually, the easiest is probably just to open a command (DOS) window to your game folder and type 'weidu _priest4.bcs' and then paste or zip the resulting _priest4.baf (assuming that's the right script, which it appeared to be from the .cre I looked at).

Centeol (the spider queen) has similar stuff going on probably, so you might want to do that for her scripts as well. I'm not even sure what these are, so we probably need centeo.cre to look at too. Honestly, I can't even tell from looking at the SCS code whether it's using _centeol.bcs or dw#wtanp.bcs or both.

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


#22 Miloch

Miloch

    Barbarian

  • Modder
  • 6579 posts

Posted 06 June 2008 - 12:22 AM

Is this the .cre from BGT with SCS and DR installed?

Yes it is
This is the baf... Thank you for your help

Oof. Well a lot of this is from SCS Smarter Priests, maybe most or all of it. I have only a rather dated version of SCS... I could diff it from my version, but I'm not really a scripting expert anyway, so DavidW might need to look at it.

I think we are dealing with two different issues here though - one where she starts casting a spell, and one where she dies and CTDs, which sounds like something else entirely (maybe a death variable issue or something, I dunno). Do you have any idea which spell she starts casting when it crashes? Is there a text string or anything like that?

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


#23 dreamer2007

dreamer2007
  • Member
  • 430 posts

Posted 06 June 2008 - 12:23 AM

Actually, the easiest is probably just to open a command (DOS) window to your game folder and type 'weidu _priest4.bcs' and then paste or zip the resulting _priest4.baf (assuming that's the right script, which it appeared to be from the .cre I looked at)

Yes it's the right script from what I can see with near infinity.
This is the resulting baf from following your instruction

Attached Files



#24 dreamer2007

dreamer2007
  • Member
  • 430 posts

Posted 06 June 2008 - 12:42 AM

Do you have any idea which spell she starts casting when it crashes? Is there a text string or anything like that?

This is the process when I meet them and before the crash occurs:
I talk with Lamalha, after that she attacks... one of her companions, Natalka says "Jerkies on the stake", then I noticed there is another spellcaster in her group named Zeela that casts: Remove Fear, Bless, Protection from Evil, Chant, Protection from Fire, Spiritual Hammer: zeela, and in the same time Lamalha casts Remove Fear, Bless, Protection from Evil, Chant, and then CTD.

Just in case they are needed because of the new found cleric I attached _priest3.baf and zeela.cre

Attached Files


Edited by dreamer2007, 06 June 2008 - 01:04 AM.


#25 Taimon

Taimon
  • Member
  • 387 posts

Posted 06 June 2008 - 01:31 AM

Can you check with NI if Lamalha has the flameblade spell memorized?

#26 Miloch

Miloch

    Barbarian

  • Modder
  • 6579 posts

Posted 06 June 2008 - 02:14 AM

This is the process when I meet them and before the crash occurs:
I talk with Lamalha, after that she attacks... one of her companions, Natalka says "Jerkies on the stake", then I noticed there is another spellcaster in her group named Zeela that casts: Remove Fear, Bless, Protection from Evil, Chant, Protection from Fire, Spiritual Hammer: zeela, and in the same time Lamalha casts Remove Fear, Bless, Protection from Evil, Chant, and then CTD.

"Jerkies on the stake" is from BP (BPTHFSHT.baf). So Natalka, whoever that is (you mean Telka?) must have that script. Maybe there is some conflict here because both SCS and BP have potion scripts, BP having them even pass from one CRE to another. Not sure how that's supposed to work or what happens if there's a conflict.

The whole mess does my head in. The random factors in the script don't help, because it means the same behaviour isn't always reproduceable. (I really wish modders would keep their scripts *somewhat* simple, because it's nearly impossible to tell what's going on here :blink:.)

Still, the spellcasting info you gave might be useful. After casting chant, Lamalha should go on to cast Protection From Fire about 1/3 of the time and go on to do something else 2/3 of the time according to _priest4.baf. And that 2/3 of the time it appears due to her level (5) she'd skip on down to creating potions. Meanwhile, Zeela's probably doing the same thing and at the *same time* she's shouting for and/or passing potions to Telka and possibly vice versa, also maybe Lamalha's responding to that too.

Like I said, the whole mess does my head in. You might have to attach your Telka .cre and her scripts here too, though that might only confuse the matters more :unsure:.

One thing you could try is take Maneira and Telka out of the equation before Lamalha and Zeela get far into their casting (ctrl+Y them) and then vice versa. Then try with just one of each (Zeela and Telka or Lamalha and Maneira). That might help narrow down whether it's a problem with the BP thief shout script or the SCS smarter priest script or a conflict between the two. I'm suspecting the latter though at this point.

@Taimon - Lamalha does not have Flame Blade... pretty sure it's more complicated than one particular spell, but I could be wrong.

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


#27 Autar

Autar
  • Member
  • 52 posts

Posted 06 June 2008 - 02:30 AM

One thing you could try is take Maneira and Telka out of the equation before Lamalha and Zeela get far into their casting (ctrl+Y them) and then vice versa. Then try with just one of each (Zeela and Telka or Lamalha and Maneira).


I've done that in my installation and the funny thing i could kill each assassin if ctr+Y all other ones. But still having the CTD by killing all of them. I think it is something happening when the battle goes on because I'm able to kill them all if do the fight really fast :devil:

Edited by Autar, 06 June 2008 - 02:31 AM.

My English is very poor. Italian is my mother language and I also know German very good. Be patien with me & sry for my bad English ;)

#28 dreamer2007

dreamer2007
  • Member
  • 430 posts

Posted 06 June 2008 - 03:20 AM

Can you check with NI if Lamalha has the flameblade spell memorized?

No she doesn't

Zeela is the problem... Lamalha is ok, and Natalka (yes that is her name) is ok, and there aren't any other companions from what I have time to see. When Zeela starts casting a few things are wrong: first she is invisible from the start, second on paying close attention when she starts casting she has exactly the next casting order: animate dead, remove fear:zeela, protection from evil:zeela, Draw upon holy might:zeela, Protection from fire:zeela, protection from evil, strength modifier, protected from fire , and at the first spell she becomes visible as a ghast?! and I can't kill her using clua console...
Of course right after the protected from fire appears the CTD happens so it seems that truly something is wrong with the spells she casts.

Edited by dreamer2007, 06 June 2008 - 03:23 AM.


#29 Miloch

Miloch

    Barbarian

  • Modder
  • 6579 posts

Posted 06 June 2008 - 12:40 PM

Zeela is the problem... Lamalha is ok, and Natalka (yes that is her name) is ok, and there aren't any other companions from what I have time to see. When Zeela starts casting a few things are wrong: first she is invisible from the start, second on paying close attention when she starts casting she has exactly the next casting order: animate dead, remove fear:zeela, protection from evil:zeela, Draw upon holy might:zeela, Protection from fire:zeela, protection from evil, strength modifier, protected from fire , and at the first spell she becomes visible as a ghast?! and I can't kill her using clua console...
Of course right after the protected from fire appears the CTD happens so it seems that truly something is wrong with the spells she casts.

Zeela and Lamalha have the same spells and pretty much the same script (from SCS). I don't think other mods are changing these scripts either, because of what DavidW said about using the Tutu prefixes. But as I said about the random factors in the script, they won't cast the same spells every time. For example, they won't always cast Animate Dead, but there's a good chance of it. I don't see anything that would make her invisible from the start. You sure she just isn't off screen or behind something? Did you try ctrl-Y on everyone except her (preferably before the battles starts) and you still get this?

When you say "at the first spell she becomes visible as a ghast" do you mean when she casts Animate Dead? Are you sure she just isn't off screen and summons a ghast? Though if it's a standard Animate Dead, it should be skeletons.

I guess you could do a 'weidu --change-log sppr301.spl' and a 'weidu --change-log zeela.cre'.

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


#30 dreamer2007

dreamer2007
  • Member
  • 430 posts

Posted 06 June 2008 - 11:46 PM

You sure she just isn't off screen or behind something? Did you try ctrl-Y on everyone except her (preferably before the battles starts) and you still get this?
When you say "at the first spell she becomes visible as a ghast" do you mean when she casts Animate Dead? Are you sure she just isn't off screen and summons a ghast? Though if it's a standard Animate Dead, it should be skeletons.

The more I look deeper into this problem the more confused I get... she is not invisible, she just isn't there until the battle starts... I went invisible and killed off Lamalha and Natalka (she truly was invisible, hiding, being a thief, but I guess that is normal), and then came with the rest of the group and nobody attacked them, and when I cast detect invisible there was no one there, and once there was no one there to do the casting there was no CTD. Only after I talked to Lamalha the casting of Zeela appeared, and immediately the ghast showed up, that seems to be her, because all the blesses start from it, like it was casting... and of course the CTD.

I guess you could do a 'weidu --change-log sppr301.spl' and a 'weidu --change-log zeela.cre'.

Mods affecting zeela.cre:
00000: /* from game biffs */ ~SETUP-BGT.TP2~ 0 0 // Baldur's Gate Trilogy - Core 1.05b
00001: /* from game biffs */ ~SETUP-DSOTSC.TP2~ 0 0 // DSotSC for BGT-Weidu v1.95 Mod
00002: /* from game biffs */ ~SETUP-SCS.TP2~ 0 120 // Smarter general AI
00003: ~SETUP-SCS.TP2~ 0 130 // Better calls for help
00004: ~SETUP-SCS.TP2~ 0 180 // Smarter priests
00005: ~SETUP-BPV177.TP2~ 0 0 // Big Picture AI/Enhancement Mod, version 177 weidu (beta)
00006: ~DIVINE_REMIX/SETUP-DIVINE_REMIX.TP2~ 0 0 // Divine Remix Core Components (Required for Everything)
00007: ~SETUP-XPMOD.TP2~ 0 1 // Reduce to 50%
00008: ~SETUP-BP-BALANCER.TP2~ 0 18 // Also remove SOME (partly random) overpowered custom items from other Mods

Mods affecting sppr301.spl:
00000: /* from game biffs */ ~SETUP-BG2FIXPACK.TP2~ 0 0 // BG2 Fixpack - Core Fixes
00001: /* from game biffs */ ~SETUP-SCS.TP2~ 0 10 // Correct various errors on race, class etc
00002: ~ADPACK/SETUP-ADPACK.TP2~ 0 1 // Divine spells lvl 1-8
00003: ~DIVINE_REMIX/SETUP-DIVINE_REMIX.TP2~ 0 0 // Divine Remix Core Components (Required for Everything)

I also attached my weidu log, although it's a pretty standard install using Big World Project instructions and installers, and this is the only CTD causing bug that I've encountered so far and I've went through almost half of the BG1 content.

Attached Files


Edited by dreamer2007, 07 June 2008 - 12:15 AM.


#31 Miloch

Miloch

    Barbarian

  • Modder
  • 6579 posts

Posted 07 June 2008 - 08:17 PM

Well at this point, I think someone would need to replicate your same setup and try to reproduce the bug. Unfortunately I can't do that right now - I don't even have enough disk space to install BGT separately without blowing away BG2, which I need for modding purposes.

I did look at both AD Pack and Divine Remix with what they do to Animate Dead, and they really don't do anything to the spell itself - not enough to cause a bug like this, anyway. However, the regular version of the spell *does* make a ghast appear, and at the same point as the caster, so I'm wondering if there's some weirdness with that. As to why she's invisible and invulnerable, all I can think of is maybe she quaffs a couple potions for that - it's entirely possible given the scripts. But there aren't any weird flags on the .cre and all the scripts are from SCS. It could be something funky going on with the area script or something else, but there's only so much I can ask you to attach without replicating your setup. Natalka is weird too since usually there are two thieves with different names, but you said that didn't seem to be the problem.

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


#32 Autar

Autar
  • Member
  • 52 posts

Posted 07 June 2008 - 08:40 PM

I think we have different issues here. Its possible to reproduce the Problems ;)

dreamer2007 where you met the Assassin group?

I'm asking because I had situation like this:

With

~SETUP-SCS.TP2~ #0 #280 // Relocated bounty hunters

installed I met Lamalha at AR3900 (i think they should be replaced to appear randomly by SCS) and had a CTD directly during the buffing of Zeela.

In my next Installation I skipped the component (in the best case it was simply not working). After this the buffing worked and I just had CTDs if the fight was going on.

Edited by Autar, 07 June 2008 - 08:41 PM.

My English is very poor. Italian is my mother language and I also know German very good. Be patien with me & sry for my bad English ;)

#33 dreamer2007

dreamer2007
  • Member
  • 430 posts

Posted 07 June 2008 - 09:00 PM

I found Lamalha at the coordinates x=2086 , y=197, Area: AR3900. She was not placed randomly, even when I played without ScS she was still there from what I remember but had a different party.

#34 Taimon

Taimon
  • Member
  • 387 posts

Posted 07 June 2008 - 11:20 PM

@Autar: This SCS component only relocates the ogre mages in Baldur's Gate. I guess you meant the "Improved deployment for parties of assassins" component.

Can someone reproduce this without installing the whole BWP? I will take a look if this gets down to 5 or 6 mods, that have to be installed.

#35 Miloch

Miloch

    Barbarian

  • Modder
  • 6579 posts

Posted 08 June 2008 - 12:37 AM

Can someone reproduce this without installing the whole BWP? I will take a look if this gets down to 5 or 6 mods, that have to be installed.

From the looks of it, the suspect mods would be:
BGT
SCS
Arcane/Divine Pack
BP
Divine Remix

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


#36 Defel

Defel
  • Member
  • 15 posts

Posted 08 June 2008 - 04:21 PM

Divine Remix isn't the problem as I didn't install it because of this thread, but I have this problem as well. The crash always occurs when Zeela casts a spell and the animation is in the middle of playing out. I've seen it happen with Command, but mostly Hold Person. This doesn't make much sense to me since I had just fought Mullahey and he used Hold Person w/o any issues.

Is it possible to remove it from her spellbook with NI? It doesn't seem to work for me. After I modify someone's memorized spells and save, I can't get back into the CRE.

Edited by Defel, 08 June 2008 - 04:37 PM.


#37 Miloch

Miloch

    Barbarian

  • Modder
  • 6579 posts

Posted 08 June 2008 - 04:40 PM

In this case, Hold Person is dependent on whether she has it memorised, so removing it would probably work. A lot of the other spells get cast by her script whether she has them or not.

I don't know if NI updates offsets when you do that kind of editing. DLTCEP should work though, just open the CRE, go to Items & Spells, select Hold Person and Forget spell (twice since she has 2 memorised). Then save it to your override, but make sure to back up the existing one first. Also you probably want to use a save from before you entered this area, otherwise the CRE might be already in your saved game.

While you're at it, can you open a command prompt to your game folder and do a 'weidu --change-log sppr208.spl'. Might turn up something new, might not.

Edit: maybe we should be looking at animations that are possibly crashing... Try doing:

weidu --change-log spmindat.bam
weidu --change-log hold.pro
weidu --change-log travel.bam
weidu --change-log sttravl2.bmp
weidu --change-log spcomstt.bam
weidu --change-log spcomend.bam

Probably clutching at straws here, but maybe it'll turn up something.

Edited by Miloch, 08 June 2008 - 04:46 PM.

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


#38 Defel

Defel
  • Member
  • 15 posts

Posted 08 June 2008 - 05:09 PM

I ran through this battle a few times and here's what I found:

It's all about Zeela. I CTRL-Y insta-killed the rest of their party and it still crashes in the same spot.

I know nothing about modding BG2 so I'm going to talk in my layman's terms. It's as if there's a script that fires for an NPC after a spell is successfully cast and Zeela's is corrupt. If Zeela is incapacitated between the time the screen says "Zeela casts Hold Person" or "Zeela casts Command" and when the spell actually hits its targets, it does not crash. If I pause and CTRL-Y her right after her spell is complete and when the spell begins to animate, it does not crash.

Once I managed to cast Hold Person on her at the same time she casted on my group. Since she was held before her spell hit my group, it did not crash when it did hit my group a millisecond later. Do NPCs have a script that runs after a spell is successfully cast?...I guess if someone wanted an NPC to say, "Boo ya! I totally got you with my spell" or something. If so, logically, I would say the problem is there.

I'm done looking at this though. I'm just going to CTRL-Y her.

#39 DavidWallace

DavidWallace
  • Validating
  • 337 posts

Posted 08 June 2008 - 11:57 PM

I'm vaguely watching this, but I know too little about mega-installs to be much help. I've not heard any similar bug with "base" SCS installs. If I had to guess, I'd say some spell modified by ADpack or BP is being cast by an SCS script and for some reason that causes trouble. Try uninstalling one or both and seeing if it helps.

#40 Taimon

Taimon
  • Member
  • 387 posts

Posted 09 June 2008 - 02:38 AM

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.)

Edited by Taimon, 09 June 2008 - 03:22 AM.