Skip to content

NewsMessage format

michal-kapala edited this page Apr 9, 2024 · 4 revisions

General format

Quazal::NewsMessage.m_body holds the message data as XML attributes:

<news> 
    <message 
        unkattr=""
        unkattrii=""
        type="73498"
        icon="11"
        oasis="73498"
        pid="4660"
        time="insert a 32-bit timestamp here"
        <!--Message-specific attributes-->
    />
    <!--Optional further messages-->
<news/>

Note that "type" attribute is factually used by the game as Oasis ID. The unknown attributes are necessary.

Messages

Oasis IDs

All available messages:

Type Oasis ID Message
System 73498 Welcome to GRO
Friend 73499 Avatar change
Friend 73500 Level-up
Friend 73501 Achievement completion
Friend 73502 Mission completion
Friend 73503 Weapon level-up
Persona 73504 Kills scored
Persona 73505 Headshots scored
Persona 73506 Reward received

AI.dll translates Oasis IDs if the message is related to the player themselves:

Friend Oasis ID Persona Oasis ID Message
73499 73861 Avatar change
73500 73855 Level-up
73501 73862 Achievement completion
73502 73863 Mission completion
73503 73856 Weapon level-up

Payloads

Below are example XML message bodies for given message types.

The time is expressed as a date in %u-%u-%u %u:%u:%f format.

Welcome to GRO

<news> 
    <message 
        unkattr=""
        unkattrii=""
        type="73498"
        icon="11"
        oasis="73498"
        pid="4660"
        time="2024-04-09 17:13:27"
    />
<news/>
Clone this wiki locally