Download
(22 Kb)
Download
Updated: 12-14-11 10:55 AM
Pictures
File Info
Updated:12-14-11 10:55 AM
Created:03-25-09 05:22 PM
Downloads:1,630
Favorites:5
MD5:
waDing
Version: rev 9
by: Wimpface [More]
Description
This is my very lightweight experience display which shows how much you need until you'll level.
It was once idExperience but it has been modified a lot, still credits to Industrial though as a lot of the code is his.

Features
  • Experience left until level up!
  • How many bars until you ding!
  • Can print experience left to chat!
  • Can show experience left after you gain experience in the error frame!

Planned features

Known Bugs

If you see anything I need to change in the code, feel free to tell me. Rather, I want you to tell me so that I can learn and improve myself as a programmer. I'm a student doing programming but lua is not one of the languages we learn. This means I have to learn most things by myself. I am also quite young, hence why I lack major knowledge in C or PHP. Any help is VERY much appreciated!

Thanks!

ps. ily epix <33333
r9
+ Push to r9.
+ Fixed it.
+ Made sure it works with 4.3, last update was in 3.3. It still worked pretty well.
- Removed option to move display in game, it's now all done via the .lua file. Sorry!

As always, find the options inside the .lua file.
---------------------------------------------------------------------------------

r8
+ Push to r8.
+ Changed name to waDing.
+ Added a mouseover option.
+ Changed looks of it by changing font.
+ Repositioned to the top inside of the minimap.
/ Mouseover option is enabled by default. As always, find the options inside the .lua file. There's only one, you can't miss it.
---------------------------------------------------------------------------------

r7
+ Push to r7.
+ I'm back!
+ Removed one line
+ Tweaked another line
+ More to come probably.
+ Tested for 3.3, works a charm!
- Removed the pixelfont, it now goes straight to your fonts\\arialn.ttf file instead.
---------------------------------------------------------------------------------

r6
+ Push to r6.
+ Added an option to report to chat.
+ Added an option to report to UIErrorFrame.
/ Thinking of adding more options, as this has now become my "big" project.
---------------------------------------------------------------------------------

r5
+ Push to r5.
+ Changed the looks.
+ ToC bump for 3.3.
+ Tested and confirmed to work with 3.3.
- Removed files from the archive.
---------------------------------------------------------------------------------
r4
+ Fixed the login bug, it will now show XP thanks to Nightcracker.
+ ToC bump.
+ Version bump to r4.
/ Untested due to no game-time, won't flag as 3.2 compatible yet. Testers please.
---------------------------------------------------------------------------------
r3
+ Fixed a bug.
Optional Files (0)


Archived Files (1)
File Name
Version
Size
Author
Date
rev 8
23kB
Wimpface
07-29-10 11:29 PM


Post A Reply Comment Options
Old 02-09-10, 03:36 PM  
Wimpface
A Molten Giant
 
Wimpface's Avatar
AddOn Author - Click to view AddOns

Forum posts: 519
File comments: 244
Uploads: 22
Had to struggle quite a bit to get in. Your words mean a lot as you're kind of a role model for me.

Thanks Lonny, glad to see you're still around.
Originally posted by Lonny
I'm glad to see that you made something out and studying programming.

Keep it up, Lonny.
__________________

Signature by Haylie <3
Wimpface is offline Report comment to moderator  
Reply With Quote
Old 02-09-10, 03:32 PM  
Lonny
Guest

Join Date: Not Yet
Forum posts: 0
File comments: 0
Uploads: 0
I'm glad to see that you made something out and studying programming.

You don't really need "local _G = getfenv(0)" anymore, as it already defined.

You can replace "local addon = {}" with "local addon = CreateFrame("Frame")" as a frame is actually a table under the hood.

You can replace your events logic with something more elegant, like this.

Code:
local addon = CreateFrame("Frame")

addon:RegisterEvent("PLAYER_ENTERING_WORLD")
addon:SetScript("OnEvent", function(self, event, ...)
	if self and self[event] and type(self[event]) == "function" then
		self[event](self, ...)
	end
end)
This will look up a method on the table/frame under the same event name and call it, pretty much like you have your methods currently implemented.

function addon:PLAYER_ENTERING_WORLD()
end

Keep it up, Lonny.
Last edited by : 02-09-10 at 03:52 PM.
Report comment to moderator  
Edit/Delete Message Reply With Quote
Old 01-29-10, 05:05 AM  
Wimpface
A Molten Giant
 
Wimpface's Avatar
AddOn Author - Click to view AddOns

Forum posts: 519
File comments: 244
Uploads: 22
Updated. See the change log for a more detailed view on changes for this version.
__________________

Signature by Haylie <3
Wimpface is offline Report comment to moderator  
Reply With Quote
Old 10-11-09, 06:55 AM  
Wimpface
A Molten Giant
 
Wimpface's Avatar
AddOn Author - Click to view AddOns

Forum posts: 519
File comments: 244
Uploads: 22
Originally posted by nightcracker
To remove the bug with Gain EXP!, replace
Code:
function addon:PLAYER_ENTERING_WORLD()
	exptext:SetText('Gain EXP!')
end
with
Code:
function addon:PLAYER_ENTERING_WORLD()
	exptext:SetText(string.format(shortexp(UnitXPMax('player') - UnitXP('player'))))
end
Thank you, however I think the addon's broken. When I tried it out my CPU went OMIGOSH HOG. But I'll see to it. Thanks again.
__________________

Signature by Haylie <3
Wimpface is offline Report comment to moderator  
Reply With Quote
Old 10-10-09, 10:26 AM  
nightcracker
A Molten Giant
 
nightcracker's Avatar
AddOn Author - Click to view AddOns

Forum posts: 714
File comments: 430
Uploads: 31
To remove the bug with Gain EXP!, replace
Code:
function addon:PLAYER_ENTERING_WORLD()
	exptext:SetText('Gain EXP!')
end
with
Code:
function addon:PLAYER_ENTERING_WORLD()
	exptext:SetText(string.format(shortexp(UnitXPMax('player') - UnitXP('player'))))
end
nightcracker is offline Report comment to moderator  
Reply With Quote
Old 03-29-09, 04:23 AM  
Wimpface
A Molten Giant
 
Wimpface's Avatar
AddOn Author - Click to view AddOns

Forum posts: 519
File comments: 244
Uploads: 22
Re: Lost them still

No, it's not an incompatibility with BasicMinimap as it modifies the Minimap frame.
If you set Movable to true you'll just be able to hold alt and drag it around.

Try disabling the addon, log in, log out and enable it again. This will clear all positions it's saved if you have it set to movable = true. If you have movable = false, then i suggest that you move your minimap up and do /console reloadui to see if that helps.

Also, i've reconsidered and my minimap won't be released.

Regards,
Wimpsy.

Originally posted by mark7777g
Okay, yes I do have my mini-map at the bottom of the screen (I use BasicMiniMap) but If I move it up I don't see anything attached to it. I tried changing moveable to true in the lua but same result. Is it possible that since I origianlly loaded it with my map on the bottom that now it is stuck off screen? Maybe there is a way to get it on screen? Or it could be an incompatibility with BasicMiniMap? I'll wait to try your map with them and see.
__________________

Signature by Haylie <3
Wimpface is offline Report comment to moderator  
Reply With Quote
Old 03-29-09, 12:29 AM  
mark7777g
A Defias Bandit
 
mark7777g's Avatar

Forum posts: 2
File comments: 41
Uploads: 0
Lost them still

Okay, yes I do have my mini-map at the bottom of the screen (I use BasicMiniMap) but If I move it up I don't see anything attached to it. I tried changing moveable to true in the lua but same result. Is it possible that since I origianlly loaded it with my map on the bottom that now it is stuck off screen? Maybe there is a way to get it on screen? Or it could be an incompatibility with BasicMiniMap? I'll wait to try your map with them and see.
mark7777g is offline Report comment to moderator  
Reply With Quote
Old 03-27-09, 11:12 AM  
Wimpface
A Molten Giant
 
Wimpface's Avatar
AddOn Author - Click to view AddOns

Forum posts: 519
File comments: 244
Uploads: 22
Re: These look nice but... (and also some ideas)

Right... umm... There's no chance in hell that they would move outside the screen even if you run on the silliest resolution so i don't know why you can't see them. You could try opening up the .lua file and position it through there but else i don't know.
It is anchored to the minimap, if you have your minimap on the bottom of you screen you might have hidden the addons due to that but it wouldn't disappear due to resolution.

There is zero ingame configuration except moving if you enable it in the .lua file.

My minimap is practically done, i only need a good name and some troubleshooting on it and then it'll be released.
Some features will include Coords, zone text, square shape, nice graphics and moving.

That is it though, i won't include aggro coloring as that's "vital" info and your minimap is not.

Come back to me on the visibility problem, and tell me if moving your minimap up helped.

Regards,
Wimpsy.

Originally posted by mark7777g
I am unable to see them, I'm trying This one and buttstats. They show up in my addons screen but i don't see them anywhere on the screen. Is it possible they are covered up or off the screen as I use a bigger screen format. Maybe a way to pop them to the center of screen? I tried slash commands but didn't find any that brought up anything - are there any?

Also, I had seen on your post on buttstats that you are making a minimap addon that you will release soon. I use BasicMiniMap, but would like one with other features and I like the look of the one you are working on. I'd like the ability show show the zone and location name/instance you are in on the mini-map. Ideal if it could be positioned and it if could be hidden and pop up on key press or click combo, or hover. Could you make option to dock your addons to the mini-map and hide/show them in same way? Also a show/hide minimap key mapping. Zooming with scroll wheel. Option when pinging minimap to post zone, location, co-ordinates, etc of the ping in the last used chat.

Also, Is there anyway to make a keybind to popup the minimap larger? How about to zoom out farther. similar to Yatlas I guess except integrated into the minimap.

Turn minimap border a user config color (example: red) when you gain aggro.

Just some ideas, Please let me know about making the other addons visible!
__________________

Signature by Haylie <3
Wimpface is offline Report comment to moderator  
Reply With Quote
Old 03-26-09, 06:34 PM  
mark7777g
A Defias Bandit
 
mark7777g's Avatar

Forum posts: 2
File comments: 41
Uploads: 0
These look nice but... (and also some ideas)

I am unable to see them, I'm trying This one and buttstats. They show up in my addons screen but i don't see them anywhere on the screen. Is it possible they are covered up or off the screen as I use a bigger screen format. Maybe a way to pop them to the center of screen? I tried slash commands but didn't find any that brought up anything - are there any?

Also, I had seen on your post on buttstats that you are making a minimap addon that you will release soon. I use BasicMiniMap, but would like one with other features and I like the look of the one you are working on. I'd like the ability show show the zone and location name/instance you are in on the mini-map. Ideal if it could be positioned and it if could be hidden and pop up on key press or click combo, or hover. Could you make option to dock your addons to the mini-map and hide/show them in same way? Also a show/hide minimap key mapping. Zooming with scroll wheel. Option when pinging minimap to post zone, location, co-ordinates, etc of the ping in the last used chat.

Also, Is there anyway to make a keybind to popup the minimap larger? How about to zoom out farther. similar to Yatlas I guess except integrated into the minimap.

Turn minimap border a user config color (example: red) when you gain aggro.

Just some ideas, Please let me know about making the other addons visible!
mark7777g is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: