Hooking WoW Events without LUA-Handler Proc? menu

User Tag List

Results 1 to 2 of 2
  1. #1
    berlinermauer's Avatar Master Sergeant
    Reputation
    3
    Join Date
    Mar 2010
    Posts
    89
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Hooking WoW Events without LUA-Handler Proc?

    Hello Guys.

    First: Merry Christmas to all, I'm glad knowing a Community with such experienced users in it

    Ok the following: As my development progresses, it would be good to hook some WoW Events in Order to have the Bot handling more fluently and logical.
    For that, I plan hooking "OnChatMessage" and the RedText one (maybe with enum's instead of localized text?). Do you recommend another one as well?

    I know, that I could simply read the memory and parse it, however there might be some hookable methods that don't support reading their buffer.

    To the case I'm writing: I don't have a .NET CLR spawned in WoW.exe. What I'm doing is basically assembling code and write it into a codecave. upon completion, RPM reads the return values (e.g. calling GetLocalizedText() will write a call to it into the codecave, and then read out some values once complete).

    The hooks: What I am now thinking of is having another codecave, which is called on a hook-trigger and then sending WM_MESSAGE's to my bot. The only thing I don't know is, whether those are non-LUA-Hooks (which obviously support assembly) or whether those are. If they are LUA-Hooks, they will obviously expect a LUA-Proc as Pointer?

    What do you guys think about the idea? Do you have a Guide from where to start?

    offtopic: Do you also have some problems with BSDIFF40 patches for some Model files?

    Thanks in Advance!

    Hooking WoW Events without LUA-Handler Proc?
  2. #2
    Master674's Avatar Elite User
    Reputation
    487
    Join Date
    May 2008
    Posts
    578
    Thanks G/R
    2/23
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by berlinermauer View Post
    Hello Guys.

    First: Merry Christmas to all, I'm glad knowing a Community with such experienced users in it

    Ok the following: As my development progresses, it would be good to hook some WoW Events in Order to have the Bot handling more fluently and logical.
    For that, I plan hooking "OnChatMessage" and the RedText one (maybe with enum's instead of localized text?). Do you recommend another one as well?

    I know, that I could simply read the memory and parse it, however there might be some hookable methods that don't support reading their buffer.

    To the case I'm writing: I don't have a .NET CLR spawned in WoW.exe. What I'm doing is basically assembling code and write it into a codecave. upon completion, RPM reads the return values (e.g. calling GetLocalizedText() will write a call to it into the codecave, and then read out some values once complete).

    The hooks: What I am now thinking of is having another codecave, which is called on a hook-trigger and then sending WM_MESSAGE's to my bot. The only thing I don't know is, whether those are non-LUA-Hooks (which obviously support assembly) or whether those are. If they are LUA-Hooks, they will obviously expect a LUA-Proc as Pointer?

    What do you guys think about the idea? Do you have a Guide from where to start?

    offtopic: Do you also have some problems with BSDIFF40 patches for some Model files?

    Thanks in Advance!
    Hook FrameScript::SignalEvent. But take care, back when I did wow stuff it had multiple overloads and one didn't get all the events.
    One of them is variadic so you need to do some tricks to hook it.

    Can't provide any offsets as my stuff is waaaaaay outdated. It's been quite a while since I did that.

Similar Threads

  1. [Code] How to hook wow events!
    By -Ryuk- in forum WoW Memory Editing
    Replies: 10
    Last Post: 10-12-2016, 12:42 AM
  2. Making NPC`s talk without LUA scripting.
    By Mr FlySquirrel in forum WoW EMU Guides & Tutorials
    Replies: 3
    Last Post: 02-27-2008, 10:13 AM
  3. [Scripting Idea] How to make a great boss event in LUA!
    By Arthas117 in forum WoW EMU Guides & Tutorials
    Replies: 3
    Last Post: 02-03-2008, 07:41 AM
  4. Mess with your WoW textures without Hacks...
    By TheShadow124 in forum World of Warcraft Exploits
    Replies: 5
    Last Post: 12-28-2007, 01:27 AM
All times are GMT -5. The time now is 07:17 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search