Author Topic: Problems with Questpack  (Read 2445 times)

unreserved_Steve

  • Guest
Problems with Questpack
« on: November 15, 2008, 08:41:08 PM »
There are quite obvious syntax errors in several files.

questpack/AI/compile/d0pimag.baf, lines 692, 710:
questpack/AI/compile/d0simul.baf, lines 692, 710:
questpack/oasis/combat/scripts/d0amthea.baf, lines 258, 274, 290, 306, 322, 338, 355, 597, 615
questpack/oasis/combat/scripts/d0amtmag.baf, lines 710, 728
questpack/oasis/combat/scripts/d0amtmer.baf, lines 217, 570, 588, 622
questpack/thieves/scripts/d0edwinh.baf, lines 143, 163, 182, 200, 220, 239, 254, 1068, 1087, 1105, 1122, 1141, 1159, 1171
        !Dead("astHeardBy(Myself))")
    should be (I think):
        !Died(LastHeardBy(Myself))

questpack/thieves/scripts/rayic.baf, lines 158, 172, 493, 506
questpack/thieves/scripts/d0aranbk.baf, lines 47
        !Dead("yself)")
    should be:
        !Died(Myself)

questpack/harpers/d0jahrev.baf, lines 168, 191
        AreaCheck("UTDOOR)")
    should be:
        AreaType(OUTDOOR)

unreserved_Steve

  • Guest
Re: Problems with Questpack
« Reply #1 on: November 15, 2008, 10:17:39 PM »
Well, I got smart and looked in the BG2 Fixpack, where all these problems are known and fixed.  However, the old broken files are being propogated by mods that used them as templates.  You almost need to run the scripting fixes from the Fixpack on every mod before you install it.  For the errors I listed, Fixpack would change them this way:
        !Dead("astHeardBy(Myself))")
    to:
        StateCheck(LastHeardBy(Myself),STATE_REALLY_DEAD)

        !Dead("yself)")
    to:
        StateCheck(LastSeenBy(Myself),STATE_REALLY_DEAD)

 

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)?: