[QUESTION] How to check druid form? menu

User Tag List

Results 1 to 6 of 6
  1. #1
    -Ryuk-'s Avatar Elite User CoreCoins Purchaser Authenticator enabled
    Reputation
    529
    Join Date
    Nov 2009
    Posts
    1,028
    Thanks G/R
    38/51
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [QUESTION] How to check druid form?

    Hello all,

    Just a quick question, probably with a really easy answer!

    Well, I'm already checking my PowerType(by looking at player class; and having a manually written enum for it) before reading a PowerType to avoid errors, however, for druids I think I might have a problem.


    I know druids have mana as the default power, but what about when there shape shifted? I think the bear has rage, and the cat has energy, others I am not sure about.

    So my question is, how do I check if/what I am shape shifted as?
    Also if possible id prefer not use use lua,(Not that I am afraid of it, I just like memory reading better as its faster for me )


    Many thanks,

    -Ryuk-
    |Leacher:11/2009|Donor:02/2010|Established Member:09/2010|Contributor:09/2010|Elite:08/2013|

    [QUESTION] How to check druid form?
  2. #2
    Syltex's Avatar Sergeant Major
    Reputation
    23
    Join Date
    Jul 2010
    Posts
    174
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    public enum ShapeshiftForm
        {
            Normal = 0,
            Cat = 1,
            TreeOfLife = 2,
            Travel = 3,
            Aqua = 4,
            Bear = 5,
            Ambient = 6,
            Ghoul = 7,
            DireBear = 8,
            CreatureBear = 14,
            CreatureCat = 15,
            GhostWolf = 16,
            BattleStance = 17,
            DefensiveStance = 18,
            BerserkerStance = 19,
            EpicFlightForm = 27,
            Shadow = 28,
            Stealth = 30,
            Moonkin = 31,
            SpiritOfRedemption = 32
        }
    From: http://www.mmowned.com/forums/world-...ructs-etc.html
    And just reserve API GetShapeshiftForm. Link: http://www.wowwiki.com/API_GetShapeshiftForm
    Last edited by Syltex; 10-18-2010 at 09:21 AM.

  3. #3
    -Ryuk-'s Avatar Elite User CoreCoins Purchaser Authenticator enabled
    Reputation
    529
    Join Date
    Nov 2009
    Posts
    1,028
    Thanks G/R
    38/51
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Syltex View Post
    Code:
    public enum ShapeshiftForm
        {
            Normal = 0,
            Cat = 1,
            TreeOfLife = 2,
            Travel = 3,
            Aqua = 4,
            Bear = 5,
            Ambient = 6,
            Ghoul = 7,
            DireBear = 8,
            CreatureBear = 14,
            CreatureCat = 15,
            GhostWolf = 16,
            BattleStance = 17,
            DefensiveStance = 18,
            BerserkerStance = 19,
            EpicFlightForm = 27,
            Shadow = 28,
            Stealth = 30,
            Moonkin = 31,
            SpiritOfRedemption = 32
        }
    From: http://www.mmowned.com/forums/world-...ructs-etc.html
    And just reserve API GetShapeshiftForm. Link: API GetShapeshiftForm - WoWWiki - Your guide to the World of Warcraft
    TYVM.

    I found what I needed from there!

    Heres the code for people that may want it:

    Code:
                    uint form =
                        Memory.Read<uint>(
                            Memory.Read<uint>(ObjectPointer + 0xF8) +
                            0x213);
                    return (ShapeshiftForm) BitConverter.GetBytes(form)[0];
    +Rep
    |Leacher:11/2009|Donor:02/2010|Established Member:09/2010|Contributor:09/2010|Elite:08/2013|

  4. #4
    Seifer's Avatar Site Donator
    Reputation
    129
    Join Date
    Apr 2007
    Posts
    270
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Or check the DisplayID.

  5. #5
    MaiN's Avatar Elite User
    Reputation
    335
    Join Date
    Sep 2006
    Posts
    1,047
    Thanks G/R
    0/10
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by -Ryuk- View Post


    TYVM.

    I found what I needed from there!

    Heres the code for people that may want it:

    Code:
                    uint form =
                        Memory.Read<uint>(
                            Memory.Read<uint>(ObjectPointer + 0xF8) +
                            0x213);
                    return (ShapeshiftForm) BitConverter.GetBytes(form)[0];
    +Rep
    FYI, +0xF8 is the unit descriptors. The offset is OBJECT_END + 0x213.
    [16:15:41] Cypher: caus the CPU is a dick
    [16:16:07] kynox: CPU is mad
    [16:16:15] Cypher: CPU is all like
    [16:16:16] Cypher: whatever, i do what i want

  6. #6
    Apoc's Avatar Angry Penguin
    Reputation
    1388
    Join Date
    Jan 2008
    Posts
    2,750
    Thanks G/R
    0/13
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try the 3rd byte in UNIT_FIELD_BYTES_2

Similar Threads

  1. [Question] Druid Form - ID
    By horseman in forum WoW ME Questions and Requests
    Replies: 7
    Last Post: 05-01-2015, 11:01 AM
  2. [QUESTION]How to check when lua_reload
    By zys924 in forum WoW Memory Editing
    Replies: 13
    Last Post: 05-04-2010, 05:36 AM
  3. Druid form model change question.
    By Druidking44 in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 06-02-2008, 04:48 PM
  4. [Question] Druid Form
    By fariltygur in forum WoW ME Questions and Requests
    Replies: 1
    Last Post: 03-22-2008, 11:03 AM
  5. QUESTION: Druid form changes
    By Inevitable in forum WoW ME Questions and Requests
    Replies: 1
    Last Post: 07-22-2007, 08:57 PM
All times are GMT -5. The time now is 03:44 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