Thread Tools Display Modes
08-06-13, 11:30 AM   #1
mec666
A Deviate Faerie Dragon
 
mec666's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2013
Posts: 13
Critline

Critline hasnt been updated by its author so I figured i'd update it so it works, it has a few errors. this one I can't seem to find in the wow api or i keep finding an out of date version.

has this been renamed or taken out? GetMajorTalentTreeBonuses

Code:
31x Critline-4.1.1\core.lua:540: attempt to call global "GetMajorTalentTreeBonuses" (a nil value)
Critline-4.1.1\core.lua:540: in function "?"
Critline-4.1.1\core.lua:276: in function <Critline\core.lua:275>

Locals:
self = <unnamed> {
 0 = <userdata>
}
event = "PLAYER_TALENT_UPDATE"
Critline = <table> {
 ShortenNumber = <func> @Critline\core.lua:907
 DeleteSpell = <func> @Critline\core.lua:1046
 SlashCmdHandlers = <table> {}
 LoadPerCharSettings = <func> @Critline\core.lua:850
 UpdateRecords = <func> @Critline\core.lua:1084
 ShowTooltip = <func> @Critline\core.lua:1110
 GetHighest = <func> @Critline\core.lua:1020
 filters = <unnamed> {}
 options = <table> {}
 NewRecord = <func> @Critline\core.lua:878
 icons = <table> {}
 treeNames = <table> {}
 UnregisterCallback = <func> @Ace3\..\CallbackHandler-1.0.lua:181
 display = <unnamed> {}
 RegisterCallback = <func> @Ace3\..\CallbackHandler-1.0.lua:118
 GetSpellTexture = <func> @Critline\core.lua:960
 UpdateTopRecords = <func> @Critline\core.lua:986
 AddTooltipLine = <func> @Critline\core.lua:1210
 callbacks = <table> {}
 GetTooltipLine = <func> @Critline\core.lua:1195
 UpdateTooltip = <func> @Critline\core.lua:1137
 UpdateSpells = <func> @Critline\core.lua:1071
 UpdateTooltips = <func> @Critline\core.lua:1096
 GetFullTargetName = <func> @Critline\core.lua:976
 GetFullSpellName = <func> @Critline\core.lua:967
 templates = <table> {}
 db = <table> {}
 IsMyPet = <func> @Critline\core.lua:779
 OpenConfig = <func> @Critline\core.lua:831
 UnregisterAllCallbacks = <func> @Ace3\..\CallbackHandler-1.0.lua:202
 GetSpellName = <func> @Critline\core.lua:953
 AddSpell = <func> @Critline\core.lua:1026
 Debug = <func> @Critline\core.lua:818
 COMBAT_LOG_EVENT_UNFILTERED = <func> @Critline\core.lua:618
 RegisterEvent = <func> @Critline\core.lua:266
 GetSpellInfo = <func> @Critline\core.lua:947
 GetSpellArrayEntry = <func> @Critline\core.lua:921
 PLAYER_TALENT_UPDATE = <func> @Critline\core.lua:539
 Message = <func> @Critline\core.lua:811
 GetLevelFromGUID = <func> @Critline\core.lua:786
 ToggleDebug = <func> @Critline\core.lua:825
 LoadSettings = <func> @Critline\core.lua:836
 GetSpellArray = <func> @Critline\core.lua:933
 eventFrame = <unnamed> {}
 UnregisterEvent = <func> @Critline\core.lua:269
 percharDB = <table> {}
}
  Reply With Quote
08-06-13, 11:34 AM   #2
Caellian
A Frostmaul Preserver
 
Caellian's Avatar
Join Date: May 2006
Posts: 281
This function or event no longer exists in version 5.1.0 of World of Warcraft. Please check the main API page for an up-to-date listing of the valid API functions
If that helps:

http://wowprogramming.com/docs/api_categories#talent
__________________
if (sizeof(workload) > sizeof(brain_capacity)) { die('System Overload'); }
  Reply With Quote
08-06-13, 11:50 AM   #3
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
Keep in mind that Critline is All Rights Reserved.
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote
08-06-13, 01:12 PM   #4
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 1,060
It also appears to still be maintained on curse.
  Reply With Quote
08-06-13, 06:46 PM   #5
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
Yep. Lombra's last alpha update was July 6th it seems.

/edit: and last release version is 4.5.3 from April
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Critline


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off