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.

ExchangeBuyRequest

  • summary: Buy a number of one item from the NPC shop you have open.
  • area: Game.Exchange

Buy a number of one item from the NPC shop you have open.

Kind request · Area Game.Exchange

Buys ExchangeBuyRequest.quantity units of one item from the NPC shop that ExchangeNpcShopStartedEvent opened.

HOW TO SEND IT

1. PICK AN ITEM FROM THE SHOP'S STOCK. Copy its ItemMinimalInformation.object_gid into ExchangeBuyRequest.object_uid. Despite its name the field carries the item's TEMPLATE id, not the unique id of an object you own. 2. CHECK THAT YOU MAY BUY IT: its ItemToSellInNpcShop.buy_criterion, and the remaining allowance when ItemToSellInNpcShop.total_buyable is positive. 3. CHECK THAT YOU CAN PAY: ItemToSellInNpcShop.price times the quantity, in kamas or in the shop's token. 4. SEND IT with the quantity you want.

WHAT CAME BACK IN THE CAPTURE

A text notification (message 252; its parameters began with the template id and ended with the quantity and the price), KamasUpdateEvent, ObjectAddedEvent with the new object, InventoryWeightEvent, ExchangeBoughtEvent, then the same kamas and weight again. A stack you already held grows through ObjectQuantityEvent instead of ObjectAddedEvent.

When you may send it

  • Requires exchange_open inferred
  • Raised by: a user action: the player buys an item in the NPC shop window, directly or by confirming the buy popup proven

Related messages

  • You will then receive ExchangeBoughtEvent observed — the success answer, after the kamas, inventory and weight updates; 2 of 2 purchases

Fields

#FieldTypeMeaningYou set it
1quantityint32How many units to buy.
Observed: 1
The client's quantity selector starts at 1.
required
2object_uidint32The template id of the item to buy, as listed in the shop's stock. (item template id)
Observed: 6765
Despite the name it is NOT a unique object id: send the entry's ItemMinimalInformation.object_gid.
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.