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.

FightStartingEvent

  • summary: Opens the fight the character is entering: fight id, fight type, who attacked, whether a boss is in it and which monsters take part.
  • area: Game.Fight.Preparation

Opens the fight the character is entering: fight id, fight type, who attacked, whether a boss is in it and which monsters take part.

Kind event · Area Game.Fight.Preparation

The first fight message of a fight. It tells you which fight you are in and how it started. It arrives once per fight, while the fight is still in its placement phase.

WHAT TO DO WHEN YOU RECEIVE IT

1. Start a new fight record. Forget the previous fight's state: fighters, turn order, placement cells. Key the record by FightStartingEvent.fight_id. 2. Store FightStartingEvent.fight_type (FightType). It decides what the rest of the fight looks like (PvM, arena, challenge, ...). 3. Store FightStartingEvent.attacker_id. When you attacked a monster group it is your own character id. 4. Read FightStartingEvent.monsters if you need to know what you are fighting: it lists the monster template ids taking part, before any fighter is shown. 5. SEND NOTHING BACK. No handler of this message builds a request. 6. Wait for FightJoinEvent, which comes right behind it and says whether you are placing, ready-checking or already fighting.

WHAT THE CLIENT DOES. Its fight-state object takes the fight type (through the client's own fight-type conversion), the attacker id and, on builds from 3.5 on, the fight id. It sets a boss flag from FightStartingEvent.contain_boss and walks FightStartingEvent.monsters, checking each id against one monster race of the game data to set a second flag.

THE DEFENDER. The canonical message also carries the defender id - the attacked entity, the monster group id when you attack monsters (the same negative id you put in AttackMonsterRequest.monster_group_id). The client never reads it, so it is named here only on builds where it is the one int64 left besides the attacker; a build that pads the message with another int64 leaves it unnamed.

OBSERVED (one capture, PvM): attacker = own character id, defender = the attacked monster group's id (-20002), fight_type = PvM, monsters = the two monster template ids of the group, fight_id = 3089, the id the fight team updates (FightTeamUpdateEvent) for the same fight had carried a few milliseconds earlier. It arrived about 30 ms after ContextReadyRequest for the fight map, then FightJoinEvent and one FightFighterShowEvent per fighter followed in the same burst.

IT IS NOT ONLY AN ANSWER TO YOUR ATTACK. It follows AttackMonsterRequest when you attack a monster group, but it also opens the fight when another player attacks you or when you join a fight on the map (FightJoinRequest).

PADDING. Builds add decoys: a repeated string (3.7), a nested message (3.4), a third int64 (3.6.12.16). Unnamed members are padding; leave them unset.

When you may send it

  • Requires context_ready inferred

Related messages

Fields

#FieldTypeMeaningYou set it
1attacker_idint64Id of the entity that started the fight: your own character id when you attacked. (entity id)
The one int64 the client reads and keeps; the unobfuscated beta handler names it attackerId.
never
3monstersrepeated int32Template ids of the monsters taking part in the fight. (monster template id)
Observed: [4046, 4047]
The client walks the list and checks each id against one monster race of the game data.
never
4defender_idint64Id of the entity that was attacked: the monster group id when you attacked monsters. (entity id)
Observed: -20002
The client never reads it. Named only where it is the one int64 left beside the attacker; padded builds leave it unnamed.
never
5contain_bossboolTrue when a boss monster takes part in the fight.never
6fight_typeFightTypeThe kind of fight that is starting.
A FightType; the client converts it to its own fight-type value and keeps it for the whole fight.
never
7fight_idint32Id of the fight, the key every later message about this fight refers to. (fight id)
Observed: 3089
Stored by the client from 3.5 on; older handlers ignore it.
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.