|
From: <the...@us...> - 2016-12-18 15:01:46
|
Revision: 869
http://sourceforge.net/p/seq/svn/869
Author: theblueadept
Date: 2016-12-18 15:01:44 +0000 (Sun, 18 Dec 2016)
Log Message:
-----------
Historical checkin for 12/18/16
- Updated Opcodes (Newby)
- Updated structs (Newby)
- Fixed run speed (showeq42)
Version to 5.13.10.45
Modified Paths:
--------------
showeq/trunk/ChangeLog
showeq/trunk/conf/zoneopcodes.xml
showeq/trunk/configure.in
showeq/trunk/src/everquest.h
showeq/trunk/src/interface.cpp
showeq/trunk/src/player.cpp
showeq/trunk/src/spawnshell.cpp
Modified: showeq/trunk/ChangeLog
===================================================================
--- showeq/trunk/ChangeLog 2016-11-26 20:30:16 UTC (rev 868)
+++ showeq/trunk/ChangeLog 2016-12-18 15:01:44 UTC (rev 869)
@@ -1,3 +1,11 @@
+BlueAdept (12/18/16)
+-------------------
+- Updated version to 5.13.10.45
+- Support EQ patch 12/14/16
+- Updated Opcodes (Newby)
+- Updated structs (Newby)
+- Fixed run speed (showeq42)
+
BlueAdept (11/17/16)
-------------------
- Updated version to 5.13.10.44
Modified: showeq/trunk/conf/zoneopcodes.xml
===================================================================
--- showeq/trunk/conf/zoneopcodes.xml 2016-11-26 20:30:16 UTC (rev 868)
+++ showeq/trunk/conf/zoneopcodes.xml 2016-12-18 15:01:44 UTC (rev 869)
@@ -3,37 +3,37 @@
<seqopcodes>
<!-- Critical opcodes used directly by ShowEQ -->
- <opcode id="28f8" name="OP_PlayerProfile" updated="11/16/16">
+ <opcode id="4a07" name="OP_PlayerProfile" updated="12/14/16">
<comment>CharProfileCode</comment>
<payload dir="server" typename="uint8_t" sizechecktype="none"/>
</opcode>
- <opcode id="3260" name="OP_ZoneEntry" updated="11/16/16">
+ <opcode id="5fb3" name="OP_ZoneEntry" updated="12/14/16">
<comment>ZoneEntryCode</comment>
<payload dir="client" typename="ClientZoneEntryStruct" sizechecktype="match"/>
<payload dir="server" typename="uint8_t" sizechecktype="none"/>
</opcode>
- <opcode id="1b52" name="OP_TimeOfDay" updated="11/16/16">
+ <opcode id="2f33" name="OP_TimeOfDay" updated="12/14/16">
<comment>TimeOfDayCode</comment>
<payload dir="server" typename="timeOfDayStruct" sizechecktype="match"/>
</opcode>
- <opcode id="778e" name="OP_NewZone" updated="11/16/16">
+ <opcode id="7041" name="OP_NewZone" updated="12/14/16">
<comment>NewZoneCode</comment>
<payload dir="server" typename="newZoneStruct" sizechecktype="match"/>
</opcode>
- <opcode id="440d" name="OP_SpawnDoor" updated="11/16/16">
+ <opcode id="2f51" name="OP_SpawnDoor" updated="12/14/16">
<comment>DoorSpawnsCode</comment>
<payload dir="server" typename="doorStruct" sizechecktype="modulus"/>
</opcode>
- <opcode id="453e" name="OP_GroundSpawn" updated="11/16/16">
+ <opcode id="2965" name="OP_GroundSpawn" updated="12/14/16">
<comment>MakeDropCode</comment>
<payload dir="server" typename="makeDropStruct" sizechecktype="none"/>
<payload dir="client" typename="uint8_t" sizechecktype="none"/>
</opcode>
- <opcode id="4a6b" name="OP_SendZonePoints" updated="11/16/16">
+ <opcode id="3d49" name="OP_SendZonePoints" updated="12/14/16">
<comment>Coords in a zone that will port you to another zone</comment>
<payload dir="server" typename="zonePointsStruct" sizechecktype="none"/>
</opcode>
- <opcode id="0b6d" name="OP_AAExpUpdate" updated="11/16/16">
+ <opcode id="52ec" name="OP_AAExpUpdate" updated="12/14/16">
<comment>Receiving AA experience. Also when percent to AA changes.</comment>
<payload dir="server" typename="altExpUpdateStruct" sizechecktype="match"/>
</opcode>
@@ -41,40 +41,40 @@
<comment>ExpUpdateCode 2155 as of 11/20/15 - when set to the proper value you may experience random segfaults</comment>
<payload dir="server" typename="expUpdateStruct" sizechecktype="match"/>
</opcode>
- <opcode id="3f15" name="OP_GuildMOTD" updated="11/16/16">
+ <opcode id="44bb" name="OP_GuildMOTD" updated="12/14/16">
<comment>GuildMOTD</comment>
<payload dir="server" typename="guildMOTDStruct" sizechecktype="none"/>
</opcode>
- <opcode id="636c" name="OP_ClientUpdate" updated="11/16/16">
+ <opcode id="17a5" name="OP_ClientUpdate" updated="12/14/16">
<comment>Position updates</comment>
<payload dir="server" typename="playerSpawnPosStruct" sizechecktype="match"/>
<payload dir="both" typename="playerSelfPosStruct" sizechecktype="match"/>
</opcode>
- <opcode id="4b5c" name="OP_NpcMoveUpdate" updated="11/16/16">
+ <opcode id="3115" name="OP_NpcMoveUpdate" updated="12/14/16">
<comment>Position updates</comment>
<payload dir="server" typename="uint8_t" sizechecktype="none"/>
</opcode>
- <opcode id="48a5" name="OP_MobUpdate" updated="11/16/16">
+ <opcode id="0eb6" name="OP_MobUpdate" updated="12/14/16">
<comment>MobUpdateCode</comment>
<payload dir="both" typename="spawnPositionUpdate" sizechecktype="match"/>
</opcode>
- <opcode id="1701" name="OP_DeleteSpawn" updated="11/16/16">
+ <opcode id="2e31" name="OP_DeleteSpawn" updated="12/14/16">
<comment>DeleteSpawnCode</comment>
<payload dir="both" typename="deleteSpawnStruct" sizechecktype="match"/>
</opcode>
- <opcode id="602c" name="OP_RemoveSpawn" updated="11/16/16">
+ <opcode id="211b" name="OP_RemoveSpawn" updated="12/14/16">
<comment>Remove spawn from zone</comment>
<payload dir="both" typename="removeSpawnStruct" sizechecktype="none"/>
</opcode>
- <opcode id="7438" name="OP_Death" updated="11/16/16">
+ <opcode id="090e" name="OP_Death" updated="12/14/16">
<comment>old NewCorpseCode</comment>
<payload dir="server" typename="newCorpseStruct" sizechecktype="match"/>
</opcode>
- <opcode id="4a67" name="OP_WearChange" updated="11/16/16">
+ <opcode id="5854" name="OP_WearChange" updated="12/14/16">
<comment>SpawnUpdateCode</comment>
<payload dir="both" typename="SpawnUpdateStruct" sizechecktype="match"/>
</opcode>
- <opcode id="6ddc" name="OP_SpawnAppearance" updated="11/16/16">
+ <opcode id="57cf" name="OP_SpawnAppearance" updated="12/14/16">
<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="5992" name="OP_GuildMemberUpdate" updated="11/16/16">
+ <opcode id="7732" name="OP_GuildMemberUpdate" updated="12/14/16">
<comment>Info regarding guild members</comment>
<payload dir="server" typename="GuildMemberUpdate" sizechecktype="match"/>
</opcode>
- <opcode id="355a" name="OP_ClickObject" updated="11/16/16">
+ <opcode id="6f41" name="OP_ClickObject" updated="12/14/16">
<comment>Items dropped on the ground</comment>
<payload dir="both" typename="remDropStruct" sizechecktype="match"/>
</opcode>
- <opcode id="58fc" name="OP_Action" updated="11/16/16">
+ <opcode id="236d" name="OP_Action" updated="12/14/16">
<comment>Spells cast etc</comment>
<payload dir="both" typename="actionStruct" sizechecktype="match"/>
<payload dir="both" typename="actionAltStruct" sizechecktype="match"/>
</opcode>
- <opcode id="2e58" name="OP_Action2" updated="11/16/16">
+ <opcode id="2bda" name="OP_Action2" updated="12/14/16">
<comment>Combat actions i.e. bash, kick etc</comment>
<payload dir="both" typename="action2Struct" sizechecktype="match"/>
</opcode>
- <opcode id="0f9e" name="OP_Consider" updated="11/16/16">
+ <opcode id="33dd" name="OP_Consider" updated="12/14/16">
<comment>ConsiderCode</comment>
<payload dir="both" typename="considerStruct" sizechecktype="match"/>
</opcode>
- <opcode id="142d" name="OP_TargetMouse" updated="11/16/16">
+ <opcode id="3ab5" name="OP_TargetMouse" updated="12/14/16">
<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="66ce" name="OP_ZoneChange" updated="11/16/16">
+ <opcode id="257f" name="OP_ZoneChange" updated="12/14/16">
<comment>old ZoneChangeCode</comment>
<payload dir="both" typename="zoneChangeStruct" sizechecktype="match"/>
</opcode>
@@ -195,19 +195,19 @@
<comment>EmoteTextCode</comment>
<payload dir="both" typename="emoteTextStruct" sizechecktype="none"/>
</opcode>
- <opcode id="7f9e" name="OP_SimpleMessage" updated="11/16/16">
+ <opcode id="5ed6" name="OP_SimpleMessage" updated="12/14/16">
<comment>SimpleMessageCode</comment>
<payload dir="server" typename="simpleMessageStruct" sizechecktype="match"/>
</opcode>
- <opcode id="41f5" name="OP_FormattedMessage" updated="11/16/16">
+ <opcode id="4029" name="OP_FormattedMessage" updated="12/14/16">
<comment>FormattedMessageCode i.e. pet dismissed etc</comment>
<payload dir="server" typename="formattedMessageStruct" sizechecktype="none"/>
</opcode>
- <opcode id="1df4" name="OP_CommonMessage" updated="11/16/16">
+ <opcode id="4133" name="OP_CommonMessage" updated="12/14/16">
<comment>ChannelMessageCode i.e. /tell /ooc /shout etc</comment>
<payload dir="both" typename="channelMessageStruct" sizechecktype="none"/>
</opcode>
- <opcode id="7bc6" name="OP_SpecialMesg" updated="11/16/16">
+ <opcode id="4e48" name="OP_SpecialMesg" updated="12/14/16">
<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="unknown" sizechecktype="none"/>
</opcode>
- <opcode id="3c5f" name="OP_GuildMemberList" updated="11/16/16">
+ <opcode id="67d2" name="OP_GuildMemberList" updated="12/14/16">
<comment>List of guild members - Variable length</comment>
<payload dir="server" typename="uint8_t" sizechecktype="none"/>
</opcode>
@@ -367,7 +367,7 @@
<comment>Fellowship information - 2564 bytes</comment>
<payload dir="server" typename="unknown" sizechecktype="none"/>
</opcode>
- <opcode id="0da7" name="OP_ExpandedGuildInfo" updated="11/16/16">
+ <opcode id="49a3" name="OP_ExpandedGuildInfo" updated="12/14/16">
<comment>Guild ranks and other misc guild data - Variable length</comment>
<payload dir="server" typename="unknown" sizechecktype="none"/>
</opcode>
@@ -587,7 +587,7 @@
<comment>Free to play nags and other data - Variable length</comment>
<payload dir="server" typename="unknown" sizechecktype="none"/>
</opcode>
- <opcode id="52f2" name="OP_Find" updated="11/16/16">
+ <opcode id="553f" name="OP_Find" updated="12/14/16">
<comment>Find window data - 112 bytes</comment>
<payload dir="server" typename="unknown" sizechecktype="none"/>
</opcode>
Modified: showeq/trunk/configure.in
===================================================================
--- showeq/trunk/configure.in 2016-11-26 20:30:16 UTC (rev 868)
+++ showeq/trunk/configure.in 2016-12-18 15:01:44 UTC (rev 869)
@@ -2,7 +2,7 @@
dnl $Id$ $Name$
AC_PREREQ(2.59)
-AC_INIT(showeq, 5.13.10.44)
+AC_INIT(showeq, 5.13.10.45)
AC_CONFIG_SRCDIR(src/main.cpp)
AC_CONFIG_MACRO_DIR([m4])
AC_CANONICAL_SYSTEM
Modified: showeq/trunk/src/everquest.h
===================================================================
--- showeq/trunk/src/everquest.h 2016-11-26 20:30:16 UTC (rev 868)
+++ showeq/trunk/src/everquest.h 2016-12-18 15:01:44 UTC (rev 869)
@@ -1096,29 +1096,25 @@
{
unsigned pitch:12;
- signed deltaY:13; // change in y
- unsigned padding00:7;
+ signed animation:10; // velocity
+ signed deltaHeading:10; // change in heading
- signed deltaX:13; // change in x
signed deltaZ:13; // change in z
- unsigned padding01:6;
+ signed z:19; // z coord (3rd loc value)
unsigned heading:12; // heading
- signed deltaHeading:10; // change in heading
- unsigned padding02:10;
+ signed y:19; // y coord (2nd loc value)
+ unsigned padding02:1;
- signed z:19; // z coord (3rd loc value)
- unsigned padding03:13;
+ signed deltaY:13; // change in y
+ signed deltaX:13; // change in x
+ unsigned padding03:6;
- signed y:19; // y coord (2nd loc value)
- signed animation:10; // velocity
- unsigned padding04:3;
-
signed x:19; // x coord (1st loc value)
- unsigned padding05:13;
+ unsigned padding04:13;
};
- int32_t posData[6];
+ int32_t posData[5];
};
/*0000*/ union
{
@@ -2359,7 +2355,7 @@
/*
** Player Position Update
-** Length: 28 Octets
+** Length: 24 Octets
** OpCode: PlayerPosCode
*/
@@ -2369,32 +2365,28 @@
/*0002*/ uint16_t spawnId2;
/*0004*/
unsigned pitch:12;
- signed deltaY:13; // change in y
- unsigned padding00:7;
+ signed animation:10; // velocity
+ signed deltaHeading:10; // change in heading
/*0008*/
- signed deltaX:13; // change in x
signed deltaZ:13; // change in z
- unsigned padding01:6;
+ signed z:19; // z coord (3rd loc value)
/*0012*/
unsigned heading:12; // heading
- signed deltaHeading:10; // change in heading
- unsigned padding02:10;
+ signed y:19; // y coord (2nd loc value)
+ unsigned padding02:1;
/*0016*/
- signed z:19; // z coord (3rd loc value)
- unsigned padding03:13;
+ signed deltaY:13; // change in y
+ signed deltaX:13; // change in x
+ unsigned padding03:6;
/*0020*/
- signed y:19; // y coord (2nd loc value)
- signed animation:10; // velocity
- unsigned padding04:3;
+ signed x:19; // x coord (1st loc value)
+ unsigned padding04:13;
/*0024*/
- signed x:19; // x coord (1st loc value)
- unsigned padding05:13;
-/*0028*/
};
/*
** Self Position Update
-** Length: 38 Octets
+** Length: 42 Octets
** OpCode: PlayerPosCode
*/
@@ -2405,25 +2397,27 @@
/*0004*/ uint16_t unknown0001; // ***Placeholder
/*0006*/
unsigned pitch:12; // pitch (up/down heading)
- signed deltaHeading:10; // change in heading
- unsigned padding00:10;
+ unsigned padding00:20;
/*0010*/
- float x; // x coord (1st loc value)
+ float y; // y coord (2nd loc value)
/*0014*/
float deltaY; // Change in y
/*0018*/
- float z; // z coord (3rd loc value)
-/*0022*/
unsigned heading:12; // Heading
signed animation:10; // velocity
- unsigned padding04:10;
+ unsigned padding03:10;
+/*0022*/
+ float z; // z coord (3rd loc value)
/*0026*/
float deltaX; // Change in x
/*0030*/
- float y; // y coord (2nd loc value)
+ signed deltaHeading:10; // change in heading
+ unsigned padding06:22;
/*0034*/
+ float x; // x coord (1st loc value)
+/*0038*/
float deltaZ; // Change in z
-/*0038*/
+/*0042*/
};
/*
Modified: showeq/trunk/src/interface.cpp
===================================================================
--- showeq/trunk/src/interface.cpp 2016-11-26 20:30:16 UTC (rev 868)
+++ showeq/trunk/src/interface.cpp 2016-12-18 15:01:44 UTC (rev 869)
@@ -4424,7 +4424,7 @@
lastupdate = mTime();
QString tempStr;
- tempStr.sprintf("Run Speed: %3.1f", speed);
+ tempStr.sprintf("Run Speed: %3.6f", speed);
m_stsbarSpeed->setText(tempStr);
}
Modified: showeq/trunk/src/player.cpp
===================================================================
--- showeq/trunk/src/player.cpp 2016-11-26 20:30:16 UTC (rev 868)
+++ showeq/trunk/src/player.cpp 2016-12-18 15:01:44 UTC (rev 869)
@@ -904,9 +904,9 @@
updateLastChanged();
emit changeItem(this, tSpawnChangedPosition);
- emit newSpeed((int)lrint(hypot( hypot( (pupdate->deltaX*80),
+ emit newSpeed(hypot( hypot( (pupdate->deltaX*80),
(pupdate->deltaY*80)),
- (pupdate->deltaZ*80))));
+ (pupdate->deltaZ*80))/119.46664);
static uint8_t count = 0;
Modified: showeq/trunk/src/spawnshell.cpp
===================================================================
--- showeq/trunk/src/spawnshell.cpp 2016-11-26 20:30:16 UTC (rev 868)
+++ showeq/trunk/src/spawnshell.cpp 2016-12-18 15:01:44 UTC (rev 869)
@@ -720,7 +720,6 @@
spawn->posData[2] = netStream.readUInt32NC();
spawn->posData[3] = netStream.readUInt32NC();
spawn->posData[4] = netStream.readUInt32NC();
- spawn->posData[5] = netStream.readUInt32NC();
if(spawn->hasTitle)
{
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|