Log in

View Full Version : [AddOn] PartyXPBars-0.2 (New Version)



Blubber
04-17-2008, 12:21 PM
I made a little addon to show XP bars at your partymembers portraits. It depends on LibRpc and LibTrust ('http://www.dual-boxing.com/forums/index.php?page=Thread&threadID=6136') , which are also in the zipfile. I just quickly put this together, it's my first addon ever, so keep that in mind :). It has absolutely no options whatsoever (unless you want to dive into the lua code).

Also, there is a little snag, since LibRpc isn't capable of registering for remote events yet, it relies on local XP_GAIN events. Meaning, that the PartyXPBars will update as soon as you gain XP. This will change in the future.

To use it you need to do the following, let's assume you have three characters 'AA', 'BB' and 'CC':

On AA you have to do:


/trust allow BB
/trust allow CC


On BB you have to do:


/trust allow AA
/trust allow CC


On CC you have to do:


/trust allow AA
/trust allow BB


If you have more characters you have to add all of them to the other characters' trust DB.

Changes since 0.2
- LibRpc spam removed
- Using remote events now, so it updates XP bars when the party member gains XP, not when your main gets XP.
- Added XPerl_Party support. More party frames can be added by request.

Download ('http://blubber.student.utwente.nl/~blubber/PartyXPBars-0.2.zip')

Chorizotarian
04-17-2008, 12:29 PM
Very cool, I'll have to check it out. BTW, I should have the event fix uploaded for you shortly.

Blubber
04-17-2008, 01:38 PM
Very cool, I'll have to check it out. BTW, I should have the event fix uploaded for you shortly.Sweet!

Chorizotarian
04-17-2008, 03:43 PM
Ok, done. Let me know if you have any issues.

Djarid
04-18-2008, 05:34 PM
Please move the debug info off the main chat... very annoying! ;)

Chorizotarian
04-18-2008, 05:58 PM
I expect that's my debugging spew (LibRpc) that's annoying you. I'll upload a new spew-less version tomorrow.

Chorizotarian
04-23-2008, 03:34 AM
Done

Blubber
04-23-2008, 05:02 AM
DoneNice, I'll see if I can get a new version going today, however, I'm kind of busy at the moment :s.

Djarid
04-23-2008, 05:44 AM
Cool... will DL it tonight and have a play (already modded my copy of xpbars from libtrust 0.1 to 0.2 ;) )

Blubber
04-23-2008, 02:55 PM
Cool... will DL it tonight and have a play (already modded my copy of xpbars from libtrust 0.1 to 0.2 ;) )

DL it again, I bumped it to 0.2 which removes the spam, and has some other stuff ;).