Post reply

The message has the following error or errors that must be corrected before continuing:
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.
Other options
Shortcuts: ALT+S post or ALT+P preview

Topic summary

Posted by Vlad
 - January 14, 2009, 07:28:49 AM
Thank you!
Posted by Ardanis
 - January 14, 2009, 03:28:53 AM
Well, I've spotted this one two years ago, but only now have I taken the time to study it.


COPY_EXISTING ~ar1600.bcs~ ~override~
REPLACE_BCS_BLOCK ~BDash\BAF_x\xAR1600.BAF~ ~BDash\BAF_r\rAR1600.BAF~


// xAR1600.BAF
IF
    Dead("ppvalen") // Valen
    Dead("ppparis") // Parisa
    Dead("ppdel") // Del
    OR(2)
        Global("AsylumPlot","GLOBAL",3)
        Global("AsylumPlot","GLOBAL",4)
THEN
    RESPONSE #100
        SetGlobal("AsylumPlot","GLOBAL",5)
        ActionOverride("uhostile",DestroySelf())
END
Changing 'Dead' to '!Exists' yields another bug - this block turns true even when siding with Bodhi (because they, well, don't exist to begin with), resulting in Saemon skipping his 'Herein you shall find what you need' (AsylumPlot=4) line when giving a tour and jumping right to 'Having troubles?' (AsylumPlot=5).

You can easily remedy this by adding one extra condition to rAR1600.BAF - "Global("ThiefGroup","global",1)//sided with Aran" or "!Global("ThiefGroup","global",2)//sided not with Bodhi"