|
From: <iea...@us...> - 2009-06-20 22:43:44
|
Revision: 732
http://seq.svn.sourceforge.net/seq/?rev=732&view=rev
Author: ieatacid
Date: 2009-06-20 22:43:42 +0000 (Sat, 20 Jun 2009)
Log Message:
-----------
Version to 5.13.5 + Updated opcodes + Updated structs
Modified Paths:
--------------
showeq/trunk/ChangeLog
showeq/trunk/conf/zoneopcodes.xml
showeq/trunk/configure.in
showeq/trunk/src/everquest.h
showeq/trunk/src/spawnshell.cpp
Modified: showeq/trunk/ChangeLog
===================================================================
--- showeq/trunk/ChangeLog 2009-06-01 21:19:24 UTC (rev 731)
+++ showeq/trunk/ChangeLog 2009-06-20 22:43:42 UTC (rev 732)
@@ -1,3 +1,9 @@
+ieatacid (6/20/09)
+-----------------
+- Updated version to 5.13.5
+- Updated opcodes (6/12/09)
+- Updated structs
+
ieatacid (5/25/09)
-----------------
- Fixed guild name bug
Modified: showeq/trunk/conf/zoneopcodes.xml
===================================================================
--- showeq/trunk/conf/zoneopcodes.xml 2009-06-01 21:19:24 UTC (rev 731)
+++ showeq/trunk/conf/zoneopcodes.xml 2009-06-20 22:43:42 UTC (rev 732)
@@ -5,265 +5,274 @@
<!--
Critical opcodes used directly by ShowEQ
-->
- <opcode id="2D95" name="OP_NpcMoveUpdate" updated="05/14/09">
+ <opcode id="03D1" name="OP_NpcMoveUpdate" updated="06/12/09">
<comment>Position updates</comment>
<payload dir="server" typename="uint8_t" sizechecktype="none"/>
</opcode>
- <opcode id="7AE3" name="OP_DeleteSpawn" updated="05/14/09">
+ <opcode id="4036" name="OP_DeleteSpawn" updated="06/12/09">
<comment>old DeleteSpawnCode</comment>
<payload dir="both" typename="deleteSpawnStruct" sizechecktype="match"/>
</opcode>
- <opcode id="6130" name="OP_RespawnFromHover" updated="05/14/09">
+ <opcode id="09E3" name="OP_RespawnFromHover" updated="06/12/09">
<comment>Server telling client that it is coming back from hover death</comment>
<payload dir="both" typename="uint8_t" sizechecktype="none"/>
</opcode>
- <opcode id="1052" name="OP_Shroud" updated="05/14/09">
+ <opcode id="48CD" name="OP_Shroud" updated="06/12/09">
<comment>Server putting players into shroud form</comment>
<payload dir="server" typename="spawnShroudSelf" sizechecktype="none"/>
</opcode>
- <opcode id="2D08" name="OP_GroupFollow" updated="05/14/09">
+ <opcode id="1C50" name="OP_GroupFollow" updated="06/12/09">
<payload dir="server" typename="groupFollowStruct" sizechecktype="match"/>
<comment>You join a group</comment>
</opcode>
- <opcode id="08C3" name="OP_GroupFollow2" updated="05/14/09">
+ <opcode id="49F6" name="OP_GroupFollow2" updated="06/12/09">
<payload dir="server" typename="groupFollowStruct" sizechecktype="match"/>
<comment>Player joins your group</comment>
</opcode>
- <opcode id="C56C" name="OP_GroupUpdate" updated="05/14/09">
+ <opcode id="4481" name="OP_GroupUpdate" updated="06/12/09">
<payload dir="server" typename="uint8_t" sizechecktype="none"/>
<comment>Variable length packet with group member names</comment>
</opcode>
- <opcode id="49F6" name="OP_GroupDisband" updated="05/14/09">
+ <opcode id="0C33" name="OP_GroupDisband" updated="06/12/09">
<comment>You disband from group</comment>
<payload dir="server" typename="groupDisbandStruct" sizechecktype="match"/>
</opcode>
- <opcode id="21BE" name="OP_GroupDisband2" updated="05/14/09">
+ <opcode id="58E6" name="OP_GroupDisband2" updated="06/12/09">
<comment>Other disbands from group</comment>
<payload dir="server" typename="groupDisbandStruct" sizechecktype="match"/>
</opcode>
- <opcode id="58E6" name="OP_GroupLeader" updated="05/14/09">
+ <opcode id="63F8" name="OP_GroupLeader" updated="06/12/09">
<comment>Group leader change</comment>
<payload dir="server" typename="groupLeaderChangeStruct" sizechecktype="match"/>
</opcode>
- <opcode id="4B1E" name="OP_DzSwitchInfo" updated="05/14/09">
+ <opcode id="3F99" name="OP_DzSwitchInfo" updated="06/12/09">
<comment></comment>
<payload dir="server" typename="dzSwitchInfo" sizechecktype="none"/>
</opcode>
- <opcode id="054E" name="OP_DzInfo" updated="05/14/09">
+ <opcode id="4661" name="OP_DzInfo" updated="06/12/09">
<comment></comment>
<payload dir="server" typename="dzInfo" sizechecktype="match"/>
</opcode>
- <opcode id="783C" name="OP_FormattedMessage" updated="05/14/09">
+ <opcode id="0507" name="OP_FormattedMessage" updated="06/12/09">
<comment>old FormattedMessageCode</comment>
<payload dir="server" typename="formattedMessageStruct" sizechecktype="none"/>
</opcode>
- <opcode id="4D27" name="OP_ZoneEntry" updated="05/14/09">
+ <opcode id="2018" name="OP_ZoneEntry" updated="06/12/09">
<comment>old ZoneEntryCode</comment>
<payload dir="client" typename="ClientZoneEntryStruct" sizechecktype="match"/>
<payload dir="server" typename="uint8_t" sizechecktype="none"/>
</opcode>
- <opcode id="4E19" name="OP_SpawnDoor" updated="05/14/09">
+ <opcode id="0C7B" name="OP_SpawnDoor" updated="06/12/09">
<comment>old DoorSpawnsCode</comment>
<payload dir="server" typename="doorStruct" sizechecktype="modulus"/>
</opcode>
- <opcode id="4892" name="OP_SendZonePoints" updated="05/14/09">
+ <opcode id="4938" name="OP_SendZonePoints" updated="06/12/09">
<comment>Coords in a zone that will port you to another zone</comment>
<payload dir="server" typename="zonePointsStruct" sizechecktype="none"/>
</opcode>
- <opcode id="053A" name="OP_AAExpUpdate" updated="05/14/09">
+ <opcode id="5658" name="OP_AAExpUpdate" updated="06/12/09">
<comment>Receiving AA experience. Also when percent to AA changes.</comment>
<payload dir="server" typename="altExpUpdateStruct" sizechecktype="match"/>
</opcode> <opcode id="053A" name="OP_AAExpUpdate" updated="05/14/09">
<comment>Receiving AA experience. Also when percent to AA changes.</comment>
<payload dir="server" typename="altExpUpdateStruct" sizechecktype="match"/>
</opcode>
- <opcode id="0B80" name="OP_GuildMOTD" updated="05/14/09">
+ <opcode id="2042" name="OP_GuildMOTD" updated="06/12/09">
<comment>GuildMOTD</comment>
<payload dir="server" typename="guildMOTDStruct" sizechecktype="none"/>
</opcode>
- <opcode id="592D" name="OP_HPUpdate" updated="05/14/09">
+ <opcode id="4B61" name="OP_HPUpdate" updated="06/12/09">
<comment>old NpcHpUpdateCode Update HP % of a PC or NPC</comment>
<payload dir="both" typename="hpNpcUpdateStruct" sizechecktype="match"/>
</opcode>
- <opcode id="1190" name="OP_GuildMemberUpdate" updated="05/14/09">
+ <opcode id="3288" name="OP_GuildMemberUpdate" updated="06/12/09">
<comment></comment>
<payload dir="server" typename="GuildMemberUpdate" sizechecktype="match"/>
</opcode>
- <opcode id="38D1" name="OP_SpawnRename" updated="05/14/09">
+ <opcode id="42EF" name="OP_SpawnRename" updated="06/12/09">
<comment>Spawns getting renamed after initial NewSpawn</comment>
<payload dir="server" typename="spawnRenameStruct" sizechecktype="match"/>
</opcode>
- <opcode id="6893" name="OP_GroupInvite" updated="05/14/09">
+ <opcode id="2736" name="OP_GroupInvite" updated="06/12/09">
<payload dir="client" typename="groupInviteStruct" sizechecktype="match"/>
<payload dir="server" typename="groupAltInviteStruct" sizechecktype="match"/>
<comment>You're inviting someone and you're not grouped</comment>
</opcode>
- <opcode id="224F" name="OP_SwapSpell" updated="05/14/09">
+ <opcode id="517B" name="OP_SwapSpell" updated="06/12/09">
<comment>old TradeSpellBookSlotsCode</comment>
<payload dir="both" typename="tradeSpellBookSlotsStruct" sizechecktype="match"/>
</opcode>
- <opcode id="6087" name="OP_InspectAnswer" updated="05/14/09">
+ <opcode id="6145" name="OP_InspectAnswer" updated="06/12/09">
<comment>old InspectDataCode</comment>
<payload dir="both" typename="inspectDataStruct" sizechecktype="match"/>
</opcode>
- <opcode id="1318" name="OP_SimpleMessage" updated="05/14/09">
+ <opcode id="783C" name="OP_SimpleMessage" updated="06/12/09">
<comment>old SimpleMessageCode</comment>
<payload dir="server" typename="simpleMessageStruct" sizechecktype="match"/>
</opcode>
- <opcode id="7B77" name="OP_SpecialMesg" updated="05/14/09">
+ <opcode id="0525" name="OP_SpecialMesg" updated="06/12/09">
<comment>Communicate textual info to client</comment>
<payload dir="server" typename="specialMessageStruct" sizechecktype="none"/>
</opcode>
- <opcode id="73D6" name="OP_RandomReq" updated="05/14/09">
+ <opcode id="0DDA" name="OP_RandomReq" updated="06/12/09">
<comment>old RandomReqCode</comment>
<payload dir="client" typename="randomReqStruct" sizechecktype="match"/>
</opcode>
- <opcode id="0C2D" name="OP_ConsentResponse" updated="05/14/09">
+ <opcode id="5DBC" name="OP_ConsentResponse" updated="06/12/09">
<comment>Server replying with consent information after /consent</comment>
<payload dir="server" typename="consentResponseStruct" sizechecktype="match"/>
</opcode>
- <opcode id="3675" name="OP_DenyResponse" updated="05/14/09">
+ <opcode id="771F" name="OP_DenyResponse" updated="06/12/09">
<comment>Server replying with deny information after /deny</comment>
<payload dir="server" typename="consentResponseStruct" sizechecktype="match"/>
</opcode>
- <opcode id="7092" name="OP_BazaarSearch" updated="05/14/09">
+ <opcode id="50D0" name="OP_BazaarSearch" updated="06/12/09">
<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="6022" name="OP_PlayerProfile" updated="01/17/08">
- <comment>old CharProfileCode</comment>
- <payload dir="server" typename="charProfileStruct" sizechecktype="match"/>
- </opcode>
- <opcode id="6015" name="OP_TimeOfDay" updated="01/17/08">
- <comment>old TimeOfDayCode</comment>
- <payload dir="server" typename="timeOfDayStruct" sizechecktype="match"/>
- </opcode>
- <opcode id="5CA5" name="OP_NewZone" updated="01/17/08">
+ <opcode id="43AC" name="OP_NewZone" updated="06/12/09">
<comment>old NewZoneCode</comment>
<payload dir="server" typename="newZoneStruct" sizechecktype="match"/>
</opcode>
- <opcode id="33E5" name="OP_GroundSpawn" updated="01/17/08">
+ <opcode id="5C85" name="OP_GroundSpawn" updated="06/12/09">
<comment>old MakeDropCode</comment>
<payload dir="server" typename="makeDropStruct" sizechecktype="match"/>
<payload dir="client" typename="uint8_t" sizechecktype="none"/>
</opcode>
- <opcode id="0E98" name="OP_ExpUpdate" updated="01/17/08">
+ <opcode id="0555" name="OP_ExpUpdate" updated="06/12/09">
<comment>old ExpUpdateCode</comment>
<payload dir="server" typename="expUpdateStruct" sizechecktype="match"/>
</opcode>
- <opcode id="51BC" name="OP_GuildMemberList" updated="01/17/08">
- <comment></comment>
- <payload dir="server" typename="uint8_t" sizechecktype="none"/>
- </opcode>
- <opcode id="7062" name="OP_ClientUpdate" updated="01/17/08">
- <comment>Position updates</comment>
- <payload dir="server" typename="playerSpawnPosStruct" sizechecktype="match"/>
- <payload dir="both" typename="playerSelfPosStruct" sizechecktype="match"/>
- </opcode>
- <opcode id="4656" name="OP_MobUpdate" updated="01/17/08">
- <comment>old MobUpdateCode</comment>
- <payload dir="both" typename="spawnPositionUpdate" sizechecktype="match"/>
- </opcode>
- <opcode id="3164" name="OP_RemoveSpawn" updated="04/17/08">
+ <opcode id="58C5" name="OP_RemoveSpawn" updated="06/12/09">
<comment>Remove spawn from zone</comment>
<payload dir="both" typename="removeSpawnStruct" sizechecktype="none"/>
</opcode>
- <opcode id="1B85" name="OP_Death" updated="01/17/08">
+ <opcode id="7F9E" name="OP_Death" updated="06/12/09">
<comment>old NewCorpseCode</comment>
<payload dir="server" typename="newCorpseStruct" sizechecktype="match"/>
</opcode>
- <opcode id="231F" name="OP_WearChange" updated="01/17/08">
+ <opcode id="3969" name="OP_WearChange" updated="06/12/09">
<comment>old SpawnUpdateCode</comment>
<payload dir="both" typename="SpawnUpdateStruct" sizechecktype="match"/>
</opcode>
- <opcode id="10B7" name="OP_SpawnAppearance" updated="01/17/08">
+ <opcode id="4843" name="OP_SpawnAppearance" updated="06/12/09">
<comment>old SpawnAppearanceCode</comment>
<payload dir="both" typename="spawnAppearanceStruct" sizechecktype="match"/>
</opcode>
- <opcode id="3E50" name="OP_Stamina" updated="10/21/08">
+ <opcode id="70C6" name="OP_Stamina" updated="06/12/09">
<comment>Server updating on hunger/thirst</comment>
<payload dir="server" typename="staminaStruct" sizechecktype="match"/>
</opcode>
- <opcode id="5F0D" name="OP_ClickObject" updated="01/17/08">
+ <opcode id="33E5" name="OP_ClickObject" updated="06/12/09">
<comment>old RemDropCode</comment>
<payload dir="both" typename="remDropStruct" sizechecktype="match"/>
</opcode>
- <opcode id="2C27" name="OP_Action" updated="01/17/08">
+ <opcode id="0F14" name="OP_Action" updated="06/12/09">
<comment></comment>
<payload dir="both" typename="actionStruct" sizechecktype="match"/>
<payload dir="both" typename="actionAltStruct" sizechecktype="match"/>
</opcode>
- <opcode id="7E4D" name="OP_Action2" updated="01/17/08">
+ <opcode id="631A" name="OP_Action2" updated="06/12/09">
<comment>old ActionCode</comment>
<payload dir="both" typename="action2Struct" sizechecktype="match"/>
</opcode>
- <opcode id="6024" name="OP_Consider" updated="01/17/08">
+ <opcode id="66C5" name="OP_Consider" updated="06/12/09">
<comment>old ConsiderCode</comment>
<payload dir="both" typename="considerStruct" sizechecktype="match"/>
</opcode>
- <opcode id="7BBB" name="OP_TargetMouse" updated="01/17/08">
+ <opcode id="2EE2" name="OP_TargetMouse" updated="06/12/09">
<comment>Targeting a person - old ClientTargetCode</comment>
<payload dir="both" typename="clientTargetStruct" sizechecktype="match"/>
</opcode>
- <opcode id="48F9" name="OP_Illusion" updated="01/17/08">
+ <opcode id="231F" name="OP_Illusion" updated="06/12/09">
<comment>Spawn being illusioned (changing forms)</comment>
<payload dir="both" typename="spawnIllusionStruct" sizechecktype="match"/>
</opcode>
- <opcode id="051B" name="OP_ZoneChange" updated="01/17/08">
+ <opcode id="32A9" name="OP_ZoneChange" updated="06/12/09">
<comment>old ZoneChangeCode</comment>
<payload dir="both" typename="zoneChangeStruct" sizechecktype="match"/>
</opcode>
- <opcode id="548c" name="OP_GroupInvite2" updated="09/03/08">
+ <opcode id="5251" name="OP_GroupInvite2" updated="06/12/09">
<payload dir="client" typename="groupInviteStruct" sizechecktype="match"/>
<comment>You're inviting someone and you are grouped</comment>
</opcode>
- <opcode id="5251" name="OP_GroupCancelInvite" updated="01/17/08">
+ <opcode id="5251" name="OP_GroupCancelInvite" updated="06/12/09">
<payload dir="both" typename="groupDeclineStruct" sizechecktype="match"/>
<comment>Declining to join a group</comment>
</opcode>
- <opcode id="7EA8" name="OP_Buff" updated="01/17/08">
+ <opcode id="7883" name="OP_Buff" updated="06/12/09">
<comment>old BuffDropCode</comment>
<payload dir="both" typename="buffStruct" sizechecktype="match"/>
</opcode>
- <opcode id="569A" name="OP_BuffFadeMsg" updated="01/17/08">
+ <opcode id="71BF" name="OP_BuffFadeMsg" updated="06/12/09">
<comment>old SpellFadeCode</comment>
<payload dir="both" typename="spellFadedStruct" sizechecktype="none"/>
</opcode>
- <opcode id="0D5A" name="OP_BeginCast" updated="01/17/08">
- <comment>old BeginCastCode</comment>
- <payload dir="both" typename="beginCastStruct" sizechecktype="match"/>
- </opcode>
- <opcode id="3582" name="OP_CastSpell" updated="01/17/08">
+ <opcode id="50C2" name="OP_CastSpell" updated="06/12/09">
<comment>old StartCastCode</comment>
<payload dir="both" typename="startCastStruct" sizechecktype="match"/>
</opcode>
- <opcode id="8543" name="OP_MemorizeSpell" updated="01/17/08">
+ <opcode id="3887" name="OP_MemorizeSpell" updated="06/12/09">
<comment>old MemSpellCode</comment>
<payload dir="both" typename="memSpellStruct" sizechecktype="match"/>
</opcode>
- <opcode id="7434" name="OP_Emote" updated="01/17/08">
+ <opcode id="3164" name="OP_Emote" updated="06/12/09">
<comment>old EmoteTextCode</comment>
<payload dir="both" typename="emoteTextStruct" sizechecktype="none"/>
</opcode>
- <opcode id="2E79" name="OP_CommonMessage" updated="01/17/08">
- <comment>old ChannelMessageCode</comment>
- <payload dir="both" typename="channelMessageStruct" sizechecktype="none"/>
- </opcode>
- <opcode id="6CDC" name="OP_RandomReply" updated="01/17/08">
+ <opcode id="6D5D" name="OP_RandomReply" updated="06/12/09">
<comment>old RandomCode</comment>
<payload dir="server" typename="randomStruct" sizechecktype="match"/>
</opcode>
- <opcode id="50C2" name="OP_ManaChange" updated="01/17/08">
+ <opcode id="569A" name="OP_ManaChange" updated="06/12/09">
<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="6546" name="OP_MoneyOnCorpse" updated="01/17/08">
+ <opcode id="4A83" name="OP_MoneyOnCorpse" updated="06/12/09">
<comment>old MoneyOnCorpseCode</comment>
<payload dir="server" typename="moneyOnCorpseStruct" sizechecktype="match"/>
</opcode>
+ <opcode id="132F" name="OP_CorpseLocResponse" updated="06/12/09">
+ <comment>old CorpseLocCode:</comment>
+ <payload dir="server" typename="corpseLocStruct" sizechecktype="match"/>
+ </opcode>
+ <opcode id="7705" name="OP_Logout" updated="06/12/09">
+ <comment></comment>
+ <payload dir="server" typename="none" sizechecktype="match"/>
+ </opcode>
+
+ <opcode id="6022" name="OP_PlayerProfile" updated="01/17/08">
+ <comment>old CharProfileCode</comment>
+ <payload dir="server" typename="charProfileStruct" sizechecktype="match"/>
+ </opcode>
+ <opcode id="6015" name="OP_TimeOfDay" updated="01/17/08">
+ <comment>old TimeOfDayCode</comment>
+ <payload dir="server" typename="timeOfDayStruct" sizechecktype="match"/>
+ </opcode>
+ <opcode id="51BC" name="OP_GuildMemberList" updated="01/17/08">
+ <comment></comment>
+ <payload dir="server" typename="uint8_t" sizechecktype="none"/>
+ </opcode>
+ <opcode id="7062" name="OP_ClientUpdate" updated="01/17/08">
+ <comment>Position updates</comment>
+ <payload dir="server" typename="playerSpawnPosStruct" sizechecktype="match"/>
+ <payload dir="both" typename="playerSelfPosStruct" sizechecktype="match"/>
+ </opcode>
+ <opcode id="4656" name="OP_MobUpdate" updated="01/17/08">
+ <comment>old MobUpdateCode</comment>
+ <payload dir="both" typename="spawnPositionUpdate" sizechecktype="match"/>
+ </opcode>
+ <opcode id="0D5A" name="OP_BeginCast" updated="01/17/08">
+ <comment>old BeginCastCode</comment>
+ <payload dir="both" typename="beginCastStruct" sizechecktype="match"/>
+ </opcode>
+ <opcode id="2E79" name="OP_CommonMessage" updated="01/17/08">
+ <comment>old ChannelMessageCode</comment>
+ <payload dir="both" typename="channelMessageStruct" sizechecktype="none"/>
+ </opcode>
<opcode id="7F01" name="OP_SkillUpdate" updated="01/17/08">
<comment>old SkillIncCode</comment>
<payload dir="server" typename="skillIncStruct" sizechecktype="match"/>
@@ -272,14 +281,7 @@
<comment>old LevelUpUpdateCode</comment>
<payload dir="server" typename="levelUpUpdateStruct" sizechecktype="match"/>
</opcode>
- <opcode id="083B" name="OP_CorpseLocResponse" updated="01/17/08">
- <comment>old CorpseLocCode:</comment>
- <payload dir="server" typename="corpseLocStruct" sizechecktype="match"/>
- </opcode>
- <opcode id="30E2" name="OP_Logout" updated="10/21/08">
- <comment></comment>
- <payload dir="server" typename="none" sizechecktype="match"/>
- </opcode>
+
<!-- Deprecated
<opcode id="5C29" name="OP_NewSpawn" updated="01/17/08">
<comment>old NewSpawnCode</comment>
Modified: showeq/trunk/configure.in
===================================================================
--- showeq/trunk/configure.in 2009-06-01 21:19:24 UTC (rev 731)
+++ showeq/trunk/configure.in 2009-06-20 22:43:42 UTC (rev 732)
@@ -2,7 +2,7 @@
dnl $Id$ $Name$
AC_PREREQ(2.59)
-AC_INIT(showeq, 5.13.4.1)
+AC_INIT(showeq, 5.13.5.0)
AC_CONFIG_SRCDIR(src/main.cpp)
AC_CANONICAL_SYSTEM
Modified: showeq/trunk/src/everquest.h
===================================================================
--- showeq/trunk/src/everquest.h 2009-06-01 21:19:24 UTC (rev 731)
+++ showeq/trunk/src/everquest.h 2009-06-20 22:43:42 UTC (rev 732)
@@ -101,14 +101,14 @@
#define RTEAM_OTHER 5
//Maximum limits of certain types of data
-#define MAX_KNOWN_SKILLS 75
+#define MAX_KNOWN_SKILLS 100
#define MAX_SPELL_SLOTS 10
#define MAX_KNOWN_LANGS 25
#define MAX_SPELLBOOK_SLOTS 400
#define MAX_GROUP_MEMBERS 6
-#define MAX_BUFFS 25
+#define MAX_BUFFS 30
#define MAX_GUILDS 1500
-#define MAX_AA 359
+#define MAX_AA 300
#define MAX_BANDOLIERS 20
#define MAX_POTIONS_IN_BELT 5
#define MAX_TRIBUTES 5
@@ -446,13 +446,14 @@
/*
* Used in charProfileStruct
- * Size: 8 octets
+ * Size: 12 octets
*/
struct AA_Array
{
/*000*/ uint32_t AA;
/*004*/ uint32_t value;
-/*008*/
+/*008*/ uint32_t unknown008;
+/*012*/
};
/**
@@ -663,148 +664,146 @@
/*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[MAX_SPELL_SLOTS]; // Refresh time (millis)
-/*00208*/ uint8_t unknown0208[4];
-/*00212*/ uint8_t haircolor; // Player hair color
-/*00213*/ uint8_t beardcolor; // Player beard color
-/*00214*/ uint8_t unknown00214[6];
-/*00220*/ uint8_t eyecolor1; // Player left eye color
-/*00221*/ uint8_t eyecolor2; // Player right eye color
-/*00222*/ uint8_t hairstyle; // Player hair style
-/*00223*/ uint8_t beard; // Player beard type
-/*00224*/ uint8_t unknown00218[12];
-/*00236*/ uint32_t item_material[9]; // Item texture/material of worn items
-/*00272*/ uint8_t unknown00272[232];
-/*00504*/ Color_Struct item_tint[9]; // RR GG BB 00
-/*00540*/ AA_Array aa_array[MAX_AA]; // AAs
-/*03412*/ uint8_t unknown03400[728]; // ***** this may be wrong or aa_array might be wrong (10/21/07)
-/*04140*/ uint32_t points; // Unspent Practice points
-/*04144*/ uint32_t MANA; // Current MANA
-/*04148*/ uint32_t curHp; // Current HP without +HP equipment
-/*04152*/ uint32_t STR; // Strength
-/*04156*/ uint32_t STA; // Stamina
-/*04160*/ uint32_t CHA; // Charisma
-/*04164*/ uint32_t DEX; // Dexterity
-/*04168*/ uint32_t INT; // Intelligence
-/*04172*/ uint32_t AGI; // Agility
-/*04176*/ uint32_t WIS; // Wisdom
-/*04180*/ uint8_t face; // Player face
-/*04181*/ uint8_t unknown04181[175];
-/*04356*/ int32_t sSpellBook[400]; // List of the Spells in spellbook
-/*05956*/ uint8_t unknown5956[448]; // all 0xff after last spell
-/*06404*/ int32_t sMemSpells[MAX_SPELL_SLOTS]; // List of spells memorized
-/*06444*/ uint8_t unknown06444[28];
-/*06472*/ uint32_t platinum; // Platinum Pieces on player
-/*06476*/ uint32_t gold; // Gold Pieces on player
-/*06480*/ uint32_t silver; // Silver Pieces on player
-/*06484*/ uint32_t copper; // Copper Pieces on player
-/*06488*/ uint32_t platinum_cursor; // Platinum Pieces on cursor
-/*06492*/ uint32_t gold_cursor; // Gold Pieces on cursor
-/*06496*/ uint32_t silver_cursor; // Silver Pieces on cursor
-/*06500*/ uint32_t copper_cursor; // Copper Pieces on cursor
-/*06504*/ uint32_t skills[MAX_KNOWN_SKILLS]; // List of skills
-/*06804*/ uint8_t unknown06804[236];
-/*07040*/ uint32_t toxicity; // Potion Toxicity (15=too toxic, each potion adds 3)
-/*07044*/ uint32_t thirst; // Drink (ticks till next drink)
-/*07048*/ uint32_t hunger; // Food (ticks till next eat)
-/*07052*/ spellBuff buffs[MAX_BUFFS]; // Buffs currently on the player
-/*07652*/ uint32_t disciplines[MAX_DISCIPLINES]; // Known disciplines
-/*08052*/ uint8_t unknown08052[160];
-/*08212*/ uint32_t recastTimers[MAX_RECAST_TYPES]; // Timers (GMT of last use)
-/*08292*/ uint32_t endurance; // Current endurance
-/*08296*/ uint32_t aa_spent; // Number of spent AA points
-/*08300*/ uint32_t aa_unspent; // Unspent AA points
-/*08304*/ uint8_t unknown08304[4];
-/*08308*/ BandolierStruct bandoliers[MAX_BANDOLIERS]; // bandolier contents
-/*14708*/ InlineItem potionBelt[MAX_POTIONS_IN_BELT]; // potion belt
-/*15068*/ uint8_t unknown15068[92];
-/*15160*/
+/*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[22];
+/*00254*/ uint32_t item_material[9]; // Item texture/material of worn items
+/*00290*/ uint8_t unknown00290[222];
+/*00512*/ Color_Struct item_tint[9]; // RR GG BB 00
+/*00548*/ AA_Array aa_array[MAX_AA]; // AAs
+/*04148*/ uint32_t points; // Unspent Practice points
+/*04152*/ uint32_t MANA; // Current MANA
+/*04156*/ uint32_t curHp; // Current HP without +HP equipment
+/*04160*/ uint32_t STR; // Strength
+/*04164*/ uint32_t STA; // Stamina
+/*04168*/ uint32_t CHA; // Charisma
+/*04172*/ uint32_t DEX; // Dexterity
+/*04176*/ uint32_t INT; // Intelligence
+/*04180*/ uint32_t AGI; // Agility
+/*04184*/ uint32_t WIS; // Wisdom
+/*04188*/ uint8_t face; // Player face
+/*04189*/ uint8_t unknown04189[175];
+/*04364*/ int32_t sSpellBook[720]; // List of the Spells in spellbook
+/*07244*/ int32_t sMemSpells[MAX_SPELL_SLOTS]; // List of spells memorized
+/*07284*/ uint8_t unknown07284[28];
+/*07312*/ uint32_t platinum; // Platinum Pieces on player
+/*07316*/ uint32_t gold; // Gold Pieces on player
+/*07320*/ uint32_t silver; // Silver Pieces on player
+/*07324*/ uint32_t copper; // Copper Pieces on player
+/*07328*/ uint32_t platinum_cursor; // Platinum Pieces on cursor
+/*07332*/ uint32_t gold_cursor; // Gold Pieces on cursor
+/*07336*/ uint32_t silver_cursor; // Silver Pieces on cursor
+/*07340*/ uint32_t copper_cursor; // Copper Pieces on cursor
+/*07344*/ uint32_t skills[MAX_KNOWN_SKILLS]; // List of skills
+/*07744*/ uint32_t innateSkills[25];
+/*07844*/ uint8_t unknown07844[36];
+/*07880*/ uint32_t toxicity; // Potion Toxicity (15=too toxic, each potion adds 3)
+/*07884*/ uint32_t thirst; // Drink (ticks till next drink)
+/*07888*/ uint32_t hunger; // Food (ticks till next eat)
+/*07892*/ spellBuff buffs[MAX_BUFFS]; // Buffs currently on the player
+/*08612*/ uint32_t disciplines[MAX_DISCIPLINES]; // Known disciplines
+/*09012*/ uint8_t unknown09012[560];
+/*09572*/ uint32_t recastTimers[MAX_RECAST_TYPES]; // Timers (GMT of last use)
+/*09652*/ uint32_t endurance; // Current endurance
+/*09656*/ uint32_t aa_spent; // Number of spent AA points
+/*09660*/ uint32_t aa_unspent; // Unspent AA points
+/*09664*/ uint8_t unknown09664[4];
+/*09668*/ BandolierStruct bandoliers[MAX_BANDOLIERS]; // bandolier contents
+/*16068*/ InlineItem potionBelt[MAX_POTIONS_IN_BELT]; // potion belt
+/*16428*/ uint8_t unknown16428[92];
+/*16520*/
};
/*
** Player Profile
-** Length: 23496 Octets
+** Length: 24856 Octets
** OpCode: CharProfileCode
*/
struct charProfileStruct
{
/*00000*/ uint32_t checksum; //
/*00004*/ playerProfileStruct profile; // Profile
-/*15160*/ char name[64]; // Name of player
-/*15224*/ char lastName[32]; // Last name of player
-/*15256*/ uint8_t unknown15256[12]; //***Placeholder (1/18/2006)
-/*15268*/ int32_t guildID; // guildID
-/*15272*/ uint32_t birthdayTime; // character birthday
-/*15276*/ uint32_t lastSaveTime; // character last save time
-/*15280*/ uint32_t timePlayedMin; // time character played
-/*15284*/ uint8_t unknown15284[4];
-/*15288*/ uint8_t pvp; // 1=pvp, 0=not pvp
-/*15289*/ uint8_t anon; // 2=roleplay, 1=anon, 0=not anon
-/*15290*/ uint8_t gm; // 0=no, 1=yes (guessing!)
-/*15291*/ int8_t guildstatus; // 0=member, 1=officer, 2=guildleader
-/*15292*/ uint8_t unknown15292[8];
-/*15300*/ uint32_t exp; // Current Experience
-/*15304*/ uint8_t unknown15304[12];
-/*15316*/ uint8_t languages[MAX_KNOWN_LANGS]; // List of languages
-/*15341*/ uint8_t unknown15341[7]; // All 0x00 (language buffer?)
-/*15348*/ float y; // Players y position
-/*15352*/ float x; // Players x position
-/*15356*/ float z; // Players z position
-/*15360*/ float heading; // Players heading
-/*15364*/ uint32_t standState; // 0x64 = stand
-/*15368*/ uint32_t platinum_bank; // Platinum Pieces in Bank
-/*15372*/ uint32_t gold_bank; // Gold Pieces in Bank
-/*15376*/ uint32_t silver_bank; // Silver Pieces in Bank
-/*15380*/ uint32_t copper_bank; // Copper Pieces in Bank
-/*15384*/ uint32_t platinum_shared; // Shared platinum pieces
-/*15388*/ uint8_t unknown15388[1036];
-/*16424*/ uint32_t expansions; // Bitmask for expansions
-/*16428*/ uint8_t unknown16428[12];
-/*16440*/ uint32_t autosplit; // 0 = off, 1 = on
-/*16444*/ uint8_t unknown16444[16];
-/*16460*/ uint16_t zoneId; // see zones.h
-/*16462*/ uint16_t zoneInstance; // Instance id
-/*16464*/ uint8_t unknown16464[800];
-/*17264*/ uint32_t leadAAActive; // 0 = leader AA off, 1 = leader AA on
-/*17268*/ uint8_t unknown17268[4];
-/*17272*/ uint32_t ldon_guk_points; // Earned GUK points
-/*17276*/ uint32_t ldon_mir_points; // Earned MIR points
-/*17280*/ uint32_t ldon_mmc_points; // Earned MMC points
-/*17284*/ uint32_t ldon_ruj_points; // Earned RUJ points
-/*17288*/ uint32_t ldon_tak_points; // Earned TAK points
-/*17292*/ uint32_t ldon_avail_points; // Available LDON points
-/*17296*/ uint8_t unknown17296[136];
-/*17432*/ uint32_t tributeTime; // Time remaining on tribute (millisecs)
-/*17436*/ uint32_t careerTribute; // Total favor points for this char
-/*17440*/ uint32_t unknown17432; // *** Placeholder
-/*17444*/ uint32_t currentTribute; // Current tribute points
-/*17448*/ uint32_t unknown17440; // *** Placeholder
-/*17452*/ uint32_t tributeActive; // 0 = off, 1=on
-/*17456*/ TributeStruct tributes[MAX_TRIBUTES]; // Current tribute loadout
-/*17496*/ uint8_t unknown17496[4];
-/*17500*/ float expGroupLeadAA; // Current group lead exp points
-/*17504*/ uint32_t unknown17504;
-/*17508*/ float expRaidLeadAA; // Current raid lead AA exp points
-/*17512*/ uint32_t unknown17512;
-/*17516*/ uint32_t groupLeadAAUnspent; // Unspent group lead AA points
-/*17520*/ uint32_t raidLeadAAUnspent; // Unspent raid lead AA points
-/*17524*/ uint32_t leadershipAAs[MAX_LEAD_AA]; // Leader AA ranks
-/*17652*/ uint8_t unknown17644[128];
-/*17780*/ uint32_t airRemaining; // Air supply (seconds)
-/*17784*/ uint8_t unknown17784[4608];
-/*22392*/ uint32_t expAA; // Exp earned in current AA point
-/*22396*/ uint8_t unknown22396[40];
-/*22436*/ uint32_t currentRadCrystals; // Current count of radiant crystals
-/*22440*/ uint32_t careerRadCrystals; // Total count of radiant crystals ever
-/*22444*/ uint32_t currentEbonCrystals;// Current count of ebon crystals
-/*22448*/ uint32_t careerEbonCrystals; // Total count of ebon crystals ever
-/*22452*/ uint8_t groupAutoconsent; // 0=off, 1=on
-/*22453*/ uint8_t raidAutoconsent; // 0=off, 1=on
-/*22454*/ uint8_t guildAutoconsent; // 0=off, 1=on
-/*22455*/ uint8_t unknown22455[5]; // ***Placeholder (6/29/2005)
-/*22460*/ uint32_t showhelm; // 0=no, 1=yes
-/*22464*/ uint8_t unknown22464[1032]; // ***Placeholder (2/13/2007)
-/*23496*/
+/*16520*/ char name[64]; // Name of player
+/*16584*/ char lastName[32]; // Last name of player
+/*16616*/ uint8_t unknown16616[12]; //***Placeholder (1/18/2006)
+/*16628*/ int32_t guildID; // guildID
+/*16632*/ uint32_t birthdayTime; // character birthday
+/*16636*/ uint32_t lastSaveTime; // character last save time
+/*16640*/ uint32_t timePlayedMin; // time character played
+/*16644*/ uint8_t unknown16644[4];
+/*16648*/ uint8_t pvp; // 1=pvp, 0=not pvp
+/*16649*/ uint8_t anon; // 2=roleplay, 1=anon, 0=not anon
+/*16650*/ uint8_t gm; // 0=no, 1=yes (guessing!)
+/*16651*/ int8_t guildstatus; // 0=member, 1=officer, 2=guildleader
+/*16652*/ uint8_t unknown16652[8];
+/*16660*/ uint32_t exp; // Current Experience
+/*16664*/ uint8_t unknown16664[12];
+/*16676*/ uint8_t languages[MAX_KNOWN_LANGS]; // List of languages
+/*16701*/ uint8_t unknown16701[7]; // All 0x00 (language buffer?)
+/*16708*/ float y; // Players y position
+/*16712*/ float x; // Players x position
+/*16716*/ float z; // Players z position
+/*16720*/ float heading; // Players heading
+/*16724*/ uint32_t standState; // 0x64 = stand
+/*16728*/ uint32_t platinum_bank; // Platinum Pieces in Bank
+/*16732*/ uint32_t gold_bank; // Gold Pieces in Bank
+/*16736*/ uint32_t silver_bank; // Silver Pieces in Bank
+/*16740*/ uint32_t copper_bank; // Copper Pieces in Bank
+/*16744*/ uint32_t platinum_shared; // Shared platinum pieces
+/*16748*/ uint8_t unknown16748[1036];
+/*17784*/ uint32_t expansions; // Bitmask for expansions
+/*17788*/ uint8_t unknown17788[12];
+/*17800*/ uint32_t autosplit; // 0 = off, 1 = on
+/*17804*/ uint8_t unknown17804[16];
+/*17820*/ uint16_t zoneId; // see zones.h
+/*17822*/ uint16_t zoneInstance; // Instance id
+/*17824*/ uint8_t unknown17824[800];
+/*18624*/ uint32_t leadAAActive; // 0 = leader AA off, 1 = leader AA on
+/*18628*/ uint8_t unknown18628[4];
+/*18632*/ uint32_t ldon_guk_points; // Earned GUK points
+/*18636*/ uint32_t ldon_mir_points; // Earned MIR points
+/*18640*/ uint32_t ldon_mmc_points; // Earned MMC points
+/*18644*/ uint32_t ldon_ruj_points; // Earned RUJ points
+/*18648*/ uint32_t ldon_tak_points; // Earned TAK points
+/*18652*/ uint32_t ldon_avail_points; // Available LDON points
+/*18656*/ uint8_t unknown18656[136];
+/*18792*/ uint32_t tributeTime; // Time remaining on tribute (millisecs)
+/*18796*/ uint32_t careerTribute; // Total favor points for this char
+/*18800*/ uint32_t unknown18800; // *** Placeholder
+/*18804*/ uint32_t currentTribute; // Current tribute points
+/*18808*/ uint32_t unknown18808; // *** Placeholder
+/*18812*/ uint32_t tributeActive; // 0 = off, 1=on
+/*18816*/ TributeStruct tributes[MAX_TRIBUTES]; // Current tribute loadout
+/*18856*/ uint8_t unknown18856[4];
+/*18860*/ float expGroupLeadAA; // Current group lead exp points
+/*18864*/ uint32_t unknown18864;
+/*18868*/ float expRaidLeadAA; // Current raid lead AA exp points
+/*18872*/ uint32_t unknown18872;
+/*18876*/ uint32_t groupLeadAAUnspent; // Unspent group lead AA points
+/*18880*/ uint32_t raidLeadAAUnspent; // Unspent raid lead AA points
+/*18884*/ uint32_t leadershipAAs[MAX_LEAD_AA]; // Leader AA ranks
+/*19012*/ uint8_t unknown19012[128];
+/*19140*/ uint32_t airRemaining; // Air supply (seconds)
+/*19144*/ uint8_t unknown19144[4608];
+/*23752*/ uint32_t expAA; // Exp earned in current AA point
+/*23756*/ uint8_t unknown23756[40];
+/*23796*/ uint32_t currentRadCrystals; // Current count of radiant crystals
+/*23800*/ uint32_t careerRadCrystals; // Total count of radiant crystals ever
+/*23804*/ uint32_t currentEbonCrystals;// Current count of ebon crystals
+/*23808*/ uint32_t careerEbonCrystals; // Total count of ebon crystals ever
+/*23812*/ uint8_t groupAutoconsent; // 0=off, 1=on
+/*23813*/ uint8_t raidAutoconsent; // 0=off, 1=on
+/*23814*/ uint8_t guildAutoconsent; // 0=off, 1=on
+/*23815*/ uint8_t unknown23815[5]; // ***Placeholder (6/29/2005)
+/*23820*/ uint32_t showhelm; // 0=no, 1=yes
+/*23824*/ uint8_t unknown23824[1032]; // ***Placeholder (2/13/2007)
+/*24856*/
};
#if 0
Modified: showeq/trunk/src/spawnshell.cpp
===================================================================
--- showeq/trunk/src/spawnshell.cpp 2009-06-01 21:19:24 UTC (rev 731)
+++ showeq/trunk/src/spawnshell.cpp 2009-06-20 22:43:42 UTC (rev 732)
@@ -638,7 +638,7 @@
if(checkLen && (int32_t)len != retVal)
{
- seqDebug("SpawnShell::fillSpawnStruct - expected length: %d, read: %d", len, retVal);
+ seqDebug("SpawnShell::fillSpawnStruct - expected length: %d, read: %d for spawn '%s'", len, retVal, spawn->name);
}
return retVal;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|