Aller au contenu
Afficher dans l'application

Une meilleure façon de naviguer. En savoir plus.

Asterobot

Une application plein écran sur votre écran d'accueil avec notifications push, badges et plus encore.

Pour installer cette application sur iOS et iPadOS
  1. Appuyez sur Icône de partage dans Safari
  2. Faites défiler le menu et appuyez sur Ajouter à l'écran d'accueil.
  3. Appuyez sur Ajouter dans le coin supérieur droit.
Pour installer cette application sur Android
  1. Appuyez sur le menu à trois points (⋮) dans le coin supérieur droit du navigateur.
  2. Appuyez sur Ajouter à l'écran d'accueil ou Installer l'application.
  3. Confirmez en appuyant sur Installer.

MapMovementRefusedEvent

  • summary: The server refusing your walk request and telling you the cell you stand on, as map coordinates.
  • area: Game.Gamemap

The server refusing your walk request and telling you the cell you stand on, as map coordinates.

Kind event · Area Game.Gamemap

The server's NO to your MapMovementRequest: you do not walk the path you asked for. Instead the server tells you the cell you stand on, as map coordinates. Exactly one of this message or MapMovementEvent answers a walk request.

WHAT TO DO WHEN YOU RECEIVE IT

1. YOU ARE ON (cell_x, cell_y). Put the character there and stop any walk you were animating or simulating - the official client stops its character's movement and idles it on that cell. Convert the coordinates to a cell id with the client's own formula:

cell_id = floor(14 * cell_x - 13 * cell_y + (cell_x - cell_y) / 2)

The pair is outside the map grid when cell_y < -cell_x, cell_y > cell_x, cell_y > 27 - cell_x or cell_y < cell_x - 39. These are the same map coordinates as the |dx| + |dy| distance used by InteractiveUseRequest. 2. DO NOT CONFIRM. There was no walk, so send no MapMovementConfirmRequest for it: the official client sends that only when a walk it was granted ends. 3. YOUR WALK STATE IS RESET. Nothing is in progress any more; you may ask to walk again (the 250 ms spacing of MapMovementRequest still applies). 4. WHAT WAS WAITING ON THE WALK: - a pending MapChangeRequest is NOT sent - you never reached the exit cell; - a pending InteractiveUseRequest IS still sent by the official client, from wherever it now stands; expect it to be refused if that is out of range.

The fight client also handles this message: it resets its own fight movement state, reading neither coordinate.

The members are the cell's map coordinates, not a cell id, and come x first: the official client passes them, in that order, to the routine that builds a map point from (x, y).

When you may send it

  • Requires context_ready inferred

Related messages

Fields

#FieldTypeMeaningYou set it
2cell_xint32X map coordinate of the cell the character stands on after the refusal. (map cell coordinate)
cell_id = floor(14 * cell_x - 13 * cell_y + (cell_x - cell_y) / 2).
The official client passes it first, then cell_y, to the routine that builds a map point.
never
3cell_yint32Y map coordinate of the cell the character stands on after the refusal. (map cell coordinate)
Off the grid when cell_y < -cell_x, cell_y > cell_x, cell_y > 27 - cell_x or cell_y < cell_x - 39.
never

Compte

Navigation

Recherche

Recherche

Configurer les notifications push du navigateur

Chrome (Android)
  1. Appuyez sur l'icône de cadenas à côté de la barre d'adresse.
  2. Tap Autorisations → Notifications.
  3. Ajustez vos préférences.
Chrome (Desktop)
  1. Cliquez sur l'icône représentant un cadenas dans la barre d'adresse..
  2. Select Paramètres du site.
  3. Find Notifications et ajustez vos préférences.