This project is abandoned and its default file will likely not work with the most recent version of World of Warcraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.
Major version bump to LibStatLogic-1.2 because of GetStatMod API broke-age. LibStatLogic-1.1 will remain wotlk compatible for China.
Message: Interface\FrameXML\UIPanelTemplates.lua:505: attempt to perform arithmetic on field 'cursorOffset' (a nil value) Time: 01/07/14 14:08:37 Count: 1 Stack: Interface\FrameXML\UIPanelTemplates.lua:505: in function `ScrollingEdit_OnUpdate' Interface\FrameXML\UIPanelTemplates.lua:482: in function `ScrollingEdit_OnTextChanged' ...e\AddOns\Blizzard_DebugTools\Blizzard_DebugTools.lua:604: in function `ScriptErrorsFrame_Update' ...e\AddOns\Blizzard_DebugTools\Blizzard_DebugTools.lua:551: in function `ScriptErrorsFrame_OnError' [string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:22: in function <[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:4> [C]: in function `GetPrimaryTalentTree' ...ingBuster\libs\LibStatLogic-1.2\LibStatLogic-1.2.lua:6524: in function <...ingBuster\libs\LibStatLogic-1.2\LibStatLogic-1.2.lua:6516> ...ingBuster\libs\LibStatLogic-1.2\LibStatLogic-1.2.lua:6530: in function <...ingBuster\libs\LibStatLogic-1.2\LibStatLogic-1.2.lua:6527>
Locals: self = ScriptErrorsFrameScrollFrameText { 0 = <userdata> text = "Message: Interface\AddOns\QuestHelper2\main_menu.lua:23: CreateFrame(): Couldn't find inherited node "UIPanelButtonTemplate2" Time: 01/07/14 14:08:27 Count: 1 Stack: [C]: in function `CreateFrame' Interface\AddOns\QuestHelper2\main_menu.lua:23: in main chunk
In case you never come back to help, i'll quote it:
Ok, time to pull out the data analysis.
TankPoints has been secretly recording all your stats. Every time your stats change (including changing equipped items, getting buffs), it records a snapshot of all your stats.
You'll find them in your:
D:\Games\World of Warcraft\WTF\Account\MIDNIGHTLYNX\SavedVariables\TankPoints.lua
(of course you use your path to WoW, and your account name)
Can you run through every possible combination of armor, e.g.:
equipping each item in each slot
equipping one item, then two items, then three items, then four...
equipping in order of head, neck, shoulders, back, ...
equipping in order of trinket 2, trinket 1, ring 2, ring 1, feet, legs, ...
unequipping everything on the left first, then the right
unequipping everything on the right first, then the left
In other words can you come up with as many possible combinations
Dodge Rating
Agility
and any other stat that might affect druid's dodge.
We'll have to update LibStatLogic so we can calculate the druid's
base Dodge Chance
Dodge Cap constant (Cd)
diminishing returns constant (k)
Agility-to-Dodge conversion ratio (Qd) - which we assume is fixed at 10,000 Agility -> 1% Dodge Chance (before diminishing returns)
Post the PlayerStats variable from your TankPoints.lua file, e.g.:
Ideally would you also save it as a CSV, open it in Excel, and then paste them into a new tab on my existing Google Document Spreadsheet, so i can see the values and begin graphing and performing linear regressions on them.
At the very least it will let you understand the pain i'm going through, with absolutely no value to myself.
One of the (multitudes...holy crap! :P ) of updates has fixed my problem, I don't get the error anymore. My framerate goes to utter crap (if I mouse over something, my framerate drops to less than 1fps after a moment) but I think that's another mod... Thanks for the updates. :)
I've met the same problem with the latest addons, and finally I found that just deselect all options of RatingBuster of spell power, the error messages will disappear.
ps, there are 2 options about spell power, but I'm playing with Chinese edition, sorry that I can't figure out them of English version.
--Show warnings by default for enUS for few weeks after each launch - until we've caught everything. --Once the warnings have settled down, they can be disabled local ItemNotRecognizedWarningDefault = (GetLocale() == "enUS") and true;
And replace true with false;
This will make it disabled by the default, though as the message indicated I am sure a future update will do this for us. Clueless how long it will take though...
Hey, I´m using ratingbuster and libstatlogic is part of it. After logging in and hovering with the mouse over certain items like weapons, I get this message in chat:
LibStatLogic: No Match for "Power Torrent" Warnings can be disabled by typing /slwarning
Same goes for many items with a small text below the stats. I dont know if its of any use to anyone but its annoying having to disable the warnings everytime after relogging. Is there a way to disable them permanent?
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Approx resil as lvl 90 for 5.4.7:
Line 5249
Message: Interface\FrameXML\UIPanelTemplates.lua:505: attempt to perform arithmetic on field 'cursorOffset' (a nil value)
Time: 01/07/14 14:08:37
Count: 1
Stack: Interface\FrameXML\UIPanelTemplates.lua:505: in function `ScrollingEdit_OnUpdate'
Interface\FrameXML\UIPanelTemplates.lua:482: in function `ScrollingEdit_OnTextChanged'
...e\AddOns\Blizzard_DebugTools\Blizzard_DebugTools.lua:604: in function `ScriptErrorsFrame_Update'
...e\AddOns\Blizzard_DebugTools\Blizzard_DebugTools.lua:551: in function `ScriptErrorsFrame_OnError'
[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:22: in function <[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:4>
[C]: in function `GetPrimaryTalentTree'
...ingBuster\libs\LibStatLogic-1.2\LibStatLogic-1.2.lua:6524: in function <...ingBuster\libs\LibStatLogic-1.2\LibStatLogic-1.2.lua:6516>
...ingBuster\libs\LibStatLogic-1.2\LibStatLogic-1.2.lua:6530: in function <...ingBuster\libs\LibStatLogic-1.2\LibStatLogic-1.2.lua:6527>
Locals: self = ScriptErrorsFrameScrollFrameText {
0 = <userdata>
text = "Message: Interface\AddOns\QuestHelper2\main_menu.lua:23: CreateFrame(): Couldn't find inherited node "UIPanelButtonTemplate2"
Time: 01/07/14 14:08:27
Count: 1
Stack: [C]: in function `CreateFrame'
Interface\AddOns\QuestHelper2\main_menu.lua:23: in main chunk
Locals: (*temporary) = "Button"
(*temporary) = "QuestHelper2_Button"
(*temporary) = WorldMapButton {
0 = <userdata>
}
(*temporary) = "UIPanelButtonTemplate2"
"
handleCursorChange = true
}
elapsed = 0
scrollFrame = ScriptErrorsFrameScrollFrame {
ScrollBar = ScriptErrorsFrameScrollFrameScrollBar {
}
offset = 0
0 = <userdata>
}
height = 194.00001525879
range = 0
scroll = 0
size = 194.00001525879
cursorOffset = nil
(*temporary) = nil
(*temporary) = ScriptErrorsFrameScrollFrame {
ScrollBar = ScriptErrorsFrameScrollFrameScrollBar {
}
offset = 0
0 = <userdata>
}
(*temporary) = 0
(*temporary) = "attempt to perform arithmetic on field 'cursorOffset' (a nil value)"
Approx resil as lvl 90 for 5.3:
Line 5249
I don't know ANYTHING about coding this kind of thing, but this is the error I get every time I sign on:
Date: 2012-11-29 11:36:44
ID: 9
Error occured in: Global
Count: 1
Message: ...bStatLogic-1.2\LibStatLogic-1.2\LibStatLogic-1.2.lua line 9967:
attempt to index field '?' (a nil value)
Debug:
[C]: ?
...bStatLogic-1.2\LibStatLogic-1.2\LibStatLogic-1.2.lua:9967:
...bStatLogic-1.2\LibStatLogic-1.2\LibStatLogic-1.2.lua:9944
(tail call): ?
RatingBuster\RatingBuster.lua:2547: handler()
...bTipHooker-1.1\LibTipHooker-1.1\LibTipHooker-1.1.lua:179:
...bTipHooker-1.1\LibTipHooker-1.1\LibTipHooker-1.1.lua:174
[C]: ?
[C]: SetBagItem()
..\FrameXML\ContainerFrame.lua:815: ContainerFrameItemButton_OnEnter()
[string "*:OnEnter"]:1:
[string "*:OnEnter"]:1
Locals:
AddOns:
:list of addons installed:
I did some informal testing on my monk (lvl90), and it does appear that 1 agil = 2 attack pwr, at least for WindWalker.
Added some monk data to the spreadsheet. Hope its enough to at least make a start.
<<reply 1006955="">>
see here
Or tell me the numbers.
Since i have no plans to level a monk Tank. Or a Monk. Or another character.
TODO: LibStatLogic:GetAvoidanceAfterDR - table C_dodge[], C_parry[], C_meleeHitAvoid[] and K[] need to have their MONK values updated
Hi, got a couple of errors i've worked around:
131x libs\LibStatLogic-1.2\LibStatLogic-1.2-74.lua:11828: attempt to perform arithmetic on field "?" (a nil value)
Fix added enries around line 11807(after [84] = 0.003345,) - the values are wrong but it stops the errors:
[85] = 0.003345,
[86] = 0.003345,
[87] = 0.003345,
[88] = 0.003345,
[89] = 0.003345,
[90] = 0.003345,
145x libs\LibStatLogic-1.2\LibStatLogic-1.2-74.lua:6524: attempt to call global "GetPrimaryTalentTree" (a nil value)
Ffixed it by replacing the line with:
ArmorSpecActive = GetSpecialization() or 0
Fixes the bug and (i think) works correctly.
<<reply 979666="">>
Read this and follow the instructions.
In case you never come back to help, i'll quote it:
Ok, time to pull out the data analysis.
TankPoints has been secretly recording all your stats. Every time your stats change (including changing equipped items, getting buffs), it records a snapshot of all your stats.
You'll find them in your:
(of course you use your path to WoW, and your account name)
Can you run through every possible combination of armor, e.g.:
In other words can you come up with as many possible combinations
We'll have to update LibStatLogic so we can calculate the druid's
Post the
PlayerStats
variable from yourTankPoints.lua
file, e.g.:Ideally you would also strip off the leading
["
and trailing"] = true,
, so it's pure CSV:Ideally would you also save it as a CSV, open it in Excel, and then paste them into a new tab on my existing Google Document Spreadsheet, so i can see the values and begin graphing and performing linear regressions on them.
At the very least it will let you understand the pain i'm going through, with absolutely no value to myself.
[02:14:54 AM] TODO: LibStatLogic:GetAvoidanceAfterDR - table C_dodge[], C_parry[], C_meleeHitAvoid[] and K[] need to have their MONK values updated
Any time I mouse over any piece of gear, I get continuous errors of
StatLogic:GetStatMod() Invalid stat mod requested "MOD_SPELL_DMG".
They will fill my chat log until I move the mouse away from the item. /slwarning didn't work... the warnings are disabled but still getting these.
One of the (multitudes...holy crap! :P ) of updates has fixed my problem, I don't get the error anymore. My framerate goes to utter crap (if I mouse over something, my framerate drops to less than 1fps after a moment) but I think that's another mod... Thanks for the updates. :)
I'm having the same issue, and the newest updates haven't fixed anything for me yet...
I am still getting this error, what did u updated please ?
I've met the same problem with the latest addons, and finally I found that just deselect all options of RatingBuster of spell power, the error messages will disappear.
ps, there are 2 options about spell power, but I'm playing with Chinese edition, sorry that I can't figure out them of English version.
Exactly the fix I was looking for.
tyvm
You can change these lines:
--Show warnings by default for enUS for few weeks after each launch - until we've caught everything.
--Once the warnings have settled down, they can be disabled
local ItemNotRecognizedWarningDefault = (GetLocale() == "enUS") and true;
And replace true with false;
This will make it disabled by the default, though as the message indicated I am sure a future update will do this for us. Clueless how long it will take though...
Thank you.
Hey, I´m using ratingbuster and libstatlogic is part of it. After logging in and hovering with the mouse over certain items like weapons, I get this message in chat:
LibStatLogic: No Match for "Power Torrent" Warnings can be disabled by typing /slwarning
Same goes for many items with a small text below the stats. I dont know if its of any use to anyone but its annoying having to disable the warnings everytime after relogging. Is there a way to disable them permanent?