How many options to handle wow events? menu

User Tag List

Results 1 to 4 of 4
  1. #1
    Tambel's Avatar Member
    Reputation
    6
    Join Date
    Nov 2013
    Posts
    36
    Thanks G/R
    5/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How many options to handle wow events?

    Hello, im working on wow events handling. I know only one way, hook original Framescript_SignalEvent, just like dx11 Present. But now im changing wow`s native code, i think it risky to be detected by warden, or i have no other way to handle events?

    How many options to handle wow events?
  2. #2
    aeo's Avatar Contributor
    Reputation
    135
    Join Date
    Apr 2007
    Posts
    286
    Thanks G/R
    97/68
    Trade Feedback
    7 (100%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

  3. #3
    Tambel's Avatar Member
    Reputation
    6
    Join Date
    Nov 2013
    Posts
    36
    Thanks G/R
    5/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I saw this, but i didnt find answer in that thread, what difference between hooking FrameScript_SignalEvent and FrameScript_SignalEventHandler for warden? Still wow.exe hook, no?
    Last edited by Tambel; 09-10-2015 at 02:05 PM.

  4. #4
    Jadd's Avatar 🐸 Premium Seller
    Reputation
    1515
    Join Date
    May 2008
    Posts
    2,433
    Thanks G/R
    81/336
    Trade Feedback
    1 (100%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    FYI this will not catch combat events, the function in question is vFrameScript::SignalEvent (variadic handler of FrameScript_SignalEvent) which dispatches events that have a variable number of arguments. Combat events are not handled by this as they have a fixed argument count and need to be dispatched as either a filtered or unfiltered combat event. vFramescript::SignalEvent is never called when dispatching a combat event. You can find the combat event dispatcher in the latest version as SendCombatLogEvents (0x007BDE1B @ 6.2.2.20444).

    There's a couple other options which may catch all events - you could hook the second overload of FrameScript_SignalEvent (0x0042A47B), at which point the arguments have already been pushed to the Lua state. We can read the arguments from the Lua state here but it isn't preferable because things like guids have already been formatted to strings. The other option (preferable option) is to hook FrameScript_PushEventName (0x004287A6) and vFrameScript_PushEventArgs (0x00429D17) - from here we can get the event ID and all arguments before they are formatted. These functions are used for combat events, as well as all other events. Another option would be to execute some Lua to create a frame and register all events, then pass them to your program (pretty ugly in my opinion but may be the best option depending on your situation.)



    Originally Posted by Tambel View Post
    I saw this, but i didnt find answer in that thread, what difference between hooking FrameScript_SignalEvent and FrameScript_SignalEventHandler for warden? Still wow.exe hook, no?
    Yes, both reside in the Wow.exe module of course. Neither seemed to be scanned at the moment but that could change at any time.
    Last edited by Jadd; 09-11-2015 at 04:50 AM.

Similar Threads

  1. [WoW] Multiboxing - How many accounts per IP?
    By davodc in forum World of Warcraft General
    Replies: 4
    Last Post: 05-27-2014, 04:40 AM
  2. OwnedCore Survey: How Many WoW Players Actively Bot?
    By Jeremiah in forum Articles and Interviews
    Replies: 1
    Last Post: 09-12-2011, 07:21 PM
  3. Replies: 0
    Last Post: 03-28-2011, 04:04 PM
All times are GMT -5. The time now is 01:42 PM. 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