[Question] Subscribe Event and PvP mask menu

User Tag List

Results 1 to 7 of 7
  1. #1
    padre002's Avatar Member
    Reputation
    1
    Join Date
    Jun 2009
    Posts
    1
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Question] Subscribe Event and PvP mask

    Hi , i'm trying to make my own bot in C# and i have two questions :

    First , I have seen in the thread 3.2.0 info Dumps thoses Event Offset
    (for example :
    EVENT_PARTY_CONVERTED_TO_RAID = 0x260,
    EVENT_PVPQUEUE_ANYWHERE_SHOW = 0x261,
    EVENT_PVPQUEUE_ANYWHERE_UPDATE_AVAILABLE = 0x262,
    EVENT_EJECT_PASSENGER_UPDATE = 0x263,
    EVENT_QUEST_ACCEPTED = 0x264,
    EVENT_PLAYER_TALENT_UPDATE = 0x265,
    EVENT_ACTIVE_TALENT_GROUP_CHANGED = 0x266,
    EVENT_PET_TALENT_UPDATE = 0x267 ... )

    However , I don't know the way to "subscribe" to those events. We have to read memory from where ? Current_Manager ? Player base Adress ? and is there a way , like i said , to subscribe to them and so be notified throug a function when and event occur ?

    Secondly, with the 3.2.0 , when a read in memory the UNIT_FLAG value , and when i compare with the mask to determine for instance when a player is in combat , or is sitting , or in Pvp . The problem is for pvp mask i think , because it's work with combat . I think i have the wrong values for pvp mask and the other.
    My current value is :
    0x0000008: PVP Enabled
    0x0001000: in pvp
    0x0080000: in melee
    So i think that something is wrong . Maybe someone can help me .

    Thanks for sharing.

    [Question] Subscribe Event and PvP mask
  2. #2
    Robske's Avatar Contributor
    Reputation
    305
    Join Date
    May 2007
    Posts
    1,062
    Thanks G/R
    3/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You need to hook BroadcastEvent in order to intercept WoW's events.

    [WoW] Events - Game Deception - Forums

    To do it with memory-reading only (iew):
    You could write an addon that registers these events and draws a pixel on the screen (Flo's pvp bot did this) or stores it in an array somewhere (with some known data, so you can scan for it)
    "Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." - Martin Golding
    "I cried a little earlier when I had to poop" - Sku

  3. #3
    Nesox's Avatar ★ Elder ★
    Reputation
    1280
    Join Date
    Mar 2007
    Posts
    1,238
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That sounds like à really gay way of doing it wouldn't it be better to monitor packets instead?
    Last edited by Nesox; 09-17-2009 at 06:49 AM.

  4. #4
    Robske's Avatar Contributor
    Reputation
    305
    Join Date
    May 2007
    Posts
    1,062
    Thanks G/R
    3/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Nesox View Post
    That sounds like à really gay way of doing it wouldn't it be better to monitor packets instead?
    I doubt there's a clean way to do it when restricted to memory reading only...
    "Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." - Martin Golding
    "I cried a little earlier when I had to poop" - Sku

  5. #5
    amadmonk's Avatar Active Member
    Reputation
    124
    Join Date
    Apr 2008
    Posts
    772
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Erm, I posted a complete packet monitor lib in C# that does decryption for you, with no need to be in-proc. You can easily packet monitor for those particular events (although not all events are packet-triggered).

    It's darned near cut and paste.
    Don't believe everything you think.

  6. #6
    Tanaris4's Avatar Contributor Authenticator enabled
    Reputation
    148
    Join Date
    Oct 2008
    Posts
    646
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by amadmonk View Post
    Erm, I posted a complete packet monitor lib in C# that does decryption for you, with no need to be in-proc. You can easily packet monitor for those particular events (although not all events are packet-triggered).

    It's darned near cut and paste.
    Link? o.O

  7. #7
    Nesox's Avatar ★ Elder ★
    Reputation
    1280
    Join Date
    Mar 2007
    Posts
    1,238
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Use the search function

Similar Threads

  1. Sabens's Huge Event list. PvP, PvE and fun events!
    By Sabens in forum World of Warcraft Emulator Servers
    Replies: 16
    Last Post: 08-19-2008, 06:35 PM
  2. Question about blizz and private servers
    By Mijin in forum Community Chat
    Replies: 3
    Last Post: 05-03-2007, 10:15 AM
  3. Solo chess event and farm Prince with 10-man
    By Detzett40 in forum World of Warcraft Exploits
    Replies: 21
    Last Post: 05-01-2007, 04:49 AM
  4. A question about organized Alli pvp groups
    By krazy12766 in forum World of Warcraft General
    Replies: 2
    Last Post: 12-24-2006, 12:53 AM
  5. Keyboard Layout and PvP
    By husky003 in forum World of Warcraft Guides
    Replies: 10
    Last Post: 10-01-2006, 03:59 PM
All times are GMT -5. The time now is 09:22 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search