WoW BlueTracker Home | RSS | News | Contact
Recent | Search | Archive | CS Posts
Poster: Tem at 9/4/2005 6:36:04 PM PDT
Subject: Hey slouken, can I see?
   Can I see the function that lurks in GameTooltip's metatable's __index feild? ...Please? Is it even written in LUA? Why would calling it explicitly cause a game crash?

ERROR #132 (0x85100084) Fatal Exception
Program: E:\Big Program Files\World of Warcraft\WoWTest\WoW.exe
Exception: 0xC0000005 (ACCESS_VIOLATION) at 001B:006653BD

The instruction at "0x006653BD" referenced memory at "0x00000000".
The memory could not be "read".

WoWBuild: 4603
What more work?
I don't wanna do that.
Yes m'Lord.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=209961&p=#post209961
 
Poster: slouken at 9/4/2005 7:40:02 PM PDT
Subject: Re: Hey slouken, can I see?
  

Q u o t e:
Yeah, I failed to mention that calling it properly doesn't crash the client. I was just curious why calling it improperly would crash the client. I have a relatively believable hunch now:

The __index function is a C function that doesn't do anything to make sure it has a valid pointer before dereferencing it.



Pffft.. smarty pants.

You'll notice it doesn't (shouldn't) crash in 1.7 though. :)
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=209961&p=#post210008
Poster: slouken at 9/4/2005 8:38:44 PM PDT
Subject: Re: Hey slouken, can I see?
   Yes, it's a thunk to an internal C lookup.

[ post edited by slouken ]

  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=209961&p=#post210052
Poster: slouken at 9/4/2005 8:46:00 PM PDT
Subject: Re: Hey slouken, can I see?
   I know, I was just teasing. The internal lookup is a virtual table lookup based on the object type. Thunking to C is always slower than a lua hashtable lookup.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=209961&p=#post210060
Poster: slouken at 9/5/2005 9:13:00 AM PDT
Subject: Re: Hey slouken, can I see?
  

Q u o t e:
Incidentally, it hasn't been mentioned in this thread yet, but is it correct that element [0] of a Lua table that represents a game object, and which has type "userdata", is simply the C pointer to the C instance of that object? If so, I can think of doing some really nice things to "override" default frames in the Blizzard UI, by copying element [0] from one table to another.


Yes, that's correct.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=209961&p=#post210308
Poster: slouken at 9/5/2005 9:14:58 AM PDT
Subject: Re: Hey slouken, can I see?
  

Q u o t e:
I was also thinking, is this function safely hookable? (As in, if it returns nil, do a search of your own)


Yep. *grin*

You guys are getting dangerous. :)
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=209961&p=#post210310
Poster: slouken at 9/5/2005 11:24:15 AM PDT
Subject: Re: Hey slouken, can I see?
   Actually, I'd be interested to know how this would be a problem in the WoW sandbox...
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=209961&p=#post210380
Poster: slouken at 9/5/2005 12:26:14 PM PDT
Subject: Re: Hey slouken, can I see?
   By the way, the beat way to get an emergency patch is to post an exploit here that does more than just crash the game. :)

If you respond to this thread, or post with slouken in the title, I'm likely to see it.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=209961&p=#post210407
Poster: slouken at 9/5/2005 12:30:14 PM PDT
Subject: Re: Hey slouken, can I see?
   Yes, that's true. It is on my list of things to look at.

Edit: (for the record, the vtable problem isn't an issue in WoW)

[ post edited by slouken ]

  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=209961&p=#post210414
Poster: slouken at 9/5/2005 12:38:34 PM PDT
Subject: Re: Hey slouken, can I see?
   Yes, this was exactly the approach I was going to take. :)
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=209961&p=#post210420
Poster: slouken at 9/5/2005 1:23:35 PM PDT
Subject: Re: Hey slouken, can I see?
   Oh, I read most of the threads that look like they might be interesting... I don't have time to respond often, but hey. :)
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=209961&p=#post210456

View all recent official Blue Posts

WoW Blue Tracker: Archiving World of Warcraft Blue Posts
since March 2005
Home | RSS | News | Contact
Recent | Search | Archive | CS Posts
 

Why Ads?