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.

ObjectUseRequest

  • summary: Uses one unit of an inventory item that needs no target (bread, potion, recall potion...).
  • area: Game.Inventory

Uses one unit of an inventory item that needs no target (bread, potion, recall potion...).

Kind request · Area Game.Inventory

Uses ONE unit of an item that acts on the character itself.

HOW TO SEND IT

1. Set object_uid to the item's ObjectItem.uid from your inventory (not its template id, ObjectItem.gid). 2. Send it only for one unit and only for an item that needs no target. The client picks another request otherwise: - more than one unit at once: ObjectUseMultipleRequest (uid + quantity); - an item used on a cell or on another character: the use-on-cell / use-on-character requests, sent after the player picks the target. Those requests have no signature yet. 3. Do not send it while your character is playing an animation: the client holds the request until the animation ends, then sends it. 4. Watch the item's quantity: it drops by one (or the item is deleted) when the use succeeds.

When you may send it

  • Requires character_loaded inferred
  • Raised by: the player uses an item from the inventory or the shortcut bar, one unit at a time, on no target proven

Related messages

  • Reply not yet recovered: the server answers with the item's new quantity or its deletion (see ObjectQuantityEvent / ObjectDeletedEvent) and with whatever the item does (life, stats, teleport). A refusal comes as an object error event that has no signature yet, so treat the use as unconfirmed until the quantity changes.

Fields

#FieldTypeMeaningYou set it
1object_uidint32The inventory item to use: its uid, as in ObjectItem.uid. (item uid)required

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.