Thread Tools Display Modes
06-23-09, 07:29 AM   #1
Strongbow
A Deviate Faerie Dragon
 
Strongbow's Avatar
Join Date: Oct 2006
Posts: 12
LDB Pet addon request

I'm looking for a simple LDB addon for my pet as I play a hunter.

I want it to have the petname, level and exp current/exp max, but what i would like it to have too is the name happiness coloured and when the pet reaches max level to automatically take away the level and exp so it will only show the name in the LDB.

No tooltip needed and no config needed and no sound or whatever people have in them, maybe if you click on it you would get the pet frame up.

My skills in Lua is almost none existing so if there is an addon like this pls let me know or if any is willing to make one.

Thank you for your time.

-Strongbow-
  Reply With Quote
06-28-09, 01:35 PM   #2
rodrick
An Aku'mai Servant
AddOn Author - Click to view addons
Join Date: Aug 2007
Posts: 34
Once it's approved try http://wow.curseforge.com/projects/broker_pet/

Note: it's drycoded since I do not have an active wow account to test with, be sure to let me know if it works, etc.
  Reply With Quote
06-30-09, 12:06 PM   #3
ravagernl
Proceritate Corporis
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 1,176
Would be even more awesome if it would display an xp bar in the style of Ara Broker XP.
  Reply With Quote
06-30-09, 09:26 PM   #4
rodrick
An Aku'mai Servant
AddOn Author - Click to view addons
Join Date: Aug 2007
Posts: 34
Interesting idea, is it working as it is though?
  Reply With Quote
06-30-09, 09:51 PM   #5
rodrick
An Aku'mai Servant
AddOn Author - Click to view addons
Join Date: Aug 2007
Posts: 34
again cannot test but try 0.2b and click the feed to change between the modes
  Reply With Quote
07-09-09, 08:23 PM   #6
Zidomo
A Cliff Giant
 
Zidomo's Avatar
Join Date: Apr 2006
Posts: 76
v0.2b (the latest) as it is doesn't work very well or provide anything useful.

Broker_Pet 0.2b, using the StatBlockCore LDB display, USEnglish client/server, WoW 3.1.3 live. Log on with a 60-something Hunter with his same-level pet out. The pet's name shows up in a StatBlock block. *But no XP display*.

Left-click the block, nothing happens. Right-click the block, an error is thrown up (which repeats every time you right-click the block):

["message"] = "Broker_Pet-0.2b\\Core.lua:25: attempt to call global 'updatedisplay' (a nil value)\nStatBlockCore-2.6\\StatBlockCore.lua:598: in function < Interface\\AddOns\\StatBlockCore\\StatBlockCore.lua:596 >\n\n ---",
["type"] = "error",
["session"] = 753,
["counter"] = 6
  Reply With Quote
07-09-09, 11:38 PM   #7
rodrick
An Aku'mai Servant
AddOn Author - Click to view addons
Join Date: Aug 2007
Posts: 34
Thanks

thanks for the report. Try newest beta if you could? Also know that if the pet is the same level as you it will not display XP information as it cannot level up.
  Reply With Quote
07-10-09, 02:51 AM   #8
Strongbow
A Deviate Faerie Dragon
 
Strongbow's Avatar
Join Date: Oct 2006
Posts: 12
First of all THANK YOU for trying to make this.

I just tried your addon, latest beta but got this error

Date: 2009-07-10 10:47:37
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\Broker_Pet\Core.lua line 20:
attempt to index global 'Broker_PetDBPC' (a nil value)
Debug:
[C]: ?
Broker_Pet\Core.lua:20: in main chunk

-Strongbow-
  Reply With Quote
07-10-09, 03:14 AM   #9
Limb0
A Cobalt Mageweaver
 
Limb0's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2008
Posts: 220
oh dang I thought this was for minipets but hey.. is there one for LDB?
  Reply With Quote
07-10-09, 08:44 AM   #10
rodrick
An Aku'mai Servant
AddOn Author - Click to view addons
Join Date: Aug 2007
Posts: 34
Try alpha r9 from curseforge would you?
  Reply With Quote
07-10-09, 10:41 AM   #11
Strongbow
A Deviate Faerie Dragon
 
Strongbow's Avatar
Join Date: Oct 2006
Posts: 12
This is what i get now, think the happiness colour is not right since my pet was happy and then there is something strange when you click it.
Attached Thumbnails
Click image for larger version

Name:	Numbers1.jpg
Views:	639
Size:	2.3 KB
ID:	3030  Click image for larger version

Name:	Bars1.jpg
Views:	633
Size:	3.0 KB
ID:	3031  
  Reply With Quote
07-10-09, 10:45 AM   #12
Strongbow
A Deviate Faerie Dragon
 
Strongbow's Avatar
Join Date: Oct 2006
Posts: 12
Wanted to add that just saw that the name turned yellow when he was content so there might be a mixup regarding the colours for happy and unhappy.

-Strongbow-
  Reply With Quote
07-10-09, 10:58 AM   #13
rodrick
An Aku'mai Servant
AddOn Author - Click to view addons
Join Date: Aug 2007
Posts: 34
Originally Posted by Strongbow View Post
Wanted to add that just saw that the name turned yellow when he was content so there might be a mixup regarding the colours for happy and unhappy.

-Strongbow-
OK, r10 should swap around happyness colors and fix the color thing for the xpbars. Thank you for helping me test
  Reply With Quote
07-12-09, 05:06 AM   #14
Strongbow
A Deviate Faerie Dragon
 
Strongbow's Avatar
Join Date: Oct 2006
Posts: 12
The latest beta seems to work great, thank you for making this, you are the best ever.

-Strongbow-
  Reply With Quote
07-13-09, 01:15 PM   #15
rodrick
An Aku'mai Servant
AddOn Author - Click to view addons
Join Date: Aug 2007
Posts: 34
Excellent, released as 1.0. Have fun my friend.
  Reply With Quote
07-31-09, 06:17 AM   #16
Zidomo
A Cliff Giant
 
Zidomo's Avatar
Join Date: Apr 2006
Posts: 76
Latest version 1.0 still has problems. It now works for one thing its supposed to do, but doesn't work for the second.

Have a pet out who is happy. The pet's capitalized name (in a green font), level (in a white font, in brackets: "()") and experience (also in a white font, in "x/x" format) shows up in the LDB display. As in: "Bear (65) 17000/30000"

But a big problem with that: the info should really should be in a tooltip. Depending on the size of your LDB display, all that info can very much overflow the bars/blocks you have.

But then click the LDB display to change the display; as per the mod description: "There are two different displays of pet XP, click the feed to switch between them". Do that and the display bugs out.

It changes from what was provided above to the name, level and a bunch of upright "bars" showing in the LDB display. Like this: "Bear (65) ||||||||||||||||||||||||||||||" About 1/2 of the "bars" are colored blue, about 1/2 are colored white.

This weird behavior when you click to switch to the "different display of pet XP" is repeatable when you change to a different (happy) pet out of your stable.
  Reply With Quote
07-31-09, 07:54 AM   #17
rodrick
An Aku'mai Servant
AddOn Author - Click to view addons
Join Date: Aug 2007
Posts: 34
The upright bars is correct, as per a request for it to show xp in a "bar format" as per Ara Broker XP. As for "should be in a tooltip", yea I'd personally put it in a tooltip also but I made it as per the OP.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Search/Requests » LDB Pet addon request

Thread Tools
Display Modes

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