bobber->GetObjectType() returns 0x21 ?? menu

User Tag List

Results 1 to 2 of 2
  1. #1
    namreeb's Avatar Legendary

    Reputation
    658
    Join Date
    Sep 2008
    Posts
    1,023
    Thanks G/R
    7/215
    Trade Feedback
    0 (0%)
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)

    bobber->GetObjectType() returns 0x21 ??

    I find the bobber by looking for it during the EndScene() hook. Right now I am searching by name. I'd like to try and do some faster checking first to eliminate doing a string comparison on each and every object. It was my understanding that the bobber should be a game object type (or 0x32)?

    I'm using an almost out-of-box compilation of the most recent WoWX posting on GD. The only changes I have made are re-arranging some of the buttons in the UI and implementing a crash fix (which is unrelated as far as I can tell) also posted in the same GD thread. Of course I can just check for a type of 0x21 and it will work, but if I've messed something up I'd rather find out about it now before I make even more changes.

    Note also that there is no object type defined in the eObjType enumeration with a value of 0x21.

    Anyone know why this is happening?

    bobber->GetObjectType() returns 0x21 ??
  2. #2
    Bobbysing's Avatar Member
    Reputation
    192
    Join Date
    Jan 2009
    Posts
    36
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It's a bitmask and you have to combine OT_OBJECT and OT_GAMEOBJ to get 0x21. ( OT_OBJECT|OT_GAMEOBJ )

    Alternatively you can just check for the OT_GAMEOBJ flag as all objects have OT_OBJECT set.

Similar Threads

  1. World of Warcraft 2: Return of the Gnomes
    By Hakonj in forum Art & Graphic Design
    Replies: 16
    Last Post: 04-01-2007, 09:31 AM
  2. WoW Bobber?
    By =sinister= in forum World of Warcraft General
    Replies: 0
    Last Post: 03-31-2007, 10:53 PM
  3. Fishing Bobber Color Change
    By =sinister= in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 03-25-2007, 06:41 PM
  4. I have returned!
    By jinkotsu in forum Community Chat
    Replies: 5
    Last Post: 02-23-2007, 02:16 PM
  5. Is it possible to change the color of a bobber?
    By =sinister= in forum WoW ME Questions and Requests
    Replies: 2
    Last Post: 01-05-2007, 03:13 PM
All times are GMT -5. The time now is 05:49 AM. 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