Coding

From Anarchy Online Wiki [AOWiki]
Revision as of 19:50, 10 May 2011 by Loso (talk | contribs)

Anarchy Online Chat Protocol

Anarchy Online has its own chat protocol for communicating between the Chat Client and the Chat Servers. The game client has its own chat client for communication with the chat server and third party programs created to interact with the chat server or provide automated functions are called Bots

AO Chat Packet Types

Packet names are from a unofficial attempt at standardizing the names to make it easier for developers to work on other projects. The standardization for the packet names was discussed in a Thread on AODevs

Bi-Directional Types - ToServer

  • 21: CharacterRequest
  • 30: PrivateMessage
  • 40: FriendUpdate
  • 41: FriendRemove
  • 50: PrivateChannelInvite
  • 51: PrivateChannelKick
  • 57: PrivateChannelMessage
  • 60: ChannelUpdate
  • 65: ChannelMessage
  • 100: Ping


Bi-Directional Types - ToClient

  • 21: CharacterReply
  • 30: PrivateMessage
  • 40: FriendUpdate
  • 41: FriendRemove
  • 50: PrivateChannelInvite
  • 51: PrivateChannelKick
  • 57: PrivateChannelMessage
  • 60: ChannelUpdate
  • 65: ChannelMessage
  • 100: Ping

To Client

  • 0: LoginSeed
  • 5: LoginOk
  • 6: LoginError
  • 7: CharacterList
  • 10: CharacterUnknown
  • 20: CharacterUpdate
  • 34: VicinityMessage
  • 35: BroadcastMessage
  • 36: SimpleSystemMessage
  • 37: SystemMessage
  • 55: PrivateChannelCharacterJoin
  • 56: PrivateChannelCharacterLeave
  • 61: ChannelLeave

To Server

  • 2: LoginRequest
  • 3: LoginSelect
  • 52: PrivateChannelAccept
  • 53: PrivateChannelLeave
  • 54: PrivateChannelKickAll
  • 120: ChatCommand