Author Topic: Resting will completely freeze the game.  (Read 4958 times)

Jimbo

  • Guest
Resting will completely freeze the game.
« on: April 06, 2014, 08:17:08 AM »
I'm not really sure why, but I felt it was a pretty harsh bug to bring up because I can't finish the game as I can't rest.

After so long when I attempt to rest, the next time the screen is up it's completely frozen? I know that it's Beta so I won't go "nuts". Hehe.

Anyway, you've guys have done a great job! Keep up the great work.

Offline Echon

  • Global Moderator
  • Planewalker
  • *****
  • Posts: 1944
  • Gender: Male
    • The Fields of the Dead
Re: Resting will completely freeze the game.
« Reply #1 on: April 06, 2014, 10:07:39 AM »
It is frustrating when players experience crashes that I cannot reproduce, but I will continue to try to find the root of the problem. Are you using BG:EE, Tutu and BGT? Do you have any other mods installed? And would you mind emailing your savegame to echon at echon dot dk?

Offline jastey

  • Global Moderator
  • Planewalker
  • *****
  • Posts: 1524
  • Gender: Female
Re: Resting will completely freeze the game.
« Reply #2 on: April 06, 2014, 10:35:05 AM »
Jimbo: Do you have dead party members with you when the crash occurs?

Echon: Not sure this is connected to that - but a while back, we had CTD upon resting if a dead party member would have had a dream dialogue (dialogue that triggers upon resting) and the according script block startd with the AreaType() check. Reordering the script blocks so that the first trigger would be one detecting the death solved the problem. Meaning, you want a trigger that will fail if the character is dead evaluated before the AreaType() check, keeping the AreaType() from getting parsed at all. The discussion is here, in case you have access to the BG1NPC Project. Reordering e.g. a script block for Zxar looking like this:
Code: [Select]
IF %BGT_VAR%
AreaType(FOREST)
InParty("%IMOEN_DV%")
InParty(Myself)
CombatCounter(0)
!See([ENEMY])
See("%IMOEN_DV%")
!StateCheck("%IMOEN_DV%",CD_STATE_NOTVALID)
!StateCheck(Myself,CD_STATE_NOTVALID)
RealGlobalTimerExpired("X#DreamTalk","GLOBAL")
Global("X#XZIM1","GLOBAL",2)
THEN
RESPONSE #100
IncrementGlobal("X#XZIM1","GLOBAL",1)
RealSetGlobalTimer("Xz1BackUpTimer","GLOBAL",18)
RealSetGlobalTimer("X#DreamTalk","GLOBAL",180)
StartDialogueNoSet("%IMOEN_DV%")
END


so that it looks like this prevented the crash from happening:
Code: [Select]
IF
!StateCheck(Myself,CD_STATE_NOTVALID)
%BGT_VAR%
AreaType(FOREST)
InParty("%IMOEN_DV%")
InParty(Myself)
CombatCounter(0)
!See([ENEMY])
See("%IMOEN_DV%")
!StateCheck("%IMOEN_DV%",CD_STATE_NOTVALID)
RealGlobalTimerExpired("DreamTalk","GLOBAL")
Global("XZIM1","GLOBAL",2)
THEN
RESPONSE #100
IncrementGlobal("XZIM1","GLOBAL",1)
RealSetGlobalTimer("Xz1BackUpTimer","GLOBAL",18)
RealSetGlobalTimer("DreamTalk","GLOBAL",180)
StartDialogueNoSet("%IMOEN_DV%")
END



Offline Echon

  • Global Moderator
  • Planewalker
  • *****
  • Posts: 1944
  • Gender: Male
    • The Fields of the Dead
Re: Resting will completely freeze the game.
« Reply #3 on: April 06, 2014, 10:52:24 AM »
Thanks, but dream dialogues sound like something that has been added in BG1NPC (which he may well have been using, of course). I do not recall any triggering during dreams other than the PC's bhaal spawn powers.

Offline jastey

  • Global Moderator
  • Planewalker
  • *****
  • Posts: 1524
  • Gender: Female
Re: Resting will completely freeze the game.
« Reply #4 on: April 06, 2014, 01:38:47 PM »
Quote
I do not recall any triggering during dreams other than the PC's bhaal spawn powers.
Dream dialoguesmeans the ones triggered by the xxxD.bcs, the ones that fire upon resting. I don't know whether or how much dialogues FotD introduces, and whether any of them are triggered via the xxxD.bcs of the party NPCs, but when I read the problem description it just rang a bell.

Offline jastey

  • Global Moderator
  • Planewalker
  • *****
  • Posts: 1524
  • Gender: Female
Re: Resting will completely freeze the game.
« Reply #5 on: May 02, 2014, 12:46:34 PM »
Is this solved? For BG:EE there are bug reports for crashing game upon resting, caused by items in a bag of holding. See here: http://forum.baldursgate.com/discussion/comment/495149/#Comment_495149

Offline Echon

  • Global Moderator
  • Planewalker
  • *****
  • Posts: 1944
  • Gender: Male
    • The Fields of the Dead
Re: Resting will completely freeze the game.
« Reply #6 on: May 04, 2014, 09:49:18 AM »
Is this solved? For BG:EE there are bug reports for crashing game upon resting, caused by items in a bag of holding. See here: http://forum.baldursgate.com/discussion/comment/495149/#Comment_495149

No, Jimbo never replied. Thanks, though, pointing this out.

 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
What color is grass?:
What is the seventh word in this sentence?:
What is five minus two (use the full word)?: