I am getting the same hunks failed as Nstalkerga, using the svn trunk.
I am getting the same hunks failed as Nstalkerga, using the svn trunk.
Me too.
Well here's one way to fix the issue... not sexy but effective.Below are complete files for zoneopcodes.xml and everquest.h:
Code:<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE seqopcodes SYSTEM "seqopcodes.dtd"> <seqopcodes> <!-- Critical opcodes used directly by ShowEQ --> <opcode id="2339" name="OP_NpcMoveUpdate" updated="03/23/12"> <comment>Position updates</comment> <payload dir="server" typename="uint8_t" sizechecktype="none"/> </opcode> <opcode id="1910" name="OP_MovementHistory" updated="03/23/12"> <comment>Movement data... rewind info?</comment> <payload dir="client" typename="uint8_t" sizechecktype="none"/> </opcode> <opcode id="28c7" name="OP_DeleteSpawn" updated="03/23/12"> <comment>DeleteSpawnCode</comment> <payload dir="both" typename="deleteSpawnStruct" sizechecktype="match"/> </opcode> <opcode id="5821" name="OP_ZoneEntry" updated="03/23/12"> <comment>ZoneEntryCode</comment> <payload dir="client" typename="ClientZoneEntryStruct" sizechecktype="match"/> <payload dir="server" typename="uint8_t" sizechecktype="none"/> </opcode> <opcode id="1b7b" name="OP_GuildMOTD" updated="03/23/12"> <comment>GuildMOTD</comment> <payload dir="server" typename="guildMOTDStruct" sizechecktype="none"/> </opcode> <opcode id="0c54" name="OP_InspectAnswer" updated="03/23/12"> <comment>InspectDataCode</comment> <payload dir="both" typename="inspectDataStruct" sizechecktype="match"/> </opcode> <opcode id="3edc" name="OP_TargetMouse" updated="03/23/12"> <comment>Targeting a person - old ClientTargetCode</comment> <payload dir="both" typename="clientTargetStruct" sizechecktype="match"/> </opcode> <opcode id="1d51" name="OP_Shroud" updated="03/23/12"> <comment>Server putting players into shroud form</comment> <payload dir="server" typename="spawnShroudSelf" sizechecktype="none"/> </opcode> <opcode id="3288" name="OP_GroupInvite" updated="03/23/12"> <payload dir="both" typename="groupInviteStruct" sizechecktype="none"/> <comment>You invite someone while ungrouped or get invited by someone ungrouped </comment> </opcode> <opcode id="5251" name="OP_GroupInvite2" updated="03/23/12"> <payload dir="client" typename="groupInviteStruct" sizechecktype="match"/> <comment>You're inviting someone and you are grouped or get invited by a group</comment> </opcode> <opcode id="74e9" name="OP_GroupFollow" updated="03/23/12"> <payload dir="server" typename="groupFollowStruct" sizechecktype="match"/> <comment>You join a group or player joins group</comment> </opcode> <opcode id="44c2" name="OP_GroupFollow2" updated="03/23/12"> <payload dir="server" typename="groupFollowStruct" sizechecktype="match"/> <comment>Player joins your group</comment> </opcode> <opcode id="367b" name="OP_GroupDisband" updated="03/23/12"> <comment>You disband from group</comment> <payload dir="server" typename="groupDisbandStruct" sizechecktype="match"/> </opcode> <opcode id="4b82" name="OP_GroupDisband2" updated="03/23/12"> <comment>Other disbands from group</comment> <payload dir="server" typename="groupDisbandStruct" sizechecktype="match"/> </opcode> <opcode id="5fe3" name="OP_GroupLeader" updated="03/23/12"> <comment>Group leader change</comment> <payload dir="server" typename="groupLeaderChangeStruct" sizechecktype="match"/> </opcode> <opcode id="2736" name="OP_GroupCancelInvite" updated="03/23/12"> <payload dir="both" typename="groupDeclineStruct" sizechecktype="match"/> <comment>Declining to join a group</comment> </opcode> <opcode id="28ce" name="OP_DzSwitchInfo" updated="03/23/12"> <comment>Expedition compass etc</comment> <payload dir="server" typename="dzSwitchInfo" sizechecktype="none"/> </opcode> <opcode id="6c75" name="OP_DzInfo" updated="03/23/12"> <comment>Expedition Information</comment> <payload dir="server" typename="dzInfo" sizechecktype="match"/> </opcode> <opcode id="4675" name="OP_FormattedMessage" updated="03/23/12"> <comment>FormattedMessageCode</comment> <payload dir="server" typename="formattedMessageStruct" sizechecktype="none"/> </opcode> <opcode id="7113" name="OP_SpawnDoor" updated="03/23/12"> <comment>DoorSpawnsCode</comment> <payload dir="server" typename="doorStruct" sizechecktype="modulus"/> </opcode> <opcode id="1318" name="OP_AAExpUpdate" updated="03/23/12"> <comment>Receiving AA experience. Also when percent to AA changes.</comment> <payload dir="server" typename="altExpUpdateStruct" sizechecktype="match"/> </opcode> <opcode id="2369" name="OP_HPUpdate" updated="03/23/12"> <comment>NpcHpUpdateCode Update HP % of a PC or NPC</comment> <payload dir="both" typename="hpNpcUpdateStruct" sizechecktype="match"/> </opcode> <opcode id="589f" name="OP_GuildMemberUpdate" updated="03/23/12"> <comment>Info regarding guild members</comment> <payload dir="server" typename="GuildMemberUpdate" sizechecktype="match"/> </opcode> <opcode id="0598" name="OP_SpawnRename" updated="03/23/12"> <comment>Spawns getting renamed after initial NewSpawn</comment> <payload dir="server" typename="spawnRenameStruct" sizechecktype="match"/> </opcode> <opcode id="28a7" name="OP_SwapSpell" updated="03/23/12"> <comment>TradeSpellBookSlotsCode</comment> <payload dir="both" typename="tradeSpellBookSlotsStruct" sizechecktype="match"/> </opcode> <opcode id="0698" name="OP_SimpleMessage" updated="03/23/12"> <comment>SimpleMessageCode</comment> <payload dir="server" typename="simpleMessageStruct" sizechecktype="match"/> </opcode> <opcode id="039d" name="OP_SpecialMesg" updated="03/23/12"> <comment>Communicate textual info to client</comment> <payload dir="server" typename="specialMessageStruct" sizechecktype="none"/> </opcode> <opcode id="303E" name="OP_RandomReq" updated="03/23/12"> <comment>RandomReqCode</comment> <payload dir="client" typename="randomReqStruct" sizechecktype="match"/> </opcode> <opcode id="35c6" name="OP_ConsentResponse" updated="03/23/12"> <comment>Server replying with consent information after /consent</comment> <payload dir="server" typename="consentResponseStruct" sizechecktype="match"/> </opcode> <opcode id="0370" name="OP_DenyResponse" updated="03/23/12"> <comment>Server replying with deny information after /deny</comment> <payload dir="server" typename="consentResponseStruct" sizechecktype="match"/> </opcode> <opcode id="2881" name="OP_BazaarSearch" updated="03/23/12"> <payload dir="client" typename="bazaarSearchQueryStruct" sizechecktype="none"/> <payload dir="server" typename="bazaarSearchResponseStruct" sizechecktype="modulus"/> <payload dir="server" typename="uint8_t" sizechecktype="none"/> <comment>Bazaar search tool</comment> </opcode> <opcode id="1a58" name="OP_WearChange" updated="03/23/12"> <comment>SpawnUpdateCode</comment> <payload dir="both" typename="SpawnUpdateStruct" sizechecktype="match"/> </opcode> <opcode id="7686" name="OP_Stamina" updated="03/23/12"> <comment>Server updating on hunger/thirst</comment> <payload dir="server" typename="staminaStruct" sizechecktype="match"/> </opcode> <opcode id="70c6" name="OP_Consider" updated="03/23/12"> <comment>ConsiderCode</comment> <payload dir="both" typename="considerStruct" sizechecktype="match"/> </opcode> <opcode id="43ac" name="OP_NewZone" updated="03/23/12"> <comment>NewZoneCode</comment> <payload dir="server" typename="newZoneStruct" sizechecktype="match"/> </opcode> <opcode id="33e5" name="OP_GroundSpawn" updated="03/23/12"> <comment>MakeDropCode</comment> <payload dir="server" typename="makeDropStruct" sizechecktype="none"/> <payload dir="client" typename="uint8_t" sizechecktype="none"/> </opcode> <opcode id="3164" name="OP_RemoveSpawn" updated="03/23/12"> <comment>Remove spawn from zone</comment> <payload dir="both" typename="removeSpawnStruct" sizechecktype="none"/> </opcode> <opcode id="6685" name="OP_Death" updated="03/23/12"> <comment>old NewCorpseCode</comment> <payload dir="server" typename="newCorpseStruct" sizechecktype="match"/> </opcode> <opcode id="5f0d" name="OP_ClickObject" updated="03/23/12"> <comment>Items dropped on the ground</comment> <payload dir="both" typename="remDropStruct" sizechecktype="match"/> </opcode> <opcode id="1b85" name="OP_Action" updated="03/23/12"> <comment>Spells cast etc</comment> <payload dir="both" typename="actionStruct" sizechecktype="match"/> <payload dir="both" typename="actionAltStruct" sizechecktype="match"/> </opcode> <opcode id="631a" name="OP_Action2" updated="03/23/12"> <comment>Combat actions i.e. bash, kick etc</comment> <payload dir="both" typename="action2Struct" sizechecktype="match"/> </opcode> <opcode id="10b7" name="OP_Illusion" updated="03/23/12"> <comment>Spawn being illusioned (changing forms)</comment> <payload dir="both" typename="spawnIllusionStruct" sizechecktype="match"/> </opcode> <opcode id="3887" name="OP_BuffFadeMsg" updated="03/23/12"> <comment>SpellFadeCode</comment> <payload dir="both" typename="spellFadedStruct" sizechecktype="none"/> </opcode> <opcode id="71bf" name="OP_CastSpell" updated="03/23/12"> <comment>StartCastCode</comment> <payload dir="both" typename="startCastStruct" sizechecktype="match"/> </opcode> <opcode id="2917" name="OP_MemorizeSpell" updated="03/23/12"> <comment>MemSpellCode</comment> <payload dir="both" typename="memSpellStruct" sizechecktype="match"/> </opcode> <opcode id="7434" name="OP_Emote" updated="03/23/12"> <comment>EmoteTextCode</comment> <payload dir="both" typename="emoteTextStruct" sizechecktype="none"/> </opcode> <opcode id="07fb" name="OP_RandomReply" updated="03/23/12"> <comment>RandomCode</comment> <payload dir="server" typename="randomStruct" sizechecktype="match"/> </opcode> <opcode id="8543" name="OP_ManaChange" updated="03/23/12"> <comment>Mana change. Bards send this up with no size. Casters receive this for mana updates.</comment> <payload dir="server" typename="manaDecrementStruct" sizechecktype="match"/> <payload dir="client" typename="uint8_t" sizechecktype="none"/> </opcode> <opcode id="4074" name="OP_MoneyOnCorpse" updated="03/23/12"> <comment>MoneyOnCorpseCode</comment> <payload dir="server" typename="moneyOnCorpseStruct" sizechecktype="match"/> </opcode> <opcode id="6afd" name="OP_PlayerProfile" updated="03/23/12"> <comment>CharProfileCode</comment> <payload dir="server" typename="charProfileStruct" sizechecktype="match"/> </opcode> <opcode id="6015" name="OP_TimeOfDay" updated="03/23/12"> <comment>TimeOfDayCode</comment> <payload dir="server" typename="timeOfDayStruct" sizechecktype="match"/> </opcode> <opcode id="7062" name="OP_ClientUpdate" updated="03/23/12"> <comment>Position updates</comment> <payload dir="server" typename="playerSpawnPosStruct" sizechecktype="match"/> <payload dir="both" typename="playerSelfPosStruct" sizechecktype="match"/> </opcode> <opcode id="0d5a" name="OP_BeginCast" updated="03/23/12"> <comment>BeginCastCode</comment> <payload dir="both" typename="beginCastStruct" sizechecktype="match"/> </opcode> <opcode id="2e79" name="OP_CommonMessage" updated="03/23/12"> <comment>ChannelMessageCode</comment> <payload dir="both" typename="channelMessageStruct" sizechecktype="none"/> </opcode> <opcode id="7f01" name="OP_SkillUpdate" updated="03/23/12"> <comment>Skill up code</comment> <payload dir="server" typename="skillIncStruct" sizechecktype="match"/> </opcode> <opcode id="3f55" name="OP_SpawnAppearance" updated="03/23/12"> <comment>SpawnAppearanceCode</comment> <payload dir="both" typename="spawnAppearanceStruct" sizechecktype="match"/> </opcode> <opcode id="0000" name="OP_ExpUpdate" updated="03/23/12"> <comment>ExpUpdateCode - opcode looks to be 221a as of 03/23/12 but that value causes seg faults for some reason</comment> <payload dir="server" typename="expUpdateStruct" sizechecktype="match"/> </opcode> <opcode id="6e1c" name="OP_LevelUpdate" updated="03/23/12"> <comment>LevelUpUpdateCode</comment> <payload dir="server" typename="levelUpUpdateStruct" sizechecktype="match"/> </opcode> <opcode id="3703" name="OP_LeaderExpUpdate" updated="03/23/12"> <comment>Leadership AA Exp Update</comment> <payload dir="server" typename="leadExpUpdateStruct" sizechecktype="match"/> </opcode> <opcode id="4656" name="OP_MobUpdate" updated="03/23/12"> <comment>MobUpdateCode</comment> <payload dir="both" typename="spawnPositionUpdate" sizechecktype="match"/> </opcode> <opcode id="358a" name="OP_Trader" updated="03/23/12"> <comment>PC's turning trader on and off</comment> <payload dir="server" typename="bazaarTraderRequest" sizechecktype="match"/> </opcode> <opcode id="6bb9" name="OP_Consent" updated="03/23/12"> <comment>/consent someone</comment> <payload dir="client" typename="consentRequestStruct" sizechecktype="none"/> </opcode> <opcode id="6b7f" name="OP_ConsentDeny" updated="03/23/12"> <comment>/deny someone</comment> <payload dir="client" typename="consentRequestStruct" sizechecktype="none"/> </opcode> <opcode id="2dd3" name="OP_ItemPacket" updated="03/23/12"> <comment>ItemCode</comment> <payload dir="server" typename="itemPacketStruct" sizechecktype="none"/> </opcode> <opcode id="24c9" name="OP_ItemLinkResponse" updated="03/23/12"> <comment>ItemInfoCode</comment> <payload dir="server" typename="itemInfoStruct" sizechecktype="none"/> <payload dir="client" typename="itemInfoReqStruct" sizechecktype="none"/> </opcode> <opcode id="2730" name="OP_EnvDamage" updated="03/23/12"> <comment>Environmental Damage</comment> <payload dir="client" typename="environmentDamageStruct" sizechecktype="match"/> </opcode> <!-- Not necessary for SEQ to run but here to name packets in logs. --> <opcode id="367f" name="OP_GroupUpdate" updated="03/23/12"> <payload dir="server" typename="uint8_t" sizechecktype="none"/> <comment>Variable length packet with group member names</comment> </opcode> <opcode id="51bc" name="OP_GuildMemberList" updated="03/23/12"> <comment>List of guild members</comment> <payload dir="server" typename="uint8_t" sizechecktype="none"/> </opcode> <opcode id="7c94" name="OP_ManaUpdate" updated="03/23/121"> <comment>Mana Update opcode</comment> </opcode> <opcode id="5851" name="OP_EndUpdate" updated="03/23/12"> <comment>Endurance Update opcode</comment> </opcode> <opcode id="7c11" name="OP_Marketplace" updated="03/23/12"> <comment>Marketplace data</comment> </opcode> <opcode id="012f" name="OP_DzMembers" updated="03/23/12"> <comment>Expedition Members</comment> </opcode> <opcode id="4292" name="OP_Campfire" updated="03/23/12"> <comment>Fellowship campfire information</comment> </opcode> <opcode id="3637" name="OP_Claims" updated="03/23/12"> <comment>Contents of claims window</comment> </opcode> <opcode id="0fd3" name="OP_VoiceChat" updated="03/23/12"> <comment>Voice chat server info?</comment> </opcode> <opcode id="47b3" name="OP_PollQuestions" updated="03/23/12"> <comment>SOE in-game player poll questions</comment> </opcode> <opcode id="a1e6" name="OP_PollResponses" updated="03/23/12"> <comment>Poll response choices</comment> </opcode> <opcode id="064d" name="OP_ShroudProgression" updated="03/23/12"> <comment>Unlocked shrouds</comment> </opcode> <opcode id="01e5" name="OP_Fellowship" updated="03/23/12"> <comment>Fellowship information</comment> </opcode> <opcode id="03d1" name="OP_ExpandedGuildInfo" updated="03/23/12"> <comment>Variable length guild ranks and other misc guild data</comment> </opcode> <opcode id="7b22" name="OP_GuildBank" updated="03/23/12"> <comment>Guild bank contents</comment> </opcode> <opcode id="29df" name="OP_OpenTradeskillContainer" updated="03/23/12"> <comment>Opens forge, kiln etc</comment> </opcode> <opcode id="1ecf" name="OP_TradeskillRecipes" updated="03/23/12"> <comment>Learned recipes</comment> </opcode> <opcode id="6cfe" name="OP_ItemPlayerPacket" updated="03/23/12"> <comment>Inventory/bank items coming over during zone</comment> <payload dir="server" typename="uint8_t" sizechecktype="none"/> </opcode> <opcode id="2E4F" name="OP_TaskDescription" updated="03/23/12"> <comment>Task descriptions coming down for task window</comment> </opcode> <opcode id="512B" name="OP_TaskActivity" updated="03/23/12"> <comment>Task activity descriptions coming down for task window</comment> </opcode> <opcode id="3141" name="OP_CompletedTasks" updated="03/23/12"> <comment>Task history for task window</comment> </opcode> <opcode id="6ade" name="OP_CustomTitles" updated="03/23/12"> <comment>List of available titles</comment> </opcode> <opcode id="0b93" name="OP_Animation" updated="03/23/12"> <comment>Combat animation, emote animations etc</comment> </opcode> <opcode id="177a" name="OP_WhoAllRequest" updated="03/23/12"> <comment>old WhoAllReqCode</comment> </opcode> <opcode id="15de" name="OP_WhoAllResponse" updated="03/23/12"> <comment>sWhoAllOutputCode</comment> </opcode> <opcode id="2683" name="OP_InspectRequest" updated="03/23/12"> <comment>InspectRequestCode</comment> </opcode> <opcode id="709d" name="OP_GetGuildMOTD" updated="03/23/12"> <comment>GuildMOTD</comment> </opcode> <opcode id="0c24" name="OP_TradeRequest" updated="03/23/12"> <comment>Client request trade session</comment> </opcode> <opcode id="2c03" name="OP_TradeDeny" updated="03/23/12"> <comment>Target not ready to trade</comment> </opcode> <opcode id="606a" name="OP_TradeRequestAck" updated="03/23/12"> <comment>Trade request recipient is acknowledging they are able to trade</comment> </opcode> <opcode id="527e" name="OP_CancelTrade" updated="03/23/12"> <comment>Cancel a trade window</comment> </opcode> <opcode id="1ebb" name="OP_FinishTrade" updated="03/23/12"> <comment>Trade is over</comment> </opcode> <opcode id="1418" name="OP_TradeCoins" updated="03/23/12"> <comment>Coins put in trade window</comment> </opcode> <opcode id="064a" name="OP_TradeAcceptClick" updated="03/23/12"> <comment>One side clicks Accept on the trade</comment> </opcode> <opcode id="6948" name="OP_ItemLinkClick" updated="03/23/12"> <comment>Click on itemlinks</comment> </opcode> <opcode id="00bc" name="OP_EndLootRequest" updated="03/23/12"> <comment>DoneLootingCode</comment> </opcode> <opcode id="5bd9" name="OP_LootItem" updated="03/23/12"> <comment>Loot item from corpse</comment> </opcode> <opcode id="79e0" name="OP_Track" updated="03/23/12"> <comment>Clicked Track</comment> </opcode> <opcode id="49f4" name="OP_TraderShop" updated="03/23/12"> <comment>OpenTraderCode right-click on a trader in bazaar</comment> </opcode> <opcode id="2257" name="OP_AutoAttack" updated="03/23/12"> <comment>Attack on/off</comment> </opcode> <opcode id="701f" name="OP_AutoAttack2" updated="03/23/12"> <comment>Attack on/off appears to be same as OP_AutoAttack</comment> </opcode> <opcode id="48f9" name="OP_ClickDoor" updated="03/23/12"> <comment>DoorOpenCode click request from client</comment> <payload dir="client" typename="uint8_t" sizechecktype="none"/> </opcode> <opcode id="231f" name="OP_MoveDoor" updated="03/23/12"> <comment>DoorClickCode response from server</comment> <payload dir="server" typename="uint8_t" sizechecktype="none"/> </opcode> <opcode id="2963" name="OP_MoveItem" updated="03/23/12"> <comment>Client moving an item from one slot to another</comment> </opcode> <opcode id="783c" name="OP_TraderBuy" updated="03/23/12"> <comment>buy from a trader in bazaar</comment> </opcode> <opcode id="1d85" name="OP_LootRequest" updated="03/23/12"> <comment>LootCorpseCode</comment> <payload dir="client" typename="unknown" sizechecktype="none"/> </opcode> <opcode id="08b3" name="OP_Jump" updated="03/23/12"> <comment>JumpCode</comment> <payload dir="client" typename="unknown" sizechecktype="none"/> </opcode> <opcode id="3672" name="OP_TGB" updated="03/23/12"> <comment>Client telling server to set targetgroupbuff</comment> </opcode> <opcode id="488b" name="OP_Lockouts" updated="03/23/12"> <comment>Client requesting lockouts</comment> </opcode> <opcode id="3ef9" name="OP_WelcomeScreenURL" updated="03/23/12"> <comment>URLs for the welcome screen window</comment> </opcode> <opcode id="550f" name="OP_RaidJoin" updated="03/23/12"> <comment>Client side raid invite requests</comment> <payload dir="client" typename="unknown" sizechecktype="none"/> </opcode> <opcode id="0c08" name="OP_RaidInvite" updated="03/23/12"> <comment>Server side raid information</comment> <payload dir="server" typename="unknown" sizechecktype="none"/> </opcode> <opcode id="52b5" name="OP_Feedback" updated="03/23/12"> <comment>Client sending feedback to server</comment> </opcode> <opcode id="5b0b" name="OP_GuildsList" updated="03/23/12"> <comment>Listing of all guilds</comment> </opcode> <opcode id="20c6" name="OP_LFGGetMatchesRequest" updated="03/23/12"> <comment>LFG/LFP client request</comment> </opcode> <opcode id="3d0c" name="OP_LFGGetMatchesResponse" updated="03/23/12"> <comment>FLG/LFP server response</comment> </opcode> <!-- Below are used to help make sense of the logs when searching for opcodes Using these marks unknown opcodes in logs for easier reading --> <opcode id="5cb0" name="OP_Unknown1" updated="03/23/12"> <comment>3 byte opcode that spam logs. Marked here to make reading logs easier</comment> <payload dir="server" typename="unknown" sizechecktype="none"/> </opcode> <opcode id="4d27" name="OP_Unknown2" updated="03/23/12"> <comment>3 byte opcode that spam logs. Marked here to make reading logs easier</comment> <payload dir="server" typename="unknown" sizechecktype="none"/> </opcode> <opcode id="190c" name="OP_Unknown3" updated="03/23/12"> <comment>3 byte opcode that spam logs. Marked here to make reading logs easier</comment> <payload dir="server" typename="unknown" sizechecktype="none"/> </opcode> <!-- Below are unverified --> <opcode id="0000" name="OP_Buff" updated="11/15/11"> <comment>old BuffDropCode</comment> <payload dir="both" typename="buffStruct" sizechecktype="match"/> </opcode> <opcode id="0000" name="OP_ZoneChange" updated="04/18/11"> <comment>old ZoneChangeCode</comment> <payload dir="both" typename="zoneChangeStruct" sizechecktype="match"/> </opcode> <opcode id="0000" name="OP_CorpseLocResponse" updated="06/12/09"> <comment>old CorpseLocCode:</comment> <payload dir="server" typename="corpseLocStruct" sizechecktype="match"/> </opcode> <opcode id="0000" name="OP_SendZonePoints" updated="10/15/10"> <comment>Coords in a zone that will port you to another zone</comment> <payload dir="server" typename="zonePointsStruct" sizechecktype="none"/> </opcode> <opcode id="24D8" name="OP_RequestZoneChange" updated="10/20/07"> <comment>Send by server when a click causes zone. Also, origin</comment> <payload dir="server" typename="requestZoneChangeStruct" sizechecktype="match"/> </opcode> <opcode id="44AE" name="OP_Logout" updated="10/21/09"> <comment></comment> <payload dir="server" typename="none" sizechecktype="match"/> </opcode> <opcode id="097f" name="OP_WelcomeScreenTitle" updated="05/16/11"> <comment></comment> </opcode> <opcode id="5d0f" name="OP_VeteranRewards" update="04/18/11"> <comment></comment> </opcode> <opcode id="3B85" name="OP_SendAATable" updated="08/12/09"> <comment></comment> </opcode> <opcode id="5832" name="OP_SendAAStats" updated="08/12/09"> <comment></comment> </opcode> <opcode id="4d38" name="OP_AckPacket" updated="03/14/07"> <comment>Appears to be generic ack at the presentation level</comment> </opcode> <opcode id="71fb" name="OP_TributeUpdate" updated="03/14/07"> <comment>Tribute information</comment> </opcode> <opcode id="70a5" name="OP_Weather" updated="03/14/07"> <comment>old WeatherCode</comment> </opcode> <opcode id="5417" name="OP_ReqNewZone" updated="03/14/07"> <comment>Client requesting NewZone_Struct</comment> </opcode> <opcode id="45d2" name="OP_ReqClientSpawn" updated="03/14/07"> <comment>Client requesting spawn data</comment> </opcode> <opcode id="0000" name="OP_SendExpZonein" updated="03/14/07"> <comment>Both directions. Negotiating sending of exp info.</comment> </opcode> <opcode id="0a4f" name="OP_AAAction" updated="03/14/07"> <comment>Used for changing percent, buying? and activating skills</comment> </opcode> <opcode id="7038" name="OP_SetServerFilter" updated="03/14/07"> <comment>Client telling server /filter information</comment> </opcode> <opcode id="3854" name="OP_ClientReady" updated="03/14/07"> <comment></comment> </opcode> <opcode id="6774" name="OP_GuildTributeStatus" updated="03/14/07"> <comment>Guild tribute stats send on zone</comment> </opcode> <opcode id="28c1" name="OP_GuildTributeInfo" updated="06/13/06"> <comment>Guild tribute loadout, only if on</comment> </opcode> <opcode id="063b" name="OP_RespawnWindow" updated="03/14/07"> <comment>Server telling client enough to populate the respawn window when you die</comment> </opcode> <opcode id="010D" name="OP_InitialMobHealth" updated="03/14/07"> <comment>Initial health sent when a player clicks on the mob. Subsequent updated will be OP_MobHealth</comment> </opcode> <opcode id="311a" name="OP_MobHealth" updated="03/14/07"> <comment>health sent when a player clicks on the mob</comment> </opcode> <opcode id="16c1" name="OP_DeltaCheck" updated="03/14/07"> <comment>Client sending server delta information.</comment> </opcode> <opcode id="61ac" name="OP_LoadSpellSet" updated="02/13/07"> <comment>/mem spellsetname</comment> </opcode> <opcode id="00de" name="OP_Dye" updated="10/27/05"> <comment></comment> </opcode> <opcode id="31c2" name="OP_Consume" updated="12/07/05"> <comment>Client force feeding food/drink</comment> <payload dir="client" typename="uint8_t" sizechecktype="none"/> </opcode> <opcode id="13e7" name="OP_Begging" updated="10/27/05"> <comment></comment> </opcode> <opcode id="68ac" name="OP_LFGCommand" updated="10/27/05"> <comment>old LFGReqCode</comment> </opcode> <opcode id="7ac3" name="OP_Bug" updated="10/27/05"> <comment>/bug</comment> </opcode> <opcode id="5c06" name="OP_Save" updated="04/19/06"> <comment>Client asking server to save user state</comment> </opcode> <opcode id="2eeb" name="OP_Camp" updated="02/13/07"> <comment>old cStartCampingCode</comment> </opcode> <opcode id="fe13" name="OP_ShopPlayerSell" updated="10/27/05"> <comment>old SellItemCode</comment> </opcode> <opcode id="10a1" name="OP_PetCommands" updated="10/27/05"> <comment></comment> </opcode> <opcode id="4ed9" name="OP_SetRunMode" updated="02/13/07"> <comment>old cRunToggleCode</comment> </opcode> <opcode id="1103" name="OP_SaveOnZoneReq" updated="03/14/07"> <comment></comment> </opcode> <opcode id="7e03" name="OP_ShopEnd" updated="10/27/05"> <comment>old CloseVendorCode</comment> <payload dir="both" typename="unknown" sizechecktype="none"/> </opcode> <opcode id="5666" name="OP_SenseTraps" updated="10/27/05"> <comment></comment> </opcode> <opcode id="05ac" name="OP_SenseHeading" updated="10/27/05"> <comment>old cSenseHeadingCode</comment> </opcode> <opcode id="528F" name="OP_LootComplete" updated="12/07/05"> <comment>old sDoneLootingCode</comment> </opcode> <opcode id="10A6" name="OP_Split" updated="10/27/05"> <comment></comment> </opcode> <opcode id="4668" name="OP_Surname" updated="10/27/05"> <comment></comment> </opcode> <opcode id="45f9" name="OP_ShopRequest" updated="10/27/05"> <comment>old OpenVendorCode</comment> <payload dir="both" typename="unknown" sizechecktype="none"/> </opcode> <opcode id="0f8e" name="OP_FaceChange" updated="10/27/05"> <comment>/face</comment> </opcode> <opcode id="4312" name="OP_Sneak" updated="06/29/05"> <comment>Clicked sneak</comment> </opcode> <opcode id="6f64" name="OP_Hide" updated="06/29/05"> <comment></comment> </opcode> <opcode id="34e8" name="OP_DisarmTraps" updated="05/11/05"> <comment>Clicked disarm traps</comment> </opcode> <opcode id="7c33" name="OP_Forage" updated="10/27/05"> <comment>old ForageCode</comment> </opcode> <opcode id="4298" name="OP_BoardBoat" updated="10/27/05"> <comment></comment> </opcode> <opcode id="67c9" name="OP_LeaveBoat" updated="10/27/05"> <comment></comment> </opcode> <opcode id="35a6" name="OP_LFPGetMatchesRequest" updated="10/27/05"> <comment></comment> </opcode> <opcode id="6980" name="OP_GMKill" updated="10/27/05"> <comment>GM /kill - Insta kill mob/pc</comment> </opcode> <opcode id="17a2" name="OP_GuildPublicNote" updated="10/27/05"> <comment></comment> </opcode> <opcode id="61ef" name="OP_YellForHelp" updated="10/27/05"> <comment></comment> </opcode> <opcode id="0af6" name="OP_ShopPlayerBuy" updated="05/11/05"> <comment>old BuyItemCode</comment> </opcode> <opcode id="6f82" name="OP_LFPCommand" updated="10/27/05"> <comment>looking for players</comment> </opcode> <opcode id="00dd" name="OP_ConsiderCorpse" updated="12/07/05"> <comment>old cConCorpseCode</comment> </opcode> <opcode id="3838" name="OP_ConfirmDelete" updated="10/27/05"> <comment>Client sends this to server to confirm op_deletespawn</comment> </opcode> <opcode id="0375" name="OP_Report" updated="06/29/05"> <comment></comment> </opcode> <opcode id="40b6" name="OP_TargetCommand" updated="02/13/07"> <comment>Target user</comment> </opcode> <opcode id="212d" name="OP_LFPGetMatchesResponse" updated="02/13/07"> <comment></comment> </opcode> <opcode id="1089" name="OP_FindPersonRequest" updated="02/13/07"> <comment>Control-F Find</comment> </opcode> <opcode id="71b1" name="OP_FindResponse" updated="02/13/07"> <comment>Response to control-F</comment> </opcode> <opcode id="23a1" name="OP_GMLastName" updated="10/27/05"> <comment>GM /lastname - Change user lastname</comment> </opcode> <opcode id="0840" name="OP_TradeSkillCombine" updated="06/29/05"> <comment></comment> </opcode> <opcode id="14ef" name="OP_Mend" updated="10/27/05"> <comment></comment> </opcode> <opcode id="1ffa" name="OP_MendHPUpdate" updated="05/11/05"> <comment></comment> </opcode> <opcode id="4775" name="OP_TributeInfo" updated="02/13/07"> <comment>Tribute information</comment> </opcode> <!-- OLD OPCODES. These haven't been mapped in a post 1/26/2005 world. If you can find any of these in the current stream, please update them and let us know! <opcode id="1900" name="OP_ZoneSpawns" updated="05/29/08"> <comment>old ZoneSpawnsCode</comment> <payload dir="server" typename="spawnStruct" sizechecktype="none"/> </opcode> <opcode id="0020" name="OP_GMServers" updated="05/26/04"> <comment>GM /servers - ?</comment> </opcode> <opcode id="790e" name="OP_GMKick" updated="01/26/05"> <comment>GM /kick - Boot player</comment> </opcode> <opcode id="0068" name="OP_Petition" updated="05/26/04"> <comment></comment> </opcode> <opcode id="0074" name="OP_GMBecomeNPC" updated="05/26/04"> <comment>GM /becomenpc - Become an NPC</comment> </opcode> <opcode id="0076" name="OP_PetitionCheckout" updated="05/26/04"> <comment>Petition Checkout</comment> </opcode> <opcode id="007e" name="OP_PetitionCheckIn" updated="05/26/04"> <comment>Petition Checkin</comment> </opcode> <opcode id="688f" name="OP_PetitionResolve" updated="05/11/05"> <comment>Client Petition Resolve Request</comment> </opcode> <opcode id="0165" name="OP_DeletePetition" updated="01/26/05"> <comment>Player /deletepetition</comment> </opcode> <opcode id="0082" name="OP_PetitionQue" updated="05/26/04"> <comment>GM looking at petitions</comment> </opcode> <opcode id="0090" name="OP_PetitionUnCheckout" updated="05/26/04"> <comment></comment> </opcode> <opcode id="0097" name="OP_GMSearchCorpse" updated="05/26/04"> <comment>GM /searchcorpse - Search all zones for named corpse</comment> </opcode> <opcode id="009a" name="OP_GuildPeace" updated="05/26/04"> <comment>/guildpeace</comment> </opcode> <opcode id="00a4" name="OP_GuildWar" updated="05/26/04"> <comment></comment> </opcode> <opcode id="00a7" name="OP_GuildLeader" updated="05/26/04"> <comment>/guildleader</comment> </opcode> <opcode id="00b6" name="OP_ApplyPoison" updated="05/26/04"> <comment></comment> </opcode> <opcode id="00da" name="OP_GMInquire" updated="05/26/04"> <comment>GM /inquire - Search soulmark data</comment> </opcode> <opcode id="00dc" name="OP_GMSoulmark" updated="05/26/04"> <comment>GM /praise /warn - Add soulmark comment to user file</comment> </opcode> <opcode id="00de" name="OP_GMHideMe" updated="05/26/04"> <comment>GM /hideme - Remove self from spawn lists and make invis</comment> </opcode> <opcode id="00ef" name="OP_SafePoint" updated="05/26/04"> <comment></comment> </opcode> <opcode id="010b" name="OP_GMGoto" updated="05/26/04"> <comment>GM /goto - Transport to another loc</comment> </opcode> <opcode id="012d" name="OP_BindWound" updated="05/26/04"> <comment></comment> </opcode> <opcode id="0132" name="OP_GuildRemove" updated="05/26/04"> <comment>/guildremove</comment> </opcode> <opcode id="013b" name="OP_GMTraining" updated="05/26/04"> <comment>old OpenGMCode</comment> <payload dir="both" typename="uint8_t" sizechecktype="none"/> </opcode> <opcode id="013c" name="OP_GMEndTraining" updated="05/26/04"> <comment></comment> </opcode> <opcode id="0152" name="OP_MoveCash" updated="05/26/04"> <comment></comment> </opcode> <opcode id="0160" name="OP_Taunt" updated="05/26/04"> <comment>old ConsumeCode</comment> </opcode> <opcode id="016c" name="OP_Stun" updated="05/26/04"> <comment></comment> </opcode> <opcode id="0175" name="OP_GMTrainSkill" updated="05/26/04"> <comment>old SkillTrainCode</comment> </opcode> <opcode id="0178" name="OP_GMEndTrainingResponse" updated="05/26/04"> <comment>old CloseGMCode</comment> <payload dir="both" typename="uint8_t" sizechecktype="none"/> </opcode> <opcode id="0183" name="OP_GMZoneRequest" updated="05/26/04"> <comment>/zone</comment> </opcode> <opcode id="018f" name="OP_BecomePK" updated="05/26/04"> <comment></comment> </opcode> <opcode id="0197" name="OP_SetDataRate" updated="05/26/04"> <comment>Client sending datarate.txt value</comment> </opcode> <opcode id="0198" name="OP_GMDelCorpse" updated="05/26/04"> <comment>/delcorpse</comment> </opcode> <opcode id="0199" name="OP_Sacrifice" updated="05/26/04"> <comment></comment> </opcode> <opcode id="01af" name="OP_GMApproval" updated="05/26/04"> <comment>GM /approval - Name approval duty?</comment> </opcode> <opcode id="01b2" name="OP_GMToggle" updated="05/26/04"> <comment>GM /toggle - Toggle ability to receive tells from other PC's</comment> </opcode> <opcode id="01bc" name="OP_MoneyUpdate" updated="05/26/04"> <comment></comment> </opcode> <opcode id="01ba" name="OP_ReqZoneObjects" updated="05/26/04"> <comment>Client requesting zone objects</comment> </opcode> <opcode id="01c4" name="OP_Translocate" updated="05/26/04"> <comment></comment> </opcode> <opcode id="01ea" name="OP_RespondAA" updated="05/26/04"> <comment></comment> </opcode> <opcode id="01ed" name="OP_IncreaseStats" updated="05/26/04"> <comment></comment> </opcode> <opcode id="01ef" name="OP_ViewPetition" updated="05/26/04"> <comment>Player /viewpetition</comment> </opcode> <opcode id="01ff" name="OP_ExpansionSetting" updated="05/26/04"> <comment></comment> </opcode> <opcode id="0205" name="OP_GainMoney" updated="05/26/04"> <comment></comment> </opcode> <opcode id="0225" name="OP_GMZoneRequest2" updated="05/26/04"> <comment>/zone 2</comment> </opcode> <opcode id="0245" name="?" implicitlen="6" updated="07/14/04"> <comment>Unknown, but has implicit length</comment> </opcode> <opcode id="0261" name="OP_CrashDump" updated="05/26/04"> <comment></comment> </opcode> <opcode id="0263" name="OP_GuildDemote" updated="05/26/04"> <comment></comment> </opcode> <opcode id="0264" name="OP_ZoneUnavail" updated="05/26/04"> <comment></comment> </opcode> <opcode id="028b" name="OP_GMSummon" updated="05/26/04"> <comment>GM /summon - Summon PC to self</comment> </opcode> <opcode id="0296" name="OP_ItemTextFile" updated="05/26/04"> <comment>old BookTextCode</comment> <payload dir="server" typename="bookTextStruct" sizechecktype="none"/> </opcode> <opcode id="029e" name="OP_OpenObject" updated="05/26/04"> <comment></comment> </opcode> <opcode id="028e" name="OP_GMEmoteZone" updated="05/26/04"> <comment>GM /emotezone - Send zonewide emote</comment> </opcode> <opcode id="0296" name="OP_ReadBook" updated="05/26/04"> <comment></comment> </opcode> <opcode id="02b4" name="OP_SummonCorpse" updated="05/26/04"> <comment>/summoncorpse</comment> </opcode> <opcode id="02cc" name="OP_ShopItem" updated="05/26/04"> <comment>Merchant Item data</comment> </opcode> <opcode id="02d0" name="OP_AdventureRequest" updated="05/26/04"> <comment></comment> </opcode> <opcode id="02d1" name="OP_AdventureMerchantResponse" updated="05/26/04"> <comment></comment> </opcode> <opcode id="02d2" name="OP_AdventureMerchantPurchase" updated="05/26/04"> <comment></comment> </opcode> <opcode id="02e2" name="OP_AdventurePointsUpdate" updated="05/26/04"> <comment></comment> </opcode> <opcode id="02ef" name="OP_Adventure" updated="05/26/04"> <comment>/adventure</comment> </opcode> <opcode id="1ee8" name="OP_CombatAbility" updated="02/15/05"> <comment></comment> </opcode> --> </seqopcodes>Code:/* * everquest.h * * ShowEQ Distributed under GPL * http://seq.sourceforge.net/ */ /* ** Please be kind and remember to correctly re-order ** the values in here whenever you add a new item, ** thanks. - Andon */ /* ** Structures used in the network layer of Everquest */ #ifndef EQSTRUCT_H #define EQSTRUCT_H #include "config.h" #ifdef __FreeBSD__ #include <sys/types.h> #else #include <stdint.h> #endif /* ** ShowEQ specific definitions */ // Statistical list defines #define LIST_HP 0 #define LIST_MANA 1 #define LIST_STAM 2 #define LIST_EXP 3 #define LIST_FOOD 4 #define LIST_WATR 5 #define LIST_STR 6 #define LIST_STA 7 #define LIST_CHA 8 #define LIST_DEX 9 #define LIST_INT 10 #define LIST_AGI 11 #define LIST_WIS 12 #define LIST_MR 13 #define LIST_FR 14 #define LIST_CR 15 #define LIST_DR 16 #define LIST_PR 17 #define LIST_AC 18 #define LIST_ALTEXP 19 #define LIST_MAXLIST 20 /* ** MOB Spawn Type */ #define SPAWN_PLAYER 0 #define SPAWN_NPC 1 #define SPAWN_PC_CORPSE 2 #define SPAWN_NPC_CORPSE 3 #define SPAWN_NPC_UNKNOWN 4 #define SPAWN_DROP 6 #define SPAWN_DOOR 7 #define SPAWN_SELF 10 /* ** Diety List */ #define DEITY_UNKNOWN 0 #define DEITY_AGNOSTIC 396 #define DEITY_BRELL 202 #define DEITY_CAZIC 203 #define DEITY_EROL 204 #define DEITY_BRISTLE 205 #define DEITY_INNY 206 #define DEITY_KARANA 207 #define DEITY_MITH 208 #define DEITY_PREXUS 209 #define DEITY_QUELLIOUS 210 #define DEITY_RALLOS 211 #define DEITY_SOLUSEK 213 #define DEITY_TRIBUNAL 214 #define DEITY_TUNARE 215 #define DEITY_BERT 201 #define DEITY_RODCET 212 #define DEITY_VEESHAN 216 //Team numbers for Deity teams #define DTEAM_GOOD 1 #define DTEAM_NEUTRAL 2 #define DTEAM_EVIL 3 #define DTEAM_OTHER 5 //Team numbers for Race teams #define RTEAM_HUMAN 1 #define RTEAM_ELF 2 #define RTEAM_DARK 3 #define RTEAM_SHORT 4 #define RTEAM_OTHER 5 //Maximum limits of certain types of data #define MAX_KNOWN_SKILLS 100 #define MAX_SPELL_SLOTS 12 #define MAX_KNOWN_LANGS 26 #define MAX_SPELLBOOK_SLOTS 400 #define MAX_GROUP_MEMBERS 6 #define MAX_BUFFS 42 #define MAX_GUILDS 8192 #define MAX_AA 300 #define MAX_BANDOLIERS 20 #define MAX_POTIONS_IN_BELT 5 #define MAX_TRIBUTES 5 #define MAX_DISCIPLINES 100 //Item Flags #define ITEM_NORMAL 0x0000 #define ITEM_NORMAL1 0x0031 #define ITEM_NORMAL2 0x0036 #define ITEM_NORMAL3 0x315f #define ITEM_NORMAL4 0x3336 #define ITEM_NORMAL5 0x0032 #define ITEM_NORMAL6 0x0033 #define ITEM_NORMAL7 0x0034 #define ITEM_NORMAL8 0x0039 #define ITEM_CONTAINER 0x7900 #define ITEM_CONTAINER_PLAIN 0x7953 #define ITEM_BOOK 0x7379 #define ITEM_VERSION 0xFFFF // Item spellId no spell value #define ITEM_SPELLID_NOSPELL 0xffff // Item Field Count #define ITEM_FIELD_SEPERATOR_COUNT 117 #define ITEM_CMN_FIELD_SEPERATOR_COUNT 102 //Combat Flags #define COMBAT_MISS 0 #define COMBAT_BLOCK -1 #define COMBAT_PARRY -2 #define COMBAT_RIPOSTE -3 #define COMBAT_DODGE -4 #define PLAYER_CLASSES 16 #define PLAYER_RACES 15 /* ** Item Packet Type */ enum ItemPacketType { ItemPacketViewLink = 0x00, ItemPacketMerchant = 0x64, ItemPacketLoot = 0x66, ItemPacketTrade = 0x67, ItemPacketSummonItem = 0x6a, ItemPacketWorldContainer = 0x6b }; /* ** Item types */ enum ItemType { ItemTypeCommon = 0, ItemTypeContainer = 1, ItemTypeBook = 2 }; /* ** Chat Colors */ enum ChatColor { CC_Default = 0, CC_DarkGrey = 1, CC_DarkGreen = 2, CC_DarkBlue = 3, CC_Purple = 5, CC_LightGrey = 6, CC_User_Say = 256, CC_User_Tell = 257, CC_User_Group = 258, CC_User_Guild = 259, CC_User_OOC = 260, CC_User_Auction = 261, CC_User_Shout = 262, CC_User_Emote = 263, CC_User_Spells = 264, CC_User_YouHitOther = 265, CC_User_OtherHitYou = 266, CC_User_YouMissOther = 267, CC_User_OtherMissYou = 268, CC_User_Duels = 269, CC_User_Skills = 270, CC_User_Disciplines = 271, CC_User_Default = 273, CC_User_MerchantOffer = 275, CC_User_MerchantExchange = 276, CC_User_YourDeath = 277, CC_User_OtherDeath = 278, CC_User_OtherHitOther = 279, CC_User_OtherMissOther = 280, CC_User_Who = 281, CC_User_Yell = 282, CC_User_NonMelee = 283, CC_User_SpellWornOff = 284, CC_User_MoneySplit = 285, CC_User_Loot = 286, CC_User_Random = 287, CC_User_OtherSpells = 288, CC_User_SpellFailure = 289, CC_User_ChatChannel = 290, CC_User_Chat1 = 291, CC_User_Chat2 = 292, CC_User_Chat3 = 293, CC_User_Chat4 = 294, CC_User_Chat5 = 295, CC_User_Chat6 = 296, CC_User_Chat7 = 297, CC_User_Chat8 = 298, CC_User_Chat9 = 299, CC_User_Chat10 = 300, CC_User_MeleeCrit = 301, CC_User_SpellCrit = 302, CC_User_TooFarAway = 303, CC_User_NPCRampage = 304, CC_User_NPCFurry = 305, CC_User_NPCEnrage = 306, CC_User_EchoSay = 307, CC_User_EchoTell = 308, CC_User_EchoGroup = 309, CC_User_EchoGuild = 310, CC_User_EchoOOC = 311, CC_User_EchoAuction = 312, CC_User_EchoShout = 313, CC_User_EchoEmote = 314, CC_User_EchoChat1 = 315, CC_User_EchoChat2 = 316, CC_User_EchoChat3 = 317, CC_User_EchoChat4 = 318, CC_User_EchoChat5 = 319, CC_User_EchoChat6 = 320, CC_User_EchoChat7 = 321, CC_User_EchoChat8 = 322, CC_User_EchoChat9 = 323, CC_User_EchoChat10 = 324, CC_User_UnusedAtThisTime = 325, CC_User_ItemTags = 326, CC_User_RaidSay = 327, CC_User_MyPet = 328, CC_User_DamageShield = 329, }; /* ** Group Update actions */ enum GroupUpdateAction { GUA_Joined = 0, GUA_Left = 1, GUA_LastLeft = 6, GUA_FullGroupInfo = 7, GUA_MakeLeader = 8, GUA_Started = 9, }; /** * Leadership AAs enum, used to index into leadershipAAs in charProfileStruct */ enum LeadershipAAIndex { groupMarkNPC = 0, groupNPCHealth, groupDelegateMainAssist, groupDelegateMarkNPC, groupUnknown4, groupUnknown5, groupInspectBuffs, groupUnknown7, groupSpellAwareness, groupOffenseEnhancement, groupManaEnhancement, groupHealthEnhancement, groupHealthRegeneration, groupFindPathToPC, groupHealthOfTargetsTarget, groupUnknown15, raidMarkNPC, //0x10 raidNPCHealth, raidDelegateMainAssist, raidDelegateMarkNPC, raidUnknown4, raidUnknown5, raidUnknown6, raidSpellAwareness, raidOffenseEnhancement, raidManaEnhancement, raidHealthEnhancement, raidHealthRegeneration, raidFindPathToPC, raidHealthOfTargetsTarget, raidUnknown14, raidUnknown15, MAX_LEAD_AA //=32 }; /** * Recast timer types. Used as an off set to charProfileStruct timers. */ enum RecastTypes { RecastTimer0 = 0, RecastTimer1, WeaponHealClickTimer, // 2 MuramiteBaneNukeClickTimer, // 3 RecastTimer4, DispellClickTimer, // 5 (also click heal orbs?) EpicTimer, // 6 OoWBPClickTimer, // 7 VishQuestClassItemTimer, // 8 HealPotionTimer, // 9 RecastTimer10, RecastTimer11, RecastTimer12, RecastTimer13, RecastTimer14, RecastTimer15, RecastTimer16, RecastTimer17, RecastTimer18, ModRodTimer, // 19 MAX_RECAST_TYPES // 20 }; /* ** Compiler override to ensure ** byte aligned structures */ #pragma pack(1) /* ** Generic Structures used in specific ** structures below */ // OpCode stuff (all kinda silly, but until we stop including the OpCode everywhere)... struct opCodeStruct { int16_t opCode; // kinda silly -- this is required for us to be able to stuff them in a QValueList bool operator== ( const opCodeStruct t ) const { return ( opCode == t.opCode); } bool operator== ( uint16_t opCode2 ) const { return ( opCode == opCode2 ); } }; /** * Session request on a stream. This is sent by the client to initiate * a session with the zone or world server. * * Size: 12 Octets */ struct SessionRequestStruct { /*0000*/ uint32_t unknown0000; /*0004*/ uint32_t sessionId; /*0008*/ uint32_t maxLength; /*0012*/ }; /** * Session response on a stream. This is the server replying to a session * request with session information. * * Size: 19 Octets */ struct SessionResponseStruct { /*0000*/ uint32_t sessionId; /*0004*/ uint32_t key; /*0008*/ uint16_t unknown0008; /*0010*/ uint8_t unknown0010; /*0011*/ uint32_t maxLength; /*0015*/ uint32_t unknown0015; /*0019*/ }; /** * Session disconnect on a stream. This is the server telling the client to * close a stream. * * Size: 8 Octets */ struct SessionDisconnectStruct { /*0000*/ uint8_t unknown[8]; /*0008*/ }; /* * Used in charProfileStruct * Size: 4 bytes */ struct Color_Struct { union { struct { /*0000*/uint8_t blue; /*0001*/uint8_t red; /*0002*/uint8_t green; /*0003*/uint8_t unknown0003; } rgb; /*0000*/uint32_t color; }; }; /* ** Buffs ** Length: 88 Octets ** Used in: ** charProfileStruct */ struct spellBuff { /*0000*/ uint8_t unknown0000; // /*0001*/ int8_t level; // Level of person who cast buff /*0002*/ uint8_t unknown0002; // /*0003*/ uint8_t unknown0003; // /*0004*/ float unknown0004; /*0008*/ int32_t spellid; // Spell /*0012*/ int32_t duration; // Time remaining in ticks /*0016*/ int32_t effect; // holds the dmg absorb amount on runes /*0020*/ uint8_t unknown0020[4]; // *** this might need to be swapped with playerId /*0024*/ uint32_t playerId; // Global id of caster (for wear off) /*0028*/ uint8_t unknown0028[60]; /*0088*/ }; /* * Used in charProfileStruct * Size: 12 octets */ struct AA_Array { /*000*/ uint32_t AA; /*004*/ uint32_t value; /*008*/ uint32_t unknown008; /*012*/ }; /** * An item inline in the stream, used in Bandolier and Potion Belt. * Size: 72 Octets */ struct InlineItem { /*000*/ uint32_t itemId; /*004*/ uint32_t icon; /*008*/ char itemName[64]; /*072*/ }; /** * Used in charProfileStruct. Contents of a Bandolier. * Size: 320 Octets */ struct BandolierStruct { /*000*/ char bandolierName[32]; /*032*/ InlineItem mainHand; /*104*/ InlineItem offHand; /*176*/ InlineItem range; /*248*/ InlineItem ammo; /*320*/ }; /** * A tribute a player can have loaded. * Size: 8 Octets */ struct TributeStruct { /*000*/ uint32_t tribute; /*004*/ uint32_t rank; /*008*/ }; /** * A bind point. * Size: 20 Octets */ struct BindStruct { /*000*/ uint32_t zoneId; /*004*/ float x; /*008*/ float y; /*012*/ float z; /*016*/ float heading; /*020*/ }; /* * Visible equiptment. * Size: 16 Octets */ struct EquipStruct { /*00*/ uint32_t equip0; /*04*/ uint32_t equip1; /*08*/ uint32_t equip2; /*12*/ uint32_t itemId; /*16*/ }; /* ** Type: Zone Change Request (before hand) ** Length: 92 Octets ** OpCode: ZoneChangeCode */ struct zoneChangeStruct { /*0000*/ char name[64]; // Character Name /*0064*/ uint16_t zoneId; // zone Id /*0066*/ uint16_t zoneInstance; // zone Instance /*0068*/ uint8_t unknown0068[8]; // unknown /*0076*/ uint8_t unknown0076[12]; // ***Placeholder (6/29/2005) /*0088*/ uint8_t unknown0088[4]; // HoT Beta (9/7/2010) /*0092*/ }; /* ** Type: Request Zone Change (server asking the client to change zones) ** Size: 24 Octets ** OpCode: OP_RequestZoneChange */ struct requestZoneChangeStruct { /*0000*/ uint16_t zoneId; // Zone to change to /*0002*/ uint16_t zoneInstance; // Instance to change to /*0004*/ float x; // Zone in x coord in next zone /*0008*/ float y; // Zone in y coord in next zone /*0012*/ float z; // Zone in z coord in next zone /*0016*/ float heading; // Zone in heading in next zone /*0020*/ uint32_t unknown0020; // *** Placeholder /*0024*/ }; /* ** Client Zone Entry struct ** Length: 76 Octets ** OpCode: ZoneEntryCode (when direction == client) */ struct ClientZoneEntryStruct { /*0000*/ uint32_t unknown0000; // ***Placeholder /*0004*/ char name[32]; // Player firstname /*0036*/ uint8_t unknown0036[28]; // ***Placeholder /*0064*/ uint32_t unknown0064[3]; // unknown /*0076*/ }; /* ** New Zone Code ** Length: 948 Octets ** OpCode: NewZoneCode */ struct newZoneStruct { /*0000*/ char name[64]; // Character name /*0064*/ char shortName[32]; // Zone Short Name (maybe longer?) /*0096*/ char unknown0096[96]; /*0192*/ char longName[278]; // Zone Long Name /*0470*/ uint8_t ztype; // Zone type /*0471*/ uint8_t fog_red[4]; // Zone fog (red) /*0475*/ uint8_t fog_green[4]; // Zone fog (green) /*0479*/ uint8_t fog_blue[4]; // Zone fog (blue) /*0483*/ uint8_t unknown0483[87]; // *** Placeholder /*0570*/ uint8_t sky; // Zone sky /*0571*/ uint8_t unknown0571[13]; // *** Placeholder /*0584*/ float zone_exp_multiplier; // Experience Multiplier /*0588*/ float safe_y; // Zone Safe Y /*0592*/ float safe_x; // Zone Safe X /*0596*/ float safe_z; // Zone Safe Z /*0600*/ float unknown0600; // *** Placeholder /*0604*/ float unknown0604; // *** Placeholder /*0608*/ float underworld; // Underworld /*0612*/ float minclip; // Minimum view distance /*0616*/ float maxclip; // Maximum view distance /*0620*/ uint8_t unknown0616[84]; // *** Placeholder /*0704*/ char zonefile[64]; // Zone file name? /*0768*/ uint8_t unknown0764[36]; // *** Placeholder (12/05/2006) /*0804*/ uint8_t unknown0800[32]; // *** Placeholder (02/13/2007) /*0836*/ uint8_t unknown0832[12]; // *** Placeholder /*0848*/ uint8_t unknown0844[4]; // *** Placeholder (06/29/2005) /*0852*/ uint8_t unknown0848[4]; // *** Placeholder (09/13/2005) /*0856*/ uint8_t unknown0852[4]; // *** Placeholder (02/21/2006) /*0860*/ uint8_t unknown0856[36]; // *** Placeholder (06/13/2006) /*0896*/ uint8_t unknown0892[12]; // *** Placeholder (12/05/2006) /*0908*/ uint8_t unknown0904[8]; // *** Placeholder (02/13/2007) /*0916*/ uint8_t unknown0916[4]; // *** Placeholder (11/24/2007) /*0920*/ uint8_t unknown0920[4]; // *** Placeholder (01/17/2008) /*0924*/ uint8_t unknown0924[4]; // *** Placeholder (09/03/2008) /*0928*/ uint8_t unknown0928[4]; // *** Placeholder (10/07/2008) /*0932*/ uint8_t unknown0932[8]; // *** Placeholder (11/04/2009) /*0940*/ uint8_t unknown0940[4]; // *** Placeholder (12/15/2009) /*0944*/ uint8_t unknown0944[4]; // *** Placeholder (11/15/2011) /*0948*/ }; /* ** Dynamic Zone Switch Info Struct ** Length: 32 Octets ** OpCode: DzSwitchInfo */ struct dzSwitchInfo { /*0000*/ uint32_t unknown0000; /*0004*/ uint32_t show; // Show compass line /*0008*/ uint16_t zoneID; /*0010*/ uint16_t instanceID; /*0012*/ uint32_t type; // if(type != 1 && type > 2 && type <= 5) { color = green; } else { color = pink; } /*0016*/ uint32_t unknown0016; /*0020*/ float y; /*0024*/ float x; /*0028*/ float z; /*0032*/ }; /* ** Dynamic Zone Info Struct ** Length: 208 Octets ** OpCode: DzInfo */ struct dzInfo { /*0000*/ uint32_t unknown0000; /*0004*/ uint32_t unknown0004; /*0008*/ uint8_t newDZ; /*0009*/ uint8_t padding0009[3]; /*0012*/ uint32_t maxPlayers; /*0016*/ char dzName[128]; // Instance name /*0144*/ char name[64]; // Your player's name /*0208*/ }; /** * Player Profile. Common part of charProfileStruct shared between * shrouding and zoning profiles. * * NOTE: Offsets are kept in here relative to OP_PlayerProfile to ease in * diagnosing changes in that struct. */ struct playerProfileStruct { /*00004*/ uint32_t gender; // Player Gender - 0 Male, 1 Female /*00008*/ uint32_t race; // Player race /*00012*/ uint32_t class_; // Player class /*00016*/ uint8_t unknown00016[40]; // ***Placeholder /*00056*/ uint8_t level; // Level of player /*00057*/ uint8_t level1; // Level of player (again?) /*00058*/ uint8_t unknown00058[2]; // ***Placeholder /*00060*/ BindStruct binds[5]; // Bind points (primary is first) /*00160*/ uint32_t deity; // deity /*00164*/ uint32_t intoxication; // Alcohol level (in ticks till sober?) /*00168*/ uint32_t spellSlotRefresh[13]; // Refresh time (millis) /*00220*/ uint8_t haircolor; // Player hair color /*00221*/ uint8_t beardcolor; // Player beard color /*00222*/ uint8_t unknown00222[6]; /*00228*/ uint8_t eyecolor1; // Player left eye color /*00229*/ uint8_t eyecolor2; // Player right eye color /*00230*/ uint8_t hairstyle; // Player hair style /*00231*/ uint8_t beard; // Player beard type /*00232*/ uint8_t unknown00232[4]; /*00236*/ union { struct { /*00236*/ EquipStruct equip_helmet; // Equiptment: Helmet visual /*00252*/ EquipStruct equip_chest; // Equiptment: Chest visual /*00268*/ EquipStruct equip_arms; // Equiptment: Arms visual /*00284*/ EquipStruct equip_bracers; // Equiptment: Wrist visual /*00300*/ EquipStruct equip_hands; // Equiptment: Hands visual /*00316*/ EquipStruct equip_legs; // Equiptment: Legs visual /*00332*/ EquipStruct equip_feet; // Equiptment: Boots visual /*00348*/ EquipStruct equip_primary; // Equiptment: Main visual /*00364*/ EquipStruct equip_secondary; // Equiptment: Off visual } equip; /*00380*/ EquipStruct equipment[9]; }; /*00380*/ uint8_t unknown00380[220]; /*00600*/ Color_Struct item_tint[9]; // RR GG BB 00 /*00636*/ AA_Array aa_array[MAX_AA]; // AAs /*04236*/ uint32_t points; // Unspent Practice points /*04240*/ uint32_t MANA; // Current MANA /*04244*/ uint32_t curHp; // Current HP without +HP equipment /*04248*/ uint32_t STR; // Strength /*04252*/ uint32_t STA; // Stamina /*04256*/ uint32_t CHA; // Charisma /*04260*/ uint32_t DEX; // Dexterity /*04264*/ uint32_t INT; // Intelligence /*04268*/ uint32_t AGI; // Agility /*04272*/ uint32_t WIS; // Wisdom /*04276*/ uint8_t unknown04276[28]; /*04304*/ uint32_t face; // Player face /*04308*/ uint8_t unknown04308[180]; /*04488*/ int32_t sSpellBook[720]; // List of the Spells in spellbook /*07368*/ int32_t sMemSpells[MAX_SPELL_SLOTS]; // List of spells memorized /*07416*/ uint8_t unknown07416[20]; /*07436*/ uint32_t platinum; // Platinum Pieces on player /*07442*/ uint32_t gold; // Gold Pieces on player /*07444*/ uint32_t silver; // Silver Pieces on player /*07448*/ uint32_t copper; // Copper Pieces on player /*07452*/ uint32_t platinum_cursor; // Platinum Pieces on cursor /*07456*/ uint32_t gold_cursor; // Gold Pieces on cursor /*07460*/ uint32_t silver_cursor; // Silver Pieces on cursor /*07464*/ uint32_t copper_cursor; // Copper Pieces on cursor /*07468*/ uint32_t skills[MAX_KNOWN_SKILLS]; // List of skills /*07868*/ uint32_t innateSkills[25]; /*07968*/ uint8_t unknown07968[16]; /*07984*/ uint32_t toxicity; // Potion Toxicity (15=too toxic, each potion adds 3) /*07988*/ uint32_t thirst; // Drink (ticks till next drink) /*07992*/ uint32_t hunger; // Food (ticks till next eat) /*07996*/ uint8_t unknown07996[20]; /*08016*/ spellBuff buffs[MAX_BUFFS]; // Buffs currently on the player /*11712*/ uint32_t disciplines[MAX_DISCIPLINES];// Known disciplines /*12112*/ uint8_t unknown12112[400]; /*12312*/ uint32_t recastTimers[MAX_RECAST_TYPES];// Timers (GMT of last use) /*12592*/ uint8_t unknown12592[480]; /*13072*/ uint32_t endurance; // Current endurance /*13076*/ uint32_t aa_spent; // Number of spent AA points (including glyphs) /*13080*/ uint32_t aa_assigned; // Number of points currently assigned to AAs /*13084*/ uint32_t unknown13084[4]; /*13100*/ uint32_t aa_unspent; // Unspent AA points /*13104*/ uint8_t unknown13104[4]; /*13108*/ BandolierStruct bandoliers[MAX_BANDOLIERS]; // bandolier contents /*19508*/ InlineItem potionBelt[MAX_POTIONS_IN_BELT]; // potion belt /*19868*/ uint8_t unknown19868[92]; /*19960*/ }; /* ** Player Profile ** Length: 29688 Octets ** OpCode: CharProfileCode */ struct charProfileStruct { /*00000*/ uint32_t checksum; // /*00004*/ playerProfileStruct profile; // Profile /*19960*/ char name[64]; // Name of player /*20024*/ char lastName[32]; // Last name of player /*20054*/ uint8_t unknown20054[12]; //***Placeholder (1/18/2006) /*20066*/ int32_t guildID; // guildID /*20070*/ uint32_t birthdayTime; // character birthday /*20074*/ uint32_t lastSaveTime; // character last save time /*20078*/ uint32_t timePlayedMin; // time character played /*20082*/ uint8_t unknown20082[4]; /*20086*/ uint8_t pvp; // 1=pvp, 0=not pvp /*20087*/ uint8_t anon; // 2=roleplay, 1=anon, 0=not anon /*20088*/ uint8_t gm; // 0=no, 1=yes (guessing!) /*20089*/ int8_t guildstatus; // 0=member, 1=officer, 2=guildleader /*20090*/ uint8_t unknown20090[16]; /*20106*/ uint32_t exp; // Current Experience /*20110*/ uint8_t unknown20110[12]; /*20122*/ uint8_t languages[MAX_KNOWN_LANGS]; // List of languages ccc /*20150*/ uint8_t unknown20150[6]; // All 0x00 (language buffer?) /*20156*/ float y; // Players y position /*20160*/ float x; // Players x position /*20164*/ float z; // Players z position /*20168*/ float heading; // Players heading /*20172*/ uint32_t standState; // 0x64 = stand /*20176*/ uint32_t platinum_bank; // Platinum Pieces in Bank /*20180*/ uint32_t gold_bank; // Gold Pieces in Bank /*20184*/ uint32_t silver_bank; // Silver Pieces in Bank /*20188*/ uint32_t copper_bank; // Copper Pieces in Bank /*20192*/ uint32_t platinum_shared; // Shared platinum pieces /*20196*/ uint8_t unknown20196[2124]; // Added 1088 for HoT /*22320*/ uint32_t expansions; // Bitmask for expansions /*22324*/ uint8_t unknown22324[12]; /*22336*/ uint32_t autosplit; // 0 = off, 1 = on /*22340*/ uint8_t unknown22340[16]; /*22356*/ uint16_t zoneId; // see zones.h /*22358*/ uint16_t zoneInstance; // Instance id /*22360*/ uint8_t unknown22360[992]; /*23352*/ uint32_t leadAAActive; // 0 = leader AA off, 1 = leader AA on /*23356*/ uint8_t unknown23356[4]; /*23360*/ uint32_t ldon_guk_points; // Earned GUK points /*23364*/ uint32_t ldon_mir_points; // Earned MIR points /*23368*/ uint32_t ldon_mmc_points; // Earned MMC points /*23372*/ uint32_t ldon_ruj_points; // Earned RUJ points /*23376*/ uint32_t ldon_tak_points; // Earned TAK points /*23380*/ uint32_t ldon_avail_points; // Available LDON points /*23384*/ uint8_t unknown23384[144]; /*23528*/ uint32_t tributeTime; // Time remaining on tribute (millisecs) /*23532*/ uint32_t careerTribute; // Total favor points for this char /*23536*/ uint32_t unknown23536; // *** Placeholder /*23540*/ uint32_t currentTribute; // Current tribute points /*23544*/ uint32_t unknown23544; // *** Placeholder /*23548*/ uint32_t tributeActive; // 0 = off, 1=on /*23552*/ TributeStruct tributes[MAX_TRIBUTES]; // Current tribute loadout /*23592*/ uint8_t unknown23592[84]; // Added 208 bytes for HoT BETA /*23676*/ float expGroupLeadAA; // Current group lead exp points /*23680*/ uint32_t unknown23680; /*23684*/ float expRaidLeadAA; // Current raid lead AA exp points /*23688*/ uint32_t unknown23688; /*23692*/ uint32_t groupLeadAAUnspent; // Unspent group lead AA points /*23696*/ uint32_t raidLeadAAUnspent; // Unspent raid lead AA points /*23700*/ uint32_t leadershipAAs[MAX_LEAD_AA]; // Leader AA ranks /*23828*/ uint8_t unknown23828[128]; /*23956*/ uint32_t airRemaining; // Air supply (seconds) /*23960*/ uint8_t unknown23960[4608]; /*28568*/ uint32_t expAA; // Exp earned in current AA point /*28572*/ uint8_t unknown28572[40]; /*28612*/ uint32_t currentRadCrystals; // Current count of radiant crystals /*28616*/ uint32_t careerRadCrystals; // Total count of radiant crystals ever /*28620*/ uint32_t currentEbonCrystals; // Current count of ebon crystals /*28624*/ uint32_t careerEbonCrystals; // Total count of ebon crystals ever /*28628*/ uint8_t groupAutoconsent; // 0=off, 1=on /*28629*/ uint8_t raidAutoconsent; // 0=off, 1=on /*28630*/ uint8_t guildAutoconsent; // 0=off, 1=on /*28631*/ uint8_t unknown28631[5]; // ***Placeholder (6/29/2005) /*28636*/ uint32_t showhelm; // 0=no, 1=yes /*28640*/ uint8_t unknown28640[1048]; // ***Placeholder (2/13/2007) /*29688*/ }; #if 0 // The following seem to be totally gone from charProfileStruct (9/13/05) /*2384*/ char title[32]; // Current character title /*2352*/ char servername[32]; // server the char was created on /*2416*/ char suffix[32]; // Current character suffix #endif #if 1 struct playerAAStruct { /* 0 */ uint8_t unknown0; union { uint8_t unnamed[17]; struct _named { /* 1 */ uint8_t innate_strength; /* 2 */ uint8_t innate_stamina; /* 3 */ uint8_t innate_agility; /* 4 */ uint8_t innate_dexterity; /* 5 */ uint8_t innate_intelligence; /* 6 */ uint8_t innate_wisdom; /* 7 */ uint8_t innate_charisma; /* 8 */ uint8_t innate_fire_protection; /* 9 */ uint8_t innate_cold_protection; /* 10 */ uint8_t innate_magic_protection; /* 11 */ uint8_t innate_poison_protection; /* 12 */ uint8_t innate_disease_protection; /* 13 */ uint8_t innate_run_speed; /* 14 */ uint8_t innate_regeneration; /* 15 */ uint8_t innate_metabolism; /* 16 */ uint8_t innate_lung_capacity; /* 17 */ uint8_t first_aid; } named; } general_skills; union { uint8_t unnamed[17]; struct _named { /* 18 */ uint8_t healing_adept; /* 19 */ uint8_t healing_gift; /* 20 */ uint8_t unknown20; /* 21 */ uint8_t spell_casting_reinforcement; /* 22 */ uint8_t mental_clarity; /* 23 */ uint8_t spell_casting_fury; /* 24 */ uint8_t chanelling_focus; /* 25 */ uint8_t unknown25; /* 26 */ uint8_t unknown26; /* 27 */ uint8_t unknown27; /* 28 */ uint8_t natural_durability; /* 29 */ uint8_t natural_healing; /* 30 */ uint8_t combat_fury; /* 31 */ uint8_t fear_resistance; /* 32 */ uint8_t finishing_blow; /* 33 */ uint8_t combat_stability; /* 34 */ uint8_t combat_agility; } named; } archetype_skills; union { uint8_t unnamed[93]; struct _name { /* 35 */ uint8_t mass_group_buff; // All group-buff-casting classes(?) // ===== Cleric ===== /* 36 */ uint8_t divine_resurrection; /* 37 */ uint8_t innate_invis_to_undead; // cleric, necromancer /* 38 */ uint8_t celestial_regeneration; /* 39 */ uint8_t bestow_divine_aura; /* 40 */ uint8_t turn_undead; /* 41 */ uint8_t purify_soul; // ===== Druid ===== /* 42 */ uint8_t quick_evacuation; // wizard, druid /* 43 */ uint8_t exodus; // wizard, druid /* 44 */ uint8_t quick_damage; // wizard, druid /* 45 */ uint8_t enhanced_root; // druid /* 46 */ uint8_t dire_charm; // enchanter, druid, necromancer // ===== Shaman ===== /* 47 */ uint8_t cannibalization; /* 48 */ uint8_t quick_buff; // shaman, enchanter /* 49 */ uint8_t alchemy_mastery; /* 50 */ uint8_t rabid_bear; // ===== Wizard ===== /* 51 */ uint8_t mana_burn; /* 52 */ uint8_t improved_familiar; /* 53 */ uint8_t nexus_gate; // ===== Enchanter ===== /* 54 */ uint8_t unknown54; /* 55 */ uint8_t permanent_illusion; /* 56 */ uint8_t jewel_craft_mastery; /* 57 */ uint8_t gather_mana; // ===== Mage ===== /* 58 */ uint8_t mend_companion; // mage, necromancer /* 59 */ uint8_t quick_summoning; /* 60 */ uint8_t frenzied_burnout; /* 61 */ uint8_t elemental_form_fire; /* 62 */ uint8_t elemental_form_water; /* 63 */ uint8_t elemental_form_earth; /* 64 */ uint8_t elemental_form_air; /* 65 */ uint8_t improved_reclaim_energy; /* 66 */ uint8_t turn_summoned; /* 67 */ uint8_t elemental_pact; // ===== Necromancer ===== /* 68 */ uint8_t life_burn; /* 69 */ uint8_t dead_mesmerization; /* 70 */ uint8_t fearstorm; /* 71 */ uint8_t flesh_to_bone; /* 72 */ uint8_t call_to_corpse; // ===== Paladin ===== /* 73 */ uint8_t divine_stun; /* 74 */ uint8_t improved_lay_of_hands; /* 75 */ uint8_t slay_undead; /* 76 */ uint8_t act_of_valor; /* 77 */ uint8_t holy_steed; /* 78 */ uint8_t fearless; // paladin, shadowknight /* 79 */ uint8_t two_hand_bash; // paladin, shadowknight // ===== Ranger ===== /* 80 */ uint8_t innate_camouflage; // ranger, druid /* 81 */ uint8_t ambidexterity; // all "dual-wield" users /* 82 */ uint8_t archery_mastery; // ranger /* 83 */ uint8_t unknown83; /* 84 */ uint8_t endless_quiver; // ranger // ===== Shadow Knight ===== /* 85 */ uint8_t unholy_steed; /* 86 */ uint8_t improved_harm_touch; /* 87 */ uint8_t leech_touch; /* 88 */ uint8_t unknown88; /* 89 */ uint8_t soul_abrasion; // ===== Bard ===== /* 90 */ uint8_t instrument_mastery; /* 91 */ uint8_t unknown91; /* 92 */ uint8_t unknown92; /* 93 */ uint8_t unknown93; /* 94 */ uint8_t jam_fest; /* 95 */ uint8_t unknown95; /* 96 */ uint8_t unknown96; // ===== Monk ===== /* 97 */ uint8_t critical_mend; /* 98 */ uint8_t purify_body; /* 99 */ uint8_t unknown99; /* 100 */ uint8_t rapid_feign; /* 101 */ uint8_t return_kick; // ===== Rogue ===== /* 102 */ uint8_t escape; /* 103 */ uint8_t poison_mastery; /* 104 */ uint8_t double_riposte; // all "riposte" users /* 105 */ uint8_t unknown105; /* 106 */ uint8_t unknown106; /* 107 */ uint8_t purge_poison; // rogue // ===== Warrior ===== /* 108 */ uint8_t flurry; /* 109 */ uint8_t rampage; /* 110 */ uint8_t area_taunt; /* 111 */ uint8_t warcry; /* 112 */ uint8_t bandage_wound; // ===== (Other) ===== /* 113 */ uint8_t spell_casting_reinforcement_mastery; // all "pure" casters /* 114 */ uint8_t unknown114; /* 115 */ uint8_t extended_notes; // bard /* 116 */ uint8_t dragon_punch; // monk /* 117 */ uint8_t strong_root; // wizard /* 118 */ uint8_t singing_mastery; // bard /* 119 */ uint8_t body_and_mind_rejuvenation; // paladin, ranger, bard /* 120 */ uint8_t physical_enhancement; // paladin, ranger, bard /* 121 */ uint8_t adv_trap_negotiation; // rogue, bard /* 122 */ uint8_t acrobatics; // all "safe-fall" users /* 123 */ uint8_t scribble_notes; // bard /* 124 */ uint8_t chaotic_stab; // rogue /* 125 */ uint8_t pet_discipline; // all pet classes except enchanter /* 126 */ uint8_t unknown126; /* 127 */ uint8_t unknown127; } named; } class_skills; }; #endif /* ** Generic Spawn Struct ** Length: Variable. ** Used in: ** dbSpawnStruct ** petStruct ** spawnShroudOther ** spawnShroudSelf */ // Fixed-length struct that we'll fill with data from the variable-length packet, // unnecessary fields removed, arranged in order with the packet. struct spawnStruct { /*0000*/ char name[64]; /*0000*/ uint32_t spawnId; /*0000*/ uint8_t level; /*0000*/ uint8_t NPC; // 0=player,1=npc,2=pc corpse,3=npc corpse /*0000*/ union { struct { unsigned padding7:1; unsigned AFK:1; unsigned sneak:1; unsigned LFG:1; unsigned padding6:1; unsigned invis:1; unsigned padding5:11; unsigned gm:1; unsigned anon:1; // 0=normal, 1=anon, 2=roleplay unsigned padding4:1; unsigned gender:1; // Gender (0=male, 1=female) unsigned padding3:1; unsigned linkdead:1; unsigned betabuffed:1; unsigned padding2:2; unsigned targetable:1; unsigned targetcyclable:1; unsigned padding1:2; unsigned trader:1; unsigned buyer:1; }; int32_t miscData; }; /*0000*/ uint8_t otherData; // & 4 - has title, & 8 - has suffix, & 1 - it's a chest or untargetable /*0000*/ uint32_t race; /*0000*/ uint8_t charProperties; /*0000*/ uint32_t bodytype; /*0000*/ uint32_t bodytype2; /*0000*/ uint8_t curHp; /*0000*/ uint8_t holding; /*0000*/ uint32_t deity; /*0000*/ uint32_t guildID; /*0000*/ uint32_t guildstatus; // 0=member, 1=officer, 2=leader, -1=not guilded /*0000*/ uint8_t class_; /*0000*/ uint8_t state; // stand state /*0000*/ uint8_t light; /*0000*/ char lastName[32]; /*0000*/ uint32_t petOwnerId; union { struct { /*0000*/ signed padding0000:12; // ***Placeholder signed deltaX:13; // change in x signed padding0005:7; // ***Placeholder /*0000*/ signed deltaHeading:10; // change in heading signed deltaY:13; // change in y signed padding0006:9; // ***Placeholder /*0000*/ signed y:19; // y coord signed animation:13; // animation /*0000*/ unsigned heading:12; // heading signed x:19; // x coord signed padding0014:1; // ***Placeholder /*0000*/ signed z:19; // z coord signed deltaZ:13; // change in z }; int32_t posData[5]; }; /*0000*/ union { struct { /*0000*/ Color_Struct color_helmet; // Color of helmet item /*0000*/ Color_Struct color_chest; // Color of chest item /*0000*/ Color_Struct color_arms; // Color of arms item /*0000*/ Color_Struct color_bracers; // Color of bracers item /*0000*/ Color_Struct color_hands; // Color of hands item /*0000*/ Color_Struct color_legs; // Color of legs item /*0000*/ Color_Struct color_feet; // Color of feet item /*0000*/ Color_Struct color_primary; // Color of primary item /*0000*/ Color_Struct color_secondary; // Color of secondary item } equipment_colors; /*0000*/ Color_Struct colors[9]; // Array elements correspond to struct equipment_colors above }; /*0000*/ union { struct { /*0000*/ EquipStruct equip_helmet; // Equiptment: Helmet visual /*0000*/ EquipStruct equip_chest; // Equiptment: Chest visual /*0000*/ EquipStruct equip_arms; // Equiptment: Arms visual /*0000*/ EquipStruct equip_bracers; // Equiptment: Wrist visual /*0000*/ EquipStruct equip_hands; // Equiptment: Hands visual /*0000*/ EquipStruct equip_legs; // Equiptment: Legs visual /*0000*/ EquipStruct equip_feet; // Equiptment: Boots visual /*0000*/ EquipStruct equip_primary; // Equiptment: Main visual /*0000*/ EquipStruct equip_secondary; // Equiptment: Off visual } equip; /*0000*/ EquipStruct equipment[9]; }; /*0000*/ char title[32]; /*0000*/ char suffix[32]; /*0000*/ uint8_t isMercenary; }; #if 0 // Basic structure of how the packet looks on the wire, for reference. // March 16, 2012 eqgame.exe struct spawnStruct { /*0000*/ char name[0]; /*0000*/ uint32_t spawnId; /*0000*/ uint8_t level; /*0000*/ float unknown1; /*0000*/ uint8_t NPC; // 0=player,1=npc,2=pc corpse,3=npc corpse /*0000*/ unsigned padding7:1; unsigned AFK:1; unsigned sneak:1; unsigned LFG:1; unsigned padding6:1; unsigned invis:1; unsigned padding5:11; unsigned gm:1; unsigned anon:1; // 0=normal, 1=anon, 2=roleplay unsigned padding4:1; unsigned gender:1; // Gender (0=male, 1=female) unsigned padding3:1; unsigned linkdead:1; unsigned betabuffed:1; unsigned padding2:2; unsigned targetable:1; unsigned targetcyclable:1; unsigned padding1:2; unsigned trader:1; unsigned buyer:1; /*0000*/ uint8_t otherData; // & 8 - has title, & 16 - has suffix, & 2 - auras, & 1 - it's a chest or untargetable /*0000*/ uint32_t unknown3; /*0000*/ uint32_t unknown4; /*0000*/ uint32_t unknown5; /*0000*/ uint8_t facestyle; /*0000*/ float walkspeed; /*0000*/ float runspeed; /*0000*/ uint32_t race; /*0000*/ uint8_t charProperties; // for body types - value indicates how many properties are present /*0000*/ uint32_t bodytype; /*0000*/ uint32_t bodytype2; // this is only present if charProperties==2 // are there more than two possible properties? /*0000*/ uint8_t curHp; /*0000*/ uint8_t haircolor; /*0000*/ uint8_t facialhaircolor; /*0000*/ uint8_t eyecolor1; /*0000*/ uint8_t eyecolor2; /*0000*/ uint8_t hairstyle; /*0000*/ uint8_t facialhair; /*0000*/ uint32_t heritage; /*0000*/ uint32_t tattoo; /*0000*/ uint32_t details; /*0000*/ uint8_t holding; /*0000*/ uint32_t deity; /*0000*/ uint32_t guildID; /*0000*/ uint32_t guildstatus; // 0=member, 1=officer, 2=leader, -1=not guilded /*0000*/ uint8_t class_; /*0000*/ uint8_t PVP; /*0000*/ uint8_t state; // stand state /*0000*/ uint8_t light; /*0000*/ uint8_t unknown7; /*0000*/ uint8_t unknown8; /*0000*/ uint8_t unknown9; /*0000*/ uint8_t unknown10; /*0000*/ uint8_t unknown11; /*0000*/ char lastName[0]; /*0000*/ uint32_t AARank; /*0000*/ uint8_t unknown12; /*0000*/ uint32_t petOwnerId; /*0000*/ uint8_t unknown13; /*0000*/ uint32_t unknown14; /*0000*/ uint32_t unknown15; /*0000*/ uint32_t unknown16; /*0000*/ uint32_t unknown17; /*0000*/ uint32_t unknown18; /*0000*/ uint32_t unknown19; /*0000*/ signed padding0000:12; // ***Placeholder signed deltaX:13; // change in x signed padding0005:7; // ***Placeholder /*0000*/ signed deltaHeading:10; // change in heading signed deltaY:13; // change in y signed padding0006:9; // ***Placeholder /*0000*/ signed y:19; // y coord signed animation:13; // animation /*0000*/ unsigned heading:12; // heading signed x:19; // x coord signed padding0014:1; // ***Placeholder /*0000*/ signed z:19; // z coord signed deltaZ:13; // change in z // If not a valid player race (skip these if a valid player race) /*0000*/ union { struct { /*0000*/ EquipStruct equip_helmet; // Equipment: Helmet visual (maybe) /*0000*/ EquipStruct equip_primary; // Equipment: Main visual /*0000*/ EquipStruct equip_secondary; // Equipment: Off visual } equip; /*0000*/ EquipStruct equipment[3]; }; // skip these bytes if not a valid player race - colors[9] and equipment[9] /*0000*/ union { struct { /*0000*/ Color_Struct color_helmet; // Color of helmet item /*0000*/ Color_Struct color_chest; // Color of chest item /*0000*/ Color_Struct color_arms; // Color of arms item /*0000*/ Color_Struct color_bracers; // Color of bracers item /*0000*/ Color_Struct color_hands; // Color of hands item /*0000*/ Color_Struct color_legs; // Color of legs item /*0000*/ Color_Struct color_feet; // Color of feet item /*0000*/ Color_Struct color_primary; // Color of primary item /*0000*/ Color_Struct color_secondary; // Color of secondary item } equipment_colors; /*0000*/ Color_Struct colors[9]; // Array elements correspond to struct equipment_colors above } /*0000*/ union { struct { /*0000*/ EquipStruct equip_helmet; // Equiptment: Helmet visual /*0000*/ EquipStruct equip_chest; // Equiptment: Chest visual /*0000*/ EquipStruct equip_arms; // Equiptment: Arms visual /*0000*/ EquipStruct equip_bracers; // Equiptment: Wrist visual /*0000*/ EquipStruct equip_hands; // Equiptment: Hands visual /*0000*/ EquipStruct equip_legs; // Equiptment: Legs visual /*0000*/ EquipStruct equip_feet; // Equiptment: Boots visual /*0000*/ EquipStruct equip_primary; // Equiptment: Main visual /*0000*/ EquipStruct equip_secondary; // Equiptment: Off visual } equip; /*0000*/ EquipStruct equipment[9]; }; /*0000*/ char title[0]; // only read if(otherData & 8) /*0000*/ char suffix[0]; // only read if(otherData & 16) /*0000*/ char unknown20[8]; /*0000*/ uint8_t isMercenary; /*0000*/ char unknown21[54]; }; #endif #if 0 // Old stuff from spawnStruct seq doesn't actually use at all.. // /*0004*/ float size; // Model size /*0078*/ int8_t aa_title; // 0=none, 1=general, 2=archtype, 3=class /*0074*/ uint8_t invis; // Invis (0=not, 1=invis) /*0117*/ uint8_t lfg; // 0=off, 1=lfg on /*0196*/ uint8_t afk; // 0=no, 1=afk /*0207*/ int8_t guildrank; // 0=normal, 1=officer, 2=leader /*0213*/ uint8_t face; // Face id for players /*0247*/ uint8_t is_pet; // 0=no, 1=yes /*0284*/ uint8_t beardcolor; // Beard color /*0500*/ uint8_t showhelm; // 0=no, 1=yes /*0501*/ uint8_t helm; // Helm texture /*0660*/ uint8_t hairstyle; // Hair style /*0090*/ uint8_t eyecolor1; // Player's left eye color /*0542*/ uint8_t eyecolor2; // Left eye color /*0547*/ uint8_t haircolor; // Hair color /*0574*/ uint8_t is_npc; // 0=no, 1=yes /*0575*/ uint8_t findable; // 0=can't be found, 1=can be found /*0728*/ uint8_t beard; // Beard style (not totally, sure but maybe!) /*0723*/ uint8_t max_hp; // (name prolly wrong)takes on the value 100 for PCs, 100 or 110 for NPCs and 120 for PC corpses... /*122*/ uint8_t pvp; // 0=Not pvp,1=pvp union { /*0091*/ int8_t equip_chest2; // Second place in packet for chest texture (usually 0xFF in live packets) // Not sure why there are 2 of them, but it effects chest texture! /*0091*/ int8_t mount_color; // drogmor: 0=white, 1=black, 2=green, 3=red }; #endif /* ** Server Zone Entry struct ** Length: 383 Octets ** OpCode: ZoneEntryCode (when direction == server) * * This is just a spawnStruct for the player */ struct ServerZoneEntryStruct : public spawnStruct { }; /* ** Generic Door Struct ** Length: 96 Octets ** Used in: ** OP_SpawnDoor ** */ struct doorStruct { /*0000*/ char name[32]; // Filename of Door? /*0016*/ // uint8_t unknown016[16]; // ***Placeholder /*0032*/ float y; // y loc /*0036*/ float x; // x loc /*0040*/ float z; // z loc /*0044*/ float heading; // heading /*0048*/ uint32_t incline; // incline /*0052*/ uint32_t size; // size /*0056*/ uint8_t unknown0056[4]; // ***Placeholder /*0060*/ uint8_t doorId; // door's id # /*0061*/ uint8_t opentype; // open type /*0062*/ uint8_t spawnstate; // spawn state /*0063*/ uint8_t invertstate; // invert state /*0064*/ uint32_t zonePoint; /*0068*/ uint8_t unknown068[28]; // ***Placeholder /*0096*/ }; /* ** Drop Item On Ground ** Length: Variable ** OpCode: MakeDropCode */ // Note: Unknowns and other members removed that we don't use since we // now only fill this with data we need from the serialized packet struct makeDropStruct { uint32_t dropId; // DropID float heading; // Heading float z; // Z Position float x; // X Position float y; // Y Position char idFile[30]; // ACTOR ID - The client reads 30 bytes from the packet // - 20100210 eqgame.exe in EQItemList::UnpackNetData }; /* ** ZonePoint ** Length: 24 Octets ** Sent as part of zonePointsStruct */ struct zonePointStruct { /*0000*/ uint32_t zoneTrigger; /*0004*/ float y; /*0008*/ float x; /*0012*/ float z; /*0016*/ float heading; /*0020*/ uint16_t zoneId; /*0022*/ uint16_t zoneInstance; /*0024*/ }; /* ** ZonePointsStruct ** Length: Variable ** OPCode: OP_SendZonePoints */ struct zonePointsStruct { /*0000*/ uint32_t count; /*0004*/ zonePointStruct zonePoints[0]; /*0xxx*/ uint8_t unknown0xxx[24]; /*0yyy*/ }; /* ** Time of Day ** Length: 8 Octets ** OpCode: TimeOfDayCode */ struct timeOfDayStruct { /*0000*/ uint8_t hour; // Hour (1-24) /*0001*/ uint8_t minute; // Minute (0-59) /*0002*/ uint8_t day; // Day (1-28) /*0003*/ uint8_t month; // Month (1-12) /*0004*/ uint16_t year; // Year /*0006*/ uint16_t unknown0016; // Placeholder /*0008*/ }; /* ** Item Packet Struct - Works on a variety of item operations ** Packet Types: See ItemPacketType enum ** Length: Variable ** OpCode: ItemCode */ struct itemPacketStruct { /*000*/ ItemPacketType packetType; // See ItemPacketType for more info. /*004*/ char serializedItem[0]; /*xx*/ }; /* ** Item Info Request Struct ** Length: 72 Octets ** OpCode: ItemInfoCode */ struct itemInfoReqStruct { /*000*/ uint32_t itemNr; // ItemNr /*005*/ uint32_t requestSeq; // Request sequence number /*008*/ char name[64]; // Item name /*072*/ }; /* ** Item Info Response Struct ** Length: Variable ** OpCode: ItemInfoCode */ struct itemInfoStruct { /*000*/ uint32_t requestSeq; // Corresponds to sequence # in req /*004*/ char serializedItem[0]; /*xxx*/ }; /* ** Simple Spawn Update ** Length: 14 Octets ** OpCode: MobUpdateCode */ struct spawnPositionUpdate { /*0000*/ int16_t spawnId; /*0002*/ uint8_t unk1[2]; // BSH 13 Apr 2011 /*0004*/ int64_t y:19, z:19, x:19, u3:7; unsigned heading:12; signed unused2:4; /*0014*/ }; /* ** Rename a spawn ** Length: 232 Octets ** OpCode: SpawnRename */ struct spawnRenameStruct { /*000*/ char old_name[64]; /*064*/ char old_name_again[64]; //not sure what the difference is /*128*/ char new_name[64]; /*192*/ uint32_t unknown192; //set to 0 /*196*/ uint32_t unknown196; //set to 1 /*200*/ uint8_t unknown0084[32]; // ***Placeholder /*232*/ }; /* ** Illusion a spawn ** Length: 300 Octets ** OpCode: Illusion */ struct spawnIllusionStruct { /*0000*/ uint32_t spawnId; // Spawn id of the target /*0004*/ char name[64]; // Name of the target /*0068*/ uint32_t race; // New race /*0072*/ uint8_t gender; // New gender (0=male, 1=female) /*0073*/ uint8_t texture; // ??? /*0074*/ uint8_t helm; // ??? /*0075*/ uint8_t unknown0075; // ***Placeholder /*0076*/ uint32_t unknown0076; // ***Placeholder /*0080*/ uint32_t face; // New face /*0084*/ uint8_t unknown0084[216]; // ***Placeholder /*0300*/ }; /** * Shroud spawn. For others shrouding, this has their spawnId and * spawnStruct. * * Length: variable * OpCode: OP_Shroud */ struct spawnShroudOther { /*00000*/ uint32_t spawnId; // Spawn Id of the shrouded player /*00004*/ uint16_t spawnStructSize; // Size of spawnStruct (or start of) /*00006*/ spawnStruct spawn; // Updated spawn struct for the player (variable length) /*xxxxx*/ }; /** * Shroud yourself. For yourself shrouding, this has your spawnId, spawnStruct, * bits of your charProfileStruct (no checksum, then charProfile up till * but not including name), and an itemPlayerPacket for only items on the player * and not the bank. * * Length: Variable * OpCode: OP_Shroud */ struct spawnShroudSelf { /*00000*/ uint32_t spawnId; // Spawn Id of you /*00004*/ uint16_t ppStart; // Start of playerProfile data (spawnId+ppStart+spawnStruct) /*00004*/ spawnStruct spawn; // Updated spawnStruct for you (variable length) /*xxxxx*/ playerProfileStruct profile; // Character profile for shrouded char /*xxxxx*/ uint8_t items; // Items on the player /*xxxxx*/ }; /* ** Campfire spawn ** Length: 997 ** OpCode: OP_ZoneEntry */ struct spawnCampfire { /*0000*/ spawnStruct spawn; /*0532*/ uint8_t unknown0532[465]; /*0997*/ }; /* ** ShowEQ Specific Structures */ /* ** DB spawn struct (adds zone spawn was in) */ struct dbSpawnStruct { /*0000*/ struct spawnStruct spawn; // Spawn Information /*0258*/ char zoneName[40]; // Zone Information }; /* ** Pet spawn struct (pets pet and owner in one struct) */ struct petStruct { /*0000*/ struct spawnStruct owner; // Pet Owner Information /*0258*/ struct spawnStruct pet; // Pet Infromation }; /* ** Server System Message ** Length: Variable Length ** OpCode: SysMsgCode */ struct sysMsgStruct { /*0000*/ char message[0]; // Variable length message }; /* ** Emote text ** Length: Variable Text ** OpCode: emoteTextCode */ struct emoteTextStruct { /*0000*/ uint8_t unknown0002[4]; // ***Placeholder /*0002*/ char text[0]; // Emote `Text }; /* ** Channel Message received or sent ** Length: Variable ** OpCode: ChannelMessageCode This is how channelMessageStruct looks on the wire, for reference (8/12/09 eqgame.exe) char sender[0]; // Variable length senders name char target[0]; // Variable length target characters name uint32_t unknown; uint32_t language; // Language uint32_t chanNum; // Channel uint32_t unknown; uint8_t unknown; uint32_t skillInLanguage; // senders skill in language char message[0]; // Variable length message uint8_t unknown; uint32_t unknown; uint32_t unknown; char unknown[0]; // Variable legth unknown text uint8_t unknown; uint32_t unknown; */ // This will get filled with data from the serialized packet struct channelMessageStruct { /*0000*/ char sender[64]; /*0064*/ char target[64]; /*0128*/ uint32_t language; /*0132*/ uint32_t chanNum; /*0144*/ uint32_t skillInLanguage; /*0148*/ char message[2048]; // Maximum message size according to eqgame.exe }; /* ** Formatted text messages ** Length: Variable Text ** OpCode: emoteTextCode */ struct formattedMessageStruct { /*0000*/ uint8_t unknown0002[4]; // ***Placeholder /*0004*/ uint32_t messageFormat; // Indicates the message format /*0008*/ ChatColor messageColor; // Message color /*0012*/ char messages[0]; // messages(NULL delimited) /*0???*/ uint8_t unknownXXXX[8]; // ***Placeholder }; /* ** Simple text messages ** Length: 12 Octets ** OpCode: SimpleMessageCode */ struct simpleMessageStruct { /*0000*/ uint32_t messageFormat; // Indicates the message format /*0004*/ ChatColor messageColor; // Message color /*0008*/ uint32_t unknown; // ***Placeholder /*0012*/ }; /* ** Special Message Struct ** Length: Variable Text ** OPCode: OP_SpecialMesg */ struct specialMessageStruct { /*0000*/ uint8_t unknown0000[3]; // message style? /*0003*/ ChatColor messageColor; // message color /*0007*/ uint16_t target; // message target /*0009*/ uint16_t padding; // padding /*0011*/ char source[0]; // message text /*0xxx*/ uint32_t unknown0xxx[3]; //***Placeholder /*0yyy*/ char message[0]; // message text }; /* ** Guild MOTD Struct ** Length: Variable Text ** OPCode: OP_GuildMOTD */ struct guildMOTDStruct { /*0000*/ uint32_t unknown0000; //***Placeholder /*0004*/ char target[64]; // motd target /*0068*/ char sender[64]; // motd "sender" (who set it) /*0132*/ uint32_t unknown0132; //***Placeholder /*0136*/ char message[0]; }; /* ** Corpse location ** Length: 18 Octets ** OpCode: corpseLocCode */ struct corpseLocStruct { /*0000*/ uint32_t spawnId; /*0004*/ float x; /*0008*/ float y; /*0012*/ float z; /*0018*/ }; /* ** Consent request ** Length: Variable by length of the name of the consentee */ struct consentRequestStruct { /*0000*/ char consentee[0]; // Name of player who was consented }; /* ** Consent Response ** Length: 193 Octets */ struct consentResponseStruct { /*0000*/ char consentee[64]; // Name of player who was consented /*0064*/ char consenter[64]; // Name of player who consented /*0128*/ uint8_t allow; // 00 = deny, 01 = allow /*0129*/ char corpseZoneName[64]; // Zone where the corpse is /*0193*/ }; /* ** Grouping Information ** Length: 456 Octets ** OpCode: OP_GroupUpdate */ struct groupUpdateStruct { /*0000*/ int32_t action; // Group update action /*0004*/ char yourname[64]; // Group Member Names /*0068*/ char membername[64]; // Group leader name /*0132*/ uint8_t unknown0132[324]; // ***Placeholder /*456*/ }; /* ** DEPRECATED ** Grouping Information ** Length: 768 Octets ** OpCode: OP_GroupUpdate */ struct groupFullUpdateStruct { /*0000*/ int32_t action; /*0004*/ char membernames[MAX_GROUP_MEMBERS][64]; // Group Member Names /*0388*/ char leader[64]; // Group leader Name /*0452*/ char unknown0452[316]; // ***Placeholder /*0768*/ }; /* ** Grouping Invite ** Length 148 Octets (invite a player) or 152 (you get invited) ** Opcode OP_GroupInvite */ struct groupInviteStruct { /*0000*/ char invitee[64]; // Invitee's Name /*0064*/ char inviter[64]; // Inviter's Name /*0128*/ uint8_t unknown0128[24]; // ***Placeholder /*0152*/ }; /* ** Grouping Invite Answer - Decline ** Length 152 Octets ** Opcode GroupDeclineCode */ struct groupDeclineStruct { /*0000*/ char yourname[64]; // Player Name /*0064*/ char membername[64]; // Invited Member Name /*0128*/ uint8_t unknown0128[20]; // ***Placeholder /*0148*/ uint8_t reason; // Already in Group = 1, Declined Invite = 3 /*0149*/ uint8_t unknown0141[3]; // ***Placeholder /*0152*/ }; /* ** Grouping Invite Answer - Accept ** Length 148 Octets ** Opcode OP_GroupFollow */ struct groupFollowStruct { /*0000*/ char unknown0000[64]; // ***Placeholder (zeros) /*0064*/ char invitee[64]; // Invitee's Member Name /*0128*/ uint8_t unknown0132[4]; // ***Placeholder /*0132*/ uint32_t level; // Invitee's level /*0136*/ uint8_t unknown0136[12]; // ***Placeholder (zeros) /*0148*/ }; /* ** Group Disbanding ** Length 148 Octets ** Opcode */ struct groupDisbandStruct { /*0000*/ char yourname[64]; // Player Name /*0064*/ char membername[64]; // Invited Member Name /*0128*/ uint8_t unknown0128[20]; // ***Placeholder /*0148*/ }; /* ** Group Leader Change ** Length 148 Octets ** Opcode OP_GroupLeader */ struct groupLeaderChangeStruct { /*0000*/ char unknown0000[64]; // ***Placeholder /*0064*/ char membername[64]; // Invited Member Name /*0128*/ uint8_t unknown0128[20]; // ***Placeholder /*0148*/ }; /* ** Delete Self ** Length: 4 Octets ** OpCode: OP_DeleteSpawn */ struct deleteSpawnStruct { /*0000*/ uint32_t spawnId; // Spawn ID to delete /*0004*/ }; /* ** Remove Spawn ** Length: 5 Octets ** OpCode: OP_RemoveSpawn */ struct removeSpawnStruct { /*0000*/ uint32_t spawnId; // Spawn ID to delete /*0004*/ uint8_t removeSpawn; // 0 if spawn is not in your update radius /*0005*/ }; /* ** Remove Drop Item On Ground ** Length: 8 Octets ** OpCode: RemDropCode */ struct remDropStruct { /*0000*/ uint16_t dropId; // ID assigned to drop /*0002*/ uint8_t unknown0004[2]; // ***Placeholder /*0004*/ uint16_t spawnId; // ID of player picking item up /*0006*/ uint8_t unknown0008[2]; // ***Placeholder /*0008*/ }; /* ** Consider Struct ** Length: 20 Octets ** OpCode: considerCode */ struct considerStruct { /*0000*/ uint32_t playerid; // PlayerID /*0004*/ uint32_t targetid; // TargetID /*0008*/ int32_t faction; // Faction /*0012*/ int32_t level; // Level /*0016*/ int32_t unknown0016; // unknown /*0020*/ }; /* ** Spell Casted On ** Length: 36 Octets ** OpCode: castOnCode */ struct castOnStruct { /*0000*/ uint16_t targetId; // Target ID /*0002*/ uint8_t unknown0002[2]; // ***Placeholder /*0004*/ int16_t sourceId; // ***Source ID /*0006*/ uint8_t unknown0006[2]; // ***Placeholder /*0008*/ uint8_t unknown0008[24]; // might be some spell info? /*0032*/ uint16_t spellId; // Spell Id /*0034*/ uint8_t unknown0034[2]; // ***Placeholder /*0036*/ }; /* ** Spawn Death Blow ** Length: 32 Octets ** OpCode: NewCorpseCode */ struct newCorpseStruct { /*0000*/ uint32_t spawnId; // Id of spawn that died /*0004*/ uint32_t killerId; // Killer /*0008*/ uint32_t corpseid; // corpses id /*0012*/ int32_t type; // corpse type? /*0016*/ uint32_t spellId; // ID of Spell /*0020*/ uint16_t zoneId; // Bind zone id /*0022*/ uint16_t zoneInstance; // Bind zone instance /*0024*/ uint32_t damage; // Damage /*0028*/ uint8_t unknown0028[4]; // ***Placeholder /*0032*/ }; /** ** Environmental damage (lava, falls) ** Length: 39 Octets */ struct environmentDamageStruct { /*0000*/ uint32_t spawnId; // Who is taking the damage /*0004*/ uint8_t unknown0004[2]; /*0006*/ uint32_t damage; // how much damage? /*0010*/ uint8_t unknown0010[12]; /*0022*/ uint8_t type; // Damage type. FC = fall. FA = lava. /*0023*/ uint8_t unknown0023[16]; /*0039*/ }; /* ** Money Loot ** Length: 20 Octets ** OpCode: MoneyOnCorpseCode */ struct moneyOnCorpseStruct { /*0000*/ uint8_t unknown0002[4]; // ***Placeholder /*0004*/ uint32_t platinum; // Platinum Pieces /*0008*/ uint32_t gold; // Gold Pieces /*0012*/ uint32_t silver; // Silver Pieces /*0016*/ uint32_t copper; // Copper Pieces /*0020*/ }; /* ** Stamina ** Length: 8 Octets ** OpCode: staminaCode */ struct staminaStruct { /*0000*/ uint32_t food; // Hunger, in ticks till next eat /*0004*/ uint32_t water; // Thirst, in ticks till next eat /*0008*/ }; /* ** Battle Code ** Length: 28 Octets ** OpCode: ActionCode */ // This can be used to gather info on spells cast on us struct action2Struct { /*0000*/ uint16_t target; // Target ID /*0002*/ uint16_t source; // Source ID /*0004*/ uint8_t type; // Bash, kick, cast, etc. /*0005*/ int16_t spell; // SpellID /*0007*/ int32_t damage; /*0011*/ uint8_t unknown0011[13]; // ***Placeholder /*0024*/ uint8_t unknown0024[4]; // ***Placeholder (11/24/07) /*0028*/ }; // This can be used to gather info on spells cast on us struct actionStruct { /*0000*/ uint16_t target; // Target ID /*0002*/ uint16_t source; // SourceID /*0004*/ uint8_t level; // Caster level /*0005*/ uint8_t unknown0005[21]; // ***Placeholder /*0026*/ uint8_t type; // Casts, Falls, Bashes, etc... /*0027*/ uint8_t unknown0031[6]; /*0033*/ int16_t spell; // SpellID /*0035*/ uint8_t unknown0035[2]; // ***Placeholder /*0037*/ uint8_t unknown0037[2]; // ***Placeholder /*0039*/ }; // Starting with 2/21/2006, OP_Actions seem to come in pairs, duplicating // themselves, with the second one with slightly more information. Maybe this // has to do with buff blocking?? struct actionAltStruct { /*0000*/ uint16_t target; // Target ID /*0002*/ uint16_t source; // SourceID /*0004*/ uint8_t level; // Caster level /*0005*/ uint8_t unknown0005[21]; // ***Placeholder /*0026*/ uint8_t type; // Casts, Falls, Bashes, etc... /*0027*/ uint8_t unknown0031[6]; /*0033*/ int16_t spell; // SpellID /*0035*/ uint8_t unknown0035[2]; // ***Placeholder /*0037*/ uint32_t unknown0037; /*0041*/ uint8_t unknown0041[15]; /*0056*/ }; /* ** client changes target struct ** Length: 4 Octets ** OpCode: clientTargetCode */ struct clientTargetStruct { /*0000*/ uint32_t newTarget; // Target ID /*0004*/ }; /* ** Info sent when you start to cast a spell ** Length: 44 Octets ** OpCode: StartCastCode */ struct startCastStruct { /*0000*/ int32_t slot; // Spell slot /*0004*/ uint32_t spellId; // Spell ID /*0008*/ int32_t inventorySlot; // ***Placeholder /*0012*/ uint8_t unknown0012[8]; // ***Placeholder /*0020*/ uint32_t targetId; // The current selected target /*0024*/ uint8_t unknown0024[4]; // ***Placeholder /*0028*/ uint8_t unknown0028[16]; // ***Placeholder (4/7/2009) /*0044*/ }; /* ** New Mana Amount ** Length: 20 Octets ** OpCode: manaDecrementCode */ struct manaDecrementStruct { /*0000*/ int32_t newMana; // New Mana AMount /*0004*/ int32_t unknown; /*0008*/ int32_t spellId; // Last Spell Cast /*0012*/ uint8_t unknown0012[4]; /*0016*/ uint8_t unknown0016[4]; //*** Placeholder (02/13/07) /*0020*/ }; /* ** Special Message ** Length: 4 Octets + Variable Text Length ** OpCode: SPMesgCode */ struct spMesgStruct { /*0000*/ int32_t msgType; // Type of message /*0004*/ char message[0]; // Message, followed by four Octets? }; /* ** Spell Fade Struct ** Length: 10 Octets ** OpCode: SpellFadedCode */ struct spellFadedStruct { /*0000*/ uint32_t color; // color of the spell fade message /*0004*/ char message[0]; // fade message /*0???*/ uint8_t paddingXXX[3]; // always 0's }; /* ** Spell Action Struct ** Length: 8 Octets ** OpCode: BeginCastCode */ struct beginCastStruct { /*0000*/ uint16_t spawnId; // Id of who is casting /*0002*/ uint16_t spellId; // Id of spell /*0004*/ int16_t param1; // Paramater 1 /*0006*/ int16_t param2; // Paramater 2 /*0008*/ }; /* ** Spell Action Struct ** Length: 16 Octets ** OpCode: MemSpellCode */ struct memSpellStruct { /*0000*/ uint32_t slotId; // Slot spell is being memorized in /*0004*/ uint32_t spellId; // Id of spell /*0008*/ int16_t param1; // Paramater 1 /*0010*/ int16_t param2; // Paramater 2 /*0012*/ uint8_t unknown0012[4]; // *** Placeholder /*0016*/ }; /* ** Train Skill ** Length: 12 Octets ** OpCode: SkillTrainCode */ struct skillTrainStruct { /*0000*/ int32_t playerid; // player doing the training /*0004*/ int32_t type; // type of training? /*0008*/ uint32_t skillId; // Id of skill /*0012*/ }; /* ** Skill Increment ** Length: 12 Octets ** OpCode: SkillIncCode */ struct skillIncStruct { /*0000*/ uint32_t skillId; // Id of skill /*0004*/ int32_t value; // New value of skill /*0008*/ uint8_t unknown0008[4]; // *** Placeholder /*0012*/ }; /* ** When somebody changes what they're wearing ** or give a pet a weapon (model changes) ** Length: 14 Octets ** Opcode: WearChangeCode */ // ZBTEMP: Find newItemID struct wearChangeStruct { /*0000*/ uint16_t spawnId; // SpawnID /*0002*/ Color_Struct color; // item color /*0006*/ uint8_t wearSlotId; // Slot ID /*0007*/ uint8_t unknown0007[7]; // unknown /*0014*/ }; /* ** Level Update ** Length: 12 Octets ** OpCode: LevelUpUpdateCode */ struct levelUpUpdateStruct { /*0000*/ uint32_t level; // New level /*0004*/ uint32_t levelOld; // Old level /*0008*/ uint32_t exp; // Current Experience /*0012*/ }; /* ** Experience Update ** Length: 8 Octets ** OpCode: ExpUpdateCode */ struct expUpdateStruct { /*0000*/ uint32_t exp; // experience value x/330 /*0004*/ uint32_t type; // 0=set, 2=update /*0008*/ }; /* ** Alternate Experience Update ** Length: 12 Octets ** OpCode: AltExpUpdateCode */ struct altExpUpdateStruct { /*0000*/ uint32_t altexp; // alt exp x/330 /*0004*/ uint32_t aapoints; // current number of AA points /*0008*/ uint8_t percent; // percentage in integer form /*0009*/ uint8_t unknown0009[3]; // ***Place Holder /*0012*/ }; /** * Leadership AA update * Length: 32 Octets * OpCode: LeadExpUpdate */ struct leadExpUpdateStruct { /*0000*/ uint32_t unknown0000; // All zeroes? /*0004*/ uint32_t groupLeadExp; // Group leadership exp value /*0008*/ uint32_t unspentGroupPoints; // Unspent group points /*0012*/ uint32_t unknown0012; // Type? /*0016*/ uint32_t unknown0016; // All zeroes? /*0020*/ uint32_t raidLeadExp; // Raid leadership exp value /*0024*/ uint32_t unspentRaidPoints; // Unspent raid points /*0028*/ uint32_t unknown0028; /*0032*/ }; /* ** Player Spawn Update ** Length: 23 Octets ** OpCode: SpawnUpdateCode */ struct SpawnUpdateStruct { /*0000*/ uint16_t spawnId; // Id of spawn to update /*0002*/ uint16_t subcommand; // some sort of subcommand type /*0004*/ int16_t arg1; // first option /*0006*/ int16_t arg2; // second option /*0008*/ uint8_t arg3; // third option? /*0009*/ uint8_t unknown0009[14]; /*0023*/ }; /* ** NPC Hp Update ** Length: 10 Octets ** Opcode NpcHpUpdateCode */ struct hpNpcUpdateStruct { /*0000*/ int32_t curHP; /*0004*/ int32_t maxHP; /*0008*/ uint16_t spawnId; /*0010*/ }; /* ** Inspecting Information ** Length: 1860 Octets ** OpCode: InspectDataCode */ struct inspectDataStruct { /*0000*/ uint8_t unknown0000[8]; // ***Placeholder /*0008*/ char itemNames[23][64]; // 23 items with names // 64 characters long. /*1480*/ int32_t icons[23]; // Icon Information /*1572*/ char mytext[200]; // Player Defined Text Info /*1772*/ uint8_t unknown1772[88]; // ***Placeholder /*1860*/ }; /* ** Reading Book Information ** Length: Variable Length Octets ** OpCode: BookTextCode */ struct bookTextStruct { /*0000*/ uint16_t unknown0000; /*0002*/ char text[0]; // Text of item reading }; /* ** Interrupt Casting ** Length: 6 Octets + Variable Length Octets ** Opcode: BadCastCode */ struct badCastStruct { /*0000*/ uint32_t spawnId; // Id of who is casting /*0004*/ char message[0]; // Text Message }; /* ** Random Number Request ** Length: 8 Octets ** OpCode: RandomCode */ struct randomReqStruct { /*0000*/ uint32_t bottom; // Low number /*0004*/ uint32_t top; // High number /*0008*/ }; /* ** Random Number Result ** Length: 76 Octets ** OpCode: RandomCode */ struct randomStruct { /*0000*/ uint32_t bottom; // Low number /*0004*/ uint32_t top; // High number /*0008*/ uint32_t result; // result number /*0012*/ char name[64]; // name rolled by /*0076*/ }; /* ** Player Position Update ** Length: 24 Octets ** OpCode: PlayerPosCode */ struct playerSpawnPosStruct { /*0000*/ uint16_t spawnId; uint8_t unk[2]; // BSH 13 Apr 2011 /*0002*/ signed padding0000:12; // ***Placeholder signed deltaX:13; // change in x signed padding0005:7; // ***Placeholder /*0006*/ signed deltaHeading:10; // change in heading signed deltaY:13; // change in y signed padding0006:9; // ***Placeholder /*0010*/ signed y:19; // y coord signed animation:10; // animation signed padding0010:3; // ***Placeholder /*0014*/ unsigned heading:12; // heading signed x:19; // x coord signed padding0014:1; // ***Placeholder /*0020*/ signed z:19; // z coord signed deltaZ:13; // change in z /*0024*/ }; /* ** Self Position Update ** Length: 42 Octets ** OpCode: PlayerPosCode */ struct playerSelfPosStruct { /*0000*/ uint16_t spawnId; // Player's spawn id /*0002*/ uint8_t unknown0002[2]; // ***Placeholder (update time counter?) /*0004*/ uint8_t unknown0004[6]; // ***Placeholder -- BSH 13 Apr 2011 /*0010*/ float x; // x coord (2nd loc value) /*0014*/ float y; // y coord (1st loc value) /*0018*/ signed deltaHeading:10; // change in heading unsigned animation:10; // animation unsigned padding0016:12; // ***Placeholder /*0022*/ float deltaX; // Change in x /*0026*/ float deltaY; // Change in y /*0030*/ float z; // z coord (3rd loc value) /*0034*/ float deltaZ; // Change in z /*0038*/ unsigned padding0036:10; // ***Placeholder unsigned heading:12; // Directional heading unsigned padding0037:10; // ***Placeholder /*0042*/ }; /* ** Spawn Appearance ** Length: 8 Octets ** OpCode: spawnAppearanceCode */ struct spawnAppearanceStruct { /*0000*/ uint16_t spawnId; // ID of the spawn /*0002*/ uint16_t type; // Type of data sent /*0004*/ uint32_t parameter; // Values associated with the type /*0008*/ }; /* ** Structures that are not being currently used * (except for logging) */ struct bindWoundStruct { /*0000*/ uint16_t playerid; // TargetID /*0002*/ uint8_t unknown0002[2]; // ***Placeholder /*0004*/ uint32_t hpmaybe; // Hitpoints -- Guess /*0008*/ }; struct inspectedStruct { /*0000*/ uint16_t inspectorid; // Source ID /*0002*/ uint8_t unknown0002[2]; // ***Placeholder /*0004*/ uint16_t inspectedid; // Target ID - Should be you /*0006*/ uint8_t unknown0006[2]; // ***Placeholder /*0008*/ }; struct attack1Struct { /*0000*/ uint16_t spawnId; // Spawn ID /*0002*/ int16_t param1; // ***Placeholder /*0004*/ int16_t param2; // ***Placeholder /*0006*/ int16_t param3; // ***Placeholder /*0008*/ int16_t param4; // ***Placeholder /*0010*/ int16_t param5; // ***Placeholder /*0012*/ }; struct attack2Struct { /*0000*/ uint16_t spawnId; // Spawn ID /*0002*/ int16_t param1; // ***Placeholder /*0004*/ int16_t param2; // ***Placeholder /*0006*/ int16_t param3; // ***Placeholder /*0008*/ int16_t param4; // ***Placeholder /*0010*/ int16_t param5; // ***Placeholder /*0012*/ }; struct newGuildInZoneStruct { /*0000*/ uint8_t unknown0000[8]; // ***Placeholder /*0008*/ char guildname[56]; // Guildname /*0064*/ }; struct moneyUpdateStruct { /*0000*/ uint32_t spawnid; // ***Placeholder /*0004*/ uint32_t cointype; // Coin Type /*0008*/ uint32_t amount; // Amount /*0012*/ }; /* Memorize slot operations, mem, forget, etc */ struct memorizeSlotStruct { /*0000*/ uint32_t slot; // Memorization slot (0-7) /*0004*/ uint32_t spellId; // Id of spell // (offset of spell in spdat.eff) /*0008*/ uint32_t action; // 1-memming,0-scribing,2-forget /*0012*/ }; struct cRunToggleStruct { /*0000*/ uint32_t status; //01=run 00=walk }; struct cChatFiltersStruct { /*0000*/ uint32_t DamageShields; //00=on 01=off /*0004*/ uint32_t NPCSpells; //00=on 01=off /*0008*/ uint32_t PCSpells; //00=all 01=off 02=grp /*0012*/ uint32_t BardSongs; //00=all 01=me 02=grp 03=off /*0016*/ uint32_t Unused; /*0020*/ uint32_t GuildChat; //00=off 01=on /*0024*/ uint32_t Socials; //00=off 01=on /*0028*/ uint32_t GroupChat; //00=off 01=on /*0032*/ uint32_t Shouts; //00=off 01=on /*0036*/ uint32_t Auctions; //00=off 01=on /*0040*/ uint32_t OOC; //00=off 01=on /*0044*/ uint32_t MyMisses; //00=off 01=on /*0048*/ uint32_t OthersMisses; //00=off 01=on /*0052*/ uint32_t OthersHits; //00=off 01=on /*0056*/ uint32_t AttackerMisses; //00=off 01=on /*0060*/ uint32_t CriticalSpells; //00=all 01=me 02=off /*0064*/ uint32_t CriticalMelee; //00=all 01=me 02=off /*0068*/ }; struct cOpenSpellBookStruct { /*0000*/ int32_t status; //01=open 00=close /*0004*/ }; struct tradeSpellBookSlotsStruct { /*0000*/ uint32_t slot1; /*0004*/ uint32_t slot2; /*0008*/ }; /* ** serverLFGStruct ** Length: 10 Octets ** signifies LFG, maybe afk, role, ld, etc */ struct serverLFGStruct { /*0000*/ uint16_t spawnID; /*0002*/ uint16_t unknown0004; /*0004*/ uint16_t LFG; //1=LFG /*0006*/ uint16_t unknown0008; /*0008*/ }; /* ** clientLFGStruct ** Length: 70 Octets ** signifies LFG, maybe afk, role, ld, etc */ struct clientLFGStruct { /*0000*/ uint8_t name[64]; /*0064*/ uint16_t LFG; //1=LFG /*0066*/ uint16_t unknown0008; }; /* ** buffStruct ** Length: 44 Octets ** */ struct buffStruct { /*0000*/ uint32_t spawnid; //spawn id /*0004*/ uint8_t unknown0004[4]; /*0008*/ float unknown0008; /*0012*/ uint32_t spellid; // spellidbegin /*0016*/ uint32_t duration; // duration /*0024*/ uint8_t unknown0024[8]; /*0028*/ uint32_t playerId; // Player id who cast the buff /*0032*/ uint8_t unknown0032[4]; /*0036*/ uint32_t spellslot; // spellslot /*0040*/ uint32_t changetype; // 1=buff fading,2=buff duration /*0044*/ }; /* ** Guild Member Update structure ** Length: 76 octets ** */ struct GuildMemberUpdate { /*000*/ uint32_t guildId; // guild id /*004*/ char name[64]; // member name /*068*/ uint16_t zoneId; // zone id /*070*/ uint16_t zoneInstance; // zone instance /*072*/ uint32_t lastOn; // time the player was last on. /*076*/ }; /* ** Bazaar trader on/off struct ** Length: 76 Octets ** */ struct bazaarTraderRequest { /*000*/ uint32_t spawnId; // Spawn id of person turning trader on/off /*004*/ uint8_t mode; // 0=off, 1=on /*005*/ uint8_t uknown005[3]; // /*008*/ char name[64]; // trader name /*072*/ uint8_t uknown072[4]; // /*076*/ }; struct bazaarSearchQueryStruct { uint32_t mark; uint32_t type; char unknownXXX0[20]; // Value seems to always be the same char searchstring[64]; uint32_t unknownXXX1; uint32_t unknownXXX2; }; /* ** Item Bazaar Search Result ** Length: 160 Octets ** OpCode: BazaarSearch */ struct bazaarSearchResponseStruct { /*0000*/ uint32_t mark; // ***unknown*** /*0004*/ uint32_t player_id; // trader ID /*0008*/ char merchant_name[64]; // trader name /*0072*/ uint32_t count; // Count of items for sale /*0076*/ uint32_t item_id; // ID of item for sale /*0080*/ uint8_t uknown0080[8]; // ***unknown*** /*0088*/ char item_name[64]; // nul-padded name with appended "(count)" /*0152*/ uint32_t price; // price in copper /*0156*/ uint8_t uknown0156[4]; // ***unknown*** /*0160*/ }; /* ** Item Bazaar Search Result ** Length: Variable ** OpCode: BazaarSearch */ union bazaarSearchStruct { uint32_t mark; struct bazaarSearchQueryStruct query; struct bazaarSearchResponseStruct response[]; }; /*******************************/ /* World Server Structs */ /* ** Guild List (from world server) ** Length: 68 Octets ** used in: worldGuildList */ struct guildListStruct { /*0000*/ uint32_t guildId; /*0004*/ char guildName[64]; }; /* ** Guild List (from world server) ** Length: Variable (serialized) */ struct worldGuildListStruct { /*000*/ uint8_t unknown000[64]; /*064*/ uint32_t numberOfGuilds; // ? /*068*/ guildListStruct guilds[MAX_GUILDS]; // MAX_GUILDS varies by server now }; struct worldMOTDStruct { /*002*/ char message[0]; /*???*/ uint8_t unknownXXX[3]; }; // Restore structure packing to default #pragma pack() #endif // EQSTRUCT_H //. .7...6....,X....D4.M.\.....P.v..>..W.... //123456789012345678901234567890123456789012 //000000000111111111122222222223333333333444
what patch command line are you using to apply the diffs?
Thanks fransick, that did the trick, really appreciate all the hard work!!!
Pita, I'm using "patch -p0 < inputfile". I think my exact syntax and the error messages are on the previous page.
Was directed at Fransick. which patch command line.
With the patch file in my showeq directory I use:
I don't get any rejected hunks but everyone else seems to for some reason. I am patching against a clean copy downloaded from SVN tree so really don't know why it's working for me and not anyone else. Odd.Code:patch -p0 < whateveryounamedthepatch.patch
Just curious.. was this patch supposed to fix the non stop invalid packet errors? I never actually had the program totally crash.. thanks
If anyone else has crashes with it ..
I noticed that i was continuing to have errors even after applying the patches .. and then downloading the 2 full files and recompiling.
However it was apparently something not getting cleaned up properly. Full steps from no files to installed and working listed below.
I completely deleted the entire SVN tree i had locally.
Download the SVN v760
copy the directory over the top of a latested tarballed version "5.13.10.4"
-most folks can skip this unless you have problems with the make -f Makefile.dist, im currently having system issues on my 6.2 box) my 5.x does not need this step either.
Copy the last full patch file from fransick into the SVN root folder and applied with patch -p0 <patchname
-this gave a couple errors on the everquest.h and zoneopcodes.xml
download and replace the everquest.h and zoneopcodes.xml posted by fransick.
-note this are full files and are ment to replace the files in the /src and /conf directory not patch them.
./configure && make && make install
and that should be everything.
Good call... working with the original patch file and not what I copied from here. Since it's pretty much straight text wonder what could be throwing it off when copying from here.
I had the same issue with your original patch too. Got a handful of rejected hunks and had apply the changes by hand.
Last edited by fransick; 04-05-2012 at 11:20 AM. Reason: spelling
Do you think someone will post a patched tarball anytime soon? Thanks for all the hard work guys!
Dropped the full everquest.h and zoneopcodes.xml into the extracted .4 tarball, and it worked fine.
I really need to figure out why make -f Makefile.dist build blows up on unbuntu. I can run libtoolize manually with the args from the Makefile.dist, but when makes calls it, it says it fails. After that I am stuck at a aclocal.m4
Last edited by pita; 04-06-2012 at 11:31 AM.
There are currently 1 users browsing this thread. (0 members and 1 guests)