ace/Source/ACE.Server/Network/GameMessages/GameMessageOpcode.cs

89 lines
4.1 KiB
C#
Raw Permalink Normal View History

namespace ACE.Server.Network.GameMessages
{
public enum GameMessageOpcode
{
None = 0x0000,
InventoryRemoveObject = 0x0024,
SetStackSize = 0x0197,
PlayerKilled = 0x019E,
EmoteText = 0x01E0,
SoulEmote = 0x01E2,
HearSpeech = 0x02BB,
HearRangedSpeech = 0x02BC,
PrivateUpdatePropertyInt = 0x02CD,
PublicUpdatePropertyInt = 0x02CE,
PrivateUpdatePropertyInt64 = 0x02CF,
PublicUpdatePropertyInt64 = 0x02D0,
PrivateUpdatePropertyBool = 0x02D1,
PublicUpdatePropertyBool = 0x02D2,
2018-02-17 14:22:42 -05:00
PrivateUpdatePropertyFloat = 0x02D3,
PublicUpdatePropertyFloat = 0x02D4,
PrivateUpdatePropertyString = 0x02D5,
PublicUpdatePropertyString = 0x02D6,
PrivateUpdatePropertyDataID = 0x02D7,
2018-03-21 02:48:21 -04:00
PublicUpdatePropertyDataID = 0x02D8,
PrivateUpdatePropertyInstanceID = 0x02D9,
PublicUpdateInstanceId = 0x02DA,
PrivateUpdatePosition = 0x02DB,
PublicUpdatePosition = 0x02DC,
PrivateUpdateSkill = 0x02DD,
PublicUpdateSkill = 0x02DE,
PrivateUpdateSkillLevel = 0x02DF,
PublicUpdateSkillLevel = 0x02E0,
PrivateUpdateAttribute = 0x02E3,
PublicUpdateAttribute = 0x02E4,
PrivateUpdateVital = 0x02E7,
PublicUpdateVital = 0x02E8,
PrivateUpdateAttribute2ndLevel = 0x02E9,
AdminEnvirons = 0xEA60,
PositionAndMovement = 0xF619,
ObjDescEvent = 0xF625,
CharacterCreateResponse = 0xF643,
CharacterRestoreResponse = 0xF643, // This is a duplicate...
CharacterLogOff = 0xF653,
CharacterDelete = 0xF655,
CharacterCreate = 0xF656,
CharacterEnterWorld = 0xF657,
CharacterList = 0xF658,
Inventory - Ready for Merge (#484) * WIP - Inventory * Working on inventory saving. Not able to manage placement correctly yet, my shifitng logic does not want to save. * WIP broke saving now. * Got Placement working. * Update change log. * Won't load character * WIP * Modify vw_ace_object to expose ability to pull by container. They share a code base between world and shard so in this instance must stay in sync. More inventory loading work. * Started work on requested changes. I have managed to keep anything in the world from spawning - have to find that bug. * WIP - Need to have container inventory backed by aceObject * put in todo * curse you style cop ! * Simplified and cleaned up inventory save. Now saves with periodic save of container. * Inventory saves and loads correctly. Items are created on login. Removed changes to vw_ace_object (can use that has to have position) created very simple view for inventory loading. Wired up inventory section of inventory and stubbed in wielded. * Updated to removed duplicated dictioanry between worldObject and AceObject per Mogwai. * Good Save point. You can move items, persist them, drop them onto the world and pick them back up. * Starting to work on saving equipted items. * Made Ripley's changes * Fixed bug in container save. Fixed saving ace_object. Still have a bug saving items in secondary packs to the db. * Added a few comments and deleted a large comment block. * Merge Cleanup * Removed new weenie type per Ripley's request. * Fixed bug introduced by merge with cow. * Fixed items in Mogwai's feedback.
2017-08-14 07:55:36 -05:00
CharacterError = 0xF659,
Don't bend the knee - Wielded items persisted and a few old bugs squashed. READY TO MERGE (#511) * WIP * wip * WIP Save Wielded Items * WIP * wip - wielder and parent is fubar * WIP * WIP * Fixed examination. Move to pack still not working - probably inventory check related. Getting closer. * Error saving wielded - need a little help. * Updated change log * Added update script to appveyor * Fixed data saving issue - thanks OptimShi More progress - still have a bug from wielded to drop item. Looking good at this point. * persisting wielded items works. Equiping weapons and shields works, but is not right on persisted login. Look at SendInventoryAndWieldedItems (container.cs) * Still have bugs. Steps: clean all ace_object except char @weapons equip all 4 items @save-now logout login in - look at wieldeditems view * WIP Fixed pack slot placement order bugs. Next fix save wielded item - getting a duplicate key value on currentwieldedlocation * Wip - wielder keeps getting unset. It looks like the world object and the aceobject are not in sync. * have a currentwielded location bug still * Tested wielding and saving. Need to test unwielding net. * WIP - getting closer. CurrentWieldedLocation not getting set * I either have a bug with the underlying aceObject to wo assication on wielded items, or there is a flag issue. Equipping an item SOMETIMES does not set the currenlty wielded location. I can find no path where it is not set. * Wip - still having issues * Wip Item still will not appear second equip * wip * Making progress but there are problems with sequenes. Inventory not created as persistant world objects is causing issues. sequences are reset each time the object is created. * Left off at line 1413 of player. Convert inventory to persisted worldobjects (needed for sequences to work right must be maintained for length of session) * Switched to world object based inventory. This looks to be working. I have some cleanup to do but looking good. Hand held items on login are not oriented correctly need to fix that. * This is getting really close. I still have a few minor bugs. * Fixed issue with appearence updating if not wielding from main pack. I still have a dirty flags issue. I may need some help to debug this. * Saving now works in all cases. I had to put in a hack around lines 767 - 774 of the shardDatabase. * WIP looking for save bug. * The issue with the duplicates on save is that I have the same object in two lists on a move container. Still debugging. * Fixed all of Morwai's feedback. * I am never going to find this bug. * added a workaround for item save. It will look for dirty items and do a delete and insert. * Fixed ddevec's feedback.
2017-09-29 18:26:08 -05:00
ForceObjectDescSend = 0xF6EA,
ObjectCreate = 0xF745,
PlayerCreate = 0xF746,
ObjectDelete = 0xF747,
UpdatePosition = 0xF748,
ParentEvent = 0xF749,
PickupEvent = 0xF74A,
SetState = 0xF74B,
MovementEvent = 0xF74C,
Motion = 0xF74C,
VectorUpdate = 0xF74E,
Sound = 0xF750,
PlayerTeleport = 0xF751,
AutonomousPosition = 0xF753,
PlayScriptId = 0xF754,
PlayEffect = 0xF755,
GameEvent = 0xF7B0,
GameAction = 0xF7B1,
AccountBanned = 0xF7C1,
CharacterEnterWorldRequest = 0xF7C8,
GetServerVersion = 0xF7CC,
FriendsOld = 0xF7CD,
CharacterRestore = 0xF7D9,
AccountBoot = 0xF7DC,
UpdateObject = 0xF7DB,
TurbineChat = 0xF7DE,
CharacterEnterWorldServerReady = 0xF7DF,
ServerMessage = 0xF7E0,
ServerName = 0xF7E1,
DDD_DataMessage = 0xF7E2,
DDD_RequestDataMessage = 0xF7E3,
DDD_ErrorMessage = 0xF7E4,
DDD_Interrogation = 0xF7E5,
DDD_InterrogationResponse = 0xF7E6,
DDD_BeginDDD = 0xF7E7,
DDD_BeginPullDDD = 0xF7E8,
DDD_IterationData = 0xF7E9,
DDD_EndDDD = 0xF7EA,
}
}