PacketDocumentation

From GameRevision Wiki

Jump to: navigation, search

This page is currently under construction.

Note that hex values are given in LittleEndian format, and some Headers may be out of date.

Please add packets using the following format: User:Rusty/PacketFormatTemplate.

Introduction

This packet documentation is (and will become) the gathered data from the old GWLP project documentation files, the current GWLP:R project, as well as various sources from GameRevision and other boards.

This page does not contain any packet specific info. Visit the packet-wikipages instead. (See "Packet Overview" for each server)

Contents


File Server

Packet Overview

Client -> Server
Header Description
Int Hex Database Name Descriptive Name
0241 F100 FS_CONNECT FileServer:RequestFileHashes
1010 F203 FS_REQUEST FileServer:RequestFiles
2034 F207 FS_COMPLETE FileServer:FileCompleted
2035 F307 FS_REQUEST_MORE FileServer:RequestMoreFileParts
Server -> Client
Header Description
Int Hex Database Name Descriptive Name
0753 F102 FS_UPDATE FileServer:FileHashResponse
1266 F204 FS_NOTFOUND FileServer:FileNotFound
1522 F205 FS_DETAILS FileServer:FileDetails
1778 F206 FS_RESPONSE FileServer:FileResponse
1779 F306 FS_RESPONSE_MORE FileServer:MoreFilePartsResponse


General Information

These are packets send to and from the file server. These usually contain info about recent updates within GuildWars and data of the files that are being downloaded.


Special Processes

Game Updates

The client is forced to load new game content within the very first part of the client->server connection, which follows these steps:

-> Client: Opens fileserver connection by FileServer:RequestFileHashes
--> Server: Responds with a FileServer:FileHashResponse packet that contains the version numbers of the most important GW.dat files, as well as the GW.exe
-> Client: Checks the version numbers with the local ones. If anything differs it sends a FileServer:RequestFiles packet
--> Server: Responds either with FileServer:FileNotFound or FileServer:FileDetails which is followed by FileServer:FileResponse

Repeat until all files are downloaded completely:

-> Client: If the requested file was found but the data send where just a part of the file, FileServer:RequestMoreFileParts is send.
--> Server: Responds with FileServer:MoreFilePartsResponse
[ Client: If a file has been downloaded, FileServer:FileCompleted is send ]

Login Server

Packet Overview

Client -> Server
Header Description
Int Hex Database Name Descriptive Name
00000 0000 KEEP_ALIVE LoginServer:KeepAlive
00001 0100 COMPUTER_USER LoginServer:ComputerUser
00002 0200 LS_COMPUTER_HASH LoginServer:ComputerHash
00003 0300 CREATE_ACCOUNT LoginServer:CreateAccount
00004 0400 ACCOUNT_LOGIN LoginServer:AccountLogin
00007 0700 CHARACTER_DELETE LoginServer:DeleteCharacter
00009 0900 LAST_CHARACTER_INFO LoginServer:LastPlayedCharacterInfo
00010 0A00 CHARACTER_PLAYNAME LoginServer:ChangeSelectedCharacter
00013 0D00 ACCOUNT_LOGOUT LoginServer:AccountLogout
00014 0E00 EXIT_GAME LoginServer:ExitGame
00014 0E00 CHARACTER_PLAYINFO LoginServer:PlaySelectedCharacter
00015 0F00 LS_COMPUTER_HARDWARE LoginServer:ComputerHardwareInfo
00028 1C00 VERIFY_SERIAL LoginServer:VerfySerial
00033 2100 ACCOUNT_DATA_FROM_CC LoginServer:ClientAccountDataLoopback
00035 2300 LS_CLIENT_ID LoginServer:ClientID (?)
00041 2900 PLAYCREATE_CHARACTER LoginServer:EnterCharacterCreation
00053 3500 LS_REQUEST_RESPONSE LoginServer:RequestResponse
01024 0004 CLIENT_VERSION LoginServer:ClientVersion
16896 0042 CLIENT_SEED LoginServer:ClientSeed
Server -> Client
Header Description
Int Hex Database Name Descriptive Name
0000 0000 P12B_Reply LoginServer:P12BReply (?)
0001 0100 COMPUTER_INFO_REPLY LoginServer:ComputerInfoReply
0003 0300 STREAM_TERMINATOR LoginServer:StreamTerminator (a.k.a. ErrorMessage)
0007 0700 CHARACTER_INFO LoginServer:CharacterInfo
0009 0900 REFER_TO_GAMESERV LoginServer:GameServerDispatch
0010 0A00 ACCOUNT_FRIENDSLIST_ENTRY LoginServer:AccountFriendlistEntry
0012 0C00 CHAT_WHISPER LoginServer:GlobalChatWhisper
0017 1100 ACCOUNT_PERMISSIONS LoginServer:AccountPermissions
0020 1400 ACCOUNT_FRIENDSLIST_END LoginServer:AccountFriendlistEnd
0021 1500 SERIAL_KEY_INFORMATION LoginServer:SerialKeyInformation
0022 1600 ACCOUNT_DATA LoginServer:AccountData
0038 2600 LS_SEND_RESPONSE LoginServer:SendResponse
5633 0116 SERVER_SEED LoginServer:ServerSeed

General Information

These are packets send to and from the login server. These usually contain general info about the user's account, like unlocked campaigns or the chars that are linked to the account.


Special Processes

Account Creation

Currently unkown.

Login

To do.

Play / Logout And Play Again / Create A Character

To do.

Global Chat Messages

To do.

Game Server

Packet Overview

Client -> Server
Header Description
Int Hex Database Name Descriptive Name
00002 0200 LOGOUT GameServer:LogOut
00004 0400 REQUEST_SERVER_IM_HERE GameServer:RequestServerResponse
00005 0500 PING GameServer:Ping
00007 0700 SET_ATTRIB_POINTS GameServer:SetAttributePoints
00009 0900 CREATE_CHARACTER GameServer:CreateCharacter
00044 2C00 INTERACT_AGENT GameServer:InteractAgent
00054 3600 KEYBOARD_MOVE GameServer:KeyboardMove
00055 3700 CLICK_LOCATION GameServer:ClickLocation
00057 3900 KEYBOARD_ROTATE GameServer:KeyboardRotate
00064 4000 KEYBOARD_MOVE_CLIENT_STOP GameServer:KeyboardStop
00087 5700 CHARCREATE_PROFESSION GameServer:CharCreateProfession
00092 5C00 CHAT_MESSAGE GameServer:ChatMessage
00118 7600 USE_ITEM GameServer:UseItem
000121 7900 CHARCREATE_ACKNOWLEDGEMENT GameServer:CharCreateAcknowledgement
00123 7B00 CHARCREATE_DYE_INFO GameServer:CharCreateDyeInfo
00128 8000 INSTANCE_LOAD_REQUEST_SPAWN_POINT GameServer:InstanceLoadRequestSpawnPoint
00130 8200 CHARCREATE_DEFAULT_DYE GameServer:CharCreateDefaultDye
00136 8800 INSTANCE_LOAD_REQUEST_ZONE_DATA GameServer:InstanceLoadRequestZoneData
00137 8900 INSTANCE_LOAD_REQUEST_ITEMS GameServer:InstanceLoadRequestItems
00169 A900 REQUEST_MAP_CHANGE GameServer:RequestMapChange
01280 0005 VERIFY_CLIENT GameServer:VerifyClient
16896 0042 CLIENT_SEED GameServer:ClientSeed
Server -> Client
Header Description
Int Hex Database Name Descriptive Name
0001 0100 PING GameServer:Ping
0002 0200 PING_REPLY GameServer:PingReply
0003 0300 CHAT_WHISPER_AFFIRMATION GameServer:ChatWhisperAffirmation
0018 1200 INSTANCE_START_STREAM GameServer:InstanceStartStream
0019 1300 CLIENT_IM_HERE GameServer:ClientKeepAlive (send each 250ms)
0021 1500 SET_MY_MISCCAPE GameServer:SetAgentProperties
0022 1600 DESTROY_AGENT GameServer:DestroyAgent NEEDS CONFIRMATION
0023 1700 FADE_INTO_MAP GameServer:FadeIntoMap
0026 1A00 KEYBOARD_MOVE_START GameServer:MovementDirection
0028 1C00 SET_PLAYER_SPEED GameServer:SetPlayerSpeed
0029 1D00 INVALIDATE_AGENT GameServer:InvalidateAgent NEEDS CONFIRMATION
0030 1E00 GOTO_LOCATION GameServer:GotoLocation
0032 2000 KEYBOARD_MOVE_STOP GameServer:MovementRelativeVelocity
0033 2100 UPDATE_PLAYER_POSITION GameServer:UpdatePlayerPosition
0035 2300 ROTATE_AGENT GameServer:RotateAgent
0044 2C00 UPDATE_FREE_ATTRIB_POINTS GameServer:FreeAttributePoints
0070 4600 INSTANCE_LOAD_GUI_TOGGLES GameServer:InstanceLoadGuiToggles
0074 4A00 SET_NPC_APPEARANCE GameServer:NpcGeneralStats
0077 4D00 SET_PLAYER_APPEARANCE GameServer:PlayerAppearance
0081 5100 GENERAL_CHAT GameServer:GeneralChat
0082 5200 GENERAL_CHAT_NO_OWNER GameServer:GeneralChatNoOwner
0085 5500 GENERAL_CHAT_OWNER GameServer:GeneralChatOwner
0098 6200 SET_EQUIPPED_AGENT_ITEMS GameServer:EquippedAgentItems
0103 6700 SET_HERO_STATS GameServer:HeroStats
0125 7D00 MAP_DATA GameServer:MapExplorationData
0126 7E00 PREPARE_FOR_MAP_DATA GameServer:PrepareForMapData
0140 8C00 ZONE_ID_ACKNOWLEDGEMENT GameServer:ZoneIDAcknowledgement
0143 8F00 SET_MORALE GameServer:SetAgentMorale
0146 9200 UPDATE_GENERIC_VALUE1 GameServer:GenericValue1
0149 9500 UPDATE_GENERIC_VALUE2 GameServer:GenericValue2
0153 9900 SET_PUBLIC_PROFESSION_COMBO GameServer:PublicProfessionCombo
0164 A400 PARTY_WINDOW1 GameServer:PartyWindow1
0170 AA00 CHARCREATE_ITEM_PROFESSION_BIND GameServer:CharCreateItemProfessionBind NEEDS CONFIRMATION
0170 AA00 UPDATE_MY_PRIVATE_PROFESSION GameServer:MyPrivateProfession
0205 CD00 SET_SKILL_BAR GameServer:MySkillBar
0206 CE00 AVAILABLE_SKILLS GameServer:MyAvailableSkills
0220 DC00 UPDATE_MY_PRIVATE_STATS GameServer:MyPrivateStats (a.k.a. Faction-Points etc.)
0227 E300 UPDATE_PLAYER_VITAL_STATUS GameServer:PlayerVitalStatus
0228 E400 BEGIN_MY_CHARACTER_INFO GameServer:BeginMyCharInfo
0268 0C01 BEGIN_MY_GUILD_INFO GameServer:BeginMyGuildInfo
0277 1501 SET_GUILD_GENERAL GameServer:SetGuildGeneral
0302 2E01 ITEM_OWNER_NAME GameServer:ItemOwnerName
0306 3201 ITEM_LOCATION GameServer:ItemLocation
0307 3301 ITEM_PAGE_PACKET GameServer:ItemPage
0309 3501 INSTANCE_LOAD_GUI_INFO GameServer:InstanceLoadGuiInfo
0312 3801 INSTANCE_LOAD_ITEMSTREAM_HEAD1 GameServer:InstanceLoadItemStreamHead1
0314 3A01 CHARCREATE_ITEM_BODYPART GameServer:CharCreateItemBodyPart
0315 3B01 INSTANCE_LOAD_WEAPON_BAR_SLOT GameServer:InstanceLoadWeaponBarSlot
0316 3C01 CHARCREATE_PREVIOUS_ITEMS GameServer:CharCreatePreviousItems NEEDS CONFIRMATION
0316 3C01 INSTANCE_LOAD_ITEMSTREAM_HEAD2 GameServer:InstanceLoadItemStreamHead2
0333 4D01 AGENT_ITEM GameServer:AgentItem
0334 4E01 ITEM_PROFESSION GameServer:ItemProfession
0341 5501 GENERAL_ITEM GameServer:GeneralItem
0358 6601 INSTANCE_LOAD_AVAILABLE_CAMPAIGNS GameServer:InstanceLoadAvailableCampaigns
0368 7001 INSTANCE_LOAD_HEAD GameServer:InstanceLoadHead
0369 7101 INSTANCE_LOAD_CHARACTER_NAME GameServer:InstanceLoadCharName
0377 7901 CHARCREATE_HEAD GameServer:CharCreateHead
0378 7A01 CHARCREATE_ITEM_STREAM_TERMINATOR GameServer:CharCreateItemStreamTerminator
0389 8501 INSTANCE_LOAD_SPAWN_POINT GameServer:InstanceLoadSpawnPoint
0391 8701 INSTANCE_LOAD_ITEMSTREAM_TERMINATOR GameServer:InstanceLoadItemStreamTerminator
0393 8901 INSTANCE_LOAD_DISTRICT_INFO GameServer:InstanceLoadDistrictInfo
0404 9201 DISPATCH GameServer:Dispatch
0412 9C01 PARTY_WINDOW5 GameServer:PartyWindow5
0437 B501 PARTY_WINDOW3 GameServer:PartyWindow3
0444 BC01 PARTY_WINDOW2 GameServer:PartyWindow2
0445 BD01 PARTY_WINDOW4 GameServer:PartyWindow4
0456 C801 PARTY_WINDOW6 GameServer:PartyWindow6
4369 1111 CHARCREATE_ERROR GameServer:CharCreateError NEEDS CONFIRMATION
5633 0116 SERVER_SEED GameServer:ServerSeed

General Information

These are packets send to and from the game server. These usually contain all game relevant info, as e.g. NPC Spawns or agent actions.


Special Processes

Client Verification

To do.

Instance Load: Head Packets

To do.

Instance Load: General

To do.

Agent Actions

To do.

Personal tools