Showing results 1 to 13 of 13
Search took 0.00 seconds.
Search: Posts Made By: MaLarsson
Forum: Lua/XML Help 08-24-14, 01:13 PM
Replies: 2
Views: 2,957
Posted By MaLarsson
Thanks, I'll give it a try tomorrow! :)

Thanks, I'll give it a try tomorrow! :)
Forum: Lua/XML Help 08-24-14, 12:39 PM
Replies: 2
Views: 2,957
Posted By MaLarsson
Widget API for castbar

I want to create a bar which shows how long the remaining time of a dot is.
I was thinking that you could use the blizzard castbar and pretend that the remaning time is a channeling spell.
What...
Forum: Lua/XML Help 08-24-14, 10:14 AM
Replies: 25
Views: 7,784
Posted By MaLarsson
I feel that it is a good practice to always check...

I feel that it is a good practice to always check which events you want to listen to before beginning with the code.
Wowwiki has a list of all the events:...
Forum: AddOn Search/Requests 08-24-14, 09:32 AM
Replies: 5
Views: 40,035
Posted By MaLarsson
You can always try my addOn DoTracker...

You can always try my addOn DoTracker (http://www.wowinterface.com/downloads/info23055-DoTracker.html).
Lightweight and simple but it gets the job done, let me know what you think.
Forum: Lua/XML Help 08-23-14, 09:19 PM
Replies: 2
Views: 5,910
Posted By MaLarsson
It worked perfectly, thanks! :)

It worked perfectly, thanks! :)
Forum: Lua/XML Help 08-23-14, 07:09 PM
Replies: 2
Views: 5,910
Posted By MaLarsson
Multi-line editbox

What I want is a 300x300 px big editbox in which multiple lines can be writen, this is the code I have:

local editBoxSpells = CreateFrame("EditBox", "DoTrackerEditBoxSpells", menu,...
Forum: Lua/XML Help 08-21-14, 01:37 PM
Replies: 1
Views: 3,618
Posted By MaLarsson
Button:SetScript

I've been scratcing my head for a while trying to figure this out.
This code works:
local btn = CreateFrame("Button", "DoTrackerLockBtn", menu,...
Forum: Lua/XML Help 08-19-14, 11:12 AM
Replies: 18
Views: 6,701
Posted By MaLarsson
ah, thanks for clarifying. Is there any easy way...

ah, thanks for clarifying.
Is there any easy way to get spellID from the spellName if you do not have the spell in your spellbook?
Forum: Lua/XML Help 08-19-14, 08:19 AM
Replies: 18
Views: 6,701
Posted By MaLarsson
Check if debuff exists in game

As the title says, I need help with error control.
The player types in the name of a debuff and if this debuff exists in the game then store it in the array debuffList. Code example follows:

local...
Forum: Lua/XML Help 08-11-14, 06:49 AM
Replies: 8
Views: 6,040
Posted By MaLarsson
Oh, didn't realize that the names where in the...

Oh, didn't realize that the names where in the global namespace. Will fix this when I get home!

Thanks for all the feedback! :D
Forum: Lua/XML Help 08-10-14, 01:10 PM
Replies: 8
Views: 6,040
Posted By MaLarsson
I did give the frame a name, this is how i...

I did give the frame a name, this is how i declared all the frames:
local frame, events = CreateFrame("Frame", "frame", UIParent), {}
local name, realm = nil
local anchor = CreateFrame("Frame",...
Forum: Lua/XML Help 08-09-14, 10:36 AM
Replies: 8
Views: 6,040
Posted By MaLarsson
Thanks for the quick reply. I tried to use...

Thanks for the quick reply.

I tried to use the
anchor:SetUserPlaced(true)
but it did not work and after reading this page wowwiki (http://www.wowwiki.com/API_Frame_SetUserPlaced) I omitted that line...
Forum: Lua/XML Help 08-08-14, 06:18 PM
Replies: 8
Views: 6,040
Posted By MaLarsson
Restoring frame to previous position

I'm currently working on an addon that tracks the dots on your target.
I can now display both Hemorrhage and Rupture and move the icons around but the problem is that when I /reload or relog the...
Showing results 1 to 13 of 13