My colleagues and I try to use the API to track user actions. We use mod-basic-player-listener as the base to track which map the user is currently moving, and we found a problem, not sure if it is a bug.
Some maps can correctly get the map ID as we set in the mapmaker, but some cannot. We use this parameter to get the map ID, and the log is shown in the picture.
context.player.map
log:
mapmaker:
How should we get the correct map ID? or may be somewhere we should set?
Thanks a lot!
sorry about this! Didn’t mean to make it hard to find map ids
We’ll try to think of a nice way to expose mapIds from mapmaker or something, but for now (and this is silly, sorry), you can get map ids by inspecting game.completeMaps in your browser console