Skip to main content

Bot

Bot placement, pickup, configuration, and skill assignment.

C→S 1592 - BotPlace

Nitro: BOT_PLACE

Source: BotPlaceEvent, BotPlaceComposer

Places a bot from the user's inventory into the room at the specified tile coordinates.

Body:
readInt: int
x: int

C→S 3323 - BotPickup

Nitro: BOT_PICKUP

Source: BotPickupEvent, BotRemoveComposer

Picks up a bot from the room and returns it to the user's inventory.

Body: (empty)

C→S 1986 - BotSettings

Nitro: BOT_CONFIGURATION

Source: BotSettingsEvent, RequestBotCommandConfigurationComposer

Requests the current command configuration for a bot, sent when the owner opens the bot settings panel.

Body:
botId: int

C→S 2624 - BotSaveSettings

Nitro: BOT_SKILL_SAVE

Source: BotSaveSettingsEvent, BotSkillSaveComposer

Body:
botId: int
settingId: int
messageString: string
name: string
motto: string

Saves updated bot settings (command data, name, motto) for a specific bot skill.

S→C 3684 - AddBot

Nitro: BOT_RECEIVED

Source: AddBot, BotReceivedMessageEvent

FieldTypeNotes
botIdintID of the received bot
botNamestringBot's display name
botMottostringBot's motto
genderstringBot gender character ("m" or "f")
figurestringBot's Habbo figure string
unknownbooleanAlways true

Notifies the client that a bot has been placed in the room and delivers its display data.


S→C 1352 - AddBotToInventory

Nitro: ADD_BOT_TO_INVENTORY Source: AddBotComposer, BotAddedToInventoryEvent

FieldTypeNotes
bot.idintBot item ID
bot.namestringBot name
bot.mottostringBot motto
bot.genderstringBot gender ("M" or "F")
bot.figurestringBot figure string
openInventorybooleanWhether to automatically open the bot inventory

Delivers a bot item to the user's bot inventory after it was picked up from a room.

S→C 233 - UserBotRemove

Nitro: USER_BOT_REMOVE, REMOVE_BOT_FROM_INVENTORY Source: RemoveBotComposer, BotRemovedFromInventoryEvent

FieldTypeNotes
itemIdintBot item ID removed from inventory

Notifies that a bot has been removed from the user's inventory.

S→C 1618 - BotCommandConfiguration

Nitro: BOT_COMMAND_CONFIGURATION Source: BotSettingsComposer, BotCommandConfigurationEvent

FieldTypeNotes
botIdintBot room unit ID
commandIdintBot command type ID
datastringCommand-specific configuration data string

Delivers bot command configuration data (command type and settings string) for the bot settings panel.

S→C 296 - BotForceOpenContextMenu

Nitro: BOT_FORCE_OPEN_CONTEXT_MENU Source: BotForceOpenContextMenuComposer, BotForceOpenContextMenuEvent

FieldTypeNotes
botIdintRoom unit ID of the bot whose context menu should be opened

Forces the client to open the context menu for a specific bot.

S→C 639 - BotError

Nitro: BOT_ERROR Source: BotErrorComposer, BotErrorEvent

FieldTypeNotes
errorCodeintBot error code

Notifies the client that a bot operation failed, delivering an error code.