|
From: <cn...@us...> - 2024-03-04 18:41:44
|
Revision: 1444
http://sourceforge.net/p/seq/svn/1444
Author: cn187
Date: 2024-03-04 18:41:42 +0000 (Mon, 04 Mar 2024)
Log Message:
-----------
Historical checkin for 02/21/24 - Struct and opcode updates (Newby)
Version to 6.3.11
Modified Paths:
--------------
showeq/branches/cn187_devel/ChangeLog
showeq/branches/cn187_devel/conf/zoneopcodes.xml
showeq/branches/cn187_devel/configure.in
showeq/branches/cn187_devel/src/everquest.h
showeq/branches/cn187_devel/src/zonemgr.cpp
Modified: showeq/branches/cn187_devel/ChangeLog
===================================================================
--- showeq/branches/cn187_devel/ChangeLog 2024-02-22 00:25:29 UTC (rev 1443)
+++ showeq/branches/cn187_devel/ChangeLog 2024-03-04 18:41:42 UTC (rev 1444)
@@ -1,3 +1,9 @@
+BlueAdept (02/21/24)
+----------------
+- Update to version 6.3.11
+- Support for EQ Patch 02/21/24
+- Struct and opcode updates (Newby)
+
BlueAdept (01/17/24)
----------------
- Update to version 6.3.10
Modified: showeq/branches/cn187_devel/conf/zoneopcodes.xml
===================================================================
--- showeq/branches/cn187_devel/conf/zoneopcodes.xml 2024-02-22 00:25:29 UTC (rev 1443)
+++ showeq/branches/cn187_devel/conf/zoneopcodes.xml 2024-03-04 18:41:42 UTC (rev 1444)
@@ -3,37 +3,37 @@
<seqopcodes>
<!-- Critical opcodes used directly by ShowEQ -->
- <opcode id="5b83" name="OP_PlayerProfile" updated="01/17/24">
+ <opcode id="64ba" name="OP_PlayerProfile" updated="02/21/24">
<comment>CharProfileCode</comment>
<payload dir="server" typename="uint8_t" sizechecktype="none"/>
</opcode>
- <opcode id="7f93" name="OP_ZoneEntry" updated="01/17/24">
+ <opcode id="51c2" name="OP_ZoneEntry" updated="02/21/24">
<comment>ZoneEntryCode</comment>
<payload dir="client" typename="ClientZoneEntryStruct" sizechecktype="match"/>
<payload dir="server" typename="uint8_t" sizechecktype="none"/>
</opcode>
- <opcode id="6905" name="OP_TimeOfDay" updated="01/17/24">
+ <opcode id="2d6f" name="OP_TimeOfDay" updated="02/21/24">
<comment>TimeOfDayCode</comment>
<payload dir="server" typename="timeOfDayStruct" sizechecktype="match"/>
</opcode>
- <opcode id="286a" name="OP_NewZone" updated="01/17/24">
+ <opcode id="448d" name="OP_NewZone" updated="02/21/24">
<comment>NewZoneCode</comment>
<payload dir="server" typename="uint8_t" sizechecktype="none"/>
</opcode>
- <opcode id="3fbf" name="OP_SpawnDoor" updated="01/17/24">
+ <opcode id="676a" name="OP_SpawnDoor" updated="02/21/24">
<comment>DoorSpawnsCode</comment>
<payload dir="server" typename="doorStruct" sizechecktype="modulus"/>
</opcode>
- <opcode id="4ba6" name="OP_GroundSpawn" updated="01/17/24">
+ <opcode id="6086" name="OP_GroundSpawn" updated="02/21/24">
<comment>MakeDropCode</comment>
<payload dir="server" typename="makeDropStruct" sizechecktype="none"/>
<payload dir="client" typename="uint8_t" sizechecktype="none"/>
</opcode>
- <opcode id="3638" name="OP_SendZonePoints" updated="01/17/24">
+ <opcode id="52ae" name="OP_SendZonePoints" updated="02/21/24">
<comment>Coords in a zone that will port you to another zone</comment>
<payload dir="server" typename="zonePointsStruct" sizechecktype="none"/>
</opcode>
- <opcode id="6738" name="OP_AAExpUpdate" updated="01/17/24">
+ <opcode id="3921" name="OP_AAExpUpdate" updated="02/21/24">
<comment>Receiving AA experience. Also when percent to AA changes.</comment>
<payload dir="server" typename="altExpUpdateStruct" sizechecktype="match"/>
</opcode>
@@ -41,32 +41,32 @@
<comment>ExpUpdateCode</comment>
<payload dir="server" typename="expUpdateStruct" sizechecktype="match"/>
</opcode>
- <opcode id="7eab" name="OP_GuildMOTD" updated="01/17/24">
+ <opcode id="4ac4" name="OP_GuildMOTD" updated="02/21/24">
<comment>GuildMOTD</comment>
<payload dir="server" typename="guildMOTDStruct" sizechecktype="none"/>
</opcode>
- <opcode id="353e" name="OP_ClientUpdate" updated="01/17/24">
+ <opcode id="5ba3" name="OP_ClientUpdate" updated="02/21/24">
<comment>Position updates</comment>
<payload dir="server" typename="playerSpawnPosStruct" sizechecktype="match"/>
<payload dir="both" typename="playerSelfPosStruct" sizechecktype="match"/>
</opcode>
- <opcode id="64d9" name="OP_NpcMoveUpdate" updated="01/17/24">
+ <opcode id="7d46" name="OP_NpcMoveUpdate" updated="02/21/24">
<comment>Position updates</comment>
<payload dir="server" typename="uint8_t" sizechecktype="none"/>
</opcode>
- <opcode id="670a" name="OP_MobUpdate" updated="01/17/24">
+ <opcode id="66f9" name="OP_MobUpdate" updated="02/21/24">
<comment>MobUpdateCode</comment>
<payload dir="both" typename="spawnPositionUpdate" sizechecktype="match"/>
</opcode>
- <opcode id="4db6" name="OP_DeleteSpawn" updated="01/17/24">
+ <opcode id="1e07" name="OP_DeleteSpawn" updated="02/21/24">
<comment>DeleteSpawnCode</comment>
<payload dir="both" typename="deleteSpawnStruct" sizechecktype="match"/>
</opcode>
- <opcode id="0cd6" name="OP_RemoveSpawn" updated="01/17/24">
+ <opcode id="46de" name="OP_RemoveSpawn" updated="02/21/24">
<comment>Remove spawn from zone</comment>
<payload dir="both" typename="removeSpawnStruct" sizechecktype="none"/>
</opcode>
- <opcode id="09f6" name="OP_Death" updated="01/17/24">
+ <opcode id="0fe8" name="OP_Death" updated="02/21/24">
<comment>old NewCorpseCode</comment>
<payload dir="server" typename="newCorpseStruct" sizechecktype="match"/>
</opcode>
@@ -74,7 +74,7 @@
<comment>SpawnUpdateCode</comment>
<payload dir="both" typename="SpawnUpdateStruct" sizechecktype="match"/>
</opcode>
- <opcode id="1926" name="OP_SpawnAppearance" updated="01/17/24">
+ <opcode id="3e01" name="OP_SpawnAppearance" updated="02/21/24">
<comment>SpawnAppearanceCode</comment>
<payload dir="both" typename="spawnAppearanceStruct" sizechecktype="match"/>
</opcode>
@@ -86,28 +86,28 @@
<comment>NpcHpUpdateCode Update HP % of a PC or NPC</comment>
<payload dir="both" typename="hpNpcUpdateStruct" sizechecktype="match"/>
</opcode>
- <opcode id="157c" name="OP_GuildMemberUpdate" updated="01/17/24">
+ <opcode id="0c5b" name="OP_GuildMemberUpdate" updated="02/21/24">
<comment>Info regarding guild members</comment>
<payload dir="server" typename="GuildMemberUpdate" sizechecktype="match"/>
</opcode>
- <opcode id="01b5" name="OP_ClickObject" updated="01/17/24">
+ <opcode id="1d5e" name="OP_ClickObject" updated="02/21/24">
<comment>Items dropped on the ground</comment>
<payload dir="both" typename="remDropStruct" sizechecktype="match"/>
</opcode>
- <opcode id="7ecb" name="OP_Action" updated="01/17/24">
+ <opcode id="7cdf" name="OP_Action" updated="02/21/24">
<comment>Spells cast etc</comment>
<payload dir="both" typename="actionStruct" sizechecktype="match"/>
<payload dir="both" typename="actionAltStruct" sizechecktype="match"/>
</opcode>
- <opcode id="47e9" name="OP_Action2" updated="01/17/24">
+ <opcode id="7bd3" name="OP_Action2" updated="02/21/24">
<comment>Combat actions i.e. bash, kick etc</comment>
<payload dir="both" typename="action2Struct" sizechecktype="match"/>
</opcode>
- <opcode id="4b83" name="OP_Consider" updated="01/17/24">
+ <opcode id="7c6e" name="OP_Consider" updated="02/21/24">
<comment>ConsiderCode</comment>
<payload dir="both" typename="considerStruct" sizechecktype="match"/>
</opcode>
- <opcode id="041b" name="OP_TargetMouse" updated="01/17/24">
+ <opcode id="66d5" name="OP_TargetMouse" updated="02/21/24">
<comment>Targeting a person - old ClientTargetCode</comment>
<payload dir="both" typename="clientTargetStruct" sizechecktype="match"/>
</opcode>
@@ -123,7 +123,7 @@
<comment>Server putting players into shroud form</comment>
<payload dir="server" typename="spawnShroudSelf" sizechecktype="none"/>
</opcode>
- <opcode id="00f8" name="OP_ZoneChange" updated="01/17/24">
+ <opcode id="4c6e" name="OP_ZoneChange" updated="02/21/24">
<comment>old ZoneChangeCode</comment>
<payload dir="both" typename="zoneChangeStruct" sizechecktype="match"/>
</opcode>
@@ -191,19 +191,19 @@
<comment>EmoteTextCode</comment>
<payload dir="both" typename="emoteTextStruct" sizechecktype="none"/>
</opcode>
- <opcode id="47ac" name="OP_SimpleMessage" updated="01/17/24">
+ <opcode id="7bea" name="OP_SimpleMessage" updated="02/21/24">
<comment>SimpleMessageCode</comment>
<payload dir="server" typename="simpleMessageStruct" sizechecktype="match"/>
</opcode>
- <opcode id="2357" name="OP_FormattedMessage" updated="01/17/24">
+ <opcode id="7d57" name="OP_FormattedMessage" updated="02/21/24">
<comment>FormattedMessageCode i.e. pet dismissed etc</comment>
<payload dir="server" typename="formattedMessageStruct" sizechecktype="none"/>
</opcode>
- <opcode id="0ba2" name="OP_CommonMessage" updated="01/17/24">
+ <opcode id="34de" name="OP_CommonMessage" updated="02/21/24">
<comment>ChannelMessageCode i.e. /tell /ooc /shout etc</comment>
<payload dir="both" typename="channelMessageStruct" sizechecktype="none"/>
</opcode>
- <opcode id="31e1" name="OP_SpecialMesg" updated="01/17/24">
+ <opcode id="2304" name="OP_SpecialMesg" updated="02/21/24">
<comment>Communicate textual info to client including hail responses etc</comment>
<payload dir="server" typename="specialMessageStruct" sizechecktype="none"/>
</opcode>
@@ -307,7 +307,7 @@
<comment>List of group members - Variable length</comment>
<payload dir="server" typename="uint8_t" sizechecktype="none"/>
</opcode>
- <opcode id="4b06" name="OP_GuildMemberList" updated="01/17/24">
+ <opcode id="302d" name="OP_GuildMemberList" updated="02/21/24">
<comment>List of guild members - Variable length</comment>
<payload dir="server" typename="uint8_t" sizechecktype="none"/>
</opcode>
@@ -367,7 +367,7 @@
<comment>Fellowship information - 2576 bytes</comment>
<payload dir="server" typename="uint8_t" sizechecktype="none"/>
</opcode>
- <opcode id="7fae" name="OP_ExpandedGuildInfo" updated="01/17/24">
+ <opcode id="2c31" name="OP_ExpandedGuildInfo" updated="02/21/24">
<comment>Guild ranks and other misc guild data - Variable length</comment>
<payload dir="server" typename="uint8_t" sizechecktype="none"/>
</opcode>
@@ -595,7 +595,7 @@
<comment>Free to play nags and other data - Variable length</comment>
<payload dir="server" typename="uint8_t" sizechecktype="none"/>
</opcode>
- <opcode id="011c" name="OP_Find" updated="01/17/24">
+ <opcode id="51b0" name="OP_Find" updated="02/21/24">
<comment>Find window data - 112 bytes</comment>
<payload dir="server" typename="uint8_t" sizechecktype="none"/>
</opcode>
Modified: showeq/branches/cn187_devel/configure.in
===================================================================
--- showeq/branches/cn187_devel/configure.in 2024-02-22 00:25:29 UTC (rev 1443)
+++ showeq/branches/cn187_devel/configure.in 2024-03-04 18:41:42 UTC (rev 1444)
@@ -2,7 +2,7 @@
dnl $Id$ $Name$
AC_PREREQ(2.59)
-AC_INIT(showeq, 6.3.10)
+AC_INIT(showeq, 6.3.11)
AC_CONFIG_SRCDIR(src/main.cpp)
AC_CONFIG_MACRO_DIR([m4])
AC_CANONICAL_SYSTEM
Modified: showeq/branches/cn187_devel/src/everquest.h
===================================================================
--- showeq/branches/cn187_devel/src/everquest.h 2024-02-22 00:25:29 UTC (rev 1443)
+++ showeq/branches/cn187_devel/src/everquest.h 2024-03-04 18:41:42 UTC (rev 1444)
@@ -467,7 +467,7 @@
/*
* Used in charProfileStruct
- * Size: 12 Octets
+ * Size: 13 Octets
*/
struct AA_Array
{
@@ -474,7 +474,8 @@
/*000*/ uint32_t AA;
/*004*/ uint32_t value;
/*008*/ uint32_t unknown008;
-/*012*/
+/*012*/ uint8_t unknown012;
+/*013*/
};
/**
@@ -809,6 +810,10 @@
/*20284*/ float z; // Players z position
/*20288*/ float heading; // Players heading
/*20292*/ uint32_t standState; // 0x64 = stand
+/*20296*/ uint32_t platinum_inventory; // Platinum Pieces in Inventory
+/*20300*/ uint32_t gold_inventory; // Gold Pieces in Inventory
+/*20304*/ uint32_t silver_inventory; // Silver Pieces in Inventory
+/*20308*/ uint32_t copper_inventory; // Copper Pieces in Inventory
/*20296*/ uint32_t platinum_bank; // Platinum Pieces in Bank
/*20300*/ uint32_t gold_bank; // Gold Pieces in Bank
/*20304*/ uint32_t silver_bank; // Silver Pieces in Bank
@@ -1115,26 +1120,25 @@
struct
{
+ signed z:19; // z coord (3rd loc value)
+ signed deltaY:13; // change in y
+
signed x:19; // x coord (1st loc value)
signed animation:10; // current animation
- unsigned pad0:3;
+ unsigned pad1:3;
- unsigned pitch:12; // pitch (up/down heading)
- signed z:19; // z coord (3rd loc value)
- unsigned pad1:1;
-
+ signed deltaHeading:10; // change in heading
signed deltaX:13; // change in x
- signed deltaZ:13; // change in z
- unsigned pad2:6;
+ unsigned pad2:9;
- signed deltaHeading:10; // change in heading
- signed deltaY:13; // change in y
- unsigned pad3:9;
-
+ unsigned heading:12; // heading
signed y:19; // y coord (2nd loc value)
- unsigned heading:12; // heading
- unsigned pad4:1;
+ unsigned pad3:1;
+ signed deltaZ:13; // change in z
+ unsigned pitch:12; // pitch (up/down heading)
+ unsigned pad4:7;
+
};
int32_t posData[5];
};
@@ -2393,31 +2397,30 @@
/*0000*/ uint16_t spawnId;
/*0002*/ uint16_t spawnId2;
/*0004*/
+ signed z:19; // z coord (3rd loc value)
+ signed deltaY:13; // change in y
+/*0008*/
signed x:19; // x coord (1st loc value)
signed animation:10; // current animation
- unsigned pad0:3;
-/*0008*/
- unsigned pitch:12; // pitch (up/down heading)
- signed z:19; // z coord (3rd loc value)
- unsigned pad1:1;
+ unsigned pad1:3;
/*0012*/
+ signed deltaHeading:10; // change in heading
signed deltaX:13; // change in x
- signed deltaZ:13; // change in z
- unsigned pad2:6;
+ unsigned pad2:9;
/*0016*/
- signed deltaHeading:10; // change in heading
- signed deltaY:13; // change in y
- unsigned pad3:9;
+ unsigned heading:12; // heading
+ signed y:19; // y coord (2nd loc value)
+ unsigned pad3:1;
/*0020*/
- signed y:19; // y coord (2nd loc value)
- unsigned heading:12; // heading
- unsigned pad4:1;
+ signed deltaZ:13; // change in z
+ unsigned pitch:12; // pitch (up/down heading)
+ unsigned pad4:7;
/*0024*/
};
/*
** Self Position Update
-** Length: 42 Octets
+** Length: 38 Octets
** OpCode: PlayerPosCode
*/
struct playerSelfPosStruct
@@ -2426,28 +2429,26 @@
/*0002*/ uint16_t spawnId; // Player's spawn id
/*0004*/ uint16_t unknown0004; // ***Placeholder
/*0006*/
+ signed animation:10; // current animation
+ signed deltaHeading:10; // change in heading
+ unsigned pad0:12;
+/*0010*/
float deltaZ; // change in z
-/*0010*/
+/*0014*/
float y; // y coord (2nd loc value)
-/*0014*/
- unsigned pitch:12; // pitch (up/down heading)
- signed animation:10; // current animation
- unsigned pad2:10;
/*0018*/
+ float deltaY; // change in y
+/*0022*/
float x; // x coord (1st loc value)
-/*0022*/
- unsigned heading:12; // heading
- unsigned pad4:20;
/*0026*/
- float deltaY; // change in y
+ float z; // z coord (3rd loc value)
/*0030*/
- signed deltaHeading:10; // change in heading
- unsigned pad6:22;
+ float deltaX; // change in x
/*0034*/
- float deltaX; // change in x
+ unsigned heading:12; // heading
+ unsigned pitch:12; // pitch (up/down heading)
+ unsigned pad7:8;
/*0038*/
- float z; // z coord (3rd loc value)
-/*0042*/
};
/*
Modified: showeq/branches/cn187_devel/src/zonemgr.cpp
===================================================================
--- showeq/branches/cn187_devel/src/zonemgr.cpp 2024-02-22 00:25:29 UTC (rev 1443)
+++ showeq/branches/cn187_devel/src/zonemgr.cpp 2024-03-04 18:41:42 UTC (rev 1444)
@@ -298,6 +298,7 @@
player->profile.aa_array[i].AA = netStream.readUInt32NC();
player->profile.aa_array[i].value = netStream.readUInt32NC();
player->profile.aa_array[i].unknown008 = netStream.readUInt32NC();
+ player->profile.aa_array[i].unknown012 = netStream.readUInt8();
}
// Number of SKills (100 ints)
@@ -493,6 +494,10 @@
// Unknown
netStream.skipBytes(2);
+ player->platinum_inventory = netStream.readUInt32NC();
+ player->gold_inventory = netStream.readUInt32NC();
+ player->silver_inventory = netStream.readUInt32NC();
+ player->copper_inventory = netStream.readUInt32NC();
player->platinum_bank = netStream.readUInt32NC();
player->gold_bank = netStream.readUInt32NC();
player->silver_bank = netStream.readUInt32NC();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|