Thread Tools Display Modes
07/14/15, 04:37 PM   #1
picard
Join Date: May 2015
Posts: 10
xp buff everytime

would it be possible for someone to create an addon that does the following:

a switch somewhere which i can switch on and off and if its set to on i consume always a xp pot when the xp buff is gone ?

that would be beatiful
  Reply With Quote
07/14/15, 04:53 PM   #2
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 5,000
Addons cannot consume items automatically. You'll need to interact with the inventory item/quickslot item on your own.

An addon could, if it is able to read the XP buff left, tell you by help of a texture/graphic or an alert text, that you should consume such a pot "soon".
  Reply With Quote
07/14/15, 06:06 PM   #3
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 1,019
Use Srendarr and watch your xp buff.
  Reply With Quote
07/15/15, 01:00 AM   #4
QuadroTony
Banned
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 828
Originally Posted by Baertram View Post
Addons cannot consume items automatically
what about Auto Recharge addon?

and ther was another with auto eat food/drink

about op request - this is vey suspisious feature, ecause you always can use potions yourself
ifyou not using macros/bot for grind
  Reply With Quote
07/15/15, 10:54 AM   #5
Randactyl
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 251
Originally Posted by Baertram View Post
Addons cannot consume items automatically. You'll need to interact with the inventory item/quickslot item on your own.

An addon could, if it is able to read the XP buff left, tell you by help of a texture/graphic or an alert text, that you should consume such a pot "soon".
UseItem is a protected function. An addon could watch the xp buff and use CallSecureProtected to use an xp pot or crown scroll - provided CallSecureProtected will succeed. (pretty much out of combat, right?)

If the call fails, the addon could have some kind of recurring event to retry calls until it succeeds in using an xp item.
  Reply With Quote
07/16/15, 08:11 AM   #6
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 5,000
Ok, my fault then. I understood the item is given at the QuickSlotBar, where you cannot automatically use items. You ned to press the quickslot key.

Using items from the inventory is possible, if you scan the whole inventory for the item that you need and then use CallSecureProtected(useItem(...)) as Randactyl described.
I guess this is how the AutoRecharge addon recharges your stuff and maybe other addons automatically eat buff food.
  Reply With Quote
07/16/15, 10:21 AM   #7
picard
Join Date: May 2015
Posts: 10
ok so now that we find out that it is possible:

can someone please make a addon for that ? i will donate soem gold on eu if so
  Reply With Quote

ESOUI » AddOns » AddOn Search/Requests » xp buff everytime


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off