[Classic] How to get the name of the unit. menu

User Tag List

Results 1 to 5 of 5
  1. #1
    Jerry_mmns's Avatar Member
    Reputation
    -2
    Join Date
    Mar 2020
    Posts
    8
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Classic] How to get the name of the unit.

    I had found the name base of the player , but after iterate all of the name, I found that all of them are the player name. I search the name of the current target, yes, I found out the target unit name, I also found the address of the targetUnitObject, but anyway, I can't found out the relationship of them. In the data struct of unit object, I can't find any link information between them.

    I'm a newcomer, Thanks for help.

    [Classic] How to get the name of the unit.
  2. #2
    aeo's Avatar Contributor
    Reputation
    127
    Join Date
    Apr 2007
    Posts
    270
    Thanks G/R
    84/62
    Trade Feedback
    7 (100%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    The easiest way is to find the ObjectName Vtable function and call it. There are also examples of using some NameCache on here as well but im not familiar with that.

  3. #3
    Jerry_mmns's Avatar Member
    Reputation
    -2
    Join Date
    Mar 2020
    Posts
    8
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks for your replay, I have tried to find the examples of name cache, but failed. I can only find the example of PlayerNameCache.

  4. #4
    Mr.Sergey's Avatar Contributor
    Reputation
    113
    Join Date
    Apr 2009
    Posts
    195
    Thanks G/R
    5/21
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    string unitName = ReadUtf8String(ReadInt64(ReadInt64(objectBase + UnitCache) + NameOff));

    UnitCache = 0x17B8, NameOff = 0xE0 // for 36035

  5. Thanks aeo (1 members gave Thanks to Mr.Sergey for this useful post)
  6. #5
    Jerry_mmns's Avatar Member
    Reputation
    -2
    Join Date
    Mar 2020
    Posts
    8
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Mr.Sergey View Post
    string unitName = ReadUtf8String(ReadInt64(ReadInt64(objectBase + UnitCache) + NameOff));

    UnitCache = 0x17B8, NameOff = 0xE0 // for 36035
    Aha! this is the right address, I have tried!!!!
    Thanks a lot!

Similar Threads

  1. [Auto-Clicker] How to get the name of equipment by id except lua_dostring?
    By a82571249 in forum WoW Memory Editing
    Replies: 1
    Last Post: 01-13-2015, 12:19 AM
  2. How to get the last name of the account you scammed
    By anxius in forum WoW Scam Prevention
    Replies: 5
    Last Post: 06-13-2008, 05:11 PM
  3. [HOW TO] Get the Last Name of your account...!!!!
    By LAFD in forum WoW Scam Prevention
    Replies: 9
    Last Post: 02-25-2008, 07:25 PM
  4. How to get the second name of a scammed account.
    By Discto in forum WoW Scam Prevention
    Replies: 16
    Last Post: 02-14-2008, 02:10 PM
  5. HOW TO: Get on top of the Darnassus Bank [Movie Attached]
    By Kelzs in forum World of Warcraft Exploration
    Replies: 6
    Last Post: 03-01-2007, 04:13 PM
All times are GMT -5. The time now is 08:20 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