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






) in order to get your thread closed by a moderator. 