Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose the current floor id of the local player character #13

Open
agaertner opened this issue Feb 4, 2023 · 2 comments
Open

Expose the current floor id of the local player character #13

agaertner opened this issue Feb 4, 2023 · 2 comments

Comments

@agaertner
Copy link

agaertner commented Feb 4, 2023

You could help with a longstanding problem.

It is not possible to differentiate between sectors which are on top of each other when they are on different levels of a map because the current floor the player is on cannot be determined by legal means. Floor numbers (as they appear in the API) are not standardised across maps and are completely arbitrarily defined by map designers (or programmers). Example: A map that has five floors can go from floor -2 to 3 while another map with five floors might go from 0 to 5.
This is especially noticeably in maps like Tangled Depths or Verdant Brink with its abyss and canopy floor where an area detection algorithm will always assume an area on the default floor even if you are in one below or above. Unfortunately, there is not enough information that is officially exposed to manually calculate the current active floor.

EDIT: Also the current sector id and sector name would be excellent.

@agaertner agaertner changed the title Expose the current floor of the local player character Expose the current floor id of the local player character Feb 4, 2023
@knoxfighter
Copy link
Collaborator

The Mumble Link has the character position on the map as x.y.z coordinates, with that you can easily find out on which floor you are. Therefore i don't see any use to additionally expose that.

@agaertner
Copy link
Author

agaertner commented Feb 4, 2023

No, the character position is not enough to determine the current floor. Floors are arbitrarily indexed. Note that this topic/discussion is several years old and was throughtly gone over in the developer discord several times over. I have purposefully copied an explanatory paragraph in here. Please, read it.
You may also want to look at this old ArenaNet issue: arenanet/api-cdi#2 (comment)

A solution would be triangulation with custom defined landmarks which is unprecise and time-consuming todo for every map.

It would be great to just expose already available data from the UI via an DLL addon hence my humble request. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants