Advertisement

Egingell

User talk

[New Comment]

Archives

EJ_GetCreatureInfo and FrameXML

Hi Egingell, uhmm, I'm sure EJ_GetCreatureInfo itself isn't defined in the FrameXML .. or am I misunderstanding something about the framexmlfunc template? :s -- Ketho (talk) 20:11, 14 October 2011 (UTC)

To be honest, I didn't check. It has to be defined somewhere, though. I don't think it or EJ_GetCurrentInstance is a back-end function. —EGingellTC Treader of Cenarion Circle 20:20, 14 October 2011 (UTC)
However, I can't seem to find where they are actually defined. —EGingellTC Treader of Cenarion Circle 20:28, 14 October 2011 (UTC)
I have just checked (search in files) all the Encounter Journal functions, and from what I can see is that everything EJ_* is a back-end function, and everything EncounterJournal_* is a FrameXML function .. -- Ketho (talk) 20:33, 14 October 2011 (UTC)
Interesting. It seems backward from what they've been doing since they started putting stuff in the AddOns folder. —EGingellTC Treader of Cenarion Circle 20:38, 14 October 2011 (UTC)

A string's metatable in WoW

WoW clients, since 3.x, alter the metatable used by strings, presumably to prevent you from sneaking things into the restricted environment that way. A notable side effect is that the global string table isn't actually the in the metatable's __index; so /run string.print = print; ("foo"):print() does not work in WoW. You might also observe that getmetatable("foo") == string in WoW, while getmetatable("foo").__index == string in any other interpreter.

I've reverted your revert of Lua functions -- it was not factually accurate, and I don't feel that the page is a good place to point out the above deviation just for the sake of following it up with "so things don't work!" — foxlit (talk) 18:33, 21 June 2012 (UTC)

Good ol' paranoid sanitation.
Incidentally, the code you posted here breaks without the semi-colon. One of the rare instances where it is required. lol —EGingellTC Treader of Cenarion Circle 19:27, 21 June 2012 (UTC)

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE