skynyrd
08-21-2013, 10:27 PM
looks like we down after patch today
Reliant
08-23-2013, 05:38 PM
Wow, seriously? Two days and nothing. Hmm...
BlueAdept
08-27-2013, 07:48 AM
I remember when it would take weeks and sometimes months before patches were released.
ShortBuss
08-28-2013, 09:39 AM
I haven't played in months so I don't always realize when a new patch drops. I was expecting it the week before it happened and then forgot about it. Need some people that play actively to pick up getting the fixes out.
I am attaching a diff from latest SVN. This will be good until I update SVN in a few days to include the patch. Again here is the check out command.
svn checkout http://svn.code.sf.net/p/seq/svn/showeq/trunk showeq
As a reminder if you work from SVN you have to run extra commands to get the compile to fully work:
make -f Makefile.dist build
./configure
make
make install
Here is the diff:
Index: conf/zoneopcodes.xml
================================================== =================
--- conf/zoneopcodes.xml (revision 791)
+++ conf/zoneopcodes.xml (working copy)
@@ -3,33 +3,33 @@
<seqopcodes>
<!-- Critical opcodes used directly by ShowEQ -->
- <opcode id="7d34" name="OP_PlayerProfile" updated="07/16/13">
+ <opcode id="59ab" name="OP_PlayerProfile" updated="08/21/13">
<comment>CharProfileCode</comment>
<payload dir="server" typename="uint8_t" sizechecktype="none"/>
</opcode>
- <opcode id="1438" name="OP_ZoneEntry" updated="07/16/13">
+ <opcode id="500c" name="OP_ZoneEntry" updated="08/21/13">
<comment>ZoneEntryCode</comment>
<payload dir="client" typename="ClientZoneEntryStruct" sizechecktype="match"/>
<payload dir="server" typename="uint8_t" sizechecktype="none"/>
</opcode>
- <opcode id="6319" name="OP_TimeOfDay" updated="07/16/13">
+ <opcode id="5c79" name="OP_TimeOfDay" updated="08/21/13">
<comment>TimeOfDayCode</comment>
<payload dir="server" typename="timeOfDayStruct" sizechecktype="match"/>
</opcode>
- <opcode id="0428" name="OP_NewZone" updated="07/16/13">
+ <opcode id="1af6" name="OP_NewZone" updated="08/21/13">
<comment>NewZoneCode</comment>
<payload dir="server" typename="newZoneStruct" sizechecktype="match"/>
</opcode>
- <opcode id="4003" name="OP_SpawnDoor" updated="07/16/13">
+ <opcode id="3f2c" name="OP_SpawnDoor" updated="08/21/13">
<comment>DoorSpawnsCode</comment>
<payload dir="server" typename="doorStruct" sizechecktype="modulus"/>
</opcode>
- <opcode id="5125" name="OP_GroundSpawn" updated="07/16/13">
+ <opcode id="22ea" name="OP_GroundSpawn" updated="08/21/13">
<comment>MakeDropCode</comment>
<payload dir="server" typename="makeDropStruct" sizechecktype="none"/>
<payload dir="client" typename="uint8_t" sizechecktype="none"/>
</opcode>
- <opcode id="1458" name="OP_SendZonePoints" updated="07/16/13">
+ <opcode id="1b4d" name="OP_SendZonePoints" updated="08/21/13">
<comment>Coords in a zone that will port you to another zone</comment>
<payload dir="server" typename="zonePointsStruct" sizechecktype="none"/>
</opcode>
@@ -41,40 +41,40 @@
<comment>ExpUpdateCode</comment>
<payload dir="server" typename="expUpdateStruct" sizechecktype="match"/>
</opcode>
- <opcode id="439c" name="OP_GuildMOTD" updated="07/16/13">
+ <opcode id="55c1" name="OP_GuildMOTD" updated="08/21/13">
<comment>GuildMOTD</comment>
<payload dir="server" typename="guildMOTDStruct" sizechecktype="none"/>
</opcode>
- <opcode id="2c9b" name="OP_ClientUpdate" updated="07/16/13">
+ <opcode id="183d" name="OP_ClientUpdate" updated="08/21/13">
<comment>Position updates</comment>
<payload dir="server" typename="playerSpawnPosStruct" sizechecktype="match"/>
<payload dir="both" typename="playerSelfPosStruct" sizechecktype="match"/>
</opcode>
- <opcode id="2960" name="OP_NpcMoveUpdate" updated="07/16/13">
+ <opcode id="7417" name="OP_NpcMoveUpdate" updated="08/21/13">
<comment>Position updates</comment>
<payload dir="server" typename="uint8_t" sizechecktype="none"/>
</opcode>
- <opcode id="6fdb" name="OP_MobUpdate" updated="07/16/13">
+ <opcode id="7905" name="OP_MobUpdate" updated="08/21/13">
<comment>MobUpdateCode</comment>
<payload dir="both" typename="spawnPositionUpdate" sizechecktype="match"/>
</opcode>
- <opcode id="1852" name="OP_DeleteSpawn" updated="07/16/13">
+ <opcode id="5d22" name="OP_DeleteSpawn" updated="08/21/13">
<comment>DeleteSpawnCode</comment>
<payload dir="both" typename="deleteSpawnStruct" sizechecktype="match"/>
</opcode>
- <opcode id="7180" name="OP_RemoveSpawn" updated="07/16/13">
+ <opcode id="2616" name="OP_RemoveSpawn" updated="08/21/13">
<comment>Remove spawn from zone</comment>
<payload dir="both" typename="removeSpawnStruct" sizechecktype="none"/>
</opcode>
- <opcode id="444a" name="OP_Death" updated="07/16/13">
+ <opcode id="0d78" name="OP_Death" updated="08/21/13">
<comment>old NewCorpseCode</comment>
<payload dir="server" typename="newCorpseStruct" sizechecktype="match"/>
</opcode>
- <opcode id="64b5" name="OP_WearChange" updated="07/16/13">
+ <opcode id="66ca" name="OP_WearChange" updated="08/21/13">
<comment>SpawnUpdateCode</comment>
<payload dir="both" typename="SpawnUpdateStruct" sizechecktype="match"/>
</opcode>
- <opcode id="2a2e" name="OP_SpawnAppearance" updated="07/16/13">
+ <opcode id="2363" name="OP_SpawnAppearance" updated="08/21/13">
<comment>SpawnAppearanceCode</comment>
<payload dir="both" typename="spawnAppearanceStruct" sizechecktype="match"/>
</opcode>
@@ -86,7 +86,7 @@
<comment>NpcHpUpdateCode Update HP % of a PC or NPC</comment>
<payload dir="both" typename="hpNpcUpdateStruct" sizechecktype="match"/>
</opcode>
- <opcode id="7bf7" name="OP_GuildMemberUpdate" updated="07/16/13">
+ <opcode id="7b11" name="OP_GuildMemberUpdate" updated="08/21/13">
<comment>Info regarding guild members</comment>
<payload dir="server" typename="GuildMemberUpdate" sizechecktype="match"/>
</opcode>
@@ -103,11 +103,11 @@
<comment>Combat actions i.e. bash, kick etc</comment>
<payload dir="both" typename="action2Struct" sizechecktype="match"/>
</opcode>
- <opcode id="7107" name="OP_Consider" updated="07/16/13">
+ <opcode id="004f" name="OP_Consider" updated="08/21/13">
<comment>ConsiderCode</comment>
<payload dir="both" typename="considerStruct" sizechecktype="match"/>
</opcode>
- <opcode id="2ff9" name="OP_TargetMouse" updated="07/16/13">
+ <opcode id="69ad" name="OP_TargetMouse" updated="08/21/13">
<comment>Targeting a person - old ClientTargetCode</comment>
<payload dir="both" typename="clientTargetStruct" sizechecktype="match"/>
</opcode>
@@ -219,7 +219,7 @@
<comment>RandomCode</comment>
<payload dir="server" typename="randomStruct" sizechecktype="match"/>
</opcode>
- <opcode id="183d" name="OP_ConsentResponse" updated="12/12/12">
+ <opcode id="9999" name="OP_ConsentResponse" updated="12/12/12">
<comment>Server replying with consent information after /consent</comment>
<payload dir="server" typename="consentResponseStruct" sizechecktype="match"/>
</opcode>
Index: src/everquest.h
================================================== =================
--- src/everquest.h (revision 791)
+++ src/everquest.h (working copy)
@@ -1090,24 +1090,22 @@
{
struct
{
- unsigned pitch:12;
- signed deltaX:13; // change in x
- unsigned padding01:07;
- signed x:19; // x coord
- unsigned padding06:13;
- signed z:19; // z coord
- signed deltaHeading:10; // change in heading
- unsigned padding05:03;
- signed deltaZ:13; // change in z
- signed animation:10; // velocity
- unsigned padding02:06;
- unsigned padding04:3;
- unsigned heading:12; // heading
- signed deltaY:13; // change in y
- unsigned padding03:4;
- unsigned padding07:03;
- signed y:19; // y coord
- unsigned padding08:10;
+ unsigned pitch:12;
+ signed z:19; // z coord
+ unsigned padding01:1;
+ signed animation:10; // velocity
+ unsigned padding04:3;
+ signed deltaHeading:10; // change in heading
+ unsigned padding02:9;
+ signed x:19; // x coord
+ unsigned heading:12; // heading
+ unsigned padding03:01;
+ signed y:19; // y coord
+ signed deltaX:13; // change in x
+ signed deltaY:13; // change in y
+ signed deltaZ:13; // change in z
+ unsigned padding05:2;
+ unsigned padding06:4;
};
int32_t posData[5];
};
@@ -2347,7 +2345,7 @@
/*
** Player Position Update
-** Length: 28 Octets
+** Length: 24 Octets
** OpCode: PlayerPosCode
*/
@@ -2356,29 +2354,27 @@
/*0000*/ uint16_t spawnId;
/*0002*/ uint16_t spawnId2;
/*0004*/ unsigned pitch:12;
- signed deltaX:13; // change in x
- unsigned padding01:07;
-/*0008*/ signed x:19; // x coord
- unsigned padding06:13;
-/*0012*/ signed z:19; // z coord
+ signed z:19; // z coord
+ unsigned padding01:1;
+/*0008*/ signed animation:10; // velocity
+ unsigned padding04:3;
signed deltaHeading:10; // change in heading
- unsigned padding05:03;
-/*0016*/ signed deltaZ:13; // change in z
- signed animation:10; // velocity
- unsigned padding02:06;
-/*0020*/ unsigned padding04:3;
- unsigned heading:12; // heading
- signed deltaY:13; // change in y
- unsigned padding03:4;
-/*0024*/ unsigned padding07:03;
- signed y:19; // y coord
- unsigned padding08:10;
-/*0028*/
+ unsigned padding02:9;
+/*0012*/ signed x:19; // x coord
+ unsigned heading:12; // heading
+ unsigned padding03:01;
+/*0016*/ signed y:19; // y coord
+ signed deltaX:13; // change in x
+/*0020*/ signed deltaY:13; // change in y
+ signed deltaZ:13; // change in z
+ unsigned padding05:2;
+ unsigned padding06:4;
+/*0024*/
};
/*
** Self Position Update
-** Length: 46 Octets
+** Length: 38 Octets
** OpCode: PlayerPosCode
*/
@@ -2387,24 +2383,19 @@
/*0000*/ uint16_t unknown0000; // ***Placeholder (update time counter?)
/*0002*/ uint16_t spawnId; // Player's spawn id
/*0004*/ uint16_t unknown0004; // ***Placeholder
-/*0006*/ unsigned padding6:10;
- unsigned padding4:12; // ***Placeholder
- unsigned padding1:10; // ***Placeholder
-/*0010*/ float x; // x coord (1st loc value)
-/*0014*/ float deltaZ; // Change in z
-/*0018*/ signed animation:10; // velocity
- unsigned pitch:12; // pitch (up/down heading)
- unsigned padding5:10;
-/*0022*/ float y; // y coord (2nd loc value)
-/*0026*/ unsigned heading:12; // Directional heading
+/*0006*/ unsigned pitch:12; // pitch (up/down heading)
+ signed animation:10; // velocity
+ unsigned padding1:10;
+/*0010*/ float deltaY; // Change in y
+/*0014*/ float y; // y coord (2nd loc value)
+/*0018*/ float deltaZ; // Change in z
+/*0022*/ float z; // z coord (3rd loc value)
+/*0026*/ float deltaX; // Change in x
+/*0030*/ float x; // x coord (1st loc value)
+/*0034*/ signed deltaHeading:10; // change in heading
+ unsigned heading:12; // Directional heading
unsigned padding2:10; // ***Placeholder
- unsigned padding3:10; // ***Placeholder
-/*0030*/ float deltaY; // Change in y
-/*0034*/ float z; // z coord (3rd loc value)
-/*0038*/ signed deltaHeading:10; // change in heading
- unsigned padding7:10;
- unsigned padding8:12;
-/*0042*/ float deltaX; // Change in x
+/*0038*/
};
Index: src/player.cpp
================================================== =================
--- src/player.cpp (revision 791)
+++ src/player.cpp (working copy)
@@ -851,35 +851,28 @@
/*0000*/ uint16_t unknown0000; // ***Placeholder (update time counter?)
/*0002*/ uint16_t spawnId; // Player's spawn id
/*0004*/ uint16_t unknown0004; // ***Placeholder
- /*0006*/ unsigned padding6:10;
- unsigned padding4:12; // ***Placeholder
- unsigned padding1:10; // ***Placeholder
- /*0010*/ float x; // x coord (1st loc value)
- /*0014*/ float deltaZ; // Change in z
- /*0018*/ signed animation:10; // velocity
- unsigned pitch:12; // pitch (up/down heading)
- unsigned padding5:10;
- /*0022*/ float y; // y coord (2nd loc value)
- /*0026*/ unsigned heading:12; // Directional heading
+ /*0006*/ unsigned pitch:12; // pitch (up/down heading)
+ signed animation:10; // velocity
+ unsigned padding1:10;
+ /*0010*/ float deltaY; // Change in y
+ /*0014*/ float y; // y coord (2nd loc value)
+ /*0018*/ float deltaZ; // Change in z
+ /*0022*/ float z; // z coord (3rd loc value)
+ /*0026*/ float deltaX; // Change in x
+ /*0030*/ float x; // x coord (1st loc value)
+ /*0034*/ signed deltaHeading:10; // change in heading
+ unsigned heading:12; // Directional heading
unsigned padding2:10; // ***Placeholder
- unsigned padding3:10; // ***Placeholder
- /*0030*/ float deltaY; // Change in y
- /*0034*/ float z; // z coord (3rd loc value)
- /*0038*/ signed deltaHeading:10; // change in heading
- unsigned padding7:10;
- unsigned padding8:12;
- /*0042*/ float deltaX; // Change in x
+ /*0038*/
};
#pragma pack(0)
struct pos *p = (struct pos *)data;
- printf("[%.2x](%f, %f, %f), dx %f dy %f dz %f head %d dhead %d anim %d pitch %d (%x, %x, %x, %x, %x, %x, %x, %x)\n",
+ printf("[%.2x](%f, %f, %f), dx %f dy %f dz %f head %d dhead %d anim %d pitch %d (%x, %x)\n",
p->spawnId, p->x, p->y, p->z,
p->deltaX, p->deltaY, p->deltaZ,
p->heading, p->deltaHeading,
p->animation, p->pitch,
- p->padding1, p->padding2, p->padding3,
- p->padding4, p->padding5,
- p->padding6, p->padding7, p->padding8 );
+ p->padding1, p->padding2 );
#endif
Index: src/spawnshell.cpp
================================================== =================
--- src/spawnshell.cpp (revision 791)
+++ src/spawnshell.cpp (working copy)
@@ -716,7 +716,6 @@
spawn->posData[2] = netStream.readUInt32NC();
spawn->posData[3] = netStream.readUInt32NC();
spawn->posData[4] = netStream.readUInt32NC();
- spawn->posData[5] = netStream.readUInt32NC();
if(spawn->hasTitle)
{
@@ -918,37 +917,35 @@
{
/*0000*/ uint16_t spawnId;
/*0002*/ uint16_t spawnId2;
- /*0004*/ unsigned pitch:12;
- signed deltaX:13; // change in x
- unsigned padding01:07;
- /*0008*/ signed x:19; // x coord
- unsigned padding06:13;
- /*0012*/ signed z:19; // z coord
- signed deltaHeading:10; // change in heading
- unsigned padding05:03;
- /*0016*/ signed deltaZ:13; // change in z
- signed animation:10; // velocity
- unsigned padding02:06;
- /*0020*/ unsigned padding04:3;
- unsigned heading:12; // heading
- signed deltaY:13; // change in y
- unsigned padding03:4;
- /*0024*/ unsigned padding07:03;
- signed y:19; // y coord
- unsigned padding08:10;
- /*0028*/
+ /*0004*/ unsigned pitch:12;
+ signed z:19; // z coord
+ unsigned padding01:1;
+ /*0008*/ signed animation:10; // velocity
+ unsigned padding04:3;
+ signed deltaHeading:10; // change in heading
+ unsigned padding02:9;
+ /*0012*/ signed x:19; // x coord
+ unsigned heading:12; // heading
+ unsigned padding03:01;
+ /*0016*/ signed y:19; // y coord
+ signed deltaX:13; // change in x
+ /*0020*/ signed deltaY:13; // change in y
+ signed deltaZ:13; // change in z
+ unsigned padding05:2;
+ unsigned padding06:4;
+ /*0024*/
};
#pragma pack(0)
struct pos *p = (struct pos *)data;
if (p->spawnId == 0x1234)
- printf("[%.2x](%f, %f, %f), dx %f dy %f dz %f\n head %d dhead %d anim %d pitch %d (%x, %x, %x, %x, %x, %x, %x, %x)\n",
+ printf("[%.2x](%f, %f, %f), dx %f dy %f dz %f\n head %d dhead %d anim %d pitch %d (%x, %x, %x, %x, %x, %x)\n",
p->spawnId, float(p->x)/8.0, float(p->y/8.0), float(p->z)/8.0,
float(p->deltaX)/4.0, float(p->deltaY)/4.0,
float(p->deltaZ)/4.0,
p->heading, p->deltaHeading,
p->animation, p->pitch,
- p->padding01, p->padding02, p->padding03, p->padding04, p->padding05,
- p->padding06, p->padding07, p->padding08);
+ p->padding01, p->padding02, p->padding03,
+ p->padding04, p->padding05, p->padding06);
#endif
updateSpawn(pupdate->spawnId, x, y, z, dx, dy, dz,
EnFuego
08-29-2013, 05:59 PM
Thanks for the diff. Works like a charm!
ShortBuss
08-30-2013, 10:04 AM
svn is updated now to include the patch. tar will be out soon.
BlueAdept
09-01-2013, 12:28 PM
Thanks ShortBuss. It is appreciated.
Powered by vBulletin® Version 4.1.11 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.