How to get Player's Class? menu

User Tag List

Results 1 to 7 of 7
  1. #1
    luciferc's Avatar Contributor
    Reputation
    90
    Join Date
    Jul 2008
    Posts
    373
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to get Player's Class?

    What is the Players Class named as.

    I have the full struct but not sure which one holds the Player's Class. Thanks to anyone who can tell me

    Is it
    UNIT_FIELD_FLAGS = 0x3A,
    UNIT_FIELD_FLAGS_2 = 0x3B,
    or what is it?



    -Thanks

    How to get Player's Class?
  2. #2
    shingetterrobo's Avatar Banned
    Reputation
    15
    Join Date
    Mar 2009
    Posts
    29
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    UnitClass("Unit") lua function.

    to save you the arduous task of opening your debugger, here.

    58 race
    59 class
    5B sex
    5C power type

  3. #3
    luciferc's Avatar Contributor
    Reputation
    90
    Join Date
    Jul 2008
    Posts
    373
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Not really what i was looking for but i found it anyways.

  4. #4
    Hawker's Avatar Active Member
    Reputation
    55
    Join Date
    Jan 2009
    Posts
    214
    Thanks G/R
    1/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by luciferc View Post
    Not really what i was looking for but i found it anyways.
    How did you find it?

  5. #5
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    uint32 Bytes = GetKnownField<uint32>(UNIT_FIELD_BYTES_0);
    uchar8 Class = (uchar((Field>>&0xFF);


  6. #6
    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)
    Originally Posted by Cypher View Post
    uint32 Bytes = GetKnownField<uint32>(UNIT_FIELD_BYTES_0);
    uchar8 Class = (uchar((Field>>&0xFF);

    Thx btw. isnt that the same procedure you use to get GameObjecType from the GAMGEOBJECT_FIELD_BYTES_0?

  7. #7
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Pretty much. Obviously the shifting and ANDing might change by a byte or two.

Similar Threads

  1. [Help] How to get player map id ?
    By rat50 in forum WoW Memory Editing
    Replies: 11
    Last Post: 04-20-2009, 09:32 AM
  2. how to get player tradition chinese name
    By j121780im in forum WoW Memory Editing
    Replies: 8
    Last Post: 01-16-2009, 05:59 AM
  3. How to get the Player Base?
    By =sinister= in forum WoW Memory Editing
    Replies: 5
    Last Post: 03-31-2008, 02:21 AM
  4. How to get money for epic flying mount (Casual Players)
    By jacaxe in forum World of Warcraft Guides
    Replies: 9
    Last Post: 01-14-2008, 10:24 AM
  5. How to get your own city (faction) to attack you, and other players.
    By Meltoor in forum World of Warcraft Exploits
    Replies: 13
    Last Post: 08-18-2007, 10:15 PM
All times are GMT -5. The time now is 08:04 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