description="the client pick an item from temp inventory (temp inventory slot)" />
<leafname="ALL_TEMP"
sendto="EGS"
format=""
description="the client pick all items from temp inventory" />
<leafname="NO_TEMP"
sendto="EGS"
format=""
description="the client drop all items from temp inventory" />
<leafname="ENCHANT"
sendto="EGS"
format="u8 u16"
description="the client wants to enchant the right hand item with the current one (inventory, slot)" />
<leafname="OPEN_ROOM_INVENTORY"
sendto=""
description="EGS wants to open the user inventory" />
<leafname="CLOSE_ROOM_INVENTORY"
sendto=""
description="EGS wants to close the user inventory" />
<leafname="USE_ITEM"
sendto="EGS"
format="u16"
description="client wants to use teleport in the specified bag slot or consume an item to trigger its effect" />
<leafname="STOP_USE_XP_CAT"
sendto="EGS"
format="b"
description="client wants to stop using xp catalyser" />
</branch>
<branchname="TP">
<leafname="RESPAWN"
sendto="EGS"
format=""
description="teleport the player to his respawn point" />
<leafname="BOT"
sendto="EGS"
format="s"
description="teleport the player near the bot" />
<leafname="WANTED"
sendto="EGS"
format="s32 s32 s32" />
<leafname="DEST"/>
<leafname="DEST_WITH_SEASON"/>
<leafname="ACK"
sendto="EGS"
format="" />
<leafname="CORRECT"/>
</branch>
<branchname="DEATH">
<leafname="RESPAWN_POINT"
sendto="EGS"
format=""
description="server set the respawn points with a bool to know if the client needs to reset all known points first" />
<leafname="ASK_RESPAWN"
sendto="EGS"
format="u16"
description="client wants to respawn somewhere (index of the respawn location wanted)" />
<leafname="RESPAWN"
sendto="EGS"
format=""
description="server teleport the client to the respawn point choosen" />
</branch>
<branchname="ANIMALS">
<leafname="BEAST"
sendto="EGS"
format="u8 u8"
description="client send a beast order(beast u8, order u8)" />
<leafname="MOUNT_ABORT"
description="server refuse the client mount command" />
</branch>
<!--
<branchname="TRADE">
<leafname="NEXT_PAGE_ITEM"sendto="EGS"format="u16"description="Client ask for the next trade page"/>
<leafname="NEXT_PAGE_MISSION"sendto="EGS"format="u16"description="Client ask for the next mission page"/>
<leafname="NEXT_PAGE_MISSION_ITEM"sendto="EGS"format="u16"description="Client ask for the next mission item page"/>
<leafname="BUY"sendto="EGS"format="u16 u8"/>
<leafname="CHOOSE_ITEM_AS_MISSION_REWARD"sendto="EGS"format="u8"description="client want to do a mission to get a specific item"/>
<leafname="QUERY_PRICE"sendto="EGS"format="u16 u8"description="Client ask the sell price of an item to current shopkeeper, first param is botchat session, second is index of item in the inventory"/>
<leafname="BUY_PRICE"/>
<leafname="SELL"sendto="EGS"format="u8 u8"description="Client sell item in bag and quantity"/>
</branch>
-->
<branchname="EXCHANGE">
<leafname="INVITATION"/>
<leafname="CLOSE_INVITATION"
description="message sent to the client to force his invitation popup to close" />
<leafname="PROPOSAL"
sendto="EGS"
format="" />
<leafname="ACCEPT_INVITATION"
sendto="EGS"
format="" />
<leafname="DECLINE_INVITATION"
sendto="EGS"
format="" />
<leafname="VALIDATE"
sendto="EGS"
format="u8" />
<leafname="INVALIDATE"
sendto="EGS" />
<leafname="END"
sendto="EGS"
format="" />
<leafname="SEEDS"
sendto="EGS"
format="u64" />
<leafname="ADD"
sendto="EGS"
format="u16 u16 u16"
description="add an item from the bag(index_in_bag index_in_exchange quantity)" />
<leafname="REMOVE"
sendto="EGS"
format="u16"
description="remove an item from the exchange" />
</branch>
<branchname="DEBUG">
<leafname="WHERE"
sendto="EGS"
format=""
description="client ask server send his server position" />
<leafname="WHO"
sendto="EGS"
format="s"
description="client ask list of all clients connected to server" />
<leafname="REPLY_WHERE"
description="server send to client his server position" />
description="the client send a ping with tick game time of emission" />
<leafname="COUNTER"/>
</branch>
<!-- ****OUT OF DATE COMMANDS****
<branchname="CHEAT">
<leafname="GOD"sendto="EGS"format=""description="the client want to be unkillable."/>
<leafname="CREATE_ITEM_IN_BAG"sendto="EGS"format="u32 u16 u16"description="the client ask to create item in hand sheetId (u32) , quantity (u16) and quality (u16)"/>
<leafname="XP"sendto="EGS"format="u32 s s"description="the client want gain some XP(u32) in skill(s) and speciality(s)."/>
<leafname="MONEY"sendto="EGS"format="s32 s32 s32 s32"description="the client ask to earn some money (s32)(s32)(s32)(s32)."/>
<leafname="LEARN_ALL_BRICKS"sendto="EGS"format=""description="the client ask to learn all bricks"/>
<leafname="SET_TIME"sendto="EGS"format="f"description="the client set RyzomTime f Time"/>
<leafname="SET_DAY"sendto="EGS"format="u32"description="the client set RyzomDay"/>
<leafname="CREATE_CHARACTER"sendto="EGS"format="s u32 u32 u32 u16"description="the client send create character commande ( s name, u32 race, u32 sex, u32 role and u16 level)."/>
<leafname="LEARN_BRICK"sendto="EGS"format="u32 u16"description="the client ask learn bricks for role (u32) at level(u16)"/>
<leafname="LEARN_ALL_FABER_PLANS"sendto="EGS"format=""description="the client want to learn all faber plans"/>
<leafname="ADMIN"sendto=""format="s s"description="the client asks EGS to execute the command $s with arg $s"/>
</branch>
-->
<!-- Msg from Commands -->
<branchname="COMMAND">
<leafname="EMOTE"
sendto="EGS"
format="u32 u16"
description="client send the emote (behaviour, phrase id) to play." />
<leafname="CUSTOM_EMOTE"
sendto="EGS"
format="u32 uc"
description="client send the custom emote (behaviour, custom text) to play." />
<leafname="WHERE"
sendto="EGS"
format=""
description="client send the where command" />
<leafname="ADMIN"
sendto="EGS"
format="b s s"
description="client asks EGS to execute the command $s with arg $s" />
<leafname="ADMIN_OFFLINE"
sendto="EGS"
format="s s s"
description="client asks EGS to execute on character $s (online or offline) the command $s with arg $s" />
<leafname="REMOTE_ADMIN"
sendto="EGS"
format="u32 s"
description="server send the client a remote command" />
<leafname="REMOTE_ADMIN_ANSWER"
sendto="EGS"
format="u32 s s"
description="client send the answer of the remote command" />
<leafname="SIT"
sendto="EGS"
format="b"
description="client send to the server the sitting state" />
<leafname="AFK"
sendto="EGS"
format="b"
description="AFK command is sent to EGS" />
<leafname="RANDOM"
sendto="EGS"
format="s16 s16"
description="client asks EGS to roll a dice and tell result around" />
<leafname="GUILDMOTD"
sendto="EGS"
format="s"
description="client asks EGS to set the guild message of the day" />
description="start bot chat mission choice with the given session id" />
<leafname="START_DYNAMIC_MISSION"
sendto="EGS"
format=""
description="start bot chat dynamic mission with the given session id" />
<leafname="CONTINUE_MISSION"
sendto="EGS"
format="u8"
description="the user completed the mission, with no gift required" />
<leafname="VALIDATE_PLAYER_GIFT"
sendto="EGS"
format=""
description="the user validate the gift he just made (server aknowledged the gift to be a valid one)" />
<leafname="PICK_MISSION"
sendto="EGS"
format="u8"
description="message sent when a mission is accepted (from the static mission list)" />
<leafname="DM_CHOICE"
sendto="EGS"
format="u8 u8 u8"
description="the three choices for dynamic mission selection" />
<leafname="DM_ACCEPT"
sendto="EGS"
format=""
description="accept current dynamic mission" />
<!-- news -->
<leafname="START_NEWS"
sendto="EGS"
format=""
description="start bot chat new page" />
<!-- guild -->
<leafname="START_CREATE_GUILD"
sendto="EGS"
format=""
description="start bot chat page to create a guild" />
<!-- the bot chat window has been closed -->
<leafname="END"
sendto="EGS"
format=""
description="end chat with a bot sent to EGS" />
<leafname="FORCE_END"
description="force the end of the bot chat on the client side" />
<!-- duty related messages -->
<leafname="START_CHOOSE_DUTY"
sendto="EGS"
format="u16"
description="client ask EGS for duty list ( param is session id )" />
<leafname="NEXT_PAGE_DUTY"
sendto="EGS"
format="u16"
description="client ask EGS for next duty page ( param is session id )" />
<leafname="DUTY_APPLY"
sendto="EGS"
format="u8"
description="client apply for a duty (param is the GLOBAL index of the duty)" />
<leafname="DUTY_CANCEL_APPLY"
sendto="EGS"
format=""
description="client cancel apply for a duty" />
<!-- guild options related messages -->
<leafname="START_TRADE_GUILD_OPTIONS"
sendto="EGS"
format="u16"
description="client ask EGS for guild option list ( param is session id )" />
<leafname="BUY_GUILD_OPTION"
sendto="EGS"
format="u8"
description="client buy a guild option (param is the GLOBAL index of the option)" />
<leafname="START_GUILD_RESEARCH"
sendto="EGS"
format="u16"
description="client ask EGS for a guild research list ( param is session id )" />
<leafname="DESTROY_BUILDING"
sendto="EGS"
format=""
description="client destroy the building of his ZC" />
<leafname="DYNCHAT_OPEN"
description="server wants to dynamically chat with the client (Bot UID, Bot Name, Vector of DynString)" />
<leafname="DYNCHAT_CLOSE"
description="server wants to close dynamic chat (Bot UID)" />
<leafname="DYNCHAT_SEND"
sendto="EGS"
format="u32 u8"
description="client answer to the server dynamic dialog (Bot UID, Answer Nb)" />
</branch>
<branchname="JOURNAL">
<leafname="INIT_COMPLETED_MISSIONS"
description="a vector of text ids is sent to init the mission journal (vector(uint32) )" />
<leafname="UPDATE_COMPLETED_MISSIONS"
description="a text id is sent to add a mission title to the mission journal (uint32)" />
<leafname="MISSION_ABANDON"
sendto="EGS"
format="u8"
description="the client wants to abandon a mission (mission same as in database)" />
<leafname="GROUP_MISSION_ABANDON"
sendto="EGS"
format="u8"
description="the client wants to abandon a team mission (mission same as in database)" />
<leafname="ADD_COMPASS"
description="EGS adds a compass target for no list missions. Params X, Y, name. If the client already has the name, the coords are replaced" />
<leafname="ADD_COMPASS_BOT"
description="Same for bots. Params X, Y, name, bot_datasetid" />
<leafname="REMOVE_COMPASS"
description="EGS adds a compass target for no list missions. Params name" />
<leafname="REMOVE_COMPASS_BOT"
description="Same for bots. Params name, bot_dataseetid" />
</branch>
<!-- String Manager related message -->
<branchname="STRING_MANAGER">
<leafname="SET_LANGUAGE"
description="The client send the language code to use for this session." />
<leafname="PHRASE_SEND"
description="The IOS send the prepared phrase to the client." />
<leafname="STRING_RQ"
description="the client ask the string manager for an unknow string" />
<leafname="STRING_RESP"
description="The IOS return the requested string yo the client." />
<leafname="RELOAD_CACHE"
description="The IOS send it's initial cache time stamp or a new one at run time." />
</branch>
<!-- Guilds related message -->
<branchname="GUILD">
<leafname="CREATE"
sendto="EGS"
format="uc u64 uc"
description="client wants to create a guild (name of new guild, guild icon descriptor, description of the guild)" />
<leafname="ABORT_CREATION"
description="server forces the end of a guild create session" />
<leafname="OPEN_GUILD_WINDOW"
sendto=""
format=""
description="the client just entered a guild, EGS ask the client to open the guild window" />
<leafname="INVITATION"
sendto="EGS"
format="" />
<leafname="ACCEPT_INVITATION"
sendto="EGS"
format="" />
<leafname="REFUSE_INVITATION"
sendto="EGS"
format="" />
<leafname="JOIN_PROPOSAL"
description="invitation sent to client (uint32 textId)" />
<leafname="SET_GRADE"
sendto="EGS"
format="u16 u8 u8"
description="client change a member grade p1 is the member, p2 is the grade ( see GUILD_GRADES enum ), p3 is the state counter" />
<leafname="SET_LEADER"
sendto="EGS"
format="u16 u8"
description="client leader in its guild wants to set the new leader specifying the name of the new leader p1 is the member, p2 is the state counter" />
<leafname="KICK_MEMBER"
sendto="EGS"
format="u16 u8"
description="client (lead,ho,of) wants to kick member specifying its index. Last param is the counter" />
<leafname="TELEPORT"
sendto="EGS"
format="u16"
description="client wants to teleport somewhere in guild flats" />
<leafname="ASCENSOR"
description="Server requests the launch of ascensor interface" />
<leafname="FIRST_ASCENSOR_PAGE"
sendto="EGS"
format="u16"
description="Client ask for the first ascensor page specifying the session id" />
<leafname="NEXT_ASCENSOR_PAGE"
sendto="EGS"
format="u16"
description="Client ask for the next ascensor page specifying the session id" />
<leafname="LEAVE_ASCENSOR"
description="Server requests the closing of ascensor interface" />
<leafname="QUIT"
sendto="EGS"
format=""
description="Client wants to quit its guild" />
<!-- About the player -->
<leafname="SET_PLAYER_TITLE"
sendto="EGS"
format="u8"
description="the client inform the server it has changed its character title (u8=new title(ECharacterTitle))" />
<leafname="UPDATE_PLAYER_TITLE"
description="the server update some reserved titles" />
<leafname="USE_FEMALE_TITLES"
format="b"
description="The EGS sends to client whether female titles are used" />
<!-- guild inventory management -->
<leafname="PUT_MONEY"
sendto="EGS"
format="u64 u16"
description="put money in guild warehouse" />
<leafname="TAKE_MONEY"
sendto="EGS"
format="u64 u16"
description="take money from guild warehouse" />
<leafname="OPEN_INVENTORY"
sendto=""
format=""
description="open the guild inventory" />
<leafname="CLOSE_INVENTORY"
sendto=""
format=""
description="close the guild inventory" />
</branch>
<branchname="OUTPOST">
<leafname="GIVEUP_OUTPOST"
sendto="EGS"
format="u32"
description="Give up an outpost (outpostSHEET)" />
<!-- Select an outpost from a BotObject -->
<leafname="SELECT"
sendto="EGS"
format="u32"
description="Select an outpost to display its state (outpostSHEET). = Fill OUTPOST_SELECTED DB" />
<leafname="UNSELECT"
sendto="EGS"
format=""
description="Unselect any outpost display" />
<!-- War declaration -->
<leafname="DECLARE_WAR_START"
sendto="EGS"
format="u32 u8"
description="The User try to Declare War to the outpost (outpostSHEET, startHourForAttackPeriod)" />
<leafname="DECLARE_WAR_ACK"
description="The server answer to the client (bool ok, uint32 textId, uint32 resultStartAttackTime)" />
<leafname="DECLARE_WAR_VALIDATE"
sendto="EGS"
format="u32 u8 u32"
description="The user confirms its Declare war (outpostSHEET, startHourForAttackPeriod, resultStartAttackTimeForCheck). NB: still can fail = sysinfo" />
<!-- Defender Setup -->
<leafname="SET_DEF_PERIOD"
sendto="EGS"
format="u32 u8"
description="The defender changes the defense period of one of its Outpost (outpostSHEET, start hour for defense period)" />
<!-- squads management -->
<leafname="SET_SQUAD"
sendto="EGS"
format="u32 u8 u8"
description="Set a training squad in a slot (outpostSHEET, slot, squadNUMBER_IN_SQUAD_SHOP_DB)" />
<leafname="SET_SQUAD_SPAWN"
sendto="EGS"
format="u32 u8 u8"
description="Set spawn zone of a training squad (outpostSHEET, slot, spawn_index)" />
<leafname="INSERT_SQUAD"
sendto="EGS"
format="u32 u8"
description="Insert a (default) training squad BEFORE the slot (outpostSHEET, slot)" />
<leafname="REMOVE_SQUAD"
sendto="EGS"
format="u32 u8"
description="Remove a training squad in a slot (outpostSHEET, slot)" />
<leafname="SET_SQUAD_CAPITAL"
sendto="EGS"
format="u32 u32"
description="Set the War Capital of the outpost (outpostSHEET, money)" />
<!-- pvp and engagement -->
<leafname="CHOOSE_SIDE"
description="participate or not in outpost, choose side if participate (b playerGuildInConflict, b playerGuildIsAttacker, u32 defNameId, u32 attNameId)" />
<leafname="SIDE_CHOSEN"
sendto="EGS"
format="b u8"
description="user chooses to participate or not in outpost conflict and on which side" />
<leafname="BANISH_PLAYER"
sendto="EGS"
format=""
description="user want to banish the player he's targeting" />
<leafname="BANISH_GUILD"
sendto="EGS"
format=""
description="user want to banish the guild of the player he's targeting" />
<!-- buildings management -->
<leafname="BUY_BUILDING"
sendto="EGS"
format="u8 u8 u8"
description="Buy a new building (version, outpostnb, line)" />
<leafname="DESTROY_BUILDING"
sendto="EGS"
format="u8 u8 u8 u8"
description="Destroy a building (version, outpostnb, list, line)" />
</branch>
<!-- SBricks related message -->
<branchname="PHRASE">
<!-- if the dest known sentence is memorized on server (memorized or DefaultAction/NextAction) it should be unmemorized -->
<leafname="DELETE"
sendto="EGS"
format="u16"
description="the client delete a Known phrase" />
<leafname="LEARN"/>
<!-- "the client learn a phrase, replacing old one" (phraseId $u16 / phraseDesc $CSPhraseCom)-->
<leafname="MEMORIZE"/>
<!-- "the client Memorize a known phrase (MemoryTypeId $u8/ MemorySlotId $u8/ PhraseId $u16/ Phrase Desc $CSPhraseCom)" -->
<leafname="FORGET"
sendto="EGS"
format="u8 u8"
description="the client forget a Memorized phrase (MemoryTypeId / MemorySlotId)" />
<leafname="EXECUTE"
sendto="EGS"
format="u8 u8"
description="the client execute a Memorized phrase (MemoryTypeId / MemorySlotId)" />
<leafname="EXECUTE_CYCLIC"
sendto="EGS"
format="u8 u8"
description="the client execute set a cyclic Memorized phrase (MemoryTypeId / MemorySlotId)" />
<!-- the server upload all Known Phrases and All Memorized Phrases to the client: vector<CSPhraseSlot> / vector<CSPhraseMemorySlot> -->
<!-- BotChat -->
<leafname="BUY"
sendto="EGS"
format="u8 u16"
description="the client buy a botChat phrase (indexInBotChat, phraseId)" />
<leafname="CONFIRM_BUY"/>
<!-- server To client: confirm the buy of phraseId (phraseId $u16 / ok $bool) -->
<leafname="BUY_SHEET"
sendto="EGS"
format="u32 u16"
description="the client buy a botChat phrase (phrase SheetId, phraseId). Nb: can be a charac phrase" />
<!-- Link -->
<leafname="CANCEL_LINK"
sendto="EGS"
format="u8 u8"
description="the client cancel a link $link_id/$counter" />
<!-- Cancel phrases -->
<leafname="CANCEL_TOP"
sendto="EGS"
format=""
description="the client cancel it's top phrase" />
<leafname="CANCEL_ALL"
sendto="EGS"
format=""
description="the client cancel all its phrases" />
<leafname="CRISTALIZE"
sendto="EGS"
format="u8 u8"
description="the client cristalize a Memorized phrase (MemoryTypeId / MemorySlotId)" />
<leafname="EXEC_CYCLIC_ACK"
description="server send an ack on cyclic phrase execution :$b $u8" />
<leafname="EXEC_NEXT_ACK"
description="server send an ack on 'next' phrase execution :$b $u8" />
</branch>
<branchname="ITEM_INFO">
<leafname="GET"
sendto="EGS"
format="u16"
description="the client ask for a special item info in a inventory slot: inventoryId(u8HIGH)/slotId(u8LOW)" />
<leafname="SET"
description="Server answer to the previous message. A CItemInfos class is filled" />
<leafname="REFRESH_VERSION"
description="Like set but contains only the version, no info required" />
</branch>
<branchname="MISSION_PREREQ">
<leafname="GET"
sendto="EGS"
format="u8"
description="the client ask for prerequisit infos: slotId" />
<leafname="SET"
description="Server answer to the previous message. A CPrerequisitInfos class is filled" />
</branch>
<branchname="MISSION">
<leafname="ENTER_CRITICAL"
sendto="EGS"
format="b"
description="client answer yes/no to enter request (bool)" />
<leafname="ASK_ENTER_CRITICAL"
description="EGS ask player if he wants to enter a mission critical part, player must answer wihtin 1 minute" />
<leafname="CLOSE_ENTER_CRITICAL"
description="EGS tell client to close the 'enter critical' proposal window" />
<leafname="WAKE"
sendto="EGS"
format="u8"
description="client wakes up for mission $u8 (mission same as in database)" />
<leafname="GROUP_WAKE"
sendto="EGS"
format="u8"
description="client wakes up for group mission $u8 (mission same as in database)" />
</branch>
<branchname="DUEL">
<leafname="ASK"
sendto="EGS"
format=""
description="client wants to duel its target" />
<leafname="ACCEPT"
sendto="EGS"
format=""
description="client accept a duel" />
<leafname="REFUSE"
sendto="EGS"
format=""
description="client refuses a duel" />
<leafname="ABANDON"
sendto="EGS"
format=""
description="client abandon a duel" />
<leafname="INVITATION"
description="invitation sent to client (uint32 textId)" />
<leafname="CANCEL_INVITATION"
description="cancel invitation popup (no param)" />
</branch>
<branchname="PVP_CHALLENGE">
<leafname="ASK"
sendto="EGS"
format=""
description="client wants to duel its target" />
<leafname="ACCEPT"
sendto="EGS"
format=""
description="client accept a duel" />
<leafname="REFUSE"
sendto="EGS"
format=""
description="client refuses a duel" />
<leafname="ABANDON"
sendto="EGS"
format=""
description="client abandon a duel" />
<leafname="INVITATION"
description="invitation sent to client (uint32 textId)" />
<leafname="CANCEL_INVITATION"
description="cancel invitation popup (no param)" />
</branch>
<!-- ****OUT OF DATE COMMANDS****
<branchname="PVP_VERSUS">
<leafname="CLAN"sendto="EGS"format="u8"description="player choose a clan for this pvp zone, u8 = clan number, 0 = neutral, 1 clan 1, 2 clan 2"/>
<leafname="CHOOSE_CLAN"description="server ask to client choose a clan for pvp versus area where character enter: EGSPD::CPeople::TPeople clan1, clan2"/>
</branch>
-->
<branchname="PVP">
<leafname="PVP_TAG"
sendto="EGS"
format="u8"
description="client want set PVP_TAG to TRUE or FALSE" />
<leafname="SET_NEUTRAL_ALLEGIANCE"
sendto="EGS"
format="u8"
description="client want set allegiance to neutral from indetermined status (u8 = PVP_CLAN::TPVPClan (game_share/pvp_clan.h))" />
<leafname="SET_NEUTRAL_ALLEGIANCE_GUILD"
sendto="EGS"
format="u8"
description="client want set allegiance to neutral from indetermined status for his GUILD (u8 = PVP_CLAN::TPVPClan (game_share/pvp_clan.h))" />
</branch>
<branchname="PVP_FACTION">
<leafname="PUSH_FACTION_WAR"
format="u8 u8"
description="a new faction war starts" />
<leafname="POP_FACTION_WAR"
format="u8 u8"
description="a faction ends" />
<leafname="FACTION_WARS"
description="a faction ends" />
</branch>
<branchname="ENCYCLOPEDIA">
<leafname="UPDATE"
description="server update the encyclopedia (see msg_encyclopedia.cpp in game_share for the message format)" />
<leafname="INIT"
description="server sends the whole encyclopedia to the client" />