After the 4.0.1 Patch, after I updated my AddOns; /dump unexpectedly got modified. Colors got changed.
(strings = green, numbers = magenta, nil = red)
At first it was kind of annoying, but when I found out it could also read the "userdata" of frames, I totally loved it.
However, it only works on only the character I used just after Patch 4.0.1 hit. So which addon is modifying /dump?! What I tried:
Trying /dump on other characters with ALL addons enabled wouldn't give me the modified /dump. I suspect it got to do with the savedvariables from that specific character.
Enabling all addons 1 by 1 to find out which one it is did not work ..
/dump MicroButtonTabardEmblem
-- Normal /dump
-- Tweaked /dump
AddOns list:
Ace3
ACP
AdvancedTradeSkillWindow
Altoholic + DataStore
Atlas + AtlasLoot
Auctioneer + Stubby + Informant + !Swatter
Bartender4
BindPad
BlizzMove
CensusPlus
ComboPointsRedux
DevTools
DrDamage
ElitistGroup
FreeRefills
FuBar
GearScore
GrimReaper
Informant
Omen
OmniCC
Postal
Prat-3.0
Quartz
Recount
SCT + SCTD
simpleMinimap
TankPoints
TinyTip
XPerl
My motivation for this was to search for the Guild Tabard Logo/Emblem with /framestack and then grab the GetTexture() and GetTexCoord() just to use the icon in the options menu for an addon. this modified /dump made it way easier. I already found an even better way, GuildFrameTabardEmblem:GetTexture() for the higher quality emblem from the Guild frame though, but I'm really curious about the /dump.
Edit @ Stanzilla: Its not Prat Edit 2: It uses Ace2, because when you try a invalid /dump test = notexistingvar it says its Ace2. I narrowed it down to FuBar GuildFu r117(sorry I didnt mention the fubar plugins) but when only FuBar and GuildFu are running it doesnt work anymore. I think its some addon combination with GuildFu Edit 3: Your right pneumatus >< (still not sure which addon combination with guildfu it is)
Sorry for my messy topic start. I've relogged over 50 times which all kinds of different AddOn combinations. From what I can see it's AceConsole-2.0 r1096 from i.e. FuBar GuildFu that randomly starts working with any magic number of certain AddOns.
TLDR: I don't know what the f*ck is going on, I tried EVERY addon combination.
Please, can someone tell me how to use this Ace2 /dump functionality(yes .. I know its dead), or a replacement addon? I'm getting a breakdown from this totally random feature that pops out and in faster than a Whac-A-Mole
Edit: Anyway, I wasnt around in the Ace2 time ><
So does Ace3 also have this /dump functionality? Edit @ Farmbuyer: Yes, confirmed /print, /echo also are changed by Ace2. (no idea what /echo is though)
Skimming through AceConsole-2.0.lua, it looks like :PrintLiteral() would produce that output, using /print, /echo, and (optionally) /dump when the devtools aren't available. I haven't looked closely however.
local t = { "/print", "/echo" }
local _,_,_,enabled,loadable = GetAddOnInfo("DevTools")
if not enabled and not loadable then
table.insert(t, "/dump")
end
self:RegisterChatCommand(t, function(text)
text = text:trim():match("^(.-);*$")
local f, err = loadstring("AceLibrary('AceConsole-2.0'):PrintLiteral(" .. text .. ")")
if not f then
self:Print("|cffff0000Error:|r", err)
else
f()
end
end, "PRINT")
Removed DevTools: args5 = nil; arg6= "MISSING"; Normal Dump
Disabled DevTools: arg5 = nil; arg6 = "DISABLED"; Normal Dump
Enabled DevTools: arg5 = 1; arg6 = nil; Normal Dump
Some magic addon combination, Enabled DevTools: arg5 = 1; arg6 = nil; Normal Dump
Some magic addon combination, Disabled DevTools: arg5 = nil; arg6 = "DISABLED"; However in this case the modified /dump works! Proof:
Now at this point, it's just .. confusing me badly.
I know nothing to very little about userdata, loadstring, widgets or :PrintLiteral.
I just want the dump functionality where if you'd get "userdata", you can get more detailed frame/widget info... anything goes for me
(Ace2, macro script, mini addon, or some rather obvious method I should have known instead) Edit @ Phanx: Thanks, I will (n_n)
Yes its Prat - specifically the debug pullout. If you go into the Prat-3.0/pullouts folder and pull out Prat-3.0_Debug you get the tweaked /dump command. Though maybe you didnt do that and it was something else.
Yes its Prat - specifically the debug pullout. If you go into the Prat-3.0/pullouts folder and pull out Prat-3.0_Debug you get the tweaked /dump command. Though maybe you didnt do that and it was something else.
I disabled Prat too when turning off addons 1 by 1, and did not "pull out" any Prat folder..
However there is no functionality for copying chat out of Spew, so I wanted to try out sylvanaar's Debug Tools.
I pulled out Prat-3.0_Debug and used e.g. /print GuildFrameTabardEmblem. And .. damn hell I love it as well~
Thanks for showing me the way to the awesomeness of (frame) Debug Tools
(strings = green, numbers = magenta, nil = red)
At first it was kind of annoying, but when I found out it could also read the "userdata" of frames, I totally loved it.
However, it only works on only the character I used just after Patch 4.0.1 hit. So which addon is modifying /dump?! What I tried:
-- Normal /dump
-- Tweaked /dump
AddOns list:
My motivation for this was to search for the Guild Tabard Logo/Emblem with /framestack and then grab the GetTexture() and GetTexCoord() just to use the icon in the options menu for an addon. this modified /dump made it way easier. I already found an even better way, GuildFrameTabardEmblem:GetTexture() for the higher quality emblem from the Guild frame though, but I'm really curious about the /dump.
Edit @ Stanzilla: Its not Prat
Edit 2: It uses Ace2, because when you try a invalid /dump test = notexistingvar it says its Ace2. I narrowed it down to FuBar GuildFu r117(sorry I didnt mention the fubar plugins) but when only FuBar and GuildFu are running it doesnt work anymore. I think its some addon combination with GuildFu
Edit 3: Your right pneumatus >< (still not sure which addon combination with guildfu it is)
TLDR: I don't know what the f*ck is going on, I tried EVERY addon combination.
Please, can someone tell me how to use this Ace2 /dump functionality(yes .. I know its dead), or a replacement addon? I'm getting a breakdown from this totally random feature that pops out and in faster than a Whac-A-Mole
Edit: Anyway, I wasnt around in the Ace2 time ><
So does Ace3 also have this /dump functionality?
Edit @ Farmbuyer: Yes, confirmed /print, /echo also are changed by Ace2. (no idea what /echo is though)
GetAddOnInfo("DevTools") tests with DevTools 1.11 and FuBar GuildFu r117 as the only addons:
I know nothing to very little about userdata, loadstring, widgets or :PrintLiteral.
I just want the dump functionality where if you'd get "userdata", you can get more detailed frame/widget info... anything goes for me
(Ace2, macro script, mini addon, or some rather obvious method I should have known instead)
Edit @ Phanx: Thanks, I will (n_n)
I disabled Prat too when turning off addons 1 by 1, and did not "pull out" any Prat folder..
However there is no functionality for copying chat out of Spew, so I wanted to try out sylvanaar's Debug Tools.
I pulled out Prat-3.0_Debug and used e.g. /print GuildFrameTabardEmblem. And .. damn hell I love it as well~
Thanks for showing me the way to the awesomeness of (frame) Debug Tools