Page 60 of 60 FirstFirst ... 10 50 58 59 60
Results 591 to 598 of 598

Thread: CanAdv -- check whether you can adventure at a given location

  1. #591
    Senior Member Theraze's Avatar
    Join Date
    Mar 2010
    Posts
    8,659

    Default

    You don't expect anyone to run Ed-core? Isn't that where the other quest item lives?

  2. #592

    Default

    You don't expect anyone to run Ed-core? Isn't that where the other quest item lives?
    Originally Posted by Theraze View Post
    No, the other key is impossible to get after the spookyraven revamp.

  3. #593
    Senior Member Theraze's Avatar
    Join Date
    Mar 2010
    Posts
    8,659

    Default

    Ah. If it and the palindrome book and all of the other suchlikes are all fully depreciated, then I'm fine saying there's only one itemid ever. If this specific example is the only one where I'm only screwing the never-ascenders and the other ambiguous items may still affect things, I may as well not damage those ultrafarmers who don't actually use CA.

  4. #594
    Senior Member zarqon's Avatar
    Join Date
    Nov 2007
    Location
    Seoul, Korea
    Posts
    3,376

    Default

    There is still overlap with the ancient amulet and Staff of Ed, but these checks would probably need to be separate anyway. I can post my current version when I get home in case seeing how I did it would be helpful.

  5. #595
    Senior Member zarqon's Avatar
    Join Date
    Nov 2007
    Location
    Seoul, Korea
    Posts
    3,376

    Default

    Ok, just had a quick diff between our two versions. Stole a few alphabetizations and Drunkula's glass checks.

    The differences that remain (there are many) are mostly qprop => qprop conversions (using ZLib's built-in function rather than CanAdv's).

    Which unfortunately means the remaining differences are a little harder to spot, but in all cases of ambiguous items the check can be made simply with a single item check rather than needing to check for multiple items.
    Attached Files
    Sig by JakAtk
    My scripts: One-Click Wossname | Om******t (??) | Psychose-a-Matic | RandBot
    Combat suite: Best Between Battle | Mer********d (?!) | SmartStasis | BatMan | BatMan RE
    For script authors: ASH Wiki | ZLib | BatBrain | CLI Links | CanAdv | Script Registry | Map Manager | About Bats
    If you appreciate my work, help me become BAT KING OF THE WORLD! Thanks to all donators!

  6. #596
    Senior Member Theraze's Avatar
    Join Date
    Mar 2010
    Posts
    8,659

    Default

    Synced in the CanGo changes including removing CanAdv qprop, adding LOVE, and possibly a few other tweaks.

  7. #597
    Senior Member zarqon's Avatar
    Join Date
    Nov 2007
    Location
    Seoul, Korea
    Posts
    3,376

    Default

    Interestingly, some of the IsleWar locations are available before the IsleWar is started. Namely, the Wartime Frat House (Hippy Disguise) and Wartime Hippy Camp (Frat Disguise). I had to make the following changes:

    To the zone check:
    Code:
          case "IsleWar": return levelcheck(12) && !qprop("questL12War");
    And to the IsleWar section:
    Code:
      // islewar
       case $location[Wartime Hippy Camp (Frat Disguise)]: return outfitcheck("frat boy ensemble") || outfitcheck("frat warrior fatigues");
       case $location[Wartime Frat House (Hippy Disguise)]: return outfitcheck("filthy hippy disguise") || outfitcheck("war hippy fatigues");
       case $location[The Battlefield (Frat Uniform)]: return qprop("questL12War >= step1") && outfitcheck("frat warrior fatigues") && get_property("hippiesDefeated") != "1000";
       case $location[The Battlefield (Hippy Uniform)]: return qprop("questL12War >= step1") && outfitcheck("war hippy fatigues") && get_property("fratboysDefeated") != "1000";
       case $location[The Themthar Hills]: return qprop("questL12War >= step1") && get_property("sidequestNunsCompleted") == "none";
    If you wish to confirm, next time before starting the war adventure in either camp with the lower-level outfit on (i.e. in the Frat House with the Filthy Hippy Disguise on) and check the snarfblat.
    Sig by JakAtk
    My scripts: One-Click Wossname | Om******t (??) | Psychose-a-Matic | RandBot
    Combat suite: Best Between Battle | Mer********d (?!) | SmartStasis | BatMan | BatMan RE
    For script authors: ASH Wiki | ZLib | BatBrain | CLI Links | CanAdv | Script Registry | Map Manager | About Bats
    If you appreciate my work, help me become BAT KING OF THE WORLD! Thanks to all donators!

  8. #598
    Senior Member Theraze's Avatar
    Join Date
    Mar 2010
    Posts
    8,659

    Default

    Done and thanks.

Similar Threads

  1. Replies: 0
    Last Post: 04-08-2015, 11:53 PM
  2. 14841: Check location isn't null before getting water level.
    By RSS Bot in forum Latest SVN Changes
    Replies: 0
    Last Post: 10-09-2014, 08:51 PM
  3. Replies: 0
    Last Post: 03-19-2012, 04:23 AM
  4. Ash function to check location exists?
    By Glazius in forum Community Support
    Replies: 1
    Last Post: 12-15-2010, 07:13 PM
  5. CanAdv can I adventure here?
    By Charles Haynes in forum Informational Scripts
    Replies: 7
    Last Post: 11-21-2009, 10:10 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •