PDA

View Full Version : Today's Patch



Bilbicor
06-13-2006, 05:17 PM
Yup its broken. Skittle withdrawel commences. Give it a few days.

dphantom
06-13-2006, 05:34 PM
0x0b5a guild chat .... only one I'm positive on right now

Whizzie Wiz
06-14-2006, 02:50 AM
I did a session capture before the patch and another once the servers returned -- got a few codes sorted out.
--- /usr/share/showeq/zoneopcodes.xml.pre-20060613
+++ /usr/share/showeq/zoneopcodes.xml
@@ -430,7 +430,7 @@
<opcode id="4668" name="OP_Surname" updated="10/27/05">
<comment></comment>
</opcode>
- <opcode id="0eb1" name="OP_ZoneEntry" updated="04/19/06">
+ <opcode id="7772" name="OP_ZoneEntry" updated="06/14/06">
<comment>old ZoneEntryCode</comment>
<payload dir="client" typename="ClientZoneEntryStruct" sizechecktype="match"/>
<payload dir="server" typename="ServerZoneEntryStruct" sizechecktype="match"/>
@@ -445,7 +445,7 @@
<opcode id="1b2e" name="OP_MoveItem" updated="04/19/06">
<comment>Client moving an item from one slot to another</comment>
</opcode>
- <opcode id="67c8" name="OP_ZoneSpawns" updated="04/19/06">
+ <opcode id="35c0" name="OP_ZoneSpawns" updated="06/14/06">
<comment>old ZoneSpawnsCode</comment>
<payload dir="server" typename="spawnStruct" sizechecktype="modulus"/>
</opcode>
@@ -515,7 +515,7 @@
<payload dir="server" typename="uint8_t" sizechecktype="none"/>
<comment>Bazaar search tool</comment>
</opcode>
- <opcode id="7004" name="OP_NewSpawn" updated="04/19/06">
+ <opcode id="6f3b" name="OP_NewSpawn" updated="06/14/06">
<comment>old NewSpawnCode</comment>
<payload dir="server" typename="spawnStruct" sizechecktype="match"/>
</opcode>
@@ -549,7 +549,7 @@
<opcode id="0553" name="OP_Weather" updated="04/19/06">
<comment>old WeatherCode</comment>
</opcode>
- <opcode id="5064" name="OP_PlayerProfile" updated="04/19/06">
+ <opcode id="4057" name="OP_PlayerProfile" updated="06/14/06">
<comment>old CharProfileCode</comment>
<payload dir="server" typename="charProfileStruct" sizechecktype="match"/>
</opcode>
@@ -566,7 +566,7 @@
<comment>Spawn being illusioned (changing forms)</comment>
<payload dir="both" typename="spawnIllusionStruct" sizechecktype="match"/>
</opcode>
- <opcode id="65e4" name="OP_AckPacket" updated="04/19/06">
+ <opcode id="740b" name="OP_AckPacket" updated="14/06/06">
<comment>Appears to be generic ack at the presentation level</comment>
</opcode>
<opcode id="6dd8" name="OP_TraderBuy" updated="10/27/05">

However, the spawn structure appears to have changed internally (even though it's the same size) -- most obviously, the position of the character name has moved. As a result, still no skittles. :)

Quietdagger
06-15-2006, 05:27 AM
How would I begin to debug this? I have some programming experience, I just need someone to point me in the right direction...I would love to see if I could help out.

purple
06-15-2006, 06:35 AM
I answer that question all the time. The last time I answered it was here (http://www.showeq.net/forums/showthread.php?t=5510).

Whizzie Wiz
06-15-2006, 09:11 AM
The most fundemental thing is to have a before-the-change zonelog. With that it seems to be not too hard to figure out the basic OP codes.

As for the skittles, I'm getting there with the basics, got name, surname, race, class, level, bodytype and deity offsets figured out, now trying to figure out how to find the spawnId offset in spawnStruct, since this is the key that holds everything else together...

EDIT: Ok, got that (+0012), now to try and figure out where the location/heading info is and I'd be sorted....

purple
06-15-2006, 09:36 AM
The best way to find the spawnId is to consider yourself and find that in the zone.log. This will get your spawnId. Now find your OP_ZoneEntry from the server (which is a spawnStruct for you) and find that spawnId in it. It is at 0012 right now for example.

Whizzie Wiz
06-15-2006, 10:48 AM
Thanks :) did it another way, looking for uniqueness in the zone spawns. :D

Whizzie Wiz
06-15-2006, 03:44 PM
I'm a bit stumped on the position data. I'm trying to check the position of certain NPCs that shouldn't have moved (i.e. they've had the same x/y/z in all the spawnlog.txt I can find going back a few months) but the location data from pre-patch doesnt seem to be present post-patch. Any ideas?

purple
06-15-2006, 03:49 PM
Welcome to the hard part. If you look in player.cpp and spawnshell.cpp, you'll see #if 0 around the debugging code I use to figure out position packet struct changes.

spack
06-15-2006, 03:49 PM
I'm shakin' man. Comin' down hard. Need a fix bad. Hey man, got some skittles?

Whizzie Wiz
06-16-2006, 01:21 AM
I see from the 5.5.0.0-pre1 release that they swapped the x/y/z components around... nice work spotting how they did that!

dphantom
06-18-2006, 11:05 AM
Thanks Purple and whomever else behind the scenes contributed.