Page 7 of 9 FirstFirst ... 5 6 7 8 9 LastLast
Results 61 to 70 of 81

Thread: Guzzlr tablet - May Item of the month

  1. #61
    Senior Member
    Join Date
    Oct 2017
    Posts
    596

    Default

    thank you for all the fixes. it is a lot smmother now.

    with mafia r20143 when ascending with an incomplete guzzlr quest the following trackers are not reset to null:guzzlrQuestTier
    guzzlrQuestLocation
    guzzlrQuestBooze


    Not too big a deal since
    questGuzzlr
    is correctly reset to unstarted so it can be used to ignore those trackers.

    Even though it looks promising so far, I'd really need people to help me get data for 6 and 8 before going forward, because of how much of a wrench they throw in the whole logic.
    Originally Posted by fredg1 View Post
    If we can get a mafia tracker for number of fights done in a guzzlr zone (gotta take into account free fights). then I could add automatic spading for this to my guzzlr script.

    ... or I could just make my own tracker for now so we could get the data needed to construct a mafia tracker. I will try to get on it soon but at the moment i am doing a project on autoscend so it might be a few days
    Last edited by taltamir; 06-04-2020 at 11:11 PM.
    ttpack = a collection of scripts by taltamir

  2. #62
    Senior Member
    Join Date
    Oct 2017
    Posts
    596

    Default

    Had something weird happen.
    The code
    Code:
    visit_url("inventory.php?tap=guzzlr", false);
    run_choice(1);    //abandon quest
    run_choice(5);    //exit menu

    inexplicably produced
    Code:
    Encounter: Guzzlr Client Selection
    Preference guzzlrQuestBooze changed from Guzzlr cocktail set to special personalized cocktail
    Took choice 1412/1: Abandon Client
    choice.php?whichchoice=1412&option=1&pwd
    Encounter: Guzzlr Client Selection
    Preference _guzzlrQuestAbandoned changed from false to true
    Preference guzzlrQuestBooze changed from special personalized cocktail to 
    Preference guzzlrQuestLocation changed from VYKEA to 
    Preference guzzlrQuestTier changed from platinum to 
    Preference questGuzzlr changed from started to unstarted
    Preference guzzlrQuestTier changed from  to platinum
    Preference _guzzlrPlatinumDeliveries changed from 1 to 2
    Preference questGuzzlr changed from unstarted to started
    Preference _guzzlrPlatinumDeliveries changed from 2 to 1
    Took choice 1412/5: Don't take a client right now
    choice.php?whichchoice=1412&option=5&pwd
    as you can see, after I abandoned the quest it first correctly changed _guzzlrPlatinumDeliveries from 1 to 2 and questGuzzlr to unstarted. This is correct.

    Then it inexplicably reverted both of those changes. resulting in incorrect state. IIRC it mentioned refreshing quests in gCLI (which did not get recorded in session log).
    However it could not have really refreshed quests because you cannot navigate away from the guzzlr tablet so it could not have visited the quest log.

    In particularly problematic is questGuzzlr saying started when it is in fact unstarted.
    Last edited by taltamir; 06-06-2020 at 07:00 PM.

  3. #63
    Senior Member
    Join Date
    Apr 2019
    Posts
    192

    Default

    correctly changed _guzzlrPlatinumDeliveries from 1 to 2
    Originally Posted by taltamir View Post
    Shouldn't it be changed to 0?

  4. #64
    Senior Member
    Join Date
    Oct 2017
    Posts
    596

    Default

    Shouldn't it be changed to 0?
    Originally Posted by fredg1 View Post
    Hmmm... actually it should have been changed from 0 to 1.
    it is supposed to indicate how many deliveries you took today, not how many were completed or abandoned

    Looking further back.
    Code:
    familiar Cat Burglar (44 lbs)> Taking a Platinum delivery
    Preference lastEncounter changed from small hostile animal to Guzzlr Client Selection
    Encounter: Guzzlr Client Selection
    Took choice 1412/4: Platinum Tier
    choice.php?whichchoice=1412&option=4&pwd
    Preference guzzlrQuestLocation changed from The Fungal Nethers to VYKEA
    Preference guzzlrQuestTier changed from gold to platinum
    Preference _guzzlrPlatinumDeliveries changed from 0 to 1
    Preference guzzlrQuestBooze changed from water purification pills to Guzzlr cocktail set
    Preference questGuzzlr changed from unstarted to started
    You acquire an item: Guzzlr cocktail set
    
    
    mall.php?category=allitems&consumable_byme=0&weaponattribute=3&wearable_byme=0&nolimits=0&max_price=0&sortresultsby=price&justitems=0&x_cheapest=0&pudnuggler=%22cold+wad%22
    mall.php?category=allitems&consumable_byme=0&weaponattribute=3&wearable_byme=0&nolimits=0&max_price=0&sortresultsby=price&justitems=0&x_cheapest=0&pudnuggler=%22miniature+boiler%22
    mall.php?category=allitems&consumable_byme=0&weaponattribute=3&wearable_byme=0&nolimits=0&max_price=0&sortresultsby=price&justitems=0&x_cheapest=0&pudnuggler=%22robin%27s+egg%22
    mall.php?category=allitems&consumable_byme=0&weaponattribute=3&wearable_byme=0&nolimits=0&max_price=0&sortresultsby=price&justitems=0&x_cheapest=0&pudnuggler=%22mangled+finger%22
    mall.php?category=allitems&consumable_byme=0&weaponattribute=3&wearable_byme=0&nolimits=0&max_price=0&sortresultsby=price&justitems=0&x_cheapest=0&pudnuggler=%22Dish+of+Clarified+Butter%22
    mall.php?category=allitems&consumable_byme=0&weaponattribute=3&wearable_byme=0&nolimits=0&max_price=0&sortresultsby=price&justitems=0&x_cheapest=0&pudnuggler=%22one-day+ticket+to+The+Glaciest%22
    > The access item [one-day ticket to The Glaciest] is too expensive. abandoning delivery
    Encounter: Guzzlr Client Selection
    Preference guzzlrQuestBooze changed from Guzzlr cocktail set to special personalized cocktail
    Took choice 1412/1: Abandon Client
    choice.php?whichchoice=1412&option=1&pwd
    Encounter: Guzzlr Client Selection
    Preference _guzzlrQuestAbandoned changed from false to true
    Preference guzzlrQuestBooze changed from special personalized cocktail to 
    Preference guzzlrQuestLocation changed from VYKEA to 
    Preference guzzlrQuestTier changed from platinum to 
    Preference questGuzzlr changed from started to unstarted
    Preference guzzlrQuestTier changed from  to platinum
    Preference _guzzlrPlatinumDeliveries changed from 1 to 2
    Preference questGuzzlr changed from unstarted to started
    Preference _guzzlrPlatinumDeliveries changed from 2 to 1
    Took choice 1412/5: Don't take a client right now
    choice.php?whichchoice=1412&option=5&pwd
    So to sum it up. taking platinum delivery did (showing only relevant bits):
    Preference _guzzlrPlatinumDeliveries changed from 0 to 1
    Preference questGuzzlr changed from unstarted to started

    When I immediately abandoned this quest it did
    Preference _guzzlrQuestAbandoned changed from false to true
    Preference guzzlrQuestBooze changed from special personalized cocktail to
    Preference guzzlrQuestLocation changed from VYKEA to
    Preference guzzlrQuestTier changed from platinum to
    Preference questGuzzlr changed from started to unstarted
    Preference guzzlrQuestTier changed from to platinum
    Preference _guzzlrPlatinumDeliveries changed from 1 to 2
    Preference questGuzzlr changed from unstarted to started
    Preference _guzzlrPlatinumDeliveries changed from 2 to 1

    Hmmm... IIRC it did the failed quest refresh between these two lines
    Preference _guzzlrPlatinumDeliveries changed from 1 to 2
    Preference questGuzzlr changed from unstarted to started

    but that does not explain
    Preference guzzlrQuestTier changed from platinum to
    Preference questGuzzlr changed from started to unstarted
    Preference guzzlrQuestTier changed from to platinum

    Why did it change quest tier back to platinum there?
    Something is off

    I think the issues are:
    1. abandoning a delivery still increment the counter on how many you started today. So it gets +1 when started and +1 when abandoned.
    2. the refresh quests attempt throws it off because it happens while still locked inside the guzzlr NC from which you cannot navigate away
    Last edited by taltamir; 06-06-2020 at 11:34 PM.
    ttpack = a collection of scripts by taltamir

  5. #65
    Senior Member
    Join Date
    Oct 2017
    Posts
    596

    Default

    Managed to get exact spot at which it tries to refresh the quest data

    Code:
    The access item [one-day ticket to That 70s Volcano] is     too expensive. abandoning delivery
    Encounter: Guzzlr Client     Selection
    Preference guzzlrQuestBooze changed from Guzzlr cocktail set     to special personalized cocktail
    Submitting option 1 for choice 1412
    Encounter:     Guzzlr Client Selection
    Preference _guzzlrQuestAbandoned changed from     false to true
    Preference guzzlrQuestBooze changed from special     personalized cocktail to
    Preference guzzlrQuestLocation changed from     The Bubblin' Caldera to
    Preference guzzlrQuestTier changed from     platinum to
    Preference questGuzzlr changed from started to unstarted
    Preference     guzzlrQuestTier changed from to platinum
    Preference     _guzzlrPlatinumDeliveries changed from 1 to 2
    Retrieving quest data...
    Preference     questDoctorBag changed from started to step1
    Preference questGuzzlr     changed from unstarted to started
    Preference _guzzlrPlatinumDeliveries     changed from 2 to 1
    Submitting option 5 for choice 1412
    option 5 is the one used to exit the NC. so where it says retrieving quest data it is should be redirected towards the NC instead of actually retrieving the quest data. I think it is just seeing the older data

  6. #66

    Default

    Well this was a dumb error, I missed a break in a switch case.

    r20153

  7. #67
    Senior Member
    Join Date
    Oct 2017
    Posts
    596

    Default

    Well this was a dumb error, I missed a break in a switch case.

    r20153
    Originally Posted by gausie View Post
    thanks for the fix
    ttpack = a collection of scripts by taltamir

  8. #68
    Senior Member
    Join Date
    Apr 2019
    Posts
    192

    Default

    Shoes spading is done!!! Ready to be added to mafia.

    So, there could be two ways of handling this:

    We could simply get a "guzzlrFightsBarefoot" and "guzzlrFightsShoed" property, each simply tracking the amount of fights done without or with the shoes, respectively, letting people script themselves what it means in terms of progress.
    Pros: If you already know how many fights that delivery will take, it's easy to know how far you are without having to learn anything about the in-game mechanics; just know how to count.
    Cons: If you don't know how long quests take, it doesn't give you any idea as of how far you are into the quest.

    OR, we could get a "questGuzzlrProgress" property: an integer going from 0 to 100, which literally tells the player the % of the progress they've done so far.
    Pros: would be just like how KoL handles "it" (most likely), and all the logic would be done internally.
    Cons: If you were to just look at that number by itself, without knowing how much it's incremented by fights, it's hard to turn it into roughly how many more fights it represents.

    ...We can also do both, I guess.


    Not gonna clutter this post with the info of how it works before knowing if there's any interest in doing it the 2nd way; will be on watch for responses!

  9. #69

    Default

    I would not expect guzzlrQuestProgress to be a percentage, I would expect it to just count up and be combined with the count of _guzzlrDeliveries (by a script, presumably) to know what the target is.

    That seems like it gets weird with rollover involved though. But that also seems true of all the other methods of tracking.

  10. #70
    Developer fronobulax's Avatar
    Join Date
    Feb 2009
    Location
    Central Virginia, USA
    Posts
    4,695

    Default

    As a player who might yet script this myself I'm not sure I care. My decision to take a delivery, or not, will be based upon the expected bucks per adventure. That does vary with shoes, which tier and how many deliveries have been done, but moving between tiers changes it more than taking an additional delivery at a tier (when allowed). But my ignorance of the mechanics or my willingness to stop chasing GBucks and spend adventures on meat suggests I have no need for any of the variables. If I start a quest then I am going to finish it and don't know why I care that it is 40% done or there are three turns left. My decision to start it will almost certainly be based upon the Tier and how many I have already done and the new tracking variables don't seem to help that decision. So, given my limited understanding of the mechanics I'm not sure I need either tracking mechanic and if tht ever changed I could get by with whatever was implemented. A lot of help, I know.

Posting Permissions

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