Forum: AddOn Help/Support
04-29-11, 06:58 PM
|
Replies: 7
Views: 4,892
|
Forum: AddOn Help/Support
04-29-11, 06:48 PM
|
Replies: 7
Views: 4,892
|
Forum: AddOn Help/Support
04-29-11, 04:21 PM
|
Replies: 7
Views: 4,892
4.1 COMBAT_LOG_EVENT_UNFILTERED Issue
Hi Everyone,
I've read that a new argument was inserted into this event causing the majority of the arguments to be pushed out by 1. I was using this event to identify when a unit died and pull out...
|
Forum: Lua/XML Help
02-01-11, 07:55 PM
|
Replies: 8
Views: 5,885
Code
Ah yeah,
Just a typo in the thread, the code does have the ==
|
Forum: Lua/XML Help
02-01-11, 06:58 PM
|
Replies: 8
Views: 5,885
"fix"
Alright,
I think there must be some sort of glitch with the api or whatever backend function loads values from the saved vars.
Here is how I am getting around the -0:
if playerEP == 0 then
playerEP...
|
Forum: Lua/XML Help
02-01-11, 06:55 PM
|
Replies: 8
Views: 5,885
More info
I set up an if statement to print a message if the variable was equal to 0. It was true so it does treat -0 as 0. Unfortunately I don't want it to be displayed as -0 if print it to the screen. Pretty...
|
Forum: Lua/XML Help
02-01-11, 06:23 PM
|
Replies: 8
Views: 5,885
Issue
Seems like I've isolated it down to where it loads the array from the save variable. When I log out of the game the value is saved correctly as 0. When I go back into the game the value turns into -0.
|
Forum: Lua/XML Help
02-01-11, 06:09 PM
|
Replies: 8
Views: 5,885
Code
I believe this is the first line accessing the data after its loaded:
local playerEP = WebDKP_DkpTable[playerName]["ep_"..tableid];
I manually modify the saved variable file to just 0 instead of -0...
|
Forum: Lua/XML Help
01-30-11, 12:58 PM
|
Replies: 8
Views: 5,885
LUA adding a minus sign to a 0 value. Help!
Hi Everyone,
I seem to be stuck where somehow, a minus sign is being added to a saved variable when it's 0. Best as I can tell, when loading the variable it adds the minus sign. I can't figure out...
|
Forum: AddOn Help/Support
11-03-10, 09:18 PM
|
Replies: 2
Views: 3,099
Got mine working. Give this a whirl:
...
Got mine working. Give this a whirl:
<OnEnter>
GameTooltip:SetOwner(FRAME_NAME_HERE,"ANCHOR_CURSOR");
GameTooltip:SetText("Head Slot");
GameTooltip:Show();
...
|
Forum: AddOn Help/Support
11-03-10, 09:14 PM
|
Replies: 2
Views: 3,099
Issue
LOL, I'm trying to do the exact same thing . . . If I figure it out I'll let you know. Seems like it should be easy if you just want some text displayed . . .
|
Forum: Graphics Help
11-02-10, 09:06 PM
|
Replies: 7
Views: 12,767
Works!
Thanks Ailae!
That allowed me to get the proper file names and I got it working!
Appreciate all the help.
|
Forum: General Authoring Discussion
11-02-10, 05:59 PM
|
Replies: 1
Views: 3,168
|
Forum: Graphics Help
11-02-10, 05:31 PM
|
Replies: 7
Views: 12,767
Sweet
Ailae, those are exactly what I was looking for. What path would I use to access those?
Thanks again for the help!
|
Forum: Graphics Help
11-01-10, 09:13 PM
|
Replies: 7
Views: 12,767
|
Forum: Graphics Help
11-01-10, 08:45 PM
|
Replies: 7
Views: 12,767
Using the item slot "icons" in my own addon
Hi,
Does anyone know if it's possible to use the item slot icons or images that are displayed when you click on your portrait? I'd like to reuse these images for my own addon I just don't know if I...
|