Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2
You last visited: Today at 13:55

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Entity Name question

Discussion on Entity Name question within the Metin2 forum part of the Popular Games category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2015
Posts: 26
Received Thanks: 8
Entity Name question

Hello everyone.

So it seems that the names of the mobs / players are kinda weird in the InstanceMap. What I mean by that is that before classes get reused, you can simply get the name from your initial class for example directly. After you get teleported without a loading screen (another floor or whatever), your name is retrieved from a heap pointer. How comes that this happen? Why isn't the whole instance reused?



See the screenshots above on what I mean. If I follow that heap, it contains data from old entities, except for my name ( it has no level, no nothing ). I've tried doing a workaround with a second class pointing to the same thing, but being a pointer ( to check if it is a pointer or not and retrieve it from there), but where the name is, random heaps appear with no reference to the name, without the name in bytes as well on dereference and this fails to work when I check for pointer as it retrieves whatever it's in that heap's first 8 bytes char* as I've limited it.

Is there any other method to get the name from the entity instance? I've looked like 15k bytes downwards for another static reference to the name, but I couldn't find any. I don't particularly want to get only my name, but to be able to check generally the instance's unit / object / whatever name. It drives me nuts for like 2 days now.

Thanks in advance.

Problem solved. I've discovered a function within another function that I can use to get the names ( GetNameByVID or something like that ). It seems that this function causes the relocation when it reuses the classes.

Can be closed. Thanks anyway <3
Aeryas is offline  
Old 03/14/2021, 18:20   #2


 
Zevion's Avatar
 
elite*gold: 906
Join Date: Sep 2009
Posts: 17,294
Received Thanks: 4,400
Great that your problem is solved now. Next time you can report your post ( ) in order to get your thread closed by a moderator.
Zevion is offline  
Thanks
2 Users
Closed Thread


Similar Threads Similar Threads
How to get Target Entity's Name?
03/16/2013 - Aion - 4 Replies
So I was playing with CE yesterday, I found most basic addresses but im having trouble finding the Target's Name. I think i found the Target's x,y,z coordinates, HP and (buff bar?) but i cant seem to find the Target's name. can someone point me in the right direction? Found it! P-> ( Game.dll+B45EA4 ) -> 254 ->3A
Read Entity Name from memory
11/07/2009 - Aion - 0 Replies
I can't seem to read a name of an entity. Using Autoit3 with Nomad mem read. Does anyone have experience with this and what to pass to the memory read and how the data is returned in order to get the string from memory? Thanks



All times are GMT +1. The time now is 13:57.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.