Jump to content


Photo

Updated: Resting STILL causing CtDs


  • Please log in to reply
72 replies to this topic

#41 Jenavee

Jenavee

    Little Fire Kitten

  • Member
  • 178 posts

Posted 19 December 2010 - 03:24 AM

Ok, couldn't figure out how to do it with Near Infinity, so I used 'Weidu JaheiraJ.dlg' in a command prompt to get it.

EDIT: Bwahahaha! This is HILARIOUS....it's in a variant of BASIC? That's awesome....more importantly, BASIC / QBasic / VBasic are the only scripting languages I can use. This is perfect, I could easily edit game files like this if there was a way to recompile them!

Wow. Reading through some of Jaheira's dialogues makes me dislike her more than I already did....the only reason I keep her around anyway is for the heals, but some of her opinions are just....BLEGH.

Attached Files


Edited by Jenavee, 19 December 2010 - 03:34 AM.

Join us on the Baldur's Gate Discord @ https://discord.gg/Rp7Cu5k

 

c2oJYXg.gif


#42 Lollorian

Lollorian

    smiley addict

  • Member
  • 4150 posts

Posted 19 December 2010 - 03:34 AM

Ok, I got a quick comparison with Rheikon's (working) trimpack and my current borkpack and ... results attached :D All in all, there's nothing different except the old trimpack using ToA v2.0, and not commenting out the lines where the installers update themselves :)

Nothing that looks like it should affect resting :unsure:

Attached Files


"I am the smiley addict, yellow and round, this is my grin :D when I'm usually around :P.
When there's trouble brewing, see me post, cuz it's usually a wall o' yellow and your eyes are toast!!!"

BWP GUIDE - BWP FIXES - impFAQ - NPC LIST - KIT LIST - AREA LIST

GitHub Links : BWP Fixpack | Lolfixer | BWP Trimpack | RezMod


#43 Jenavee

Jenavee

    Little Fire Kitten

  • Member
  • 178 posts

Posted 19 December 2010 - 03:38 AM

Well, it might not be an actual Resting bug. What if it's something being TRIGGERED by Resting? If that's the case, then I don't want to think how problematic solving it could become.

When I was having crashes on Rest, sometimes changing location (such as outdoors --> inn) would let me rest without crashing.

Edited by Jenavee, 19 December 2010 - 03:40 AM.

Join us on the Baldur's Gate Discord @ https://discord.gg/Rp7Cu5k

 

c2oJYXg.gif


#44 Lollorian

Lollorian

    smiley addict

  • Member
  • 4150 posts

Posted 19 December 2010 - 03:42 AM

Well, it might not be an actual Resting bug. What if it's something being TRIGGERED by Resting?

I'd put all my money on that! :D

I had a similar bug a few months (years? :unsure:) back with Montaron in BGT - Monty would say his line, then someone should've said theirs but they were prolly not in my party at that time, so the game crashed :P

"I am the smiley addict, yellow and round, this is my grin :D when I'm usually around :P.
When there's trouble brewing, see me post, cuz it's usually a wall o' yellow and your eyes are toast!!!"

BWP GUIDE - BWP FIXES - impFAQ - NPC LIST - KIT LIST - AREA LIST

GitHub Links : BWP Fixpack | Lolfixer | BWP Trimpack | RezMod


#45 Jenavee

Jenavee

    Little Fire Kitten

  • Member
  • 178 posts

Posted 19 December 2010 - 03:45 AM

About your Montaron, sounds like it was either missing a dependency or wasn't coded properly to check for a missing NPC and bypass if necessary.

EDIT: The NPC it was looking for was Xzar, wasn't it? That's the guy who travelled with him, after all.

I only came to suspect a couple days ago, when Jaheira started a conversation on Rest after I killed Minsc and Imoen (the full party of 4 was crashing on rest), which led me to believe it was various banters or something that was causing the crashes on rest, or at least SOME of the crashes.

Btw, if ya didn't notice, I posted that .D file a few posts up, top of page 3. :woot:

Edited by Jenavee, 19 December 2010 - 03:54 AM.

Join us on the Baldur's Gate Discord @ https://discord.gg/Rp7Cu5k

 

c2oJYXg.gif


#46 -Rheikon-

-Rheikon-
  • Guest

Posted 19 December 2010 - 03:58 AM

Well I was hoping it would be something simple but looks like it is not turning out that way. If it can happen on a brand new game with no party members or later in the game with them, also like Jenavee mentioned sometimes just going to a different place causes it not to happen. seems like it will be tough to nail it... sigh

#47 Lollorian

Lollorian

    smiley addict

  • Member
  • 4150 posts

Posted 19 December 2010 - 10:30 AM

Ok, totally awkward and random guess here, but if you guys are running ToBExloader when it crashes, could you try running the game via BGMain.exe? My guess is it would still crash cause of the SONGLIST.2DA limit but eh ... doesn't hurt to try :P

"I am the smiley addict, yellow and round, this is my grin :D when I'm usually around :P.
When there's trouble brewing, see me post, cuz it's usually a wall o' yellow and your eyes are toast!!!"

BWP GUIDE - BWP FIXES - impFAQ - NPC LIST - KIT LIST - AREA LIST

GitHub Links : BWP Fixpack | Lolfixer | BWP Trimpack | RezMod


#48 Wisp

Wisp
  • Modder
  • 1353 posts

Posted 19 December 2010 - 02:11 PM

Ok, couldn't figure out how to do it with Near Infinity, so I used 'Weidu JaheiraJ.dlg' in a command prompt to get it.

Thank you.
Something has messed around with the weights so the Ployer stuff is of lower priority, resulting in this problem when combined with the loose triggering condition from ImoenRom. Can you also take a change-log of jaheiraj.dlg?

For the CtDs on rest you may also want to have a look at player1d.bcs. It's a script that runs whenever the party rests, so it could conceivably be involved (but it's certainly not the only resource in play).

#49 Jenavee

Jenavee

    Little Fire Kitten

  • Member
  • 178 posts

Posted 19 December 2010 - 06:46 PM

@Lol: I only run ToBExloader when creating a character, then save and reload in BGMain as soon as the game starts.

@Wisp: Sure, I'd be more than happy to get a change-log, but I have no idea how to. As for the player1d.bcs, I assume I can see that in Near Infinity?

In any case, I need SLEEP. I'll take care of these once I wake :unsure:

Join us on the Baldur's Gate Discord @ https://discord.gg/Rp7Cu5k

 

c2oJYXg.gif


#50 Hoppy

Hoppy

    Mage Hunter

  • Member
  • 2107 posts

Posted 19 December 2010 - 10:13 PM

As for the player1d.bcs, I assume I can see that in Near Infinity?


Yes. You can copy paste into a post as it might contain a red flag for shit goin' on. :new_thumbs: Maybe? :shifty:

In any case, I need SLEEP.

What the hell is that??? :unsure: :lol:

EDIT: Holy shirt over 2000 posts and I used more emotes than Lollorian and none of my posts are Spam or LOL CAT speak. Have I been hacked? :lol2:

EDIT2: No offense Lollorian as you are so fun in your quirkiness :cheers:

Ok, totally awkward and random guess here, but if you guys are running ToBExloader when it crashes, could you try running the game via BGMain.exe? My guess is it would still crash cause of the SONGLIST.2DA limit but eh ... doesn't hurt to try :P



but... it would only crash if the SONGLIST.2DA hack is through the ToBex and it is a BGmain hack that BGT does on installation, correct? Worth a try but...

I had asked that before and Jenavee was getting the crashes using the BGmain as a loader but creating a character with ToBEx so I asked about the kit.

Now with the other crashes on rest in this thread, there has to be a common connection somewhere. I am tired, I need to try this SLEEP thing. :P

Edited by Hoppy, 20 December 2010 - 02:26 PM.

?May God defend me from my friends; I can defend myself from my enemies.? - Voltaire

"If you think that a size of the mod indicates an amount of bugs that it introduces and their severity you're totally wrong...
Try not to use next time a load of shitty "super-mega-improving-tweaking-revising" small mods that you have installed and try to meet Wulfgar once again."
- King Diamond


Posted Image The Definitive Guide to Trolls

"Finding food and a place to sleep is your own business. I imagine Paul the Cat should have some fun with you, too" - Potencius in The Darkest Day
"You have been warned, little bastard!" -Khelben to a young <CHARNAME>in Check the Bodies
There are those who will snivel, and offer nothing in return except criticism, meanwhile never lifting a finger to do other than to cut other peoples labor down simply for the fact that they lack the capability to put anything of their own together. -erebusant

#51 Jenavee

Jenavee

    Little Fire Kitten

  • Member
  • 178 posts

Posted 19 December 2010 - 11:49 PM

Alrighty, back...here's my player1d.bsc results. Still need to figure out how to [get? / make?] a change-log....help would be appreciated, please. :unsure:

Attached Files


Join us on the Baldur's Gate Discord @ https://discord.gg/Rp7Cu5k

 

c2oJYXg.gif


#52 Wisp

Wisp
  • Modder
  • 1353 posts

Posted 20 December 2010 - 03:07 AM

You can get a change-log by running weidu --change-log jaheiraj.dlg >out.txt in your BG2 dir from a command prompt. You'll get an out.txt in your BG2 directory and probably a bunch of jaheiraj.#####.dlg files. Zip up the text file and the .dlg files and upload them here.

Edited by Wisp, 20 December 2010 - 03:08 AM.


#53 Jenavee

Jenavee

    Little Fire Kitten

  • Member
  • 178 posts

Posted 20 December 2010 - 03:32 AM

Here it is; thanks for the tip. :lol:

Attached Files


Edited by Jenavee, 20 December 2010 - 03:33 AM.

Join us on the Baldur's Gate Discord @ https://discord.gg/Rp7Cu5k

 

c2oJYXg.gif


#54 Wisp

Wisp
  • Modder
  • 1353 posts

Posted 20 December 2010 - 12:35 PM

Well, there doesn't appear to be anything odd about your player1.baf. The only mod-added stuff is from Romantic Encounters and ImoenRom. Since you say it can randomly crash whenever you try to rest I'd say it's unlikely to be either.
I guess you can check baldur.bcs as well, or maybe it's something else entirely.

The problem with the Ployer talk seems to simply be that ImoenRom adds a PID-like state to jaheiraj.dlg. It's (probably) weighted to be last in the vanilla dialogue, but with modded games the weight is too low and the PID state ends up in the middle of the heap and cuts off anything below it while it's accessible. I'll try to confirm the issue when I have more time.

Edited by Wisp, 20 December 2010 - 12:35 PM.


#55 Jenavee

Jenavee

    Little Fire Kitten

  • Member
  • 178 posts

Posted 20 December 2010 - 12:51 PM

Well, it was typically trying to crash in any location that wasn't an Inn or 'safe zone'...effectively, anyplace a monster might spawn, it would sometimes crash, depending on what was supposed to happen during that Rest. I solved the crashes in public Athkatla zones by removing Wild Mage Additions (Rhialto was spawning instead of Flaming Fist Guard; and if I killed him, the next Rest in public would crash). However, I was still getting various crashes both in safe zones (rare, obviously due to banters; and in outdoor zones (much more common, and not always banter-related, apparently).

Lemme go check baldur.bcs, and I'll upload the results.

Edited by Jenavee, 20 December 2010 - 12:52 PM.

Join us on the Baldur's Gate Discord @ https://discord.gg/Rp7Cu5k

 

c2oJYXg.gif


#56 Hoppy

Hoppy

    Mage Hunter

  • Member
  • 2107 posts

Posted 20 December 2010 - 12:56 PM

One thing you can try is deleting the contents of scripts you think might be causing the problem. Open the script in NI and delete the contents, compile and save. Make backups of your scripts so you don't accidentally overwrite an existing one when you roll back or fix the offending script. Might just want to have a folder with the originals so you can just plop 'em back in the override if the edits don't shed any light on the matter.

I would do this for all NPC's in party and the player1d.bcs (not really sure if you tried this yet) at first and then we can see if it is related to the BALDUR.BCS or area scripts. This will block any dialogs or actions to fire from the scripts and it might help narrow something done as change logs and reinstall aren't getting you anywhere.

Off topic but I solved a haunting CTD (not resting but an area load) in Region of Terror by doing the above approach with the area script and then I could go back and make my changes to fix the script.
?May God defend me from my friends; I can defend myself from my enemies.? - Voltaire

"If you think that a size of the mod indicates an amount of bugs that it introduces and their severity you're totally wrong...
Try not to use next time a load of shitty "super-mega-improving-tweaking-revising" small mods that you have installed and try to meet Wulfgar once again."
- King Diamond


Posted Image The Definitive Guide to Trolls

"Finding food and a place to sleep is your own business. I imagine Paul the Cat should have some fun with you, too" - Potencius in The Darkest Day
"You have been warned, little bastard!" -Khelben to a young <CHARNAME>in Check the Bodies
There are those who will snivel, and offer nothing in return except criticism, meanwhile never lifting a finger to do other than to cut other peoples labor down simply for the fact that they lack the capability to put anything of their own together. -erebusant

#57 Jenavee

Jenavee

    Little Fire Kitten

  • Member
  • 178 posts

Posted 20 December 2010 - 01:06 PM

Didn't know I could do that, Hoppy. :blink: My current installation hasn't had a CTD yet from resting, but I did a speedrun to chapter 4, so I haven't had to rest anywhere but at an inn while waiting for dreams. I left Irenicus' dungeon, slept at an inn for 12 days to get all 6 dreams, then CLUA'd 100k and went straight to Spellhold via Alternatives without having to kill anything outside of the starter dungeon. I'll be sure to try yer advice if I get CTD's while in Spellhold / Underdark / Etc.


Anyway, here ya go, Wisp.

Attached Files


Edited by Jenavee, 20 December 2010 - 01:11 PM.

Join us on the Baldur's Gate Discord @ https://discord.gg/Rp7Cu5k

 

c2oJYXg.gif


#58 Hoppy

Hoppy

    Mage Hunter

  • Member
  • 2107 posts

Posted 20 December 2010 - 02:36 PM

Didn't know I could do that, Hoppy. :blink: My current installation hasn't had a CTD yet from resting, but I did a speedrun to chapter 4, so I haven't had to rest anywhere but at an inn while waiting for dreams. I left Irenicus' dungeon, slept at an inn for 12 days to get all 6 dreams, then CLUA'd 100k and went straight to Spellhold via Alternatives without having to kill anything outside of the starter dungeon. I'll be sure to try yer advice if I get CTD's while in Spellhold / Underdark / Etc.


Anyway, here ya go, Wisp.


So you are clear of CTD's and now trying to fix the Jaheira dialog bug? Pretty busy week so my brain is like Ramen al dente :)

We could probably fix the Imoen Romance thing right here if you search the dialog text that came up using Near Ininfty. See what state it is and look to see what triggers there are. It could be adding a second trigger to block it interfering with other dialogs.

I don't have the mod installed (yet) as I would do it. Hope this makes sense.
?May God defend me from my friends; I can defend myself from my enemies.? - Voltaire

"If you think that a size of the mod indicates an amount of bugs that it introduces and their severity you're totally wrong...
Try not to use next time a load of shitty "super-mega-improving-tweaking-revising" small mods that you have installed and try to meet Wulfgar once again."
- King Diamond


Posted Image The Definitive Guide to Trolls

"Finding food and a place to sleep is your own business. I imagine Paul the Cat should have some fun with you, too" - Potencius in The Darkest Day
"You have been warned, little bastard!" -Khelben to a young <CHARNAME>in Check the Bodies
There are those who will snivel, and offer nothing in return except criticism, meanwhile never lifting a finger to do other than to cut other peoples labor down simply for the fact that they lack the capability to put anything of their own together. -erebusant

#59 Jenavee

Jenavee

    Little Fire Kitten

  • Member
  • 178 posts

Posted 20 December 2010 - 02:59 PM

Not much sense for me, anyway, at least at the moment. I need that nasty thing called Sleep again, and the full extent of my scripting capacity lies in BASIC / QBasic / VBasic, so this is new territory, though mildly familiar. As for the VBasic, I didn't directly learn any of that other than what I could infer from the former two...which was the same method I used for learning QBasic from BASIC.

So basically, find the stuff that was said in the pictures I posted, then figure out what IF - THEN GOTO statement(s) are calling it, and ensure there's no other variables being set by it?

Edited by Jenavee, 20 December 2010 - 03:04 PM.

Join us on the Baldur's Gate Discord @ https://discord.gg/Rp7Cu5k

 

c2oJYXg.gif


#60 Hoppy

Hoppy

    Mage Hunter

  • Member
  • 2107 posts

Posted 20 December 2010 - 03:55 PM

So basically, find the stuff that was said in the pictures I posted, then figure out what IF - THEN GOTO statement(s) are calling it, and ensure there's no other variables being set by it?



Sort of. I would first search for the string using near infinity in the tab SEARCH at the top. You can search texts in dialogs specifically :cheers: Then it will give you the result and the state at which it appears in whichever dialog. Then you can open that dialog and navigate to that state by entering the state number in the bottom box (of the dialog file in the STATE box) and press enter.

You will see that state in one window and the next window below it is the trigger for it to appear. It may say Global checks or something similar. The bottom trigger box is the response triggers that you click on in game and those are different, depending on who is in the party and all sorts of other things.

If you want to navigate through the dialog you can press Select and that automatically goes to the next state whether in the same dialog or another dialog. That can be useful if dialogs are broken and the whole chain is getting messed up. May not be the case here.

I have attached a picture in hopes that it will give a visual of browsing a dialog file. Once we get a little more info, then we can see what the .d file will need to be.

Oh, the STATE numbers may appear off by one as State 1 appears as 0 in the code or something like that.

Posted Image

Edited by Hoppy, 20 December 2010 - 03:59 PM.

?May God defend me from my friends; I can defend myself from my enemies.? - Voltaire

"If you think that a size of the mod indicates an amount of bugs that it introduces and their severity you're totally wrong...
Try not to use next time a load of shitty "super-mega-improving-tweaking-revising" small mods that you have installed and try to meet Wulfgar once again."
- King Diamond


Posted Image The Definitive Guide to Trolls

"Finding food and a place to sleep is your own business. I imagine Paul the Cat should have some fun with you, too" - Potencius in The Darkest Day
"You have been warned, little bastard!" -Khelben to a young <CHARNAME>in Check the Bodies
There are those who will snivel, and offer nothing in return except criticism, meanwhile never lifting a finger to do other than to cut other peoples labor down simply for the fact that they lack the capability to put anything of their own together. -erebusant