1. #1

    TalentCheck - An add-on to remind you to change talents

    Hey everyone, I wanted to share my first add-on with you all. It's called TalentCheck, and I'd love you guys to go take it for a test drive, and share your thoughts about the add-on with me.
    You can get it from Curse. You can find it by searching for 'TalentCheck' (I'm not allowed to link yet.)
    Thanks in advance!

    Summary

    Talent Check does exactly what the name suggests: It checks the player's talent specialization as soon as the player sees a boss. Talent Check doesn't know the specializations of the players, but the player will be prompted the first time he sees the boss to make a specialization for that boss. If the player chooses not to make a specialization for that boss at that time, the player can always return to the GUI by using /tc config (or /talentcheck config).

    At this moment the add-on supports all raids, and open-world bosses, in Pandaria. It should also support all specializations. Due note that if you change specialization, that you need to re-open the GUI to refresh the settings. I'm working on a solution for this. Also note that you currently need to be in the specialization you want to change the settings off.

    Notes from the author

    This is my first add-on I've ever made, so any feedback would be greatly appreciated.

    Known issues

    • The mod can't detect the Will of the Emperor encounter in Mogu'shan VaultsBug Reports / Recommendations / Requests


    I'd appreciate it if you want to file any of the above on the CurseForge site. I also strife to keep watching the comments on this thread itself.

  2. #2
    Deleted
    Make sure all your SETGLOBALs are really supposed to be SETGLOBALs.

    TalentCheck.lua:
    Code:
    main <TalentCheck.lua:0,0> (177 instructions, 708 bytes at 00241958)
    	[7]	SETGLOBAL	6 -1	; TCGUIOpened
    	[9]	SETGLOBAL	6 -2	; TalentCheck
    	[10]	SETGLOBAL	6 -7	; TalentCheckC
    	[11]	SETGLOBAL	6 -9	; TalentCheckGUI
    	[33]	SETGLOBAL	11 -26	; GlyphInfo
    	[110]	SETGLOBAL	15 -42	; TCPrint
    	[369]	SETGLOBAL	16 -48	; SelectGroup2
    	[449]	SETGLOBAL	19 -49	; changeTalent
    	[457]	SETGLOBAL	19 -50	; changeGlyph
    	[469]	SETGLOBAL	19 -51	; getGlyphImage
    	[485]	SETGLOBAL	19 -52	; GlyphCheck
    	[511]	SETGLOBAL	19 -53	; checkTalents
    	[596]	SETGLOBAL	19 -54	; TCImport
    function setUpTabOptions()	<TalentCheck.lua:38,56> (65 instructions, 260 bytes at 0067EC90)
    	[39]	GETGLOBAL	0 -1	; pairs
    	[39]	GETGLOBAL	1 -2	; TCBosses
    	[49]	GETGLOBAL	2 -2	; TCBosses
    	[50]	GETGLOBAL	3 -2	; TCBosses
    	[51]	GETGLOBAL	4 -2	; TCBosses
    	[52]	GETGLOBAL	5 -2	; TCBosses
    	[53]	GETGLOBAL	6 -2	; TCBosses
    function setupBossChecks()	<TalentCheck.lua:58,69> (35 instructions, 140 bytes at 00248F00)
    	[59]	GETGLOBAL	0 -1	; pairs
    	[59]	GETGLOBAL	1 -2	; TCBosses
    	[63]	GETGLOBAL	10 -4	; GetNumSpecializations
    	[64]	GETGLOBAL	13 -7	; GetSpecializationInfo
    	[64]	SETGLOBAL	14 -6	; name
    	[64]	SETGLOBAL	13 -5	; _id
    	[65]	GETGLOBAL	14 -6	; name
    function setupGlyphs()	<TalentCheck.lua:71,87> (82 instructions, 328 bytes at 0067EF28)
    	[72]	GETGLOBAL	0 -1	; GlyphInfo
    	[73]	GETGLOBAL	0 -1	; GlyphInfo
    	[75]	GETGLOBAL	1 -5	; GetGlyphInfo
    	[78]	GETGLOBAL	8 -7	; table
    	[78]	GETGLOBAL	9 -1	; GlyphInfo
    	[80]	GETGLOBAL	8 -7	; table
    	[80]	GETGLOBAL	9 -1	; GlyphInfo
    	[83]	GETGLOBAL	8 -5	; GetGlyphInfo
    	[85]	GETGLOBAL	8 -15	; TCPrint
    	[85]	GETGLOBAL	9 -16	; string
    	[85]	GETGLOBAL	12 -1	; GlyphInfo
    	[86]	GETGLOBAL	8 -15	; TCPrint
    	[86]	GETGLOBAL	9 -16	; string
    	[86]	GETGLOBAL	12 -1	; GlyphInfo
    function TCPrint(str)	<TalentCheck.lua:110,114> (12 instructions, 48 bytes at 0024FB08)
    	[111]	GETGLOBAL	1 -1	; TalentCheck
    	[112]	GETGLOBAL	1 -5	; print
    function TalentCheck:OnInitialize()	<TalentCheck.lua:116,123> (45 instructions, 180 bytes at 0024FF10)
    	[117]	GETGLOBAL	1 -1	; LibStub
    	[118]	GETGLOBAL	1 -4	; TalentCheck
    	[118]	GETGLOBAL	2 -1	; LibStub
    	[119]	GETGLOBAL	1 -11	; TCPrint
    	[119]	GETGLOBAL	2 -12	; string
    	[119]	GETGLOBAL	4 -15	; GetAddOnMetadata
    	[120]	GETGLOBAL	1 -4	; TalentCheck
    	[121]	GETGLOBAL	1 -4	; TalentCheck
    	[122]	GETGLOBAL	1 -4	; TalentCheck
    function TalentCheck:OnEnable()	<TalentCheck.lua:125,137> (42 instructions, 168 bytes at 0067EDC0)
    	[126]	GETGLOBAL	1 -1	; TalentCheck
    	[127]	GETGLOBAL	1 -3	; TCinitBosses
    	[129]	GETGLOBAL	1 -4	; TCinitDialogs
    	[131]	GETGLOBAL	1 -1	; TalentCheck
    	[132]	GETGLOBAL	1 -8	; StaticPopup_Show
    	[133]	GETGLOBAL	1 -1	; TalentCheck
    	[136]	GETGLOBAL	1 -11	; TCPrint
    	[136]	GETGLOBAL	2 -12	; string
    	[136]	GETGLOBAL	4 -15	; GetAddOnMetadata
    	[136]	GETGLOBAL	5 -15	; GetAddOnMetadata
    function TalentCheck:PLAYER_TARGET_CHANGED()	<TalentCheck.lua:139,164> (133 instructions, 532 bytes at 00684988)
    	[140]	GETGLOBAL	1 -1	; UnitExists
    	[141]	GETGLOBAL	1 -3	; tonumber
    	[141]	GETGLOBAL	2 -4	; UnitGUID
    	[142]	GETGLOBAL	3 -10	; TCBosses
    	[143]	GETGLOBAL	6 -11	; type
    	[143]	GETGLOBAL	7 -10	; TCBosses
    	[144]	GETGLOBAL	6 -10	; TCBosses
    	[145]	GETGLOBAL	6 -14	; TCPrint
    	[145]	GETGLOBAL	7 -15	; string
    	[145]	GETGLOBAL	9 -10	; TCBosses
    	[147]	GETGLOBAL	6 -18	; checkTalents
    	[151]	GETGLOBAL	6 -11	; type
    	[151]	GETGLOBAL	7 -10	; TCBosses
    	[152]	GETGLOBAL	7 -10	; TCBosses
    	[153]	GETGLOBAL	10 -10	; TCBosses
    	[154]	GETGLOBAL	10 -14	; TCPrint
    	[154]	GETGLOBAL	11 -15	; string
    	[154]	GETGLOBAL	13 -10	; TCBosses
    	[156]	GETGLOBAL	10 -18	; checkTalents
    function TalentCheck:PLAYER_TALENT_UPDATE()	<TalentCheck.lua:166,172> (14 instructions, 56 bytes at 00684460)
    	[167]	GETGLOBAL	1 -1	; GetSpecialization
    	[168]	GETGLOBAL	1 -3	; GetSpecializationInfo
    	[168]	GETGLOBAL	2 -1	; GetSpecialization
    	[168]	SETGLOBAL	1 -2	; _id
    function TalentCheck:zoneCheck()	<TalentCheck.lua:174,192> (60 instructions, 240 bytes at 00685E80)
    	[175]	GETGLOBAL	1 -1	; IsInInstance
    	[176]	GETGLOBAL	1 -3	; GetInstanceInfo
    	[176]	SETGLOBAL	1 -2	; name
    	[178]	GETGLOBAL	6 -2	; name
    	[180]	GETGLOBAL	5 -7	; TalentCheck
    	[181]	GETGLOBAL	5 -10	; TCPrint
    	[181]	GETGLOBAL	7 -2	; name
    	[184]	GETGLOBAL	1 -12	; GetCurrentMapContinent
    	[184]	GETGLOBAL	1 -1	; IsInInstance
    	[186]	GETGLOBAL	1 -10	; TCPrint
    	[187]	GETGLOBAL	1 -7	; TalentCheck
    	[190]	GETGLOBAL	1 -7	; TalentCheck
    function DrawGroup2(container, instance)	<TalentCheck.lua:195,367> (705 instructions, 2820 bytes at 00685CF0)
    	[199]	GETGLOBAL	2 -1	; TalentCheckGUI
    	[206]	GETGLOBAL	11 -1	; TalentCheckGUI
    	[209]	GETGLOBAL	12 -1	; TalentCheckGUI
    	[209]	SETGLOBAL	12 -15	; icon
    	[210]	GETGLOBAL	12 -15	; icon
    	[211]	GETGLOBAL	12 -19	; GetTalentInfo
    	[212]	GETGLOBAL	17 -15	; icon
    	[213]	GETGLOBAL	17 -15	; icon
    	[214]	GETGLOBAL	17 -15	; icon
    	[215]	GETGLOBAL	17 -15	; icon
    	[216]	GETGLOBAL	17 -15	; icon
    	[217]	GETGLOBAL	17 -15	; icon
    	[218]	GETGLOBAL	17 -1	; TalentCheckGUI
    	[218]	SETGLOBAL	17 -28	; label
    	[219]	GETGLOBAL	17 -28	; label
    	[220]	GETGLOBAL	17 -28	; label
    	[221]	GETGLOBAL	17 -31	; TalentCheck
    	[222]	GETGLOBAL	17 -15	; icon
    	[223]	GETGLOBAL	17 -28	; label
    	[225]	GETGLOBAL	17 -15	; icon
    	[226]	GETGLOBAL	17 -28	; label
    	[228]	GETGLOBAL	19 -15	; icon
    	[229]	GETGLOBAL	19 -28	; label
    	[232]	GETGLOBAL	7 -1	; TalentCheckGUI
    	[235]	GETGLOBAL	8 -1	; TalentCheckGUI
    	[235]	SETGLOBAL	8 -15	; icon
    	[236]	GETGLOBAL	8 -15	; icon
    	[237]	GETGLOBAL	8 -15	; icon
    	[238]	GETGLOBAL	8 -15	; icon
    	[239]	GETGLOBAL	8 -15	; icon
    	[240]	GETGLOBAL	8 -15	; icon
    	[241]	GETGLOBAL	8 -15	; icon
    	[242]	GETGLOBAL	8 -1	; TalentCheckGUI
    	[242]	SETGLOBAL	8 -28	; label
    	[243]	GETGLOBAL	8 -28	; label
    	[244]	GETGLOBAL	8 -28	; label
    	[245]	GETGLOBAL	8 -31	; TalentCheck
    	[246]	GETGLOBAL	8 -15	; icon
    	[248]	GETGLOBAL	8 -15	; icon
    	[250]	GETGLOBAL	10 -15	; icon
    	[251]	GETGLOBAL	10 -28	; label
    	[257]	GETGLOBAL	3 -1	; TalentCheckGUI
    	[262]	GETGLOBAL	8 -1	; TalentCheckGUI
    	[265]	GETGLOBAL	9 -1	; TalentCheckGUI
    	[267]	GETGLOBAL	10 -31	; TalentCheck
    	[267]	GETGLOBAL	10 -31	; TalentCheck
    	[268]	GETGLOBAL	12 -47	; getGlyphImage
    	[268]	GETGLOBAL	13 -31	; TalentCheck
    	[273]	GETGLOBAL	10 -1	; TalentCheckGUI
    	[275]	GETGLOBAL	13 -51	; string
    	[279]	GETGLOBAL	12 -58	; GlyphInfo
    	[280]	GETGLOBAL	15 -60	; GlyphCheck
    	[281]	GETGLOBAL	17 -58	; GlyphInfo
    	[281]	GETGLOBAL	18 -58	; GlyphInfo
    	[284]	GETGLOBAL	11 -31	; TalentCheck
    	[284]	GETGLOBAL	11 -31	; TalentCheck
    	[285]	GETGLOBAL	13 -31	; TalentCheck
    	[297]	GETGLOBAL	4 -1	; TalentCheckGUI
    	[302]	GETGLOBAL	9 -1	; TalentCheckGUI
    	[305]	GETGLOBAL	10 -1	; TalentCheckGUI
    	[307]	GETGLOBAL	11 -31	; TalentCheck
    	[307]	GETGLOBAL	11 -31	; TalentCheck
    	[308]	GETGLOBAL	13 -47	; getGlyphImage
    	[308]	GETGLOBAL	14 -31	; TalentCheck
    	[313]	GETGLOBAL	11 -1	; TalentCheckGUI
    	[315]	GETGLOBAL	14 -51	; string
    	[319]	GETGLOBAL	13 -58	; GlyphInfo
    	[320]	GETGLOBAL	16 -60	; GlyphCheck
    	[321]	GETGLOBAL	18 -58	; GlyphInfo
    	[321]	GETGLOBAL	19 -58	; GlyphInfo
    	[324]	GETGLOBAL	12 -31	; TalentCheck
    	[324]	GETGLOBAL	12 -31	; TalentCheck
    	[325]	GETGLOBAL	14 -31	; TalentCheck
    	[337]	GETGLOBAL	5 -1	; TalentCheckGUI
    	[343]	GETGLOBAL	6 -1	; TalentCheckGUI
    	[349]	GETGLOBAL	7 -1	; TalentCheckGUI
    	[355]	GETGLOBAL	8 -1	; TalentCheckGUI
    	[362]	GETGLOBAL	3 -1	; TalentCheckGUI
    	[362]	SETGLOBAL	3 -28	; label
    	[363]	GETGLOBAL	3 -28	; label
    	[364]	GETGLOBAL	3 -28	; label
    	[365]	GETGLOBAL	5 -28	; label
    function(widget)	<TalentCheck.lua:217,217> (9 instructions, 36 bytes at 00686D70)
    	[217]	GETGLOBAL	1 -1	; changeTalent
    function(widget)	<TalentCheck.lua:241,241> (10 instructions, 40 bytes at 00686BB0)
    	[241]	GETGLOBAL	1 -1	; changeTalent
    function(widget, _, glyph, test4)	<TalentCheck.lua:289,289> (6 instructions, 24 bytes at 00686CB8)
    	[289]	GETGLOBAL	4 -1	; changeGlyph
    function(widget, _, glyph, test4)	<TalentCheck.lua:329,329> (6 instructions, 24 bytes at 0068CFC0)
    	[329]	GETGLOBAL	4 -1	; changeGlyph
    function()	<TalentCheck.lua:339,339> (5 instructions, 20 bytes at 0068D018)
    	[339]	GETGLOBAL	0 -1	; TCImport
    function()	<TalentCheck.lua:345,345> (5 instructions, 20 bytes at 0068D070)
    	[345]	GETGLOBAL	0 -1	; TCImport
    function()	<TalentCheck.lua:351,351> (5 instructions, 20 bytes at 0068D0C8)
    	[351]	GETGLOBAL	0 -1	; TCImport
    function()	<TalentCheck.lua:357,357> (5 instructions, 20 bytes at 0068D120)
    	[357]	GETGLOBAL	0 -1	; TCImport
    function DrawGroup(container, instance)	<TalentCheck.lua:375,395> (51 instructions, 204 bytes at 0068D1D0)
    	[376]	GETGLOBAL	2 -1	; TalentCheckGUI
    	[383]	GETGLOBAL	3 -1	; TalentCheckGUI
    	[383]	SETGLOBAL	3 -6	; bossTab
    	[384]	GETGLOBAL	3 -6	; bossTab
    	[385]	GETGLOBAL	3 -6	; bossTab
    	[386]	GETGLOBAL	3 -6	; bossTab
    	[387]	GETGLOBAL	3 -6	; bossTab
    	[387]	GETGLOBAL	6 -15	; SelectGroup2
    	[389]	GETGLOBAL	3 -6	; bossTab
    	[391]	GETGLOBAL	3 -6	; bossTab
    	[394]	GETGLOBAL	5 -6	; bossTab
    function drawConfMenu(container)	<TalentCheck.lua:397,411> (49 instructions, 196 bytes at 0068D228)
    	[398]	GETGLOBAL	2 -2	; TCConfig
    	[399]	GETGLOBAL	5 -3	; TalentCheckGUI
    	[400]	GETGLOBAL	6 -6	; TalentCheck
    	[400]	GETGLOBAL	7 -2	; TCConfig
    	[405]	GETGLOBAL	8 -2	; TCConfig
    	[406]	GETGLOBAL	8 -2	; TCConfig
    function(widget)	<TalentCheck.lua:407,407> (11 instructions, 44 bytes at 0068D280)
    	[407]	GETGLOBAL	1 -1	; TalentCheck
    	[407]	GETGLOBAL	2 -4	; TCConfig
    function TalentCheck:makeGUI()	<TalentCheck.lua:425,445> (71 instructions, 284 bytes at 0068D438)
    	[426]	SETGLOBAL	1 -1	; TCGUIOpened
    	[427]	GETGLOBAL	1 -2	; PlaySound
    	[428]	GETGLOBAL	1 -4	; TalentCheckGUI
    	[429]	GETGLOBAL	3 -8	; string
    	[429]	GETGLOBAL	5 -11	; GetAddOnMetadata
    	[436]	GETGLOBAL	1 -4	; TalentCheckGUI
    function(widget)	<TalentCheck.lua:431,431> (10 instructions, 40 bytes at 0068D490)
    	[431]	GETGLOBAL	1 -1	; TalentCheckGUI
    	[431]	SETGLOBAL	1 -3	; TCGUIOpened
    	[431]	GETGLOBAL	1 -4	; PlaySound
    function changeTalent(row, column, container)	<TalentCheck.lua:449,455> (37 instructions, 148 bytes at 0068D540)
    	[450]	GETGLOBAL	3 -1	; TalentCheck
    	[451]	GETGLOBAL	3 -1	; TalentCheck
    	[453]	GETGLOBAL	3 -8	; bossTab
    	[454]	GETGLOBAL	3 -10	; SelectGroup2
    	[454]	GETGLOBAL	4 -8	; bossTab
    function changeGlyph(glyph, major, container)	<TalentCheck.lua:457,467> (57 instructions, 228 bytes at 0068D598)
    	[459]	GETGLOBAL	3 -1	; TalentCheck
    	[461]	GETGLOBAL	3 -1	; TalentCheck
    	[463]	GETGLOBAL	3 -1	; TalentCheck
    	[465]	GETGLOBAL	3 -11	; bossTab
    	[466]	GETGLOBAL	3 -13	; SelectGroup2
    	[466]	GETGLOBAL	4 -11	; bossTab
    function getGlyphImage(id, major)	<TalentCheck.lua:469,483> (40 instructions, 160 bytes at 0068D5F0)
    	[471]	GETGLOBAL	3 -2	; GlyphInfo
    	[472]	GETGLOBAL	6 -2	; GlyphInfo
    	[473]	GETGLOBAL	6 -2	; GlyphInfo
    	[477]	GETGLOBAL	3 -2	; GlyphInfo
    	[478]	GETGLOBAL	6 -2	; GlyphInfo
    	[479]	GETGLOBAL	6 -2	; GlyphInfo
    function GlyphCheck(glyphID, databaseID, major)	<TalentCheck.lua:485,509> (100 instructions, 400 bytes at 0068D648)
    	[487]	GETGLOBAL	3 -1	; GlyphInfo
    	[487]	GETGLOBAL	3 -1	; GlyphInfo
    	[487]	GETGLOBAL	3 -1	; GlyphInfo
    	[490]	GETGLOBAL	7 -1	; GlyphInfo
    	[490]	GETGLOBAL	8 -9	; TalentCheck
    	[498]	GETGLOBAL	3 -1	; GlyphInfo
    	[498]	GETGLOBAL	3 -1	; GlyphInfo
    	[498]	GETGLOBAL	3 -1	; GlyphInfo
    	[501]	GETGLOBAL	7 -1	; GlyphInfo
    	[501]	GETGLOBAL	8 -9	; TalentCheck
    function checkTalents(instance, boss, spec)	<TalentCheck.lua:511,594> (231 instructions, 924 bytes at 0068D6A0)
    	[513]	GETGLOBAL	3 -1	; TCPrint
    	[514]	GETGLOBAL	3 -1	; TCPrint
    	[515]	GETGLOBAL	3 -1	; TCPrint
    	[516]	GETGLOBAL	3 -6	; type
    	[517]	GETGLOBAL	3 -1	; TCPrint
    	[519]	GETGLOBAL	3 -1	; TCPrint
    	[527]	GETGLOBAL	9 -13	; GetTalentInfo
    	[529]	GETGLOBAL	14 -14	; TalentCheck
    	[531]	GETGLOBAL	14 -14	; TalentCheck
    	[538]	GETGLOBAL	5 -14	; TalentCheck
    	[539]	GETGLOBAL	5 -1	; TCPrint
    	[540]	GETGLOBAL	5 -21	; StaticPopup_Show
    	[540]	GETGLOBAL	7 -23	; TCBosses
    	[541]	GETGLOBAL	5 -14	; TalentCheck
    	[543]	GETGLOBAL	5 -25	; GetNumUnspentTalents
    	[544]	GETGLOBAL	5 -1	; TCPrint
    	[545]	GETGLOBAL	5 -21	; StaticPopup_Show
    	[553]	GETGLOBAL	11 -14	; TalentCheck
    	[556]	GETGLOBAL	16 -30	; GetGlyphSocketInfo
    	[557]	GETGLOBAL	22 -14	; TalentCheck
    	[568]	GETGLOBAL	11 -14	; TalentCheck
    	[570]	GETGLOBAL	15 -30	; GetGlyphSocketInfo
    	[572]	GETGLOBAL	22 -14	; TalentCheck
    	[585]	GETGLOBAL	7 -14	; TalentCheck
    	[587]	GETGLOBAL	7 -21	; StaticPopup_Show
    	[587]	GETGLOBAL	9 -23	; TCBosses
    	[589]	GETGLOBAL	7 -21	; StaticPopup_Show
    	[589]	GETGLOBAL	9 -23	; TCBosses
    	[591]	GETGLOBAL	7 -21	; StaticPopup_Show
    	[591]	GETGLOBAL	9 -23	; TCBosses
    function TCImport(talents, glyphs)	<TalentCheck.lua:596,639> (164 instructions, 656 bytes at 0068D6F8)
    	[599]	GETGLOBAL	6 -3	; GetTalentRowSelectionInfo
    	[601]	GETGLOBAL	8 -4	; TalentCheck
    	[603]	GETGLOBAL	8 -4	; TalentCheck
    	[609]	GETGLOBAL	6 -10	; GetGlyphSocketInfo
    	[613]	GETGLOBAL	13 -4	; TalentCheck
    	[615]	GETGLOBAL	13 -4	; TalentCheck
    	[620]	GETGLOBAL	13 -4	; TalentCheck
    	[622]	GETGLOBAL	13 -4	; TalentCheck
    	[629]	GETGLOBAL	6 -4	; TalentCheck
    	[631]	GETGLOBAL	6 -4	; TalentCheck
    	[632]	GETGLOBAL	6 -4	; TalentCheck
    	[636]	GETGLOBAL	2 -14	; bossTab
    	[637]	GETGLOBAL	2 -16	; SelectGroup2
    	[637]	GETGLOBAL	3 -14	; bossTab
    TalentCheckBosses.lua:
    Code:
    main <TalentCheckBosses.lua:0,0> (9 instructions, 36 bytes at 00751978)
    	[28]	SETGLOBAL	2 -1	; TCBosses
    	[30]	SETGLOBAL	2 -2	; TCinitBosses
    function getBossName(raid, id)	<TalentCheckBosses.lua:17,21> (10 instructions, 40 bytes at 0045E558)
    	[18]	GETGLOBAL	2 -1	; EJ_GetInstanceByIndex
    	[19]	GETGLOBAL	3 -2	; EJ_GetEncounterInfoByIndex
    function getInstanceName(raid)	<TalentCheckBosses.lua:23,26> (9 instructions, 36 bytes at 0045EF30)
    	[24]	GETGLOBAL	1 -3	; EJ_GetInstanceByIndex
    	[24]	SETGLOBAL	2 -2	; instanceName
    	[24]	SETGLOBAL	1 -1	; id
    	[25]	GETGLOBAL	1 -2	; instanceName
    function TCinitBosses()	<TalentCheckBosses.lua:30,81> (289 instructions, 1156 bytes at 00758348)
    	[80]	SETGLOBAL	0 -1	; TCBosses
    TalentCheckConfigMenu.lua:
    Code:
    main <TalentCheckConfigMenu.lua:0,0> (28 instructions, 112 bytes at 0056E438)
    	[25]	SETGLOBAL	1 -5	; TCConfig
    TalentCheckDialog.lua
    Code:
    main <TalentCheckDialog.lua:0,0> (10 instructions, 40 bytes at 002A1978)
    	[4]	SETGLOBAL	1 -5	; TCinitDialogs
    function TCinitDialogs()	<TalentCheckDialog.lua:4,73> (104 instructions, 416 bytes at 0045EF88)
    	[5]	GETGLOBAL	0 -1	; StaticPopupDialogs
    	[17]	GETGLOBAL	0 -1	; StaticPopupDialogs
    	[29]	GETGLOBAL	0 -1	; StaticPopupDialogs
    	[41]	GETGLOBAL	0 -1	; StaticPopupDialogs
    	[53]	GETGLOBAL	0 -1	; StaticPopupDialogs
    	[65]	GETGLOBAL	0 -1	; StaticPopupDialogs
    OnAccept = function()	<TalentCheckDialog.lua:9,11> (4 instructions, 16 bytes at 002A7E30)
    	[10]	GETGLOBAL	0 -1	; TalentCheck
    OnAccept = function()	<TalentCheckDialog.lua:21,23> (4 instructions, 16 bytes at 002A83D8)
    	[22]	GETGLOBAL	0 -1	; TalentCheck
    OnAccept = function()	<TalentCheckDialog.lua:33,35> (4 instructions, 16 bytes at 002A8288)
    	[34]	GETGLOBAL	0 -1	; TalentCheck
    OnAccept = function()	<TalentCheckDialog.lua:45,47> (4 instructions, 16 bytes at 002A80C0)
    	[46]	GETGLOBAL	0 -1	; TalentCheck
    OnAccept = function()	<TalentCheckDialog.lua:57,59> (4 instructions, 16 bytes at 002A6CF0)
    	[58]	GETGLOBAL	0 -1	; TalentCheck
    PS: Also consider upvalueing all those GETGLOBALs of functions.

Posting Permissions

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