• Visit Rebornbuddy
  • [CombatPotGuy] Health/Mana Potion version of GourmetGuy (Autodrinks Health/Mana pots)

    Discussion in 'Plugins' started by Cloud30000, Aug 2, 2015.

    1. Cloud30000

      Cloud30000 New Member

      Joined:
      May 9, 2015
      Messages:
      298
      Likes Received:
      7
      Trophy Points:
      0
      Another modified version of GourmetGuy, this time designed to drink Health or Mana potions when either drops below a user-configured threshold.

      [​IMG]
      Like the other plugins, it is fairly simple and self explanatory.

      Select the potion to use for health at the top, and mana at the bottom. Select the checkbox to choose if you want to use either both types or only one of the types of potions.

      Set the percentage that your health or mana must fall below before it tries to use the potion.

      If both items are selected, and both health and mana drop below the threshold at the same time, it prioritizes Health first.

      Note that their is a cooldown on all pots, as normal, and it cannot take another pot until the cooldown expires.

      Enjoy.

      View attachment CombatPotGuy.zip
       
    2. EdwinOnline

      EdwinOnline Banned

      Joined:
      Jun 25, 2015
      Messages:
      221
      Likes Received:
      1
      Trophy Points:
      0
      awesome!
       
    3. EdwinOnline

      EdwinOnline Banned

      Joined:
      Jun 25, 2015
      Messages:
      221
      Likes Received:
      1
      Trophy Points:
      0
      sorry it doesn't work, it crashes the moment you press settings. it needs some fixing I think.
       
    4. Cloud30000

      Cloud30000 New Member

      Joined:
      May 9, 2015
      Messages:
      298
      Likes Received:
      7
      Trophy Points:
      0
      I think it is happening when you are missing health and mana potions from inventory. I think Chanko has the same problem. The UI can't be opened until you have both a health and a mana pot (or food in Chanko's case) in your inventory. I'll verify that that is the issue, and then look at making a quick fix to compensate for when you don't have them but still open the UI
       
    5. Cloud30000

      Cloud30000 New Member

      Joined:
      May 9, 2015
      Messages:
      298
      Likes Received:
      7
      Trophy Points:
      0
      Ok, the crash was just a typo in my code that only showed up if a potion had not been set yet. I uploaded the fix.
       
    6. EdwinOnline

      EdwinOnline Banned

      Joined:
      Jun 25, 2015
      Messages:
      221
      Likes Received:
      1
      Trophy Points:
      0
      cool will try it out right away
       
    7. Cloud30000

      Cloud30000 New Member

      Joined:
      May 9, 2015
      Messages:
      298
      Likes Received:
      7
      Trophy Points:
      0
      just remember that it doesn't save the selection until you manually open the drop down and select it; it is that way in chanko and gourmetguy and I haven't fixed it yet
       
    8. EdwinOnline

      EdwinOnline Banned

      Joined:
      Jun 25, 2015
      Messages:
      221
      Likes Received:
      1
      Trophy Points:
      0
      it worked, had to select the already selected stuff and now it works :)
      thanks a lot!
       
    9. Cloud30000

      Cloud30000 New Member

      Joined:
      May 9, 2015
      Messages:
      298
      Likes Received:
      7
      Trophy Points:
      0
      ok, I updated it so it displays "None" when a pot has not actually been selected yet; should be a little more clear
       
    10. EdwinOnline

      EdwinOnline Banned

      Joined:
      Jun 25, 2015
      Messages:
      221
      Likes Received:
      1
      Trophy Points:
      0
      super! well done, saves me some deaths now and then!
       
    11. goldenlion

      goldenlion New Member

      Joined:
      Oct 20, 2013
      Messages:
      106
      Likes Received:
      0
      Trophy Points:
      0
      Can you add Cordials?
       
    12. Cloud30000

      Cloud30000 New Member

      Joined:
      May 9, 2015
      Messages:
      298
      Likes Received:
      7
      Trophy Points:
      0
      Here is one that does Cordials which I only made in case I ran into an abundance while leveling (which I haven't yet):
      View attachment GPPotGuy.zip
      I haven't tested it since I don't use them and don't personally see the benefit of constantly drinking them to increase GP whenever it drops below a percent vs the cost of the potions. I have always seen Cordials as something specific to a gathering strategy for obtaining Collectibles and such.

      I'll leave it here and update it when I update the main CombatPotGuy plugin, but since I don't see the benefit in the current iteration I won't make a separate topic to release it.
       
    13. 0maru

      0maru Member

      Joined:
      May 31, 2014
      Messages:
      31
      Likes Received:
      0
      Trophy Points:
      6
      You need to update this to work with the new expansion Stormblood! my log has errors on Rebornbuddy x64
       

      Attached Files:

    14. nacho

      nacho New Member

      Joined:
      Feb 10, 2016
      Messages:
      12
      Likes Received:
      3
      Trophy Points:
      3
      Put the attached file in (and yes, overwrite the existing one):
      ..\Plugins\CombatPotGuy

      And see if it fixes it.
       

      Attached Files:

    15. 0maru

      0maru Member

      Joined:
      May 31, 2014
      Messages:
      31
      Likes Received:
      0
      Trophy Points:
      6
      Still has errors, and yes your file is /plugins/CombatPotguy.
       

      Attached Files:

    16. RozQ8

      RozQ8 New Member

      Joined:
      Jul 28, 2017
      Messages:
      2
      Likes Received:
      0
      Trophy Points:
      1
      @0maru it seems the other files are missing. Make sure Gui.cs and all the other .cs files are available there.

      If you're facing any more issues, do take a screenshot of the folder that contain these files just to make sure
       

    Share This Page