What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Consumables

Azathoth1

New Member
Joined
Oct 14, 2010
Messages
202
Reaction score
0
What I am trying to do is search through the contents of my bags and find out which consumables are a certain food type, meat/cheese/fungus etc, anyone have a way of doing this without resorting to listing all the ids in the plugin itself?

What I can currently do:

Find out what the diet of the current active hunter pet is.

Scan the bags for consumables in a certain level range.

(Now I need to be able to get the food type: meat, cheese, fruit, fungus, whatever whatever. Think this is where I am actually permanently stuck as from what I see currently, there is no way to check).
 
One way is trial and error:

Initialize:
1) Locate all appropriate level foods

When pet is uhappy:
1) Attempt to feed one food to your pet
2) Scan red text to check for error (blacklist food in case of error - go to step 1)

This way every time the bot starts it creates a list of all food items in your bag. Upon discovering an item your pet cannot eat, remove it from the list. Rinse and repeat. It shouldn't take more than a few seconds to blacklist all of the bad foods.
 
This idea has been brought up to me by baxter, and it is a lot better then id checking, and it is what I will be using if I cannot find another way. However, just opening the whole concept up for discussion to see others views/ideas, so thank you :)
 
Back
Top