Thread: New DK Addon

  1. #1

    New DK Addon

    My new all in one DK addon called DKOne is in release at Curse,

    http://www.curse.com/addons/wow/dkone

    I already created a thread in the DK forum, but if anyone has any coding or UI feedback, I would welcome it.

  2. #2
    Sounds almost exactly like CLC DK. Only difference is the whole "estimates how long until kill" thingy. But either way, great job, I'll be trying this out soon.

  3. #3
    using it and love it, but cant figure out how to move the frames

    nvm got it(:
    Last edited by Epiteme; 2012-05-15 at 03:18 AM.

  4. #4
    You can unlock them on the configuration screen and then drag them around and then relock them, or you can put the x and y coordinates in directly at the configuration screen. You can also change the sizes of just about everything. You can also scale (shrink or enlarge) everything at the same time using the scale slider on the first page of the configuration screen.

  5. #5
    looks like a great addon for DKs ill have to ry it out for my Blood tank

    Signature made by Shyama
    WARLOCKS WILL RULE THE WORLD!!(of Azeroth)

  6. #6
    Zorben is a DK god and you should use his addon!

  7. #7
    Deleted
    Global leaks everywhere. SETGLOBALs - you want to fix those ASAP, a lot of these have REALLY generic names, plus it's inefficient.

    Code:
    main <DKOne.lua:0,0> (488 instructions, 1952 bytes at 007F7BB0)
    	[14]	SETGLOBAL	0 -8	; SLASH_DKOne1
    	[15]	SETGLOBAL	0 -10	; SLASH_DKOne2
    	[16]	SETGLOBAL	0 -12	; SLASH_DKOne3
    	[18]	SETGLOBAL	0 -7	; DKOne
    	[173]	SETGLOBAL	60 -137	; DKOneDKStatus
    	[176]	SETGLOBAL	60 -138	; DKOneDKPlayerStats
    	[1674]	SETGLOBAL	71 -170	; PrintRuneStatus
    	[1683]	SETGLOBAL	71 -171	; pairsByKeys
    	[1701]	SETGLOBAL	71 -172	; tprint
    	[1714]	SETGLOBAL	71 -173	; PrintDB
    	[1717]	SETGLOBAL	71 -174	; PrintStat
    	[1720]	SETGLOBAL	71 -175	; PrintPlayerStat
    	[1723]	SETGLOBAL	71 -176	; PrintaL
    	[1726]	SETGLOBAL	71 -177	; OpenOptions
    function DKOne:ConstructDB()	<DKOne.lua:191,244> (205 instructions, 820 bytes at 007F8720)
    	[193]	SETGLOBAL	1 -1	; DKOneDB
    function events:ACTIVE_TALENT_GROUP_CHANGED()	<DKOne.lua:1168,1203> (72 instructions, 288 bytes at 0047D358)
    	[1199]	SETGLOBAL	1 -29	; ASDebuff
    	[1200]	SETGLOBAL	1 -30	; PDRDebuff
    function DKOne:Redraw()	<DKOne.lua:1390,1530> (832 instructions, 3328 bytes at 0047D510)
    	[1408]	SETGLOBAL	3 -24	; fontFlags
    	[1415]	SETGLOBAL	3 -24	; fontFlags
    function tprint (tbl, indent)	<DKOne.lua:1701,1712> (39 instructions, 156 bytes at 0047DB98)
    	[1704]	SETGLOBAL	7 -3	; formatting
    Code:
    main <abilities.lua:0,0> (1703 instructions, 6812 bytes at 00797BB0)
    	[276]	SETGLOBAL	9 -263	; DKOneAbilityList
    Code:
    main <options.lua:0,0> (252 instructions, 1008 bytes at 003E7BB0)
    	[1704]	SETGLOBAL	73 -40	; DKOneOptions
    function CreateOptionsPanel()	<options.lua:654,683> (153 instructions, 612 bytes at 0045DC00)
    	[655]	SETGLOBAL	0 -1	; OptionsPanel
    function CreateOptionsPanelAD()	<options.lua:795,871> (718 instructions, 2872 bytes at 0045DDB8)
    	[796]	SETGLOBAL	0 -1	; OPAD
    function CreateOptionsPanelLB()	<options.lua:953,1006> (479 instructions, 1916 bytes at 00485910)
    	[954]	SETGLOBAL	0 -1	; OPLB
    function CreateOptionsPanelRot()	<options.lua:1065,1114> (387 instructions, 1548 bytes at 00485CD8)
    	[1067]	SETGLOBAL	0 -1	; OPRot
    function CreateOptionsPanelDoc()	<options.lua:1128,1219> (350 instructions, 1400 bytes at 00485E90)
    	[1129]	SETGLOBAL	0 -1	; OPDoc
    	[1218]	SETGLOBAL	1 -238	; OPDocLegend
    function CreateOptionsPanelRF()	<options.lua:1512,1701> (2502 instructions, 10008 bytes at 004860A0)
    	[1513]	SETGLOBAL	0 -1	; OPRF
    Code:
    main <rotation.lua:0,0> (1690 instructions, 6760 bytes at 002C7BB0)
    	[1935]	SETGLOBAL	62 -277	; DKOneActionList
    	[1938]	SETGLOBAL	62 -278	; DKOneActionCDList
    There's also a large amount of GETGLOBAL leaks, but as those are merely inefficient (but won't lead to any mystery errors the way leaked SETGLOBALs can), that's lower priority. I can dump them for you, too.

    ---------- Post added 2012-05-15 at 08:41 AM ----------

    Second glance, a few of these globals are because you want to share functions/data between files. You can use the addon table for that. Access it by doing:
    Code:
    local addonTable = select(2,...)

  8. #8
    Thanks, that's very helpful Treeston. I'll fix that up, must of those are debug functions. :P What tool are you using to get all the SETGLOBALs and GETGLOBALs? That would be good to know for future checks.

  9. #9
    Deleted

  10. #10
    Looks nice, well done.

  11. #11
    I'm going to shamelessly bump this up, because this is really a solid addon, and each facet of it works well, and you can enable and disable as you please depending on your player skill level and preference - I for example don't really need the CD/Ability reminders, but I do like the raise dead timers, and I ADORE the segemented Runic Power bar letting me know exactly how many RP Dumps I have available at any given moment.

    I'm also bumping this to point out that apparently according to trade Scuttlebutt, I'm on your server. Murdos the Undying of <Cinnamon Challenge> on Proudmoore US, if you ever want to bounce ideas off me regarding it's functionality in a full raid environment... assuming you're alliance, that is.
    Zombie Vampire Werewolf

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •