Jump to content


Photo

Few dialogue porblems... maybe bugs?


  • Please log in to reply
2 replies to this topic

#1 micbaldur

micbaldur

    Retired Perkele, Ultimate BWP player

  • Member
  • 1692 posts

Posted 30 October 2014 - 06:38 AM

In my current run through your excellent mod i encountered 3 dialogue related problems.

 

 

First i encountered problem with Ailoth Tam's dialogue. After i talked with him he leaves but global "ys_TalkedToAiloth" didn't get set as "1".

 

Maybe problem could be solved at YSAILOTH.D by changing:

IF ~Global("ys_TalkedToAiloth","GLOBAL",0)
        Global("ys_FoundWizard","GLOBAL",1)~ THEN BEGIN BLK19
    SAY @1666
    IF~!InParty("Jaheira")~THEN
        DO ~EscapeArea()
        SetGlobal("ys_TalkedToAiloth","GLOBAL",1)
        AddJournalEntry(@37,QUEST)~
        REPLY @1667 EXIT
    IF~InParty("Jaheira")~THEN
        DO ~EscapeArea()
        SetGlobal("ys_TalkedToAiloth","GLOBAL",1)
        AddJournalEntry(@37,QUEST)~
        REPLY @1668 EXIT
END

 

to:

IF ~Global("ys_TalkedToAiloth","GLOBAL",0)
        Global("ys_FoundWizard","GLOBAL",1)~ THEN BEGIN BLK19
    SAY @1666
    IF~!InParty("Jaheira")~THEN
        DO ~SetGlobal("ys_TalkedToAiloth","GLOBAL",1)
        AddJournalEntry(@37,QUEST)
        EscapeArea()~
        REPLY @1667 EXIT
    IF~InParty("Jaheira")~THEN
        DO ~SetGlobal("ys_TalkedToAiloth","GLOBAL",1)
        AddJournalEntry(@37,QUEST)
        EscapeArea()~
        REPLY @1668 EXIT
END

Maybe EscapeArea() causes problem and putting it last, maybe then SetGlobal works better. Sadly i don't have prior save so i can't test this.

 

 

Second problem is at Maredudd Bengoch dialogue.

 

At YSBENGCH.D block 72 is:

IF ~~ THEN BEGIN 72
    SAY @4228
    IF~CheckStatLT(Myself,15,CHR)~THEN REPLY @4229 GOTO 73
    IF~CheckStatGT(Myself,14,CHR)~THEN REPLY @4230 GOTO 74
END

 

and block 83:

IF ~~ THEN BEGIN 83
    SAY @4242
    IF~CheckStatLT(Myself,15,CHR)~THEN REPLY @4243 GOTO 84
    IF~CheckStatGT(Myself,14,CHR)~THEN REPLY @4244 GOTO 85
END

 

I think that "Myself" should be something else maybe "Player1".

 

 

Third problem is starting store at Basimah dialogue in Imradim.

 

At YSBASIMA.D:

IF ~~ THEN BEGIN 16
	SAY @2928
	IF~~THEN REPLY @2929
	    DO~SetGlobal("ysTalkedToBasimah","GLOBAL",2)~
 	EXIT
	IF~~THEN REPLY @2930
	    DO~SetGlobal("ysTalkedToBasimah","GLOBAL",2)~
	EXIT
END

That block should start store but it's missing "StartStore" so maybe it should be like this:

IF ~~ THEN BEGIN 16
	SAY @2928
	IF~~THEN REPLY @2929
	    DO~SetGlobal("ysTalkedToBasimah","GLOBAL",2)
            StartStore("ysBasima",LastTalkedToBy())~
	EXIT
	IF~~THEN REPLY @2930
	    DO~SetGlobal("ysTalkedToBasimah","GLOBAL",2)~
	EXIT
END

 

I may be wrong about these issues (maybe fixed already) but though to mention these to you so that you can check them.


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

 

Thanks to Leonardo Watson for making this possible


#2 Miloch

Miloch

    Barbarian

  • Modder
  • 6573 posts

Posted 30 October 2014 - 07:00 AM

I think that "Myself" should be something else maybe "Player1".

Or better, LastTalkedToBy(Myself).

 

And yeah, EscapeArea() should always go last in an action block. Have you considered taking up modding? ;)


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


#3 micbaldur

micbaldur

    Retired Perkele, Ultimate BWP player

  • Member
  • 1692 posts

Posted 30 October 2014 - 07:56 AM

Have you considered taking up modding? ;)

No, maybe i know little how to code but i can't write anything. Besides RL leaves me very little time  :( and i like to use that time for playing my BWP expert-install (and maybe fix some bugs).

 

Update:

Little typo.


Edited by micbaldur, 01 November 2014 - 05:52 AM.

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

 

Thanks to Leonardo Watson for making this possible