Jump to content


Photo

Dialog bug ??!


  • Please log in to reply
24 replies to this topic

#1 xagon

xagon
  • Member
  • 13 posts

Posted 19 September 2015 - 07:03 AM

I was asked to create a thread about this problem:

http://www.shsforums...-39#entry581038

 

Imoen and Breagar stop moving all the time and keep looking at each other as if they want to initiate a dialog.

 

I used LStest and this message keeps repeating: "Block 48 of ACBRE.BCS"

 

block 48 of ACBRE.BCS
		PlaySong(115)
		ActionOverride("imoen2",StartDialogueNoSet("ACBRE"))
END

IF
	GlobalGT("CHAPTER","GLOBAL",1)
	InParty(Myself)
	InParty("imoen2")
	OR(2)
		Global("ACBreImmyActive","GLOBAL",0)
		Global("ACBreImmyActive","GLOBAL",2)
THEN
	RESPONSE #100
		ActionOverride(Player1,DisplayString(Myself,152002)) // Running

 

Since my knowledge about modding is zero I would appreaciate it if anyone could help me find the solution.

Attached Files


Edited by xagon, 19 September 2015 - 07:05 AM.


#2 micbaldur

micbaldur

    Retired Perkele, Ultimate BWP player

  • Member
  • 1692 posts

Posted 19 September 2015 - 07:18 AM

Thanks for making this topic and not to post mine. :cheers:

 

Your ACBRE.BCS is, how i put this nicely, totally f***ked up. :blink:

 

Could you post weidu.log and make change-log from ACBRE.BCS.

 

Hopely Imp and/or Lollorian help because they know much more than me.


CHARNAMEs excellent adventures in the world of BWP expert-install here

 

Thanks to Leonardo Watson for making this possible


#3 Roxanne

Roxanne

    Modder

  • Member
  • 3564 posts

Posted 19 September 2015 - 07:24 AM

I was asked to create a thread about this problem:

http://www.shsforums...-39#entry581038

 

Imoen and Breagar stop moving all the time and keep looking at each other as if they want to initiate a dialog.

 

I used LStest and this message keeps repeating: "Block 48 of ACBRE.BCS"

 

block 48 of ACBRE.BCS
		PlaySong(115)
		ActionOverride("imoen2",StartDialogueNoSet("ACBRE"))
END

IF
	GlobalGT("CHAPTER","GLOBAL",1)
	InParty(Myself)
	InParty("imoen2")
	OR(2)
		Global("ACBreImmyActive","GLOBAL",0)
		Global("ACBreImmyActive","GLOBAL",2)
THEN
	RESPONSE #100
		ActionOverride(Player1,DisplayString(Myself,152002)) // Running

 

Since my knowledge about modding is zero I would appreaciate it if anyone could help me find the solution.

 

I was asked to create a thread about this problem:

http://www.shsforums...-39#entry581038

 

Imoen and Breagar stop moving all the time and keep looking at each other as if they want to initiate a dialog.

 

I used LStest and this message keeps repeating: "Block 48 of ACBRE.BCS"

 

block 48 of ACBRE.BCS
		PlaySong(115)
		ActionOverride("imoen2",StartDialogueNoSet("ACBRE"))
END

IF
	GlobalGT("CHAPTER","GLOBAL",1)
	InParty(Myself)
	InParty("imoen2")
	OR(2)
		Global("ACBreImmyActive","GLOBAL",0)
		Global("ACBreImmyActive","GLOBAL",2)
THEN
	RESPONSE #100
		ActionOverride(Player1,DisplayString(Myself,152002)) // Running

 

Since my knowledge about modding is zero I would appreaciate it if anyone could help me find the solution.

Suggest to change 
block 48 of ACBRE.BCS
		PlaySong(115)
		ActionOverride("imoen2",StartDialogueNoSet("ACBRE"))
END

to

PlaySong(115)
		ActionOverride("imoen2",StartDialogueNoSet("Imoen2"))

 

The relevant dialogue to trigger is in Imoen2J not in Bregar's J file.


The Sandrah Saga

another piece of *buggy, cheesy, unbalanced junk*

 


#4 xagon

xagon
  • Member
  • 13 posts

Posted 19 September 2015 - 07:58 AM

Suggest to change block 48 of ACBRE.BCS PlaySong(115) ActionOverride("imoen2",StartDialogueNoSet("ACBRE")) END

to

PlaySong(115)
		ActionOverride("imoen2",StartDialogueNoSet("Imoen2"))

 

The relevant dialogue to trigger is in Imoen2J not in Bregar's J file.

 

I did but the effect was that my main character now also stops moving.



#5 The Imp

The Imp

    Not good, see EVIL is better. You'll LIVE.

  • Member
  • 5155 posts

Posted 19 September 2015 - 08:09 AM

player1 -> imoen2

...

ActionOverride("imoen2",StartDialogueNoSet("Imoen2"))

That's the part the LStest adds so the player notes that in the dialog box via the player1 as it's target, the rest of the script is what actually matter/is wrong in the original script... with the trigger, when it's running etc.
@Xanon, write the rest of the script's in question until you run to an END.

Aka, sequesne is from the IF ... THEN ... END . Not END ... IF ... THEN ..

What's likely the problem is that this is wrong:

IF
	GlobalGT("CHAPTER","GLOBAL",1)
	InParty(Myself)
	InParty("imoen2")
	OR(2)
		Global("ACBreImmyActive","GLOBAL",0)
		Global("ACBreImmyActive","GLOBAL",2)
THEN

As it's likey either needs to be:

IF
	GlobalGT("CHAPTER","GLOBAL",1)
	InParty(Myself)
	InParty("imoen2")
	Global("ACBreImmyActive","GLOBAL",0)
THEN

Or:

IF
	GlobalGT("CHAPTER","GLOBAL",1)
	InParty(Myself)
	InParty("imoen2")
	Global("ACBreImmyActive","GLOBAL",2)
THEN

But not, or both.

 

Or something else.


Edited by The Imp, 19 September 2015 - 08:47 AM.

Yep, Jarno Mikkola. my Mega Mod FAQ. Use of the BWS, and how to use it(scroll down that post a bit). 
OK, desert dweller, welcome to the sanity, you are free to search for the limit, it's out there, we drew it in the sand. Ouh, actually it was still snow then.. but anyways.


#6 Roxanne

Roxanne

    Modder

  • Member
  • 3564 posts

Posted 19 September 2015 - 08:19 AM

Suggest to change block 48 of ACBRE.BCS PlaySong(115) ActionOverride("imoen2",StartDialogueNoSet("ACBRE")) END

to

PlaySong(115)
		ActionOverride("imoen2",StartDialogueNoSet("Imoen2"))

 

The relevant dialogue to trigger is in Imoen2J not in Bregar's J file.

 

I did but the effect was that my main character now also stops moving.

Bregar BCS has this

IF
    !Global("ENDOFBG1","GLOBAL",2)
    InParty(Myself)
    InParty("Imoen2")
    See("Imoen2")
    RealGlobalTimerExpired("ACBreImmyTimer","GLOBAL")
    CombatCounter(0)
    !See([ENEMY])
    !StateCheck("ACBre",CD_STATE_NOTVALID)
    !StateCheck("Imoen2",CD_STATE_NOTVALID)
    OR(4)
        Global("ACBreImmyTalk","GLOBAL",4)
        Global("ACBreImmyTalk","GLOBAL",6)
        Global("ACBreImmyTalk","GLOBAL",10)
        Global("ACBreImmyTalk","GLOBAL",16)
THEN
    RESPONSE #100
        PlaySong(143)
        ActionOverride("IMOEN2",StartDialogueNoSet("ACBRE"))
END

 

while the corresponding dialogues for

 Global("ACBreImmyTalk","GLOBAL",4)
        Global("ACBreImmyTalk","GLOBAL",6)
        Global("ACBreImmyTalk","GLOBAL",10)
        Global("ACBreImmyTalk","GLOBAL",16)

are in Imoen2J.dlg

 

Respectively for the other dialogues the Breagar script has

 

IF
    !Global("ENDOFBG1","GLOBAL",2)
    InParty(Myself)
    InParty("Imoen2")
    See("Imoen2")
    RealGlobalTimerExpired("ACBreImmyTimer","GLOBAL")
    CombatCounter(0)
    !See([ENEMY])
    !StateCheck("ACBre",CD_STATE_NOTVALID)
    !StateCheck("Imoen2",CD_STATE_NOTVALID)
    OR(4)
        Global("ACBreImmyTalk","GLOBAL",2)
        Global("ACBreImmyTalk","GLOBAL",8)
        Global("ACBreImmyTalk","GLOBAL",12)
        Global("ACBreImmyTalk","GLOBAL",14)
THEN
    RESPONSE #100
        PlaySong(143)
        StartDialogueNoSet("Imoen2")  which I think should be changed to StartDialogueNoSet("ACBre")
END

 

while the dialogues for

Global("ACBreImmyTalk","GLOBAL",2)
        Global("ACBreImmyTalk","GLOBAL",8)
        Global("ACBreImmyTalk","GLOBAL",12)
        Global("ACBreImmyTalk","GLOBAL",14)

are in Breagar's J file


The Sandrah Saga

another piece of *buggy, cheesy, unbalanced junk*

 


#7 xagon

xagon
  • Member
  • 13 posts

Posted 19 September 2015 - 08:21 AM

Thanks for making this topic and not to post mine. :cheers:

 

Your ACBRE.BCS is, how i put this nicely, totally f***ked up. :blink:

 

Could you post weidu.log and make change-log from ACBRE.BCS.

 

Hopely Imp and/or Lollorian help because they know much more than me.

 

I feel dumb for having to ask but how do I make a change log?  :ermm:

Attached Files



#8 xagon

xagon
  • Member
  • 13 posts

Posted 19 September 2015 - 08:24 AM

player1 -> imoen2

...

ActionOverride("imoen2",StartDialogueNoSet("Imoen2"))

That's the part the LStest adds so the player notes that in the dialog box via the player1 as it's target, the rest of the script is what actually matter/is wrong in the original script... with the trigger, when it's running etc.
@Xanon, write the rest of the script's in question until you run to an END.

Aka, sequesne is from the IF ... THEN ... END . Not END ... IF ... THEN ..

What's likely the problem is that this is wrong:

IF
	GlobalGT("CHAPTER","GLOBAL",1)
	InParty(Myself)
	InParty("imoen2")
	OR(2)
		Global("ACBreImmyActive","GLOBAL",0)
		Global("ACBreImmyActive","GLOBAL",2)
THEN

As it's likey either needs to be:

IF
	GlobalGT("CHAPTER","GLOBAL",1)
	InParty(Myself)
	InParty("imoen2")
	Global("ACBreImmyActive","GLOBAL",0)
THEN

Or:

IF
	GlobalGT("CHAPTER","GLOBAL",1)
	InParty(Myself)
	InParty("imoen2")
	Global("ACBreImmyActive","GLOBAL",2)
THEN

But not, or both.

IF
	!Global("endofbg1","GLOBAL",2)
	InParty(Myself)
	InParty("imoen2")
	See("imoen2")
	RealGlobalTimerExpired("ACBreImmyTimer","GLOBAL")
	CombatCounter(0)
	!See([ENEMY])
	!StateCheck("ACBre",CD_STATE_NOTVALID)
	!StateCheck("imoen2",CD_STATE_NOTVALID)
	OR(4)
		Global("ACBreImmyTalk","GLOBAL",4)
		Global("ACBreImmyTalk","GLOBAL",6)
		Global("ACBreImmyTalk","GLOBAL",10)
		Global("ACBreImmyTalk","GLOBAL",16)
THEN
	RESPONSE #100
		ActionOverride(Player1,DisplayString(Myself,152001)) // Running block 48 of ACBRE.BCS
		PlaySong(115)
		ActionOverride("imoen2",StartDialogueNoSet("ACBRE"))
END


#9 The Imp

The Imp

    Not good, see EVIL is better. You'll LIVE.

  • Member
  • 5155 posts

Posted 19 September 2015 - 08:39 AM

I feel dumb for having to ask but how do I make a change log?  :ermm:

As you can guess, the answer is in the same topic as the LStest is shown, but in this post. The technical term is --change-log ... cause that's the actual MSdos weidu command's structure name.

So essentially you just run a custom .bat file with this in it:

mkdir change-log
WeiDU.exe --log nul --change-log acbre.bcs >change-log/change-log.txt --out change-log

Edited by The Imp, 19 September 2015 - 08:42 AM.

Yep, Jarno Mikkola. my Mega Mod FAQ. Use of the BWS, and how to use it(scroll down that post a bit). 
OK, desert dweller, welcome to the sanity, you are free to search for the limit, it's out there, we drew it in the sand. Ouh, actually it was still snow then.. but anyways.


#10 xagon

xagon
  • Member
  • 13 posts

Posted 19 September 2015 - 09:06 AM

I feel dumb for having to ask but how do I make a change log?  :ermm:

As you can guess, the answer is in the same topic as the LStest is shown, but in this post. The technical term is --change-log ... cause that's the actual MSdos weidu command's structure name.

So essentially you just run a custom .bat file with this in it:

mkdir change-log
WeiDU.exe --log nul --change-log acbre.bcs >change-log/change-log.txt --out change-log

 

thanks.

Attached Files



#11 The Imp

The Imp

    Not good, see EVIL is better. You'll LIVE.

  • Member
  • 5155 posts

Posted 19 September 2015 - 09:26 AM

thanks.
So it's just the mod that adds the Breagar NPC, yeah, the logging doesn't show the original contributor of the file cause it would probably require a lot of work to refine the function, and even then it would be lacking as you can copy-and-rename a file on the fly and that can't be logged... etc. or whatever.

Yep, Jarno Mikkola. my Mega Mod FAQ. Use of the BWS, and how to use it(scroll down that post a bit). 
OK, desert dweller, welcome to the sanity, you are free to search for the limit, it's out there, we drew it in the sand. Ouh, actually it was still snow then.. but anyways.


#12 Lollorian

Lollorian

    smiley addict

  • Member
  • 4150 posts

Posted 19 September 2015 - 09:35 AM

Isn't

ActionOverride("imoen2",StartDialogueNoSet("ACBRE"))

right because it means Imoen is supposed to initiate dialogue with Breager? (since Roxanne mentioned the relevant dialogues are in IMOEN2J)

 

Try changing that to just

StartDialogueNoSet("imoen2")

Probably won't help but worth a try :P


Edited by Lollorian, 19 September 2015 - 09:35 AM.

"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


#13 micbaldur

micbaldur

    Retired Perkele, Ultimate BWP player

  • Member
  • 1692 posts

Posted 19 September 2015 - 09:37 AM

I don't think that problem is caused by ACBRE.BCS, mine is same as yours in that part and i didn't have any problems with it.

 

I suspect that problem is with cre-file (maybe imoen1.cre) but i'm not sure.

 

Hopely Lollorian or Imp can help but i'm can't help much because i don't know much, sorry. :crying:

 

Update:

 

Problem might alos be at dlg-file(s) but i don't know about much about those either. :crying:


Edited by micbaldur, 19 September 2015 - 09:58 AM.

CHARNAMEs excellent adventures in the world of BWP expert-install here

 

Thanks to Leonardo Watson for making this possible


#14 xagon

xagon
  • Member
  • 13 posts

Posted 19 September 2015 - 10:38 PM

Thanks for the help everyone. Since the problem seems to be complicated to solve and I can't contribute anything, I will for the time being just go on adventuring without Breagar in my party. But I will keep my current save so if anyone has any further suggestions please post them.



#15 Roxanne

Roxanne

    Modder

  • Member
  • 3564 posts

Posted 19 September 2015 - 11:53 PM

Thanks for the help everyone. Since the problem seems to be complicated to solve and I can't contribute anything, I will for the time being just go on adventuring without Breagar in my party. But I will keep my current save so if anyone has any further suggestions please post them.

I found some hints to the problem on the Kerzenburg forum (german for Candlekeep) where the Breagar mod is hosted. However, that is only of help if you speak German.


Edited by Roxanne, 19 September 2015 - 11:53 PM.

The Sandrah Saga

another piece of *buggy, cheesy, unbalanced junk*

 


#16 xagon

xagon
  • Member
  • 13 posts

Posted 20 September 2015 - 09:51 AM

Thanks for the help everyone. Since the problem seems to be complicated to solve and I can't contribute anything, I will for the time being just go on adventuring without Breagar in my party. But I will keep my current save so if anyone has any further suggestions please post them.

I found some hints to the problem on the Kerzenburg forum (german for Candlekeep) where the Breagar mod is hosted. However, that is only of help if you speak German.

 

I do speak German . :-)



#17 xagon

xagon
  • Member
  • 13 posts

Posted 20 September 2015 - 07:44 PM

Thanks for the help everyone. Since the problem seems to be complicated to solve and I can't contribute anything, I will for the time being just go on adventuring without Breagar in my party. But I will keep my current save so if anyone has any further suggestions please post them.

I found some hints to the problem on the Kerzenburg forum (german for Candlekeep) where the Breagar mod is hosted. However, that is only of help if you speak German.

 

Can you give me the link to where you found the hints? I looked but didn't find anything specific about this bug.



#18 Roxanne

Roxanne

    Modder

  • Member
  • 3564 posts

Posted 20 September 2015 - 10:44 PM

Thanks for the help everyone. Since the problem seems to be complicated to solve and I can't contribute anything, I will for the time being just go on adventuring without Breagar in my party. But I will keep my current save so if anyone has any further suggestions please post them.

I found some hints to the problem on the Kerzenburg forum (german for Candlekeep) where the Breagar mod is hosted. However, that is only of help if you speak German.

 

Can you give me the link to where you found the hints? I looked but didn't find anything specific about this bug.

There is a Breagar forum at Kerzenburg and there are various entries about dialogue/banter issues with NPCs including Imoen. It is a bit cluttered and I do not understand much of their insider slang. If I get it right, there was a suggestion to either advance or revert the respective global that triggers the banter via console. I did not struggle to read much about which version they were referring to.

 

In hindsight I can say that I never had the problem myself and I always have Imoen in the party in BG1.


The Sandrah Saga

another piece of *buggy, cheesy, unbalanced junk*

 


#19 The Imp

The Imp

    Not good, see EVIL is better. You'll LIVE.

  • Member
  • 5155 posts

Posted 21 September 2015 - 12:10 AM

In hindsight ...
xagon was looking for a link... to the thread. I can't access to the kerzenburg forum cause the browser I use complains stuff and so it won't let me in. But it's somewhere in here... assuming I am not off b-y a mile.

Edited by The Imp, 21 September 2015 - 12:27 AM.

Yep, Jarno Mikkola. my Mega Mod FAQ. Use of the BWS, and how to use it(scroll down that post a bit). 
OK, desert dweller, welcome to the sanity, you are free to search for the limit, it's out there, we drew it in the sand. Ouh, actually it was still snow then.. but anyways.


#20 xagon

xagon
  • Member
  • 13 posts

Posted 21 September 2015 - 08:43 AM

Thank you. I found the Breagar release thread made by the guy who developed the mod and asked the question there. And thanks for helping and being patient with a noob like me. :-)