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.

PersistentStagingEvent

  • summary: Long-running stagings of the current map: which sequences are running and since when, so the client can join them at the right point.
  • area: Game.Roleplay

Long-running stagings of the current map: which sequences are running and since when, so the client can join them at the right point.

Kind event · Area Game.Roleplay

Lists the map stagings that are ALREADY RUNNING and since when. A staging is a scripted sequence of map effects (see StagingEvent): objects moving, materials and particles animating, sounds and music changing. A persistent one keeps running over time, so a player who arrives late must join it where it is, not restart it.

WHY IT EXISTS

StagingEvent starts ONE sequence now, at a percentage of its length. This event instead gives a start DATE: every client computes how long the stagings have been running and plays them from that point, so all players on the map see the same moment.

WHAT TO DO WHEN YOU RECEIVE IT

1. Parse PersistentStagingEvent.start_date as a date-time in UTC (the client parses it with .NET's DateTime parser, assuming universal time) and correct it with your server-clock offset. 2. elapsed = now - start_date, never below 0. 3. For EACH id of PersistentStagingEvent.sequence_ids: play that sequence of the CURRENT map starting elapsed into it, at PersistentStagingEvent.intensity_multiplier percent strength (100 = as authored). An id the map does not have is ignored. 4. If the map is not rendered yet, keep the values and play the sequences once it is. 5. SEND NOTHING BACK. A bot that does not render the map can ignore this event.

The record's bool and its second int32 are never read by the client: ignore them.

WHAT THE OFFICIAL CLIENT DOES. Its map staging service converts the date through its time service, computes the elapsed time and, for each sequence id, calls StagingManager.PlaySequenceFromStartTime(sequenceId, startTime, intensityMultiplier); the manager builds a sequencer at intensityMultiplier / 100 and starts the sequence at that time (queued until the map is rendered).

When you may send it

  • Requires context_ready inferred
  • Raised by: a player arrives on a map where scripted stagings are already running, or such a staging starts inferred

Related messages

  • Unsolicited - nothing you send causes this inferred — the server tells the client which map stagings are running; nothing requests it
  • Nothing answers it - send it and move on inferred — the client only plays the sequences; its handler sends nothing

Fields

#FieldTypeMeaningYou set it
2intensity_multiplierint32How strongly to play the sequences, as a percentage (100 = as authored). (percent)
The sequencer scales its effects by intensity_multiplier / 100.
never
3start_datestringWhen the stagings started. (date-time text, read as UTC)
The client parses it with .NET's DateTime parser and corrects it with its server-clock offset.
never
4sequence_idsrepeated int32The running staging sequences of the current map. (map staging sequence ids)
Each is played from the elapsed time since start_date.
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.