Code:
namespace Zepheus.FiestaLib
{
public enum CH2Type : byte
{
Pong = 5,
Unk1 = 13,
}
public enum CH3Type : byte
{
Version = 101,
Login = 56,
WorldReRequest = 27,
FileHash = 4,
WorldSelect = 11,
Unk1 = 56,
//Actually used in World
WorldClientKey = 15,
BackToCharSelect = 24,
Unk2 = 51,
}
public enum CH4Type : byte
{
CharSelect = 1,
ReviveToTown = 78,
SetPointOnStat = 92,
}
public enum CH5Type : byte
{
CreateCharacter = 1,
ChangeCharacterName = 5,
DeleteCharacter = 7,
}
public enum CH6Type : byte
{
TransferKey = 1,
ClientReady = 4,
Teleporter = 26,
}
public enum CH7Type : byte
{
UnknownSomethingWithMobs = 1,
}
public enum CH14Type : byte
{
PartyAccept = 4,
PartyDecline= 5,
PartyReqest = 2,
PartyLeave = 10,
PartyMaster = 84,
PartyInviteGame = 72, // no data
ChangePartyMaster = 40,
ChangePartyDrop = 75,
KickPartyMember = 20,
}
public enum CH8Type : byte
{
By = 29,
ByCancel = 11,
WisperTo = 12,
ChatNormal = 1,
ChatParty = 20,
BeginInteraction = 10,
Stop = 18,
Walk = 23,
Run = 25,
Shout = 30,
Emote = 32,
Jump = 36,
BeginRest = 39,
EndRest = 42,
}
public enum CH9Type : byte
{
SelectObject = 1,
DeselectObject = 8,
AttackEntityMelee = 43,
StopAttackingMelee = 50,
AttackEntitySkill = 61,
UseSkillWithTarget = 64,
UseSkillWithPosition = 65,
}
//items
public enum CH12Type : byte
{
BuyItem = 3,
SellItem = 6,
DropItem = 7,
LootItem = 9,
MoveItem = 11,
Equip = 15,
Unequip = 18,
UseItem = 21,
ItemEnhance = 23,
GetPremiumItemList = 32,
GetRewardItemList = 44,
TakeGuildMoney = 47,
GiveGuildMoney = 49,
}
public enum CH15Type : byte
{
AnswerQuestion = 2,
}
public enum CH19Type : byte
{
TradeReqest = 1,
TradeReqestDecline = 3,
TradeAccept = 6,
TradeBreak = 10,
TradeAddItem = 13,
TradeRemoveItem = 17,
TradeChangeMoney = 21,
TradeLock = 25,
TradeAgree = 31,
}
public enum CH20Type : byte
{
ByHPStone = 1,
BySPStone = 2,
UseHPStone = 7,
UseSPStone = 9,
}
public enum CH21Type : byte
{
FriendInvite = 1,
FriendInviteResponse = 4,
FriendListDelete = 5,
}
public enum CH22Type : byte
{
GotIngame = 27,
}
public enum CH28Type : byte
{
GetQuickBar = 2,
GetQuickBarState = 4,
GetGameSettings = 10,
GetClientSettings = 12,
GetShortCuts = 14,
SaveQuickBar = 16,
SaveQuickBarState = 17,
SaveGameSettings = 20,
SaveClientSettings = 21,
SaveShortCuts = 22,
}
public enum CH29Type : byte
{
GetGuildList = 3,
CreateGuild = 5,
GuildInviteRequest = 9,
GuildInviteResponse = 12,
UpdateGuildMessage = 16,
UpdateGuildMemberRank = 22,
LeaveGuild = 28,
GuildChat = 115,
GuildNameRequest = 118,
GuildMemberListRequest = 190,
}
public enum CH31Type : byte
{
GetUnknown = 6,
}
public enum CH37Type : byte
{
MasterRequest = 1,
MasterRequestResponse = 5,
RemoveMasterByApprentice = 6,
MasterRemove = 10,
MasterRewardCoperRquest= 60,
SendReciveCoperAccept = 64,
}
public enum CH38Type : byte
{
GetAcademyMemberList = 7,
GetAcademyList = 11,
JoinAcademy = 17,
LeaveAcademy = 27,
JumpToMember = 31,
BlockAcademyChat = 33,
UpdateDetails = 36,
ChangeRequestToGuild = 44,
GetAcademyGoldRewardList = 49,
AcademyChat = 104,
GuildExtraRequest = 109,
}
public enum CH42Type : byte
{
AddToBlockList = 3,
RemoveFromBlockList = 7,
ClearBlockList = 11,
}
}
ant thats my server packet
Code:
namespace Zepheus.FiestaLib
{
// Named as SHXType , where X = header ID
public enum SH2Type : byte
{
Ping = 4,
SetXorKeyPosition = 7,
Chatblock = 72,
UpdateClientTime = 73,
UnkTimePacket = 69,
Unk1 = 14,
}
public enum SH19Type : byte
{
SendTradeReqest = 2,
DeclineRequest = 4,
SendTradeAccept = 9,
SendTradeBreak = 12,
SendAddItemSuccefull = 15,
SendAddItem = 16,
SendItemRemove = 19,
SendChangeMoney = 24,
SendTradeRdy = 27,
SendTradeLock = 28,
SendRemoveItemFromHandel = 20,
SendTradeAgreeMe = 33,
SendTradeAgreeTo = 34,
SendTradeComplett = 36,
}
public enum SH3Type : byte
{
IncorrectVersion = 2, //please update client
VersionAllowed = 103,
FilecheckAllow = 5,
Error = 9,
WorldlistNew = 10,
WorldServerIP = 12,
WorldistResend = 28,
//Actually used in world
CharacterList = 20,
Unk = 52,
}
public enum SH4Type : byte
{
Money = 51,
UpdateStats = 53,
ConnectError = 2,
Unk = 222,
ServerIP = 3,
CharacterGuildinfo = 18,
CharacterInfo = 56,
CharacterLook = 57,
CharacterQuestsBusy = 58,
CharacterQuestsDone = 59,
CharacterActiveSkillList = 61,
CharacterPassiveSkillList = 62,
CharacterItemList = 71,
CharacterInfoEnd = 72,
CharacterTitles = 73,
CharacterTimedItemList = 74,
ReviveWindow = 77,
Revive = 79,
CharacterPoints = 91,
SetPointOnStat = 95,
CharacterGuildacademyinfo = 151,
}
public enum SH5Type : byte
{
CharCreationError = 4,
CharCreationOK = 6,
CharDeleteOK = 12,
SendCharacterChangeNewName = 16,
}
public enum SH6Type : byte
{
DetailedCharacterInfo = 2,
Error = 3,
RemoveDrop = 5,
ChangeMap = 9,
ChangeZone = 10,
TelePorter = 27,
}
public enum SH7Type : byte
{
ShowUnequip = 4,
ShowEquip = 5,
SpawnSinglePlayer = 6,
SpawnMultiPlayer = 7,
SpawnSingleObject = 8,
SpawnMultiObject = 9,
ShowDrop = 10,
ShowDrops = 11,
RemoveObject = 14,
}
public enum SH8Type : byte
{
ChatNormal = 2,
WisperFrom = 13,
WisperTargetNotfound = 14,
WisperTo = 15,
GmNotice = 17,
StopTele = 19, // Stops char but can teleport
PartyChat = 21,
Walk = 24,
Move = 26,
Teleport = 27,
Interaction = 28,
Shout = 31,
Emote = 33,
Jump = 37,
BeginRest = 40,
BeginDisplayRest = 41,
EndRest = 43,
EndDisplayRest = 44,
Mounting = 63,
MapMount = 64,
Unmount = 66,
MapUnmount = 67,
UpdateMountFood = 70,
CastItem = 71,
BlockWalk = 74,
}
public enum SH9Type : byte
{
StatUpdate = 2,
GainExp = 11,
LevelUP = 12,
LevelUPAnimation = 13,
HealHP = 14,
HealSP = 15,
SkillAck = 53,
ResetStance = 61,
AttackAnimation = 71,
AttackDamage = 72,
DieAnimation = 74,
SkillUsePrepareSelf = 78,
SkillUsePrepareOthers = 79,
SkillAnimationPosition = 81,
SkillAnimationTarget = 82,
SkillAnimation = 87,
}
public enum SH12Type : byte
{
ModifyItemSlot = 1,
ModifyEquipSlot = 2,
InventoryFull = 4,
ObtainedItem = 10,
MoveIteminContaInComplet = 12,
FailedEquip = 17,
FailedUnequip = 19,
ItemUseEffect = 22,
ItemUpgrade = 24,
ItemUsedOk = 26,
SendPremiumItemList = 33,
SendRewardList = 45,
}
public enum SH14Type : byte
{
// According to my informations, 7 is InviteDeclined.
// NOTE - IT IS.
// Header 7 somehow changed I guess?
// seems to be answer or related to CH14::72
// new data is CHAR[16] NAME | USHORT UNK (C1 04)
// purpose complete unknown
InviteDeclined = 7,
UpdatePartyMemberLoc = 73,
UpdatePartyMemberStats = 50,
SetMemberStats = 51,
// Invite/Accept might be switched up
PartyInvite = 3,
PartyAccept = 4,
PartyDropState = 76,
PartyList = 9,
// changed.
PartyLeave = 11,
GroupList = 85,
// might changed as well?
ChangePartyMaster = 41,
ChangePartyDrop = 75,
KickPartyMember = 21,
BreakUp = 30,
// COMPLETE UNKOWN
// DATA: CHAR[16] NAME, thats it.
UNK_1 = 71,
}
public enum SH15Type : byte
{
Question = 1,
HandlerWeapon = 9,
HanlderSkill = 10,
HandlerStone = 5,
HandlerTitel = 11,
GuildNpcReqest = 12,
}
//skills & crap?
public enum SH18Type : byte
{
LearnSkill = 4,
}
public enum SH20Type : byte
{
ChangeHPStones = 3,
ChangeSPStones = 4,
ErrorBuyStone = 5,
ErrorUseStone = 6,
StartHPStoneCooldown = 8,
StartSPStoneCooldown = 10,
}
public enum SH21Type : byte
{
FriendListDelete = 6,
FriendInviteResponse = 2,
FriendInviteRequest = 3,
FriendExtraInformation = 8,
FriendOnline = 9,
FriendOffline = 10,
FriendInviteReject = 11,
FriendDeleteSend = 12,
FriendChangeMap = 13,
}
public enum SH25Type : byte
{
WorldMessage = 2,
}
public enum SH28Type : byte
{
LoadQuickBar = 3,
LoadQuickBarState = 5,
LoadGameSettings = 11,
LoadClientSettings = 13,
LoadShortCuts = 15,
}
public enum SH29Type : byte
{
SendGuildList = 4,
CreateGuildResponse = 6,
GuildInviteError = 10,
GuildInviteRequest = 11,
UpdateGuildMessageResponse = 17,
UpdateGuildMemberRankResponse = 23,
GuildMemberList = 27,
LeaveGuildResponse = 29,
ChangeResponse = 39,
SendUpdateGuildDetails = 45,
GuildMemberJoined = 54,
GuildMemberLeft = 56,
UpdateGuildMemberRank = 57,
GuildMemberLoggedIn = 61,
GuildMemberLoggedOut = 62,
GuildChat = 116,
GuildNameResult = 119,
ClearGuildDetailsMessage = 191,
UnkMessageChange = 196,
}
public enum SH37Type : byte
{
SendMasterRequestAccept = 3,
SendMasterRequestReponse = 2,
SendMasterRequest = 4,
SendMasterResponseRemove = 7,
SendRemoveMember = 11,
SendMasterList = 20,
SendRegisterApprentice = 21,
SendMasterMemberOnline = 22,
SendMasterMemberOffline = 23,
SendApprenticeRemoveMaster = 24,
SendApprenticeLevelUp = 25,
SendApprenticeReward = 26,
SendRecivveCopper = 61,
SendGiveMasterReward = 65,
MasterReiveCopperDecline = 69,
}
public enum SH38Type : byte
{
SendAcademyList = 12,
SendAcademyMemberList = 14,
AcademyResponse = 18,
AcademyMemberJoined = 19,
LeaveAcademyResponse = 28,
AcademyChatBlockResponse = 35,
SendChangeDetailsResponse = 37,
SendChangeDetails = 38,
SendJoinGuildFromAcademy = 46,
SendAcademyGoldRewardList = 50,
AcademyMemberLeft = 96,
AcademyMemberLoggedIn = 97,
AcademyMemberLoggedOut = 98,
AcademyMemberLevelUp = 102,
AcademyChat = 105,
AcademyChatBlocked = 106,
GuildItemList = 110,
RemoveFromGuildStore = 115,
AddToGuildStore = 117,
}
public enum SH42Type : byte
{
BlockList = 2,
AddToBlockList = 6,
RemoveFromBlockList = 10,
ClearBlockList = 14,
}
public enum SH31Type : byte
{
LoadUnkown = 7,
}
}