Download
(6Kb)
Download
Updated: 04-27-08 10:09 PM
Pictures
File Info
Updated:04-27-08 10:09 PM
Created:unknown
Downloads:14,069
Favorites:46
MD5:

Pet EXP Info Bar - Blizz Fonts  Popular! (More than 5000 hits)

Version: 2.4.0f
by: Inokis [More]

NOTICE: Due to a matter, As of 05/06/08 I have decided its best for me to close my account indefinitely. I'll do my best to keep this mod updated but for any significant LUA changes, this mod may become obsolete in the future.

Thanks go to Akryn and Layrajha for the assistance with the new combat log in this topic.


This is an addon that adds an Experience Gauge for your pet to your Interface Window. The bar can be placed by the user, and has additional pet information outlined below:

Update:

  • Updated the Pet Feeding with the 2.4 Combat Event format.
  • Condensed the lua script Happiness Gain output.
  • Fixed the Pet Happiness Gain from erroneously hiding before the feed effect fades.
  • Fixed the Pet Happiness Gain to properly hide when the Feed Effect Fades.
  • Fixed the Pet Happiness Gain to properly hide when the value is returned as the word 'BUFF'.
  • Fixed the Happiness Gain from disappearing when Player Auras were updated (this will no longer cause the EXP Bar to hide using /petbarmin).
  • Added a 'Well Fed' icon and duration for Kibler's Bits.
Notes:
I condensed the Loyalty Text to a more readable format.
I fixed a bug with the EXP not updating correctly when stabling pets.
I added seconds to the Well Fed buff duration.
I made a small tweak to the XML, setting the Beast Family text independent of the EXP MIN/MAX text.

Please continue reporting any bugs in the comments section.
Features:
  • Pet Experience Gauge is displayed in Purple, with a text value of the total experience.
  • The gauge hides when the pet is the same level as the Hunter. The gauge will show when hungry or when being fed.
  • The gauge will show if the pet has less than Loyalty 6 (Best Friend) regardless of pet level. This is exempt from the /petbarmin command.
  • Well Fed Icon (Kibler's Bits) will show except when using /petbarmin.
  • Beast Family (Pet Type) is displayed as text.
  • Pet Level is displayed as text, in the default 'Level Style'.
  • Loyalty Level is displayed as text, when less than Level 6.
  • Pet Speed is displayed as text.
    (Since the BC expansion, all pets should be at '2.0')
  • Pet Happiness is displayed as text mesages, in the form of 'Hunger' messages.
    ( Pet Happiness Icon colors)
  • Pet Happiness Gain during feeding is displayed as text.
    (Pet Feed Icon color)
  • Frame hides automatically.
    (Classes other than hunters, Pet Death, Pet Dismissed, Pet in Stable)
  • Frame is draggable, can be user placed.
    (Position is saved and loaded. Default is below the default pet window, upper left.)
  • Frame is lockable via a button toggle, which can prevent or enable dragging.
    (Button setting is saved and loaded. Default is unlocked.)
  • Slash commands:
    /petbarhelp - displays the slash commands available for the mod

    /petbarmin - toggles between the full default mode and a minimized mode. The minimized mode will hide the pet bar whenever the target gives no experience, when there is no target and unless the pet is feeding/hungry

    /petbarbuff - toggles the 'Well Fed' icon between shown and hidden.

02/25/08 -
Fixed a minor bug with the Feed Happiness text showing improperly when feeding is interrupted.

Adjusted the PetBarMin command to hide the exp gauge on dead targets, showing only when the loot window then opens after a kill. Trivial targets will continue to hide the exp gauge even on looting.


03/03/08
Fixed a minor bug with petbarmin targetting. Targetting a friendly unit after a hostile Unit will correctly hide the pet bar.

Fixed a minor bug with petbarmin targetting. Targetting a high level unit (skull marked) would prevent the exp bar from showing.

Fixed the /petbarmin command to properly hide the exp bar with same level pets and less than full loyalty.

Adjusted the /petbarmin command to instantly show/hide the EXP Gauge.

Attempted to fix the random mount bug, which erroneously shows a blank frame when mounted at extremley rare and random intervals. *could not duplicate after this update*

03/07/08-
Fixed an issue where the petbar was showing on non hunter characters if the addon was enabled for non hunters.

Changed the slash commands to display a non-hunter error message if used on a non-hunter character.

04/05/08 -
Updated the Pet Feeding with the 2.4 Combat Event format.

Condensed the lua script Happiness Gain output.

04/06/08 -
Corrected the Pet Happiness Gain; it will no longer hide erroneously before the feed effect fades.

Fixed the Lock Button from falling behind the parent frame.

Fixed the Level Frame background from falling behind the parent frame.

04/08/08 -
Fixed the Pet Happiness Gain to properly hide when the Feed Effect Fades.

Fixed the Pet Happiness Gain to properly hide when the value is returned as the word 'BUFF'.

Fixed the Happiness Gain from disappearing when Player Auras were updated (this will no longer cause the EXP Bar to hide using /petbarmin).

4/14/08 -
Added a 'Well Fed' icon and duration for Kibler's Bits.

Added a slash command /petbarbuff for showing/hiding the icon. This setting is saved.

4/19/08 -
Added some refined checks for the Feed Happiness Gain and the Well Fed Buff icon.

4/27/08 -
Condensed the Loyalty Text to a more readable format.
Fixed a bug with the EXP not updating when stabling pets.
Added seconds duration to the Well Fed buff icon.
Set the BeastFamily text relative to the frame rather than the EXP MIN/MAX text.
Optional Files (0)


Post A Reply Comment Options
Unread 04-20-08, 05:45 PM  
Wolfling
A Defias Bandit

Forum posts: 2
File comments: 3
Uploads: 0
yup, that answers it.

untrained him, and he went to 2.0
retrained in cr, and back to 1.5

thanks for the info on that )

wolf
Report comment to moderator  
Reply With Quote
Unread 04-20-08, 05:11 AM  
Inokis
EQInterface Staff
 
Inokis's Avatar
AddOn Author - Click to view AddOns

Forum posts: 156
File comments: 20
Uploads: 2
Do you use cobra reflexes on the pet in question?

Originally posted by Wolfling
Hi, love this addon

one small thing, although its not a problem.
quote (Since the BC expansion, all pets should be at '2.0')

one of my pets always says 1.5
any idea why?
other pets are 2.0, just the one pet with 1.5, weird but it dosnt seem to
have any other problems.
( been this way ever since it was tamed, months ago )

also i have a second account with another hunter, with the same pet (named black cat, forget name from barrans) and that one reads 2.0


thanks again

wolf
__________________
If not yourself, who can you count on...
Report comment to moderator  
Reply With Quote
Unread 04-20-08, 01:25 AM  
Wolfling
A Defias Bandit

Forum posts: 2
File comments: 3
Uploads: 0
Hi, love this addon

one small thing, although its not a problem.
quote (Since the BC expansion, all pets should be at '2.0')

one of my pets always says 1.5
any idea why?
other pets are 2.0, just the one pet with 1.5, weird but it dosnt seem to
have any other problems.
( been this way ever since it was tamed, months ago )

also i have a second account with another hunter, with the same pet (named black cat, forget name from barrans) and that one reads 2.0


thanks again

wolf
Report comment to moderator  
Reply With Quote
Unread 03-07-08, 04:18 AM  
Inokis
EQInterface Staff
 
Inokis's Avatar
AddOn Author - Click to view AddOns

Forum posts: 156
File comments: 20
Uploads: 2
Re: Error

I have never gotten this error when running this mod. The font is definitely set. I'll try to duplicate it.

I mixed up the xml files and placed the newfonts xml in the blizzfonts zip. This will be fixed soon.

Originally posted by Jerricka
Date: 2008-03-06 01:48:03
ID: 53
Error occured in: Global
Count: 8
Message: ..\AddOns\PetEXPInfoBar\PetEXPInfoBar.lua line 79:
PetEXPBarLevelText:SetText(): Font not set
Debug:
[C]: ?
[C]: SetText()
PetEXPInfoBar\PetEXPInfoBar.lua:79: PetEXPInfoBar_Update()
PetEXPInfoBar\PetEXPInfoBar.lua:36: PetEXPInfoBar_OnEvent()
[string "*:OnEvent"]:1:
[string "*:OnEvent"]:1
__________________
If not yourself, who can you count on...
Last edited by Inokis : 03-07-08 at 05:49 AM.
Report comment to moderator  
Reply With Quote
Unread 03-07-08, 04:17 AM  
Inokis
EQInterface Staff
 
Inokis's Avatar
AddOn Author - Click to view AddOns

Forum posts: 156
File comments: 20
Uploads: 2
Originally posted by Deputydang
Hey there,

Let me start by saying "THANK YOU" I love this addon!!

I just updated to v2.3.3d and now the petbar shows up for ALL my toons. Even after I use /petbarmin.

Just thought you should know.

Thanks again
I'll check into this.

This was an easy fix. For some reason the IsMounted() check messed up the State() function for other classes. I don't know why nor do I understand why. However adding an <OnShow> class statement in the xml fixed the issue.

This will be updated as soon as i verify the other issue reported.
__________________
If not yourself, who can you count on...
Last edited by Inokis : 03-07-08 at 05:16 AM.
Report comment to moderator  
Reply With Quote
Unread 03-06-08, 03:51 AM  
Jerricka
An Aku'mai Servant
 
Jerricka's Avatar

Forum posts: 30
File comments: 178
Uploads: 0
Error

Date: 2008-03-06 01:48:03
ID: 53
Error occured in: Global
Count: 8
Message: ..\AddOns\PetEXPInfoBar\PetEXPInfoBar.lua line 79:
PetEXPBarLevelText:SetText(): Font not set
Debug:
[C]: ?
[C]: SetText()
PetEXPInfoBar\PetEXPInfoBar.lua:79: PetEXPInfoBar_Update()
PetEXPInfoBar\PetEXPInfoBar.lua:36: PetEXPInfoBar_OnEvent()
[string "*:OnEvent"]:1:
[string "*:OnEvent"]:1
AddOns:
AckisRecipeList, v0.64
AddonManager, v4
AoTRDungeonQuester
Auctioneer, v5.0.PRE.2887
Auditor2, v3.0.4
AutoProfitX, v2.03
Bagmeter, v20300
BankItems, v23003
BeanCounter, v5.0.PRE.2887 (BillyGoat)
BookOfCrafts
ClosetGnomeOhNoes, v2
ClosetGnome, v1.0.62548
CloseUp
CritSound, v0.2
CrowBar, v1.0.50229
CTBuffMod, v2.04 (CTMod 2.0)
CTCore, v2.003 (CTMod 2.0)
CTExpenseHistory, v2.003 (CTMod 2.0)
CTMailMod, v3.01 (CTMod 2.0)
CTTimer, v2.03 (CTMod 2.0)
FlightMap, v2.1-1
DoubleWide
EasyCopy
EnchantWootOMatic
Enchantrix, v5.0.PRE.2887
EnhTooltip, v5.0.PRE.2887
EquipCompare, v2.10
Fizzlebag, v20100-1
GFWAdSpace, v2.3
GFWFactionFriend, v2.3
GFWHuntersHelper, v2.3.1
FloAspectBar
FuBarAuditorFu, v3.0.4
FuBarBagBar, v1.4
FuBarExperienceFu, v1.1 $Revision: 55081 $
FuBarFactionsFu, v2.2
FuBarGroupFu, v1
FuBarItemBonusesFu, v2.1
FuBarMailFu, v2.0
FuBarSkillsPlusFu, v2.4.3
FuBarTrainerFu, v0.2
FuBar, v50710
FuTextures, v2.0
Gatherer, v3.0.4
GatherSage, v20100-2
HatTrick
Informant, v5.0.PRE.2887
ItemRack
KHunterTimers
KillLog, v2.6.2a
AbacusLib
Ace2
Babble22, v2.2.$Revision: 57539 $
CrayonLib
Deformat, v1.0 $Revision: 3817 $
DewdropLib
FuBarPlugin20, v2.0 $Revision: 54514 $
GratuityLib, vr$Revision: 49704 $
TabletLib
Waterfall10
LightHeaded
LockBarII, v1.4
LootCount
MetaMap, v20100-1
MinimapButtonFrame, v1.7
MiniPet
myReloadUI, v1.6
OfflineMail, v0.8.3.2
Omen, v2.1r55025
PartyQuestComm, v2.5
AHShowBid, v20000 R.1
PetEXPInfoBar
Petster, v20100.00
PetsterFeed
Possessions, v2.0.2n v2
PowerAuras, v2.45
PriceEach, v2.0.3
ProfessionLinks, vProfessionLinks v2.3
RatingBuster, v1.3.5 (r61853)
RecipeRadar, v1.24
CharacterPaperdoll, v2.0.3
CharacterProfiler, v2.3.0
rSelfCastBB
sct, v5.7
sctd, v2.4
SendSelf, v$VER$
simpleMinimap, v20100-6
SimpleMountEquip, v1.8
Skillet, v1.10-54727
Stackpack, v1.1
Stubby, v52
Swatter, v5.0.PRE.2887
TomTom
TyMod
WhoHas, v2.3.3
WIM, v2.3.56
XPerlArcaneBar
XPerlParty
XPerlPartyPet
XPerlPlayerBuffs
XPerlPlayer
XPerlPlayerPet
XPerlRaidAdmin
XPerlRaidHelper
XPerlRaidPets
XPerlRaidFrames
XPerlTarget
XPerlTargetTarget
XPerl, v2.3.9b
Xolpass, v0.50
Report comment to moderator  
Reply With Quote
Unread 03-05-08, 05:20 AM  
Deputydang
A Kobold Labourer
 
Deputydang's Avatar

Forum posts: 1
File comments: 2
Uploads: 0
Hey there,

Let me start by saying "THANK YOU" I love this addon!!

I just updated to v2.3.3d and now the petbar shows up for ALL my toons. Even after I use /petbarmin.

Just thought you should know.

Thanks again
Report comment to moderator  
Reply With Quote
Unread 07-03-07, 07:22 PM  
KlytusLord
A Murloc Raider
 
KlytusLord's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 10
Uploads: 1
Hi

Would it be possible to offer the option to hide the bar anytime the pet can not gain xp? Such as maxed level pets and anytime the pet and the hunter are the same level.

Thanks!
Report comment to moderator  
Reply With Quote
Unread 06-05-07, 07:53 PM  
Inokis
EQInterface Staff
 
Inokis's Avatar
AddOn Author - Click to view AddOns

Forum posts: 156
File comments: 20
Uploads: 2
This is draggable from anywhere on the frame. It is a very small window so it may seem this way but I use it all the time and have no problems dragging it from anywhere.

Originally posted by Geneticus
Seems like it is only draggable from the upper left where the XP XXX/XXXX readout is.
Sorry, this is how I like it. I add features that I would use and its mainly a mod for my use. I published it in case other people wanted to use it.

The size is designed to go above the PetActionBar.

Would love to see this with an optional small frame,XP numbers moved on top of the XP Bar,loyalty moved down off the xp bar,...
Pet feeding is done with a macro now and theres no real point to adding food slots to it.

...and shortcuts to feeding backpack slots.
__________________
If not yourself, who can you count on...
Last edited by Inokis : 06-05-07 at 07:54 PM.
Report comment to moderator  
Reply With Quote
Unread 05-29-07, 02:58 PM  
Geneticus
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 15
File comments: 17
Uploads: 2
Originally posted by Inokis
I think I found the problem, Uploaded a corrected version now.
Seems like it is only draggable from the upper left where the XP XXX/XXXX readout is.
Would love to see this with an optional small frame,XP numbers moved on top of the XP Bar,loyalty moved down off the xp bar, and shortcuts to feeding backpack slots.
Report comment to moderator  
Reply With Quote
Unread 02-14-07, 08:35 PM  
Inokis
EQInterface Staff
 
Inokis's Avatar
AddOn Author - Click to view AddOns

Forum posts: 156
File comments: 20
Uploads: 2
I think I found the problem, Uploaded a corrected version now.

Originally posted by fred
Mine is green.....still can't move it...
__________________
If not yourself, who can you count on...
Last edited by Inokis : 02-14-07 at 08:55 PM.
Report comment to moderator  
Reply With Quote
Unread 02-14-07, 07:46 PM  
fred
A Cobalt Mageweaver

Forum posts: 208
File comments: 354
Uploads: 0
Originally posted by Inokis
Is the lock button red or green?
Mine is green.....still can't move it...
Report comment to moderator  
Reply With Quote
Unread 02-14-07, 06:34 PM  
Inokis
EQInterface Staff
 
Inokis's Avatar
AddOn Author - Click to view AddOns

Forum posts: 156
File comments: 20
Uploads: 2
Is the lock button red or green?

Originally posted by Clovice
The latest version works for me, however I cannot move the bar.
__________________
If not yourself, who can you count on...
Report comment to moderator  
Reply With Quote
Unread 02-14-07, 12:32 PM  
Clovice
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Originally posted by Inokis
What other mods are you using?

Also make sure you don't have the folder nested, for example:
Wow\Interface\Addons\PetEXPIinfoBar\PetEXPInfoBar\ is incorrect, you need to have the files in the folder just under addons.
The latest version works for me, however I cannot move the bar.
Report comment to moderator  
Reply With Quote
Unread 02-12-07, 01:12 PM  
Inokis
EQInterface Staff
 
Inokis's Avatar
AddOn Author - Click to view AddOns

Forum posts: 156
File comments: 20
Uploads: 2
It does hide itself if you have no pet or if you dismiss the pet.

Originally posted by seebs
Would be nice for it to automatically hide itself if you have no pet out... Or for that matter if you have no pet at all, say, on a non-hunter.
I reworked the script a tad and will upload asap. This should cover any loopholes that I missed before:
Code:
if ( event == "PLAYER_ENTERING_WORLD") or ( event == "PET_BAR_UPDATE") or (event == "UNIT_PET" and arg1 == "player") then
	if UnitClass("Player") == "Hunter" then
		if ( PetHasActionBar() ) then
			PetActionBarEXPGauge:Show();
			PetEXPInfoBar_Update();
		else
			PetActionBarEXPGauge:Hide();
		end
	elseif not ( UnitClass("Player") == "Hunter" ) then
		PetActionBarEXPGauge:Hide();
	end
end


Additionally, I tested this mod on every class I have (typically I just disable this mod on everyone but hunters, since you can choose which characters use which mods on the addon screen) and I tested the mod keeping the PetActionBarFrame hidden. The mod works accurately on any class and will show/hide regardless of the PetActionBarFrame visibility.
__________________
If not yourself, who can you count on...
Last edited by Inokis : 02-12-07 at 02:42 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: