What's new

Repack 4.3.4 - Player's current Map Area ID stored in database?

randall

Verified Member
4
2018
0
Hello! I'm wondering if there's any way to find the player's current Map Area ID in the database?

You can find the Map Area ID of your character in-game with /script print(GetCurrentMapAreaID())

I can only find the player's Map ID (as in Eastern Kingdoms/Kalimdor/etc) in the database (characters.map) or Instance ID. Naturally, the position_x position_y position_z values are available but they do not lend easily to figuring out the Map Area ID.

Is there anywhere I can find this currently being stored? If not, would it be difficult to add this as well? Thanks for your help!
 

randall

Verified Member
4
2018
0
Thanks. I'm aware of the in-game options. I'm wondering if it would be possible to surface some of that data in the database. It would be nice to externalize their positions onto a real-time map for instance, or just to give a "who is online?" list with their location included.
 
Top