Download
(17 Kb)
Download
Updated: 11-25-13 06:36 AM
Pictures
File Info
Compatibility:
Siege of Orgrimmar (5.4)
Escalation (5.3)
Thunder Isle (5.2)
Landfall (5.1)
Updated:11-25-13 06:36 AM
Created:12-18-12 02:12 AM
Downloads:1,187
Favorites:19
MD5:
5.4
PetBattleAutoForfeit
Version: 5.4.1.20
by: Phanx [More]
Quickly forfeit pet battles with no available upgrades.

When you enter a wild pet battle where none of the enemy pets are an upgrade, a full-screen prompt will appear. Click anywhere to forfeit, or right-click to continue the battle anyway.

Note that full automation is not possible, and the click is required, because forfeiting a pet battle requires a hardware action. Also, if you don't click immediately the pet battle system will take a second or two to complete the starting sequence before accepting your forfeit.

You can also shift-click the regular Forfeit button to forfeit immediately at any time without confirmation.

Options

Type “/pbaf” to open the options pane, or browse to it in the game’s Interface Options window.

You can specify the minimum quality to consider an upgrade (eg. if you are only interested in rares) and how many levels higher a wild pet must be to be considered an upgrade at the same quality. The loss of levels that occurs on capture is already accounted for, so if you set this to +5, then a pet will only be considered an upgrade if it will end up at least 5 levels higher than your existing pet after you capture it.

Feedback

Post a comment. Please note that I consider this addon to be complete, and will probably not add any new features.

Language Support

Compatible with all languages.

Translated into English, Deutsch, Español, Français, and Русский.

To add or update translations for another language, enter them on CurseForge and then send me a PM or post a comment to let me know you made changes, so I can add them to the addon. Or, just PM me your translations if you prefer.
Version 5.4.1.20
  • Updated for WoW 5.4
  • Added German translations

Version 5.3.0.19
  • Updated for WoW 5.3

Version 5.2.0.18
  • Now considers the expected level loss when determining whether wild pets are upgrades
  • Added an overlay icon on enemy pet unit frames indicating which ones are upgrades
  • Added Russian translations from Wetxius
  • Fixed library loading

Version 5.2.0.14
  • Added detection for non-capturable pets
  • Added Spanish translations
  • Now uses LibPetJournal-2.0 for better compatibility with other pet-related addons

Version 5.1.0.6
  • Fixed scanning when the pet journal is filtered
  • Added French translations from L0relei

Version 5.1.0.3
  • First public release
Archived Files (4)
File Name
Version
Size
Author
Date
5.3.0.19
16kB
Phanx
05-29-13 04:56 AM
5.2.0.18
16kB
Phanx
04-18-13 04:07 AM
5.2.0.14
16kB
Phanx
03-07-13 03:38 AM
5.1.0.6
7kB
Phanx
12-20-12 05:35 AM


Post A Reply Comment Options
Old 12-29-13, 04:32 AM  
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3685
File comments: 1860
Uploads: 38
Nope. There are plenty of addons that will add breed info to tooltips. If you need that info, you'll have to use one of those addons and make the decision yourself. If I were to add something like that in PBAF I'd need a whole panel of options so people could customize which breeds they preferred, and that's just too much work for too little benefit.
__________________
Author/maintainer of Grid, PhanxChat, ShieldsUp, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Phanx is offline Report comment to moderator  
Reply With Quote
Old 12-28-13, 05:52 PM  
Flawlessa
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 15
Uploads: 1
breeds?

Any way we can get an upgrade selector for different breeds?

In most cases, an S/S, P/P or H/H is going to be preferable to B/B. If there's a way they could be weighted higher than the latter, that'd be great.
Flawlessa is offline Report comment to moderator  
Reply With Quote
Old 11-25-13, 06:56 AM  
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3685
File comments: 1860
Uploads: 38
Version 5.4.1.20
  • Updated for WoW 5.4
  • Added German translations

Tatsächliche Deutscher, wie schlecht habe ich getan? >_>
__________________
Author/maintainer of Grid, PhanxChat, ShieldsUp, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Phanx is offline Report comment to moderator  
Reply With Quote
Old 05-29-13, 04:56 AM  
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3685
File comments: 1860
Uploads: 38
Version 5.3.0.19
  • Updated for WoW 5.3
__________________
Author/maintainer of Grid, PhanxChat, ShieldsUp, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Phanx is offline Report comment to moderator  
Reply With Quote
Old 04-21-13, 10:35 PM  
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3685
File comments: 1860
Uploads: 38
Originally Posted by Marthisdil
have the Addon monitor if you have used a pet ability, and if so, it clears the dimming/cancel message.
Not planned. If you're battling for XP or achievements, rather than for the purpose of upgrading your pets, you should probably just disable the addon temporarily, rather than trying to get the scope of the addon expanded.
__________________
Author/maintainer of Grid, PhanxChat, ShieldsUp, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Last edited by Phanx : 04-21-13 at 10:37 PM.
Phanx is offline Report comment to moderator  
Reply With Quote
Old 04-21-13, 12:25 PM  
Marthisdil
An Onyxian Warder
AddOn Author - Click to view AddOns

Forum posts: 350
File comments: 98
Uploads: 1
Originally Posted by Phanx
Can't you just look at the enemy unit frames to see that info? Flooding the chat frame with info about the pets you're fighting seems rather outside the scope of an addon whose sole purpose is to help you identify whether there is an upgrade available, and forfeit if there isn't, as quickly as possible.
Phanx, certainly can do that

Another idea - have the Addon monitor if you have used a pet ability, and if so, it clears the dimming/cancel message.

Thanks again for the addon!
__________________

Marth


Marthisdil is offline Report comment to moderator  
Reply With Quote
Old 04-18-13, 03:07 PM  
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3685
File comments: 1860
Uploads: 38
Can't you just look at the enemy unit frames to see that info? Flooding the chat frame with info about the pets you're fighting seems rather outside the scope of an addon whose sole purpose is to help you identify whether there is an upgrade available, and forfeit if there isn't, as quickly as possible.
__________________
Author/maintainer of Grid, PhanxChat, ShieldsUp, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Last edited by Phanx : 04-18-13 at 09:49 PM.
Phanx is offline Report comment to moderator  
Reply With Quote
Old 04-18-13, 11:38 AM  
Marthisdil
An Onyxian Warder
AddOn Author - Click to view AddOns

Forum posts: 350
File comments: 98
Uploads: 1
Phanx,
Thanks for the addon! One suggestion - when entering battle, have the addon display to the console the names/levels/quality of the enemy pets you're fighting against

Thanks again!
__________________

Marth


Marthisdil is offline Report comment to moderator  
Reply With Quote
Old 04-18-13, 04:07 AM  
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3685
File comments: 1860
Uploads: 38
Version 5.2.0.18
  • Now considers the expected level loss when determining whether wild pets are upgrades
  • Added an overlay icon on enemy pet unit frames indicating which ones are upgrades
  • Added ruRU translation from Wetxius
  • Fixed library loading
__________________
Author/maintainer of Grid, PhanxChat, ShieldsUp, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Phanx is offline Report comment to moderator  
Reply With Quote
Old 04-12-13, 06:21 PM  
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3685
File comments: 1860
Uploads: 38
WTF, I already fixed that... I blame Dropbox and its lack of support for symlinks. I'll post a re-fix soon; working on something else at the moment.
__________________
Author/maintainer of Grid, PhanxChat, ShieldsUp, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Phanx is offline Report comment to moderator  
Reply With Quote
Old 04-12-13, 12:11 PM  
Calebzor
A Kobold Labourer
 
Calebzor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 3
Uploads: 3
In the .toc file Libs\ is missing in front of all the libraries. They don't load right now.
Calebzor is offline Report comment to moderator  
Reply With Quote
Old 03-07-13, 04:28 PM  
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3685
File comments: 1860
Uploads: 38
Version 5.2.0.14
  • Added detection for non-capturable pets
  • Added Español translations
  • Now uses LibPetJournal-2.0 for better compatibility with other pet-related addons
__________________
Author/maintainer of Grid, PhanxChat, ShieldsUp, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Phanx is offline Report comment to moderator  
Reply With Quote
Old 03-06-13, 03:48 AM  
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3685
File comments: 1860
Uploads: 38
There'll be an update shortly. I'm converting the addon to use LibPetJournal-2.0 so I can quit copy-pasting the same pet journal scanning code between all of my pet-related addons, and adding shift-clicking on the regular forfeit button to skip the confirmation dialog and forfeit immediately. In the meantime, just check "Load out of date addons" on the in-game addons list and it should work just fine.
__________________
Author/maintainer of Grid, PhanxChat, ShieldsUp, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Phanx is offline Report comment to moderator  
Reply With Quote
Old 01-22-13, 06:57 PM  
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3685
File comments: 1860
Uploads: 38
Collecting pets that aren't upgrades is outside the scope of what I wrote this addon to do. If that's what you're after, you can either (a) seek out higher level pets to battle, (b) modify the addon yourself, or (c) disable the addon and click the forfeit button yourself if you don't see a pet you want.

Edit: Actually, as long as you never open the options window, you can probably just edit the value in your saved variables file to -25 or even -10000000 in Notepad, and it will probably work the way you want.
__________________
Author/maintainer of Grid, PhanxChat, ShieldsUp, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Last edited by Phanx : 01-22-13 at 10:18 PM.
Phanx is offline Report comment to moderator  
Reply With Quote
Old 01-22-13, 06:41 AM  
Darst
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Originally Posted by Phanx
Now, if you have a level 15 blue Scorpid and enter battle with a level 12 blue Scorpid, you will be prompted to forfeit, because it wouldn't make sense to capture a lower level of the same quality.
This is the reason I requested the slider to have a larger range. If I want to capture any level blue quality pet it would not forfeit. This would allow you to collect up to 3 of that pet at the highest quality regardless of its level. Therefor if Blizz adds the option to trade wild pets or if I want a team of the same pet I have backups.

The slider might not be the best way but maybe a checkbox to not forfeit at the sign of any level blue quality pet.

*
Darst is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: