[Retail] How to get RealmName? menu

User Tag List

Results 1 to 8 of 8
  1. #1
    nfgstar's Avatar Member
    Reputation
    1
    Join Date
    Oct 2020
    Posts
    6
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Retail] How to get RealmName?

    9.0.5 .37899
    NameCache 0x317F810
    curPlayerName 0x34BE158

    I got playernames, how to get their RealmName? I want the full name (playername-realmname).
    not function call, just offset.

    thx.
    Last edited by nfgstar; 03-14-2021 at 03:45 AM.

    [Retail] How to get RealmName?
  2. #2
    blueDot's Avatar Member CoreCoins Purchaser
    Reputation
    1
    Join Date
    Mar 2021
    Posts
    5
    Thanks G/R
    5/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey

    I dont understand. You want to see to which realm your logged in? Simply scan the memory for the realm name.

    Or you got a target players name but dont know the realm? How could that happen?
    Last edited by blueDot; 03-14-2021 at 04:04 AM.

  3. #3
    nfgstar's Avatar Member
    Reputation
    1
    Join Date
    Oct 2020
    Posts
    6
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by blueDot View Post
    Hey
    I have no Retail installed at the moment but wouldnt a simple memory scan for the Realm-String solve your issue?
    Yes , I wrote a function scan memory byte by byte around playername, not found. use CE can find an address looks right, but it's dynamic. I can't find the data structure.

    thanks for reply!

  4. #4
    nfgstar's Avatar Member
    Reputation
    1
    Join Date
    Oct 2020
    Posts
    6
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by blueDot View Post
    Hey

    I dont understand. You want to see to which realm your logged in? Simply scan the memory for the realm name.

    Or you got a target players name but dont know the realm? How could that happen?

    I did not find the offset of curPlayer 's realmname. I scaned memory around curPlayerName(0x34BE15.Its the first question.
    Second: I want to scan all players around me and list their full name, I think realmname should stored in NameCache nearby playername, but didn't find...

  5. #5
    Jadd's Avatar 🐸 Premium Seller
    Reputation
    1511
    Join Date
    May 2008
    Posts
    2,432
    Thanks G/R
    81/333
    Trade Feedback
    1 (100%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    You need to obtain the "virtual server address" from the player. In Classic you can use CGPlayerData::virtualPlayerRealm descriptor, in retail it will exist directly in the player structure. You can identify players from different realms using this value, or if you really need the name then you can query it via. g_realmDBCache similar to how you use g_nameDBCache (or "NameCache" as you call it.)

    I don't work on Wow, so don't ask me about the latest offsets.

  6. #6
    Icesythe7's Avatar Contributor
    Reputation
    230
    Join Date
    Feb 2017
    Posts
    168
    Thanks G/R
    10/111
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    imo just string search the lua function "UnitName" (which returns server and name) and then call the functions it calls
    API UnitName | WoWWiki | Fandom

  7. #7
    Jadd's Avatar 🐸 Premium Seller
    Reputation
    1511
    Join Date
    May 2008
    Posts
    2,432
    Thanks G/R
    81/333
    Trade Feedback
    1 (100%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Icesythe7 View Post
    imo just string search the lua function "UnitName" (which returns server and name) and then call the functions it calls
    API UnitName | WoWWiki | Fandom
    I think all these functions are pretty well obfuscated now and will flag you based on "wrong" caller addresses.

  8. #8
    Icesythe7's Avatar Contributor
    Reputation
    230
    Join Date
    Feb 2017
    Posts
    168
    Thanks G/R
    10/111
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Jadd View Post
    I think all these functions are pretty well obfuscated now and will flag you based on "wrong" caller addresses.
    Just looked they did infact protect that one I didn't figure they would have

Similar Threads

  1. [Retail] How to get GameObjectFlags & GameObjectDynamicLowFlags?
    By cxmplexwow_ in forum WoW Memory Editing
    Replies: 13
    Last Post: 06-12-2023, 10:05 AM
  2. How to get to Emerald Dream on retail 3.3.2-3.3.5 [OUT DATED]
    By shorstuff910mc in forum World of Warcraft General
    Replies: 39
    Last Post: 08-22-2012, 05:38 AM
  3. How to get to the outlands on a live blizzard server
    By Matt in forum World of Warcraft Exploits
    Replies: 4
    Last Post: 06-16-2006, 05:27 PM
  4. How to get behind Orgrimmar (pics)
    By Matt in forum World of Warcraft Guides
    Replies: 16
    Last Post: 05-03-2006, 01:33 AM
  5. How to get rid of 1.10 patch?
    By Bossman4 in forum World of Warcraft General
    Replies: 1
    Last Post: 05-02-2006, 01:36 AM
All times are GMT -5. The time now is 08:51 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