• Visit Rebornbuddy
  • [GourmetGuy V2] Use food with RebornBuddy

    Discussion in 'Archives' started by Wheredidigo, May 20, 2015.

    Thread Status:
    Not open for further replies.
    1. Wheredidigo

      Wheredidigo Community Developer

      Joined:
      Dec 15, 2013
      Messages:
      417
      Likes Received:
      8
      Trophy Points:
      18
      I'm tired of Mastahg saying everything anyone else does is bad. I've removed my stuff from the forums and will be posting them elsewhere online.
       
      Last edited: Jun 20, 2015
    2. Dgame

      Dgame Member

      Joined:
      Aug 19, 2014
      Messages:
      320
      Likes Received:
      0
      Trophy Points:
      16
      Not working for me.
       

      Attached Files:

    3. newb23

      newb23 Community Developer

      Joined:
      Nov 26, 2014
      Messages:
      397
      Likes Received:
      15
      Trophy Points:
      18
      Thank you for this re-write Where. I'll put it to good use on teh alts. :D

      EDIT: Couple of issues:
      1. It allows and accepts non-food items to be selected as valid edibles (Looks like seafood is the culprit.)
      2. It is not unhooking either when the plugin is de-selected (unchecked in the plugin menu) or when the bot is stopped via the Stop button.

      I have included a log file, edited out my combat crap from the 8 hours previous (50K lines, heh). Info is at the bottom of it :p
       

      Attached Files:

      Last edited: May 20, 2015
    4. Exmortem

      Exmortem Community Developer

      Joined:
      Mar 28, 2010
      Messages:
      799
      Likes Received:
      16
      Trophy Points:
      18
      Do you have any food in your pack, and are you selecting it from the plugins settings before you're hitting start?
       
    5. Dgame

      Dgame Member

      Joined:
      Aug 19, 2014
      Messages:
      320
      Likes Received:
      0
      Trophy Points:
      16
      Yes but the plugin didn't pick it up. I was using Buffalo Milk. I had to type it in myself.
       
    6. Wheredidigo

      Wheredidigo Community Developer

      Joined:
      Dec 15, 2013
      Messages:
      417
      Likes Received:
      8
      Trophy Points:
      18
      Please make sure you completely delete any previous versions of GourmetGuy you may have had installed. Your problem was because it tried to use an old settings file where the food that you had saved did not have a "(" in the name. I am manually adding "(HQ True/False)" to every food name that comes from the Settings Window, so if you are selecting an item from there, it should always have a "(" in it. I have updated the plugin so it shouldn't throw that error anymore though. Thank you for posting a log.

      I've updated the plugin so that Seafood no longer shows up as a selectable item. I've also fixed the unhooking issue so it will properly unhook when the plugin is disabled. Thank you for posting a log.
       
    7. Wheredidigo

      Wheredidigo Community Developer

      Joined:
      Dec 15, 2013
      Messages:
      417
      Likes Received:
      8
      Trophy Points:
      18
      Definitely need to make sure to delete any previous versions of GourmetGuy as you should not be able to type in what food you are looking for. When you click on the Settings button, you should only have a drop down list of items and you shouldn't be able to type in what item to use.
       
    8. Dgame

      Dgame Member

      Joined:
      Aug 19, 2014
      Messages:
      320
      Likes Received:
      0
      Trophy Points:
      16
      I did delete the entire old plugin folder. But I did make a new plugin folder with the same name. Could that have been the issue?
       
    9. Wheredidigo

      Wheredidigo Community Developer

      Joined:
      Dec 15, 2013
      Messages:
      417
      Likes Received:
      8
      Trophy Points:
      18
      The issue that caused the exception was that you didn't have a "(" in the name of the food you wanted. You also shouldn't be able to type in a name at all which is what led me to believe you still had the old version installed. Have you tried the latest version I updated to? Does it work for you now?
       
    10. Dgame

      Dgame Member

      Joined:
      Aug 19, 2014
      Messages:
      320
      Likes Received:
      0
      Trophy Points:
      16
      I'm at work atm. I'll test if I get home tonight in time to log in.
       
    11. Mantian

      Mantian New Member

      Joined:
      Feb 18, 2015
      Messages:
      67
      Likes Received:
      1
      Trophy Points:
      0
      Delete your setting file too it's in Reborn Buddy\Settings\ your char name
      remember delete every Old GourmetGuy setting file
       
    12. Dgame

      Dgame Member

      Joined:
      Aug 19, 2014
      Messages:
      320
      Likes Received:
      0
      Trophy Points:
      16
      I deleted everything and reinstalled. It still wont recognize the Bufffalo Milk. I'm also still able to type in the drop down box. Unchecking the plugin doesn't seem to stop it either.
       

      Attached Files:

      Last edited: May 20, 2015
    13. y2krazy

      y2krazy Community Developer

      Joined:
      Jun 21, 2011
      Messages:
      2,803
      Likes Received:
      70
      Trophy Points:
      48
      Have you tried a fresh RB install with the only plugin being GourmetGuy? Meaning, a clean RB install that's never been used before, not just deleting all the specific GourmetGuy files.

      If you haven't tried this yet, make a new RB folder (feel free to keep the old one in case this doesn't work), then add the GourmetGuy plugin and run RB. Include a log if it's not working after that.
       
    14. Unknown Buddy

      Unknown Buddy Member

      Joined:
      May 20, 2015
      Messages:
      603
      Likes Received:
      17
      Trophy Points:
      18
      Plugin is working fine for me.

      While i dont try to type the name of the food in (just use the drop down box), we are still able to type into that drop box and save whatever jibberish we type into it.
       
    15. Wheredidigo

      Wheredidigo Community Developer

      Joined:
      Dec 15, 2013
      Messages:
      417
      Likes Received:
      8
      Trophy Points:
      18
      Can you please run the following code in the RebornConsole and then paste back the results you get.

      Code:
      foreach (var item in ff14bot.Managers.InventoryManager.FilledSlots.Where(
                          x =>
                              x.BagId == InventoryBagId.Bag1 || x.BagId == InventoryBagId.Bag2 ||
                              x.BagId == InventoryBagId.Bag3 || x.BagId == InventoryBagId.Bag4))
                  {
                      Log("Name: " + item.Item.EnglishName + "\tItemCategory: " + item.Item.EquipmentCatagory);
                  }
      
       
    16. y2krazy

      y2krazy Community Developer

      Joined:
      Jun 21, 2011
      Messages:
      2,803
      Likes Received:
      70
      Trophy Points:
      48
      I assume this was the line you needed with that snippet?

      Code:
      Name: Buffalo Milk	ItemCategory: Ingredient
       
      Last edited: May 20, 2015
    17. Dgame

      Dgame Member

      Joined:
      Aug 19, 2014
      Messages:
      320
      Likes Received:
      0
      Trophy Points:
      16
      Not home atm but that may be the problem. It's a cheap food but it's labeled as an ingredient. Because it is used for both.
       
    18. Wheredidigo

      Wheredidigo Community Developer

      Joined:
      Dec 15, 2013
      Messages:
      417
      Likes Received:
      8
      Trophy Points:
      18
      Yes, that is definitely the problem. I'm currently only looking for things with a category of Meal.

      When the game comes back up, can you still please run the following code snippet in the RebornConsole. I'd like to see all of the results and not just the one for Buffalo's Milk so I have some context to match it against. It would be perfect if you could make sure to have another Ingredient Item in your back that you can't use as food.

      Code:
      foreach (var item in ff14bot.Managers.InventoryManager.FilledSlots.Where(x => x.BagId == InventoryBagId.Bag1 || x.BagId == InventoryBagId.Bag2 || x.BagId == InventoryBagId.Bag3 || x.BagId == InventoryBagId.Bag4))
      {
      	Log("Name: " + item.Item.EnglishName + "\tItemCategory: " + item.Item.EquipmentCatagory + "\tActionType: " + item.ActionType + "\tCanUse: " + item.CanUse());
      }
      
       
    19. Mantian

      Mantian New Member

      Joined:
      Feb 18, 2015
      Messages:
      67
      Likes Received:
      1
      Trophy Points:
      0
      here is everything you want.

      Code:
      Name: Prickly Pineapple	ItemCategory: Ingredient	ActionType: Item	CanUse: True
      Name: Seema	ItemCategory: Seafood	ActionType: Item	CanUse: True
      Name: Dzemael Tomato	ItemCategory: Ingredient	ActionType: Item	CanUse: True
      Name: Assassin Betta	ItemCategory: Seafood	ActionType: Item	CanUse: True
      Name: Bone Crayfish	ItemCategory: Seafood	ActionType: Item	CanUse: True
      Name: Maple Syrup	ItemCategory: Ingredient	ActionType: Item	CanUse: True
      Name: Chub	ItemCategory: Seafood	ActionType: Item	CanUse: True
      Name: Black Truffle	ItemCategory: Ingredient	ActionType: Item	CanUse: True
      Name: Apricot	ItemCategory: Ingredient	ActionType: Item	CanUse: True
      Name: Mole Meat	ItemCategory: Ingredient	ActionType: Item	CanUse: True
      Name: Night Milk	ItemCategory: Ingredient	ActionType: Item	CanUse: True
      Name: Ala Mhigan Fighting Fish	ItemCategory: Seafood	ActionType: Item	CanUse: True
      Name: Buffalo Sirloin	ItemCategory: Ingredient	ActionType: Item	CanUse: True
      Name: Night Milk	ItemCategory: Ingredient	ActionType: Item	CanUse: True
      Name: Night Milk	ItemCategory: Ingredient	ActionType: Item	CanUse: True
      Name: Ala Mhigan Fighting Fish	ItemCategory: Seafood	ActionType: Item	CanUse: True
      Name: Malm Kelp	ItemCategory: Seafood	ActionType: Item	CanUse: True
      Name: Honey Lemon	ItemCategory: Ingredient	ActionType: Item	CanUse: True
      Name: Sweet Cream	ItemCategory: Ingredient	ActionType: Item	CanUse: True
      Name: Merlthor Goby	ItemCategory: Seafood	ActionType: Item	CanUse: True
      Name: Seema	ItemCategory: Seafood	ActionType: Item	CanUse: True
      Name: Rainbow Trout	ItemCategory: Seafood	ActionType: Item	CanUse: True
      Name: Bone Crayfish	ItemCategory: Seafood	ActionType: Item	CanUse: True
      Name: Silverfish	ItemCategory: Seafood	ActionType: Item	CanUse: True
      Name: Boltfish	ItemCategory: Seafood	ActionType: Item	CanUse: True
      Name: Antelope Shank	ItemCategory: Ingredient	ActionType: Item	CanUse: True
      Name: Moat Carp	ItemCategory: Seafood	ActionType: Item	CanUse: True
      Name: Assassin Betta	ItemCategory: Seafood	ActionType: Item	CanUse: True
      Name: Wahoo	ItemCategory: Seafood	ActionType: Item	CanUse: True
      Name: Smooth Butter	ItemCategory: Ingredient	ActionType: Item	CanUse: True
      Name: Prickly Pineapple	ItemCategory: Ingredient	ActionType: Item	CanUse: True
      Name: Nutmeg	ItemCategory: Ingredient	ActionType: Item	CanUse: True
      Name: Honey	ItemCategory: Ingredient	ActionType: Item	CanUse: True
      Name: Thanalan Tea Leaves	ItemCategory: Ingredient	ActionType: Item	CanUse: True
      Name: Gelatin	ItemCategory: Ingredient	ActionType: Item	CanUse: True
      Name: Laurel	ItemCategory: Ingredient	ActionType: Item	CanUse: True
      Name: Gelatin	ItemCategory: Ingredient	ActionType: Item	CanUse: True
      Name: Thanalan Tea Leaves	ItemCategory: Ingredient	ActionType: Item	CanUse: True
      Name: Midland Basil	ItemCategory: Ingredient	ActionType: Item	CanUse: True
      Name: Dzemael Tomato	ItemCategory: Ingredient	ActionType: Item	CanUse: True
      Name: Dark Sleeper	ItemCategory: Seafood	ActionType: Item	CanUse: True
      Name: Mugwort	ItemCategory: Ingredient	ActionType: Item	CanUse: True
      Name: Kissing Trout	ItemCategory: Seafood	ActionType: Item	CanUse: True
      Name: Chicken Stock	ItemCategory: Ingredient	ActionType: Item	CanUse: True
      Name: Marjoram	ItemCategory: Ingredient	ActionType: Item	CanUse: True
      Name: Kukuru Butter	ItemCategory: Ingredient	ActionType: Item	CanUse: True
      Name: Crimson Trout	ItemCategory: Seafood	ActionType: Item	CanUse: True
      Name: Kukuru Powder	ItemCategory: Ingredient	ActionType: Item	CanUse: True
      Name: Gridanian Walnut	ItemCategory: Ingredient	ActionType: Item	CanUse: True
      Name: Lavender Oil	ItemCategory: Ingredient	ActionType: Item	CanUse: True
      Name: Almonds	ItemCategory: Ingredient	ActionType: Item	CanUse: True
      Name: Cider Vinegar	ItemCategory: Ingredient	ActionType: Item	CanUse: True
      Name: Maple Sugar	ItemCategory: Ingredient	ActionType: Item	CanUse: True
      Name: Night Milk	ItemCategory: Ingredient	ActionType: Item	CanUse: True
      Name: Maple Syrup	ItemCategory: Ingredient	ActionType: Item	CanUse: True
      Name: Clove Oil	ItemCategory: Ingredient	ActionType: Item	CanUse: True
      Name: Apkallu Egg	ItemCategory: Ingredient	ActionType: Item	CanUse: True
      Name: Honey Lemon	ItemCategory: Ingredient	ActionType: Item	CanUse: True
      Name: Sun Lemon	ItemCategory: Ingredient	ActionType: Item	CanUse: True
      Name: Lowland Grapes	ItemCategory: Ingredient	ActionType: Item	CanUse: True
      Name: Black Truffle	ItemCategory: Ingredient	ActionType: Item	CanUse: True
      Name: Harbor Herring	ItemCategory: Seafood	ActionType: Item	CanUse: True
      Name: Crimson Trout	ItemCategory: Seafood	ActionType: Item	CanUse: True
      Name: Rainbow Trout	ItemCategory: Seafood	ActionType: Item	CanUse: True
      Name: Gudgeon	ItemCategory: Seafood	ActionType: Item	CanUse: True
      Name: Sea Cucumber	ItemCategory: Seafood	ActionType: Item	CanUse: True
      Name: Rolanberry	ItemCategory: Ingredient	ActionType: Item	CanUse: True
      Name: Rolanberry	ItemCategory: Ingredient	ActionType: Item	CanUse: True
      Name: Prickly Pineapple	ItemCategory: Ingredient	ActionType: Item	CanUse: True
      Name: Prickly Pineapple	ItemCategory: Ingredient	ActionType: Item	CanUse: True
      Name: Prickly Pineapple	ItemCategory: Ingredient	ActionType: Item	CanUse: True
      
       
    20. Wheredidigo

      Wheredidigo Community Developer

      Joined:
      Dec 15, 2013
      Messages:
      417
      Likes Received:
      8
      Trophy Points:
      18
      Yes, Thank You!!!!
       
    Thread Status:
    Not open for further replies.

    Share This Page