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

[PB] - Need little advice (if Conditions)

StefanKFG

New Member
Joined
Sep 5, 2010
Messages
432
Reaction score
1
I want to make a little PB Profil about switching gathering profiles but I don't have a clue about the if conditons.

First I load the profile where I want to gather (selfmade Uldum f/e). = Load Profile

Now the bot should gather there until bags are full. = if Condition (I think)

Next step would be use hearthstone, put everything in you bank/gbank = Deposite Item in Bank

After that the bot should fly to the portals in Stormwind, take the portal to Twilight Highlands = Fly to

Load my selfmade TH Profile = Load Profile

and go one botting until bags are full = if condition

I think I can handle everything but the if Condition I don't have an idea.
Could anyone give me some advice?
 
Very much interested in something like this. Good idea, hope you get it going.

MEDIC
 
Well, one more problem occured. Where can I get the Object ID of the portals in SW (Uldum, TH, etc.). Cann't find them on wowhead.com
 
How do you get it to know if it ahs full bags strugling with that problem :p
 
Thx for this. So the portal part is working. How can I use the Hearthstone? Is this a "cast spell" action or do I need to use "custom action". What would be the code for using your hearthstone?

Code:
Styx.WoWInternals.Lua.DoString("UseItemByName(\"Hearthstone\")");

There ya go
 
Pbettell do you know how to make it read if it ahs full bags?
 
Do not use Lua for those things! We have it right in the API.
Code:
ObjectManager.Me.BagsFull
.

EDIT: Note that BagsFull indicates whether all bags are full (including possible mining bags or herbalism bags). If you only want normal bags (that can contain everything), use NormalBagsFull.
 
Last edited:
Thanks, but what command should i then put in the PB if I want it to do something when full bags. Example:
Pb Reads "Unknown command" then It goes to vendor and sell? :)
 
Back
Top