You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(18) |
Oct
(11) |
Nov
(9) |
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
|
Feb
(6) |
Mar
|
Apr
(10) |
May
(38) |
Jun
(15) |
Jul
(32) |
Aug
|
Sep
(17) |
Oct
(11) |
Nov
|
Dec
(14) |
2006 |
Jan
(2) |
Feb
(5) |
Mar
(3) |
Apr
(2) |
May
(3) |
Jun
(7) |
Jul
|
Aug
|
Sep
(3) |
Oct
(2) |
Nov
(6) |
Dec
(3) |
2007 |
Jan
|
Feb
(17) |
Mar
(5) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2008 |
Jan
(11) |
Feb
|
Mar
|
Apr
(4) |
May
|
Jun
(6) |
Jul
|
Aug
|
Sep
(6) |
Oct
(4) |
Nov
(1) |
Dec
|
2009 |
Jan
(3) |
Feb
(2) |
Mar
(4) |
Apr
|
May
(4) |
Jun
(3) |
Jul
|
Aug
(5) |
Sep
(3) |
Oct
(2) |
Nov
|
Dec
(6) |
2010 |
Jan
|
Feb
(6) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2011 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2012 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
(8) |
Aug
|
Sep
(2) |
Oct
(2) |
Nov
(4) |
Dec
(5) |
2013 |
Jan
(2) |
Feb
|
Mar
(2) |
Apr
(2) |
May
(1) |
Jun
(2) |
Jul
(2) |
Aug
(2) |
Sep
|
Oct
(2) |
Nov
(2) |
Dec
(2) |
2014 |
Jan
(3) |
Feb
(2) |
Mar
(3) |
Apr
(4) |
May
(4) |
Jun
(3) |
Jul
(4) |
Aug
(5) |
Sep
|
Oct
(2) |
Nov
(5) |
Dec
(2) |
2015 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
(10) |
Dec
|
2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(4) |
Aug
(2) |
Sep
(2) |
Oct
(3) |
Nov
(4) |
Dec
(2) |
2017 |
Jan
(2) |
Feb
|
Mar
(2) |
Apr
(4) |
May
(2) |
Jun
(2) |
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
2018 |
Jan
(4) |
Feb
(2) |
Mar
(2) |
Apr
(2) |
May
(2) |
Jun
(2) |
Jul
(8) |
Aug
(2) |
Sep
(2) |
Oct
(2) |
Nov
(4) |
Dec
(6) |
2019 |
Jan
(2) |
Feb
(2) |
Mar
(2) |
Apr
(4) |
May
(2) |
Jun
(3) |
Jul
(3) |
Aug
(2) |
Sep
(2) |
Oct
(13) |
Nov
(6) |
Dec
(4) |
2020 |
Jan
(7) |
Feb
(7) |
Mar
(7) |
Apr
(8) |
May
(5) |
Jun
(3) |
Jul
(10) |
Aug
(4) |
Sep
|
Oct
(37) |
Nov
(30) |
Dec
(8) |
2021 |
Jan
(14) |
Feb
(9) |
Mar
(7) |
Apr
(17) |
May
(3) |
Jun
(10) |
Jul
(7) |
Aug
(3) |
Sep
(3) |
Oct
(4) |
Nov
(15) |
Dec
(22) |
2022 |
Jan
(3) |
Feb
(3) |
Mar
(3) |
Apr
(3) |
May
(3) |
Jun
(3) |
Jul
(3) |
Aug
(5) |
Sep
(6) |
Oct
(4) |
Nov
(34) |
Dec
(17) |
2023 |
Jan
(3) |
Feb
(3) |
Mar
(29) |
Apr
(2) |
May
(18) |
Jun
(12) |
Jul
(12) |
Aug
(2) |
Sep
(7) |
Oct
(2) |
Nov
(2) |
Dec
(2) |
2024 |
Jan
(2) |
Feb
(10) |
Mar
(17) |
Apr
(6) |
May
(3) |
Jun
(9) |
Jul
(22) |
Aug
(48) |
Sep
(3) |
Oct
(2) |
Nov
(2) |
Dec
(8) |
2025 |
Jan
(3) |
Feb
(2) |
Mar
(9) |
Apr
(7) |
May
(3) |
Jun
(3) |
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Chad M. <cmm...@us...> - 2005-05-16 23:39:30
|
Update of /cvsroot/seq/showeq/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23523/src Modified Files: Tag: pre_5_0_beta classes.h Log Message: Added guild banker to classes.h Removed the Known Bug for the net layer since I fixed it. Index: classes.h =================================================================== RCS file: /cvsroot/seq/showeq/src/classes.h,v retrieving revision 1.2.8.4 retrieving revision 1.2.8.5 diff -u -d -r1.2.8.4 -r1.2.8.5 --- classes.h 15 May 2005 16:06:25 -0000 1.2.8.4 +++ classes.h 16 May 2005 23:39:22 -0000 1.2.8.5 @@ -72,5 +72,7 @@ "LDoN Object", // 62 "Tribute Master", // 63 "Guild Tribute Master", // 64 + NULL, // 65 + "Guild Banker", // 66 #endif /* DOXYGEN_SHOULD_SKIP_THIS */ |
From: Chad M. <cmm...@us...> - 2005-05-16 23:39:30
|
Update of /cvsroot/seq/showeq In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23523 Modified Files: Tag: pre_5_0_beta BUGS Log Message: Added guild banker to classes.h Removed the Known Bug for the net layer since I fixed it. Index: BUGS =================================================================== RCS file: /cvsroot/seq/showeq/BUGS,v retrieving revision 1.1.1.1.16.1 retrieving revision 1.1.1.1.16.2 diff -u -d -r1.1.1.1.16.1 -r1.1.1.1.16.2 --- BUGS 15 May 2005 16:06:24 -0000 1.1.1.1.16.1 +++ BUGS 16 May 2005 23:39:21 -0000 1.1.1.1.16.2 @@ -1,11 +1,3 @@ Known bugs ---------- - -1) Net Layer problems with opcodes like 0x??00 -Opcodes that end in 00 (i.e. OP_BazaarSearch or OP_ConsentDeny right now) will -be falsely identified as net opcodes and not processed. You will see a message -on the console, but this is harmless. Unless you are doing stuff with bazaar -searches (which I don't think even works right now), this will not impact -your showeq session. - |
From: Chad M. <cmm...@us...> - 2005-05-16 23:07:12
|
Update of /cvsroot/seq/showeq In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16325 Modified Files: Tag: pre_5_0_beta ChangeLog Log Message: Handle app opcodes less than 00 ff. Previously these were treated as protocol opcodes, causing problems. It turns out when the opcode is 00 00, this seems to be signalling 3 byte opcodes, which are app opcodes where you drop the initial 00, and byte 2 and byte 3 form the app opcode to dispatch. Handle this on OP_Packet, OP_Oversized, OP_AppCombined, and OP_Combined. Probably don't need it on OP_Combined, but it shouldn't hurt anything. Also fixed opcode for OP_DenyResponse which is what found this problem in the first place. Index: ChangeLog =================================================================== RCS file: /cvsroot/seq/showeq/Attic/ChangeLog,v retrieving revision 1.1.2.18 retrieving revision 1.1.2.19 diff -u -d -r1.1.2.18 -r1.1.2.19 --- ChangeLog 16 May 2005 01:55:59 -0000 1.1.2.18 +++ ChangeLog 16 May 2005 23:06:00 -0000 1.1.2.19 @@ -1,8 +1,10 @@ Version: $Id$ $Name$ -purple (05/15/05) +purple (05/16/05) --------------------- + Found OP_SpawnRename again. It's used to rename the Bristlebane jesters ++ Fixed problem in net layer where opcodes were showing up as 0000. Treat 0000 + as a special case where the app opcode is on the wire next. purple (05/11/05) ---------------------- |
From: Chad M. <cmm...@us...> - 2005-05-16 23:04:40
|
Update of /cvsroot/seq/showeq/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14670/src Modified Files: Tag: pre_5_0_beta packetstream.cpp Log Message: Handle app opcodes less than 00 ff. Previously these were treated as protocol opcodes, causing problems. It turns out when the opcode is 00 00, this seems to be signalling 3 byte opcodes, which are app opcodes where you drop the initial 00, and byte 2 and byte 3 form the app opcode to dispatch. Handle this on OP_Packet, OP_Oversized, OP_AppCombined, and OP_Combined. Probably don't need it on OP_Combined, but it shouldn't hurt anything. Also fixed opcode for OP_DenyResponse (0x3c00). Index: packetstream.cpp =================================================================== RCS file: /cvsroot/seq/showeq/src/packetstream.cpp,v retrieving revision 1.1.6.9 retrieving revision 1.1.6.10 diff -u -d -r1.1.6.9 -r1.1.6.10 --- packetstream.cpp 15 May 2005 16:06:25 -0000 1.1.6.9 +++ packetstream.cpp 16 May 2005 23:04:16 -0000 1.1.6.10 @@ -564,7 +564,25 @@ #endif // Opcode is next. Net opcode or app opcode? - if (IS_NET_OPCODE(subOpCode)) + if (subOpCode == 0) + { + // App opcode < 0x00ff. Skip the first byte and dispatch the app + // opcode appropriately + subpacket++; + + subOpCode = *(uint16_t*)subpacket; + +#if defined(PACKET_PROCESS_DIAG) && (PACKET_PROCESS_DIAG > 2) + seqDebug("EQPacket: processing unrolled special app opcode, length %d bytes from combined packet on stream %s (%d). Opcode %04x", + subpacketLength-3, EQStreamStr[m_streamid], m_streamid, subOpCode); +#endif + + // App opcode. Dispatch it, skipping opcode. + dispatchPacket(&subpacket[2], subpacketLength-2, + subOpCode, m_opcodeDB.find(subOpCode)); + + } + else if (IS_NET_OPCODE(subOpCode)) { #if defined(PACKET_PROCESS_DIAG) && (PACKET_PROCESS_DIAG > 2) seqDebug("EQPacket: processing unrolled net opcode, length %d bytes from combined packet on stream %s (%d). Opcode %04x", @@ -616,6 +634,15 @@ // Dispatch app op code using given packet length. Net order! uint16_t subOpCode = *(uint16_t*)(subpacket); + // Handle 3 byte opcodes properly + if (subOpCode == 0) + { + // 3 byte opcode. Drop the first byte, opcode is byte 2 and 3 + subpacket++; + subpacketLength--; + subOpCode = *(uint16_t*)(subpacket); + } + #if defined(PACKET_PROCESS_DIAG) && (PACKET_PROCESS_DIAG > 2) seqDebug("EQPacket: unrolling length %d bytes from combined packet on stream %s (%d). Opcode %04x", subpacketLength, EQStreamStr[m_streamid], m_streamid, subOpCode); @@ -641,6 +668,15 @@ // OpCode next. Net order for op codes. uint16_t subOpCode = *(uint16_t*)subpacket; + + // Handle 3 byte opcodes properly + if (subOpCode == 0) + { + // 3 byte opcode. Drop the first byte, opcode is byte 2 and 3 + subpacket++; + longOne--; + subOpCode = *(uint16_t*)(subpacket); + } #if defined(PACKET_PROCESS_DIAG) && (PACKET_PROCESS_DIAG > 2) seqDebug("EQPacket: unrolling length %d bytes from combined packet on stream %s (%d). Opcode %04x", @@ -681,8 +717,24 @@ packet.getNetOpCode(), subOpCode); #endif - // App opcode or net opcode? - if (IS_NET_OPCODE(subOpCode)) + // Opcode is next. Net opcode or app opcode? + if (subOpCode == 0) + { + // App opcode < 0x00ff. Skip the first byte and dispatch the app + // opcode appropriately + subOpCode = *(uint16_t*)&packet.payload()[1]; + +#if defined(PACKET_PROCESS_DIAG) && (PACKET_PROCESS_DIAG > 1) + seqDebug("EQPacket: special app opcode extracted for opcode 0000 on stream %s (%d). Opcode %04x", + EQStreamStr[m_streamid], m_streamid, subOpCode); +#endif + + // App opcode. Dispatch it, skipping opcode. + dispatchPacket(&packet.payload()[3], packet.payloadLength()-3, + subOpCode, m_opcodeDB.find(subOpCode)); + + } + else if (IS_NET_OPCODE(subOpCode)) { // Net opcode. false = no copy. true = subpacket. EQProtocolPacket spacket(packet.payload(), @@ -754,8 +806,24 @@ #endif // dispatch fragment. Skip opcode. - dispatchPacket(&m_fragment.data()[2], m_fragment.size()-2, - fragOpCode, m_opcodeDB.find(fragOpCode)); + if (fragOpCode == 0) + { + // Special app opcode. Skip first byte and op is byte 2 and 3. + fragOpCode = *(uint16_t*)(&m_fragment.data()[1]); + +#if defined(PACKET_PROCESS_DIAG) && (PACKET_PROCESS_DIAG > 1) + seqDebug("EQPacket: special app opcode on completed fragment for opcode 0000 on stream %s (%d). Opcode %04x", + EQStreamStr[m_streamid], m_streamid, fragOpCode); +#endif + + dispatchPacket(&m_fragment.data()[3], m_fragment.size()-3, + fragOpCode, m_opcodeDB.find(fragOpCode)); + } + else + { + dispatchPacket(&m_fragment.data()[2], m_fragment.size()-2, + fragOpCode, m_opcodeDB.find(fragOpCode)); + } m_fragment.reset(); } |
From: Chad M. <cmm...@us...> - 2005-05-16 23:04:38
|
Update of /cvsroot/seq/showeq/conf In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14670/conf Modified Files: Tag: pre_5_0_beta zoneopcodes.xml Log Message: Handle app opcodes less than 00 ff. Previously these were treated as protocol opcodes, causing problems. It turns out when the opcode is 00 00, this seems to be signalling 3 byte opcodes, which are app opcodes where you drop the initial 00, and byte 2 and byte 3 form the app opcode to dispatch. Handle this on OP_Packet, OP_Oversized, OP_AppCombined, and OP_Combined. Probably don't need it on OP_Combined, but it shouldn't hurt anything. Also fixed opcode for OP_DenyResponse (0x3c00). Index: zoneopcodes.xml =================================================================== RCS file: /cvsroot/seq/showeq/conf/Attic/zoneopcodes.xml,v retrieving revision 1.1.4.20 retrieving revision 1.1.4.21 diff -u -d -r1.1.4.20 -r1.1.4.21 --- zoneopcodes.xml 16 May 2005 01:56:00 -0000 1.1.4.20 +++ zoneopcodes.xml 16 May 2005 23:04:15 -0000 1.1.4.21 @@ -632,7 +632,7 @@ <comment>old RandomCode</comment> <payload dir="server" typename="randomStruct" sizechecktype="match"/> </opcode> - <opcode id="1700" name="OP_DenyResponse" updated="05/11/05"> + <opcode id="3c00" name="OP_DenyResponse" updated="05/11/05"> <comment>Server replying with deny information after /deny</comment> <payload dir="server" typename="consentResponseStruct" sizechecktype="match"/> </opcode> |
From: Chad M. <cmm...@us...> - 2005-05-15 16:06:41
|
Update of /cvsroot/seq/showeq In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10799 Modified Files: Tag: pre_5_0_beta BUGS ChangeLog configure.in Log Message: Live compatibility with 5/11 and 5/12 eqgame. Large struct updates in spawn struct and positioning structs. Small struct updates in char profile and spell buff/buff fade. All opcodes remapped. Updated version to 5.0.0.21. Index: ChangeLog =================================================================== RCS file: /cvsroot/seq/showeq/Attic/ChangeLog,v retrieving revision 1.1.2.16 retrieving revision 1.1.2.17 diff -u -d -r1.1.2.16 -r1.1.2.17 --- ChangeLog 10 May 2005 17:01:31 -0000 1.1.2.16 +++ ChangeLog 15 May 2005 16:06:24 -0000 1.1.2.17 @@ -2,15 +2,20 @@ purple (05/11/05) ---------------------- ++ Updated version to 5.0.0.21 + Added some session-related opcodes to worldopcodes.xml + Fixed opcodes for alt exp and hooked altExpUpdateStruct so alt exp updating maps properly -+ Made is so OP_ManaChange can be 0 size. Bards have this a lot. ++ Made it so OP_ManaChange can be 0 size. Bards have this a lot. + Fix problems with guilds numbered higher than 512 + Added unknown world data to the unknown log + Fixed the skills window to properly show skills > 252 + Show strings in the spawnlist as utf8 properly + Valgrind cleanup for some uninitialized references and minor memory leaks ++ All opcodes remapped for 5/11 patch ++ Structs updated for 5/11 patch ++ Added some new pseudo-classes to classes.h ++ Rehooked up stamina changes after removing stamina (only food/drink now) dophaZ (04/17/05) ----------------------- Index: BUGS =================================================================== RCS file: /cvsroot/seq/showeq/BUGS,v retrieving revision 1.1.1.1 retrieving revision 1.1.1.1.16.1 diff -u -d -r1.1.1.1 -r1.1.1.1.16.1 --- BUGS 19 Dec 2001 00:36:35 -0000 1.1.1.1 +++ BUGS 15 May 2005 16:06:24 -0000 1.1.1.1.16.1 @@ -2,3 +2,10 @@ Known bugs ---------- +1) Net Layer problems with opcodes like 0x??00 +Opcodes that end in 00 (i.e. OP_BazaarSearch or OP_ConsentDeny right now) will +be falsely identified as net opcodes and not processed. You will see a message +on the console, but this is harmless. Unless you are doing stuff with bazaar +searches (which I don't think even works right now), this will not impact +your showeq session. + Index: configure.in =================================================================== RCS file: /cvsroot/seq/showeq/configure.in,v retrieving revision 1.49.4.21 retrieving revision 1.49.4.22 diff -u -d -r1.49.4.21 -r1.49.4.22 --- configure.in 18 Apr 2005 03:14:06 -0000 1.49.4.21 +++ configure.in 15 May 2005 16:06:24 -0000 1.49.4.22 @@ -2,7 +2,7 @@ dnl $Id$ $Name$ AC_PREREQ(2.59) -AC_INIT(showeq, 5.0.0.20) +AC_INIT(showeq, 5.0.0.21) AC_CONFIG_SRCDIR(src/main.cpp) AC_CANONICAL_SYSTEM |
From: Chad M. <cmm...@us...> - 2005-05-15 16:06:40
|
Update of /cvsroot/seq/showeq/conf In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10799/conf Modified Files: Tag: pre_5_0_beta worldopcodes.xml zoneopcodes.xml Log Message: Live compatibility with 5/11 and 5/12 eqgame. Large struct updates in spawn struct and positioning structs. Small struct updates in char profile and spell buff/buff fade. All opcodes remapped. Updated version to 5.0.0.21. Index: worldopcodes.xml =================================================================== RCS file: /cvsroot/seq/showeq/conf/Attic/worldopcodes.xml,v retrieving revision 1.1.4.9 retrieving revision 1.1.4.10 diff -u -d -r1.1.4.9 -r1.1.4.10 --- worldopcodes.xml 10 May 2005 15:22:59 -0000 1.1.4.9 +++ worldopcodes.xml 15 May 2005 16:06:24 -0000 1.1.4.10 @@ -3,75 +3,69 @@ <seqopcodes> <!-- OLD OPCODES - these need updating still post 1/26/2005 - - <opcode id="0018" name="OP_AckPacket" updated="02/10/04"> - <comment>Appears to be generic ack at the presentation level</comment> - </opcode> - <opcode id="0106" name="OP_CharacterCreate" updated="02/10/04"> - <comment>Create character @ char select</comment> - </opcode> - <opcode id="0127" name="OP_ApproveName" updated="02/10/04"> - <comment>Approving new character name @ char creation</comment> - </opcode> <opcode id="02a5" name="OP_UserCompInfo" updated="02/10/04"> <comment>User submitted computer information</comment> </opcode> - <opcode id="02ae" name="OP_GetName" updated="02/10/04"> - <comment>Returns a random name</comment> - </opcode> <opcode id="02db" name="OP_LoginComplete" updated="02/10/04"> <comment></comment> </opcode> --> - - - <opcode id="5ef9" name="OP_ZoneServerInfo" updated="02/15/05"> + <opcode id="6bff" name="OP_ZoneServerInfo" updated="05/11/05"> <comment>old ZoneServerInfo</comment> </opcode> - <opcode id="16f7" name="OP_SendCharInfo" updated="02/15/05"> + <opcode id="6196" name="OP_SendCharInfo" updated="05/11/05"> <comment>Send all chars visible @ char select</comment> </opcode> - <opcode id="12ad" name="OP_MOTD" updated="02/15/05"> + <opcode id="6dd0" name="OP_MOTD" updated="05/11/05"> <comment>old MOTDCode Server message of the day</comment> <payload dir="server" typename="worldMOTDStruct" sizechecktype="none"/> </opcode> - <opcode id="0353" name="OP_GuildList" updated="02/15/05"> + <opcode id="595f" name="OP_GuildList" updated="05/11/05"> <comment>old GuildListCode</comment> <payload dir="server" typename="worldGuildListStruct" sizechecktype="match"/> </opcode> - <opcode id="26ad" name="OP_SetChatServer" updated="02/15/05"> + <opcode id="38c0" name="OP_SetChatServer" updated="05/11/05"> <comment>Chatserver? IP,Port,servername.Charname,password(?)</comment> </opcode> - <opcode id="1087" name="OP_SetChatServer2" updated="02/15/05"> + <opcode id="62c7" name="OP_SetChatServer2" updated="05/11/05"> <comment>Chatserver? IP,Port,servername.Charname,password(?)</comment> </opcode> - <opcode id="3bfb" name="OP_ApproveWorld" updated="02/15/05"> + <opcode id="25d4" name="OP_ApproveWorld" updated="05/11/05"> <comment></comment> </opcode> - <opcode id="1c3a" name="OP_LogServer" updated="02/15/05"> + <opcode id="1c3a" name="OP_LogServer" updated="05/11/05"> <comment></comment> </opcode> - <opcode id="1f7b" name="OP_SendLoginInfo" updated="02/15/05"> + <opcode id="67fd" name="OP_SendLoginInfo" updated="05/11/05"> <comment>Client starting world session by asking for login information</comment> </opcode> - <opcode id="7402" name="OP_WorldComplete" updated="02/15/05"> + <opcode id="2ee3" name="OP_WorldComplete" updated="05/11/05"> <comment>Client telling world server it is done. World replies by disconnecting.</comment> </opcode> - <opcode id="47b6" name="OP_World_Client_CRC1" updated="02/15/05"> + <opcode id="3c52" name="OP_World_Client_CRC1" updated="05/11/05"> <comment>Contains a snippet of spell data</comment> </opcode> - <opcode id="09e6" name="OP_World_Client_CRC2" updated="02/15/05"> + <opcode id="37aa" name="OP_World_Client_CRC2" updated="05/11/05"> <comment>Second client verification packet</comment> </opcode> - <opcode id="7c66" name="OP_ExpansionInfo" updated="02/15/05"> + <opcode id="51b4" name="OP_ExpansionInfo" updated="05/11/05"> <comment>Which expansions user has</comment> </opcode> - <opcode id="5a62" name="OP_EnterWorld" updated="02/15/05"> + <opcode id="727c" name="OP_EnterWorld" updated="05/11/05"> <comment>Server approval for client to enter world</comment> </opcode> - <opcode id="6748" name="OP_DeleteCharacter" updated="02/15/05"> + <opcode id="633e" name="OP_DeleteCharacter" updated="05/11/05"> <comment>Delete character @ char select</comment> </opcode> + <opcode id="0471" name="OP_CharacterCreate" updated="05/11/04"> + <comment>Create character @ char select</comment> + </opcode> + <opcode id="4de1" name="OP_ApproveName" updated="05/11/04"> + <comment>Approving new character name @ char creation</comment> + </opcode> + <opcode id="678c" name="OP_RandomNameGenerator" updated="05/11/05"> + <comment>Returns a random name</comment> + </opcode> </seqopcodes> Index: zoneopcodes.xml =================================================================== RCS file: /cvsroot/seq/showeq/conf/Attic/zoneopcodes.xml,v retrieving revision 1.1.4.18 retrieving revision 1.1.4.19 diff -u -d -r1.1.4.18 -r1.1.4.19 --- zoneopcodes.xml 10 May 2005 21:57:36 -0000 1.1.4.18 +++ zoneopcodes.xml 15 May 2005 16:06:25 -0000 1.1.4.19 @@ -21,9 +21,9 @@ <comment>old CorpseLocCode:</comment> <payload dir="server" typename="corpseLocStruct" sizechecktype="match"/> </opcode> - <opcode id="015f" name="OP_Stamina" updated="05/26/04"> - <comment>old StaminaCode</comment> - <payload dir="server" typename="staminaStruct" sizechecktype="match"/> + <opcode id="0b8b" name="OP_SpawnRename" updated="02/15/05"> + <comment>Spawns getting renamed after initial NewSpawn</comment> + <payload dir="server" typename="spawnRenameStruct" sizechecktype="match"/> </opcode> @@ -34,12 +34,12 @@ <opcode id="0020" name="OP_GMServers" updated="05/26/04"> <comment>GM /servers - ?</comment> </opcode> + <opcode id="790e" name="OP_GMKick" updated="01/26/05"> + <comment>GM /kick - Boot player</comment> + </opcode> <opcode id="0068" name="OP_Petition" updated="05/26/04"> <comment></comment> </opcode> - <opcode id="0069" name="OP_PetitionUpdate" updated="05/26/04"> - <comment>Updates the Petitions in the Que</comment> - </opcode> <opcode id="0074" name="OP_GMBecomeNPC" updated="05/26/04"> <comment>GM /becomenpc - Become an NPC</comment> </opcode> @@ -49,15 +49,15 @@ <opcode id="007e" name="OP_PetitionCheckIn" updated="05/26/04"> <comment>Petition Checkin</comment> </opcode> + <opcode id="0165" name="OP_DeletePetition" updated="01/26/05"> + <comment>Player /deletepetition</comment> + </opcode> <opcode id="0082" name="OP_PetitionQue" updated="05/26/04"> <comment>GM looking at petitions</comment> </opcode> <opcode id="0090" name="OP_PetitionUnCheckout" updated="05/26/04"> <comment></comment> </opcode> - <opcode id="0091" name="OP_PetitionDelete" updated="05/26/04"> - <comment>Client Petition Delete Request</comment> - </opcode> <opcode id="0097" name="OP_GMSearchCorpse" updated="05/26/04"> <comment>GM /searchcorpse - Search all zones for named corpse</comment> </opcode> @@ -150,9 +150,6 @@ <opcode id="01c4" name="OP_Translocate" updated="05/26/04"> <comment></comment> </opcode> - <opcode id="01c8" name="OP_SendAAStats" updated="05/26/04"> - <comment></comment> - </opcode> <opcode id="01ea" name="OP_RespondAA" updated="05/26/04"> <comment></comment> </opcode> @@ -220,526 +217,535 @@ <opcode id="02ef" name="OP_Adventure" updated="05/26/04"> <comment>/adventure</comment> </opcode> + <opcode id="1ee8" name="OP_CombatAbility" updated="02/15/05"> + <comment></comment> + </opcode> --> - - <opcode id="00c7" name="OP_ItemPlayerPacket" updated="02/15/05"> + <opcode id="04ed" name="OP_ItemPlayerPacket" updated="05/11/05"> <comment>old ItemCode</comment> <payload dir="server" typename="char" sizechecktype="none"/> </opcode> - <opcode id="0165" name="OP_DeletePetition" updated="01/26/05"> - <comment>Player /deletepetition</comment> - </opcode> - <opcode id="1ee8" name="OP_CombatAbility" updated="02/15/05"> - <comment></comment> - </opcode> - <opcode id="1852" name="OP_Dye" updated="02/15/05"> + <opcode id="742e" name="OP_Dye" updated="05/11/05"> <comment></comment> </opcode> - <opcode id="03fb" name="OP_Consume" updated="02/15/05"> - <comment>old ConsumeCode</comment> + <opcode id="56bf" name="OP_Consume" updated="05/11/05"> + <comment>Client force feeding food/drink</comment> + <payload dir="client" typename="uint8_t" sizechecktype="none"/> </opcode> - <opcode id="2e1b" name="OP_Begging" updated="02/15/05"> + <opcode id="199c" name="OP_Begging" updated="05/11/05"> <comment></comment> </opcode> - <opcode id="7e65" name="OP_InspectRequest" updated="02/15/05"> + <opcode id="2c33" name="OP_InspectRequest" updated="05/11/05"> <comment>old InspectRequestCode</comment> </opcode> - <opcode id="5f7b" name="OP_Action2" implicitlen="23" updated="02/15/05"> + <opcode id="161c" name="OP_Action2" implicitlen="23" updated="05/11/05"> <comment>old ActionCode</comment> <payload dir="both" typename="action2Struct" sizechecktype="match"/> </opcode> - <opcode id="203d" name="OP_BeginCast" implicitlen="8" updated="02/15/05"> + <opcode id="2d3b" name="OP_BeginCast" implicitlen="8" updated="05/11/05"> <comment>old BeginCastCode</comment> <payload dir="both" typename="beginCastStruct" sizechecktype="match"/> </opcode> - <opcode id="27b0" name="OP_WhoAllRequest" updated="02/15/05"> + <opcode id="7f99" name="OP_WhoAllRequest" updated="05/11/05"> <comment>old WhoAllReqCode</comment> </opcode> - <opcode id="0a1e" name="OP_BuffFadeMsg" updated="02/15/05"> + <opcode id="59b1" name="OP_BuffFadeMsg" updated="05/11/05"> <comment>old SpellFadeCode</comment> <payload dir="both" typename="spellFadedStruct" sizechecktype="none"/> </opcode> - <opcode id="1a94" name="OP_Consent" updated="02/15/05"> + <opcode id="06a6" name="OP_Consent" updated="05/11/05"> <comment>/consent someone</comment> <payload dir="client" typename="consentRequestStruct" sizechecktype="none"/> </opcode> - <opcode id="53d0" name="OP_PetitionResolve" updated="02/15/05"> + <opcode id="688f" name="OP_PetitionResolve" updated="05/11/05"> <comment>Client Petition Resolve Request</comment> </opcode> - <opcode id="306f" name="OP_LFGCommand" updated="02/15/05"> + <opcode id="6bde" name="OP_LFGCommand" updated="05/11/05"> <comment>old LFGReqCode</comment> </opcode> - <opcode id="1e10" name="OP_LootItem" updated="02/15/05"> + <opcode id="7d84" name="OP_LootItem" updated="05/11/05"> <comment></comment> </opcode> - <opcode id="1858" name="OP_TradeRequestAck" updated="02/15/05"> + <opcode id="1832" name="OP_TradeRequestAck" updated="05/11/05"> <comment>Trade request recipient is acknowledging they are able to trade</comment> </opcode> - <opcode id="396b" name="OP_RaidJoin" updated="02/15/05"> + <opcode id="3ad8" name="OP_RaidJoin" updated="05/11/05"> <comment></comment> </opcode> - <opcode id="0137" name="OP_Bug" updated="02/15/05"> + <opcode id="2156" name="OP_Bug" updated="05/11/05"> <comment>/bug</comment> </opcode> - <opcode id="5b61" name="OP_GuildMemberUpdate" updated="02/15/05"> + <opcode id="5bc2" name="OP_GuildMemberUpdate" updated="05/11/05"> <comment></comment> <payload dir="server" typename="GuildMemberUpdate" sizechecktype="match"/> </opcode> - <opcode id="417c" name="OP_GuildTributeStatus" updated="02/15/05"> + <opcode id="655e" name="OP_GuildTributeStatus" updated="05/11/05"> <comment>Guild tribute stats send on zone</comment> </opcode> - <opcode id="7dca" name="OP_Track" updated="02/15/05"> + <opcode id="5da6" name="OP_GuildTributeInfo" updated="05/11/05"> + <comment>Guild tribute loadout</comment> + </opcode> + <opcode id="47ea" name="OP_Track" updated="05/11/05"> <comment>Clicked Track</comment> </opcode> - <opcode id="1e08" name="OP_TraderShop" updated="02/15/05"> + <opcode id="16be" name="OP_TraderShop" updated="05/11/05"> <comment>old OpenTraderCode right-click on a trader in bazaar</comment> </opcode> - <opcode id="35b7" name="OP_BoardBoat" updated="02/15/05"> + <opcode id="17ac" name="OP_BoardBoat" updated="05/11/05"> <comment></comment> </opcode> - <opcode id="584c" name="OP_LFGGetMatchesRequest" updated="02/15/05"> + <opcode id="5be9" name="OP_LFGGetMatchesRequest" updated="05/11/05"> <comment></comment> </opcode> - <opcode id="2b80" name="OP_ClickObject" updated="02/15/05"> + <opcode id="3cb2" name="OP_ClickObject" updated="05/11/05"> <comment>old RemDropCode</comment> <payload dir="both" typename="remDropStruct" sizechecktype="match"/> </opcode> - <opcode id="383c" name="OP_Save" updated="02/15/05"> + <opcode id="6dfd" name="OP_Save" updated="05/11/05"> <comment>Client asking server to save user state</comment> </opcode> - <opcode id="3dc7" name="OP_Camp" updated="02/15/05"> + <opcode id="0b8a" name="OP_Camp" updated="05/11/05"> <comment>old cStartCampingCode</comment> </opcode> - <opcode id="2aa0" name="OP_ShopPlayerSell" updated="02/15/05"> + <opcode id="6e6d" name="OP_ShopPlayerSell" updated="05/11/05"> <comment>old SellItemCode</comment> </opcode> - <opcode id="7907" name="OP_EndLootRequest" updated="02/15/05"> + <opcode id="192f" name="OP_EndLootRequest" updated="05/11/05"> <comment>old cDoneLootingCode</comment> </opcode> - <opcode id="2056" name="OP_SendAAStats" updated="02/15/05"> + <opcode id="5722" name="OP_SendAAStats" updated="05/11/05"> <comment></comment> </opcode> - <opcode id="342b" name="OP_GroupDisband" updated="02/15/05"> + <opcode id="235e" name="OP_SendAATable" updated="05/11/05"> + <comment></comment> + </opcode> + <opcode id="5ad1" name="OP_GroupDisband" updated="05/11/05"> <comment>Disband from group</comment> <payload dir="both" typename="groupDisbandStruct" sizechecktype="match"/> </opcode> - <opcode id="3888" name="OP_LoadSpellSet" updated="02/15/05"> + <opcode id="333d" name="OP_LoadSpellSet" updated="05/11/05"> <comment></comment> </opcode> - <opcode id="7334" name="OP_AutoAttack" updated="02/15/05"> + <opcode id="677f" name="OP_AutoAttack" updated="05/11/05"> <comment></comment> </opcode> - <opcode id="2f8c" name="OP_Consider" updated="02/15/05"> + <opcode id="550e" name="OP_Consider" updated="05/11/05"> <comment>old ConsiderCode</comment> <payload dir="both" typename="considerStruct" sizechecktype="match"/> </opcode> - <opcode id="75a9" name="OP_ReqClientSpawn" updated="02/15/05"> + <opcode id="7c5b" name="OP_ReqClientSpawn" updated="05/11/05"> <comment>Client requesting spawn data</comment> </opcode> - <opcode id="2ef0" name="OP_Emote" updated="02/15/05"> + <opcode id="43c2" name="OP_Emote" updated="05/11/05"> <comment>old EmoteTextCode</comment> <payload dir="both" typename="emoteTextStruct" sizechecktype="none"/> </opcode> - <opcode id="0b27" name="OP_GuildMOTD" updated="02/15/05"> + <opcode id="42d5" name="OP_GuildMOTD" updated="05/11/05"> <comment>GuildMOTD</comment> <payload dir="server" typename="guildMOTDStruct" sizechecktype="none"/> </opcode> - <opcode id="779c" name="OP_CancelTrade" updated="02/15/05"> + <opcode id="0065" name="OP_CancelTrade" updated="05/11/05"> <comment>Cancel a trade window</comment> </opcode> - <opcode id="46d0" name="OP_GroupInvite" updated="02/15/05"> + <opcode id="5c32" name="OP_GroupInvite" updated="05/11/05"> <payload dir="both" typename="groupInviteStruct" sizechecktype="match"/> <comment></comment> </opcode> - <opcode id="2b3c" name="OP_Trader" updated="02/15/05"> + <opcode id="3024" name="OP_Trader" updated="05/11/05"> <comment>People turning trader on and off</comment> <payload dir="server" typename="bazaarTraderRequest" sizechecktype="match"/> </opcode> - <opcode id="7586" name="OP_PetCommands" updated="02/15/05"> + <opcode id="1f73" name="OP_PetCommands" updated="05/11/05"> <comment></comment> </opcode> - <opcode id="66cd" name="OP_SpawnAppearance" implicitlen="8" updated="02/15/05"> + <opcode id="59eb" name="OP_SpawnAppearance" implicitlen="8" updated="05/11/05"> <comment>old SpawnAppearanceCode</comment> <payload dir="both" typename="spawnAppearanceStruct" sizechecktype="match"/> </opcode> - <opcode id="202a" name="OP_DeleteSpawn" implicitlen="4" updated="02/15/05"> + <opcode id="4ad3" name="OP_DeleteSpawn" implicitlen="4" updated="05/11/05"> <comment>old DeleteSpawnCode</comment> <payload dir="both" typename="deleteSpawnStruct" sizechecktype="match"/> </opcode> - <opcode id="0b8b" name="OP_SpawnRename" updated="02/15/05"> - <comment>Spawns getting renamed after initial NewSpawn</comment> - <payload dir="server" typename="spawnRenameStruct" sizechecktype="match"/> - </opcode> - <opcode id="5f64" name="OP_ReqNewZone" updated="02/15/05"> + <opcode id="768d" name="OP_ReqNewZone" updated="05/11/05"> <comment>Client requesting NewZone_Struct</comment> </opcode> - <opcode id="3b4f" name="OP_FormattedMessage" updated="02/15/05"> + <opcode id="4573" name="OP_FormattedMessage" updated="05/11/05"> <comment>old FormattedMessageCode</comment> <payload dir="server" typename="formattedMessageStruct" sizechecktype="none"/> </opcode> - <opcode id="6d66" name="OP_DisarmTraps" updated="02/15/05"> + <opcode id="34e8" name="OP_DisarmTraps" updated="05/11/05"> <comment>Clicked disarm traps</comment> </opcode> - <opcode id="1573" name="OP_WhoAllResponse" updated="02/15/05"> + <opcode id="793a" name="OP_WhoAllResponse" updated="05/11/05"> <comment>old sWhoAllOutputCode</comment> </opcode> - <opcode id="22d6" name="OP_AutoAttack2" updated="02/15/05"> + <opcode id="395c" name="OP_AutoAttack2" updated="05/11/05"> <comment></comment> </opcode> - <opcode id="07b4" name="OP_HPUpdate" implicitlen="6" updated="02/15/05"> + <opcode id="8713" name="OP_HPUpdate" implicitlen="6" updated="05/11/05"> <comment>old NpcHpUpdateCode Update HP % of a PC or NPC</comment> <payload dir="both" typename="hpNpcUpdateStruct" sizechecktype="match"/> </opcode> - <opcode id="265f" name="OP_GuildMemberList" updated="02/15/05"> + <opcode id="281b" name="OP_GuildMemberList" updated="05/11/05"> <comment></comment> <payload dir="server" typename="uint8_t" sizechecktype="none"/> </opcode> - <opcode id="6529" name="OP_SetRunMode" updated="02/15/05"> + <opcode id="1dc8" name="OP_SetRunMode" updated="05/11/05"> <comment>old cRunToggleCode</comment> </opcode> - <opcode id="0c78" name="OP_AAExpUpdate" updated="02/15/05"> + <opcode id="091d" name="OP_AAExpUpdate" updated="05/11/05"> <comment>Receiving AA experience. Also when percent to AA changes.</comment> <payload dir="server" typename="altExpUpdateStruct" sizechecktype="match"/> </opcode> - <opcode id="412a" name="OP_GetGuildMOTD" updated="02/15/05"> + <opcode id="4930" name="OP_GetGuildMOTD" updated="05/11/05"> <comment></comment> </opcode> - <opcode id="7a2e" name="OP_SimpleMessage" updated="02/15/05"> + <opcode id="0ae3" name="OP_SimpleMessage" updated="05/11/05"> <comment>old SimpleMessageCode</comment> <payload dir="server" typename="simpleMessageStruct" sizechecktype="match"/> </opcode> - <opcode id="67dd" name="OP_Hide" updated="02/15/05"> + <opcode id="023f" name="OP_Hide" updated="05/11/05"> <comment></comment> </opcode> - <opcode id="0a45" name="OP_SaveOnZoneReq" updated="02/15/05"> + <opcode id="7e1a" name="OP_SaveOnZoneReq" updated="05/11/05"> <comment></comment> </opcode> - <opcode id="1830" name="OP_ShopEnd" updated="02/15/05"> + <opcode id="0f94" name="OP_ShopEnd" updated="05/11/05"> <comment>old CloseVendorCode</comment> <payload dir="both" typename="unknown" sizechecktype="none"/> </opcode> - <opcode id="0855" name="OP_MoveDoor" updated="02/15/05"> + <opcode id="3024" name="OP_MoveDoor" updated="05/11/05"> <comment>old DoorClickCode</comment> </opcode> - <opcode id="678f" name="OP_SenseTraps" updated="02/15/05"> + <opcode id="1f0f" name="OP_SenseTraps" updated="05/11/05"> <comment></comment> </opcode> - <opcode id="4144" name="OP_SenseHeading" updated="02/15/05"> + <opcode id="5093" name="OP_SenseHeading" updated="05/11/05"> <comment>old cSenseHeadingCode</comment> </opcode> - <opcode id="4510" name="OP_Buff" updated="02/15/05"> + <opcode id="70be" name="OP_Buff" updated="05/11/05"> <comment>old BuffDropCode</comment> <payload dir="both" typename="buffStruct" sizechecktype="match"/> </opcode> - <opcode id="2b9a" name="OP_CommonMessage" updated="02/15/05"> + <opcode id="4574" name="OP_CommonMessage" updated="05/11/05"> <comment>old ChannelMessageCode</comment> <payload dir="both" typename="channelMessageStruct" sizechecktype="none"/> </opcode> - <opcode id="1964" name="OP_LootComplete" updated="02/15/05"> + <opcode id="619e" name="OP_LootComplete" updated="05/11/05"> <comment>old sDoneLootingCode</comment> </opcode> - <opcode id="270f" name="OP_EnvDamage" updated="02/15/05"> + <opcode id="4d2f" name="OP_EnvDamage" updated="05/11/05"> <comment>Environmental Damage</comment> <payload dir="client" typename="environmentDamageStruct" sizechecktype="match"/> </opcode> - <opcode id="440a" name="OP_Split" updated="02/15/05"> + <opcode id="253f" name="OP_Split" updated="05/11/05"> <comment></comment> </opcode> - <opcode id="74e5" name="OP_Surname" updated="02/15/05"> + <opcode id="5a42" name="OP_Surname" updated="05/11/05"> <comment></comment> </opcode> - <opcode id="0981" name="OP_ZoneEntry" updated="02/15/05"> + <opcode id="33c8" name="OP_ZoneEntry" updated="05/11/05"> <comment>old ZoneEntryCode</comment> <payload dir="client" typename="ClientZoneEntryStruct" sizechecktype="match"/> <payload dir="server" typename="ServerZoneEntryStruct" sizechecktype="match"/> </opcode> - <opcode id="3335" name="OP_FinishTrade" updated="02/15/05"> + <opcode id="1de7" name="OP_FinishTrade" updated="05/11/05"> <comment>Trade is over</comment> </opcode> - <opcode id="2023" name="OP_ShopRequest" updated="02/15/05"> + <opcode id="6319" name="OP_ShopRequest" updated="05/11/05"> <comment>old OpenVendorCode</comment> <payload dir="both" typename="unknown" sizechecktype="none"/> </opcode> - <opcode id="3fcd" name="OP_MoveItem" updated="02/15/05"> + <opcode id="787a" name="OP_MoveItem" updated="05/11/05"> <comment>Client moving an item from one slot to another</comment> </opcode> - <opcode id="53f6" name="OP_ZoneSpawns" updated="02/15/05"> + <opcode id="2db5" name="OP_ZoneSpawns" updated="05/11/05"> <comment>old ZoneSpawnsCode</comment> <payload dir="server" typename="spawnStruct" sizechecktype="modulus"/> </opcode> - <opcode id="78cb" name="OP_FaceChange" updated="02/15/05"> + <opcode id="738f" name="OP_FaceChange" updated="05/11/05"> <comment>/face</comment> </opcode> - <opcode id="50a3" name="OP_GroupFollow" updated="02/15/05"> + <opcode id="2afe" name="OP_GroupFollow" updated="05/11/05"> <payload dir="both" typename="groupFollowStruct" sizechecktype="match"/> <comment>Accepting to join a group</comment> </opcode> - <opcode id="4bf1" name="OP_ItemPacket" updated="02/15/05"> + <opcode id="49b4" name="OP_ItemPacket" updated="05/11/05"> <comment>old ItemCode</comment> <payload dir="server" typename="itemPacketStruct" sizechecktype="none"/> </opcode> - <opcode id="103d" name="OP_ItemLinkResponse" updated="02/15/05"> + <opcode id="776b" name="OP_ItemLinkResponse" updated="05/11/05"> <comment>old ItemInfoCode</comment> <payload dir="server" typename="itemInfoStruct" sizechecktype="none"/> <payload dir="client" typename="itemInfoReqStruct" sizechecktype="none"/> </opcode> - <opcode id="0674" name="OP_Sneak" updated="02/15/05"> + <opcode id="319c" name="OP_Sneak" updated="05/11/05"> <comment>Clicked sneak</comment> </opcode> - <opcode id="05b1" name="OP_ClientReady" updated="02/15/05"> + <opcode id="16ee" name="OP_ClientReady" updated="05/11/05"> <comment></comment> </opcode> - <opcode id="5bda" name="OP_ZoneChange" updated="02/15/05"> + <opcode id="05c6" name="OP_ZoneChange" updated="05/11/05"> <comment>old ZoneChangeCode</comment> <payload dir="both" typename="zoneChangeStruct" sizechecktype="match"/> </opcode> - <opcode id="2c2f" name="OP_RequestZoneChange" updated="02/15/05"> + <opcode id="1f28" name="OP_RequestZoneChange" updated="05/11/05"> <comment>Send by server when a click causes zone. Also, origin</comment> <payload dir="server" typename="requestZoneChangeStruct" sizechecktype="match"/> </opcode> - <opcode id="2f76" name="OP_SendZonePoints" updated="02/15/05"> + <opcode id="03ec" name="OP_SendZonePoints" updated="05/11/05"> <comment>Coords in a zone that will port you to another zone</comment> <payload dir="server" typename="zonePointsStruct" sizechecktype="none"/> </opcode> - <opcode id="1d3b" name="OP_MemorizeSpell" updated="02/15/05"> + <opcode id="5656" name="OP_MemorizeSpell" updated="05/11/05"> <comment>old MemSpellCode</comment> <payload dir="both" typename="memSpellStruct" sizechecktype="match"/> </opcode> - <opcode id="3357" name="OP_CancelInvite" updated="02/15/05"> + <opcode id="7cdb" name="OP_CancelInvite" updated="05/11/05"> <payload dir="both" typename="groupDeclineStruct" sizechecktype="match"/> <comment>Declining to join a group</comment> </opcode> - <opcode id="52b5" name="OP_ItemLinkClick" updated="02/15/05"> + <opcode id="3e39" name="OP_ItemLinkClick" updated="05/11/05"> <comment></comment> </opcode> - <opcode id="355a" name="OP_SwapSpell" updated="02/15/05"> + <opcode id="22cc" name="OP_SwapSpell" updated="05/11/05"> <comment>old TradeSpellBookSlotsCode</comment> <payload dir="both" typename="tradeSpellBookSlotsStruct" sizechecktype="match"/> </opcode> - <opcode id="4785" name="OP_NewZone" updated="02/15/05"> + <opcode id="7e63" name="OP_NewZone" updated="05/11/05"> <comment>old NewZoneCode</comment> <payload dir="server" typename="newZoneStruct" sizechecktype="match"/> </opcode> - <opcode id="76f7" name="OP_Forage" updated="02/15/05"> + <opcode id="33bc" name="OP_Forage" updated="05/11/05"> <comment>old ForageCode</comment> </opcode> - <opcode id="4c39" name="OP_ConsentResponse" updated="02/15/05"> + <opcode id="6fc0" name="OP_ConsentResponse" updated="05/11/05"> <comment>Server replying with consent information after /consent</comment> <payload dir="server" typename="consentResponseStruct" sizechecktype="match"/> </opcode> - <opcode id="5363" name="OP_BazaarSearch" updated="02/15/05"> + <opcode id="3200" name="OP_BazaarSearch" updated="05/11/05"> <payload dir="client" typename="bazaarSearchQueryStruct" sizechecktype="none"/> <payload dir="server" typename="bazaarSearchResponseStruct" sizechecktype="modulus"/> <payload dir="server" typename="utf8" sizechecktype="none"/> <comment>Bazaar search tool</comment> </opcode> - <opcode id="0ff9" name="OP_NewSpawn" updated="02/15/05"> + <opcode id="5ff7" name="OP_NewSpawn" updated="05/11/05"> <comment>old NewSpawnCode</comment> <payload dir="server" typename="spawnStruct" sizechecktype="match"/> </opcode> - <opcode id="656e" name="OP_WearChange" implicitlen="9" updated="02/15/05"> + <opcode id="60e1" name="OP_WearChange" implicitlen="9" updated="05/11/05"> <comment>old SpawnUpdateCode</comment> <payload dir="both" typename="SpawnUpdateStruct" sizechecktype="match"/> </opcode> - <opcode id="428f" name="OP_Action" implicitlen="31" updated="02/15/05"> + <opcode id="0bb3" name="OP_Action" implicitlen="31" updated="05/11/05"> <comment></comment> <payload dir="both" typename="actionStruct" sizechecktype="match"/> </opcode> - <opcode id="4368" name="OP_InitialHPUpdate" implicitlen="6" updated="02/15/05"> + <opcode id="4ee3" name="OP_InitialHPUpdate" implicitlen="6" updated="05/11/05"> <comment>First NpcHpUpdateCode Update HP % of a PC or NPC, subsequence in this zone will be OP_HPUpdate</comment> <payload dir="both" typename="hpNpcUpdateStruct" sizechecktype="match"/> </opcode> - <opcode id="1095" name="OP_SpecialMesg" updated="02/15/05"> + <opcode id="0fab" name="OP_SpecialMesg" updated="05/11/05"> <comment>Communicate textual info to client</comment> <payload dir="server" typename="specialMessageStruct" sizechecktype="none"/> </opcode> - <opcode id="3dd0" name="OP_TargetMouse" updated="02/15/05"> + <opcode id="100d" name="OP_TargetMouse" updated="05/11/05"> <comment>Targeting a person - old ClientTargetCode</comment> <payload dir="both" typename="clientTargetStruct" sizechecktype="match"/> </opcode> - <opcode id="76d7" name="OP_TradeRequest" updated="02/15/05"> + <opcode id="1095" name="OP_TradeRequest" updated="05/11/05"> <comment>Client request trade session</comment> </opcode> - <opcode id="1e0b" name="OP_Bazaar" updated="02/15/05"> - <comment></comment> - </opcode> - <opcode id="5339" name="OP_SpawnDoor" updated="02/15/05"> + <opcode id="25cb" name="OP_SpawnDoor" updated="05/11/05"> <comment>old DoorSpawnsCode</comment> <payload dir="server" typename="doorStruct" sizechecktype="modulus"/> </opcode> - <opcode id="2f6d" name="OP_LeaveBoat" updated="02/15/05"> + <opcode id="54d1" name="OP_LeaveBoat" updated="05/11/05"> <comment></comment> </opcode> - <opcode id="7eae" name="OP_Weather" updated="02/15/05"> + <opcode id="68d9" name="OP_Weather" updated="05/11/05"> <comment>old WeatherCode</comment> </opcode> - <opcode id="2fee" name="OP_PlayerProfile" updated="02/15/05"> + <opcode id="1f1c" name="OP_PlayerProfile" updated="05/11/05"> <comment>old CharProfileCode</comment> <payload dir="server" typename="charProfileStruct" sizechecktype="match"/> </opcode> - <opcode id="3942" name="OP_LFPGetMatchesRequest" updated="02/15/05"> + <opcode id="17d0" name="OP_LFPGetMatchesRequest" updated="05/11/05"> <comment></comment> </opcode> - <opcode id="09f7" name="OP_FindResponse" updated="02/15/05"> + <opcode id="1828" name="OP_FindResponse" updated="05/11/05"> <comment></comment> </opcode> - <opcode id="67a2" name="OP_RaidInvite" updated="02/15/05"> + <opcode id="050f" name="OP_RaidInvite" updated="05/11/05"> <comment></comment> </opcode> - <opcode id="0769" name="OP_Illusion" updated="02/15/05"> + <opcode id="19d8" name="OP_Illusion" updated="05/11/05"> <comment>old IllusionCode</comment> <payload dir="both" typename="uint8_t" sizechecktype="none"/> </opcode> - <opcode id="1ea9" name="OP_AckPacket" updated="02/15/05"> + <opcode id="76b4" name="OP_AckPacket" updated="05/11/05"> <comment>Appears to be generic ack at the presentation level</comment> </opcode> - <opcode id="6b2b" name="OP_TraderBuy" updated="02/15/05"> + <opcode id="2617" name="OP_TraderBuy" updated="05/11/05"> <comment>buy from a trader in bazaar</comment> </opcode> - <opcode id="1288" name="OP_InspectAnswer" updated="02/15/05"> + <opcode id="69b3" name="OP_InspectAnswer" updated="05/11/05"> <comment>old InspectDataCode</comment> <payload dir="both" typename="inspectDataStruct" sizechecktype="match"/> </opcode> - <opcode id="51fb" name="OP_GMKill" updated="02/15/05"> + <opcode id="2684" name="OP_GMKill" updated="05/11/05"> <comment>GM /kill - Insta kill mob/pc</comment> </opcode> - <opcode id="20e1" name="OP_MoneyOnCorpse" updated="02/15/05"> + <opcode id="456b" name="OP_MoneyOnCorpse" updated="05/11/05"> <comment>old MoneyOnCorpseCode</comment> <payload dir="server" typename="moneyOnCorpseStruct" sizechecktype="match"/> </opcode> - <opcode id="4362" name="OP_ClickDoor" updated="02/15/05"> + <opcode id="610e" name="OP_ClickDoor" updated="05/11/05"> <comment>old DoorOpenCode</comment> <payload dir="both" typename="uint8_t" sizechecktype="none"/> </opcode> - <opcode id="6b81" name="OP_GuildPublicNote" updated="02/15/05"> + <opcode id="65d8" name="OP_GuildPublicNote" updated="05/11/05"> <comment></comment> </opcode> - <opcode id="363a" name="OP_LootRequest" updated="02/15/05"> + <opcode id="5366" name="OP_LootRequest" updated="05/11/05"> <comment>old cLootCorpseCode</comment> </opcode> - <opcode id="4196" name="OP_YellForHelp" updated="02/15/05"> + <opcode id="4dd7" name="OP_YellForHelp" updated="05/11/05"> <comment></comment> </opcode> - <opcode id="1281" name="OP_ManaChange" implicitlen="16" updated="02/15/05"> + <opcode id="5eb7" name="OP_ManaChange" implicitlen="16" updated="05/11/05"> <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="4ee6" name="OP_ShopPlayerBuy" updated="02/15/05"> + <opcode id="0af6" name="OP_ShopPlayerBuy" updated="05/11/05"> <comment>old BuyItemCode</comment> </opcode> - <opcode id="68d0" name="OP_ConsentDeny" updated="02/15/05"> + <opcode id="78b1" name="OP_ConsentDeny" updated="05/11/05"> <comment>/deny someone</comment> <payload dir="client" typename="consentRequestStruct" sizechecktype="none"/> </opcode> - <opcode id="390a" name="OP_LFPCommand" updated="02/15/05"> + <opcode id="787e" name="OP_LFPCommand" updated="05/11/05"> <comment>looking for players</comment> </opcode> - <opcode id="32af" name="OP_TradeCoins" updated="02/15/05"> + <opcode id="5463" name="OP_TradeCoins" updated="05/11/05"> <comment>Coins put in trade window</comment> </opcode> - <opcode id="74bc" name="OP_RandomReply" updated="02/15/05"> + <opcode id="0070" name="OP_RandomReply" updated="05/11/05"> <comment>old RandomCode</comment> <payload dir="server" typename="randomStruct" sizechecktype="match"/> </opcode> - <opcode id="53f3" name="OP_DenyResponse" updated="02/15/05"> + <opcode id="1700" name="OP_DenyResponse" updated="05/11/05"> <comment>Server replying with deny information after /deny</comment> <payload dir="server" typename="consentResponseStruct" sizechecktype="match"/> </opcode> - <opcode id="6980" name="OP_GroupUpdate" updated="02/15/05"> + <opcode id="5ba6" name="OP_GroupUpdate" updated="05/11/05"> <payload dir="server" typename="groupFullUpdateStruct" sizechecktype="match"/> <payload dir="server" typename="groupUpdateStruct" sizechecktype="match"/> <comment></comment> </opcode> - <opcode id="4549" name="OP_ConsiderCorpse" updated="02/15/05"> + <opcode id="2839" name="OP_ConsiderCorpse" updated="05/11/05"> <comment>old cConCorpseCode</comment> </opcode> - <opcode id="1112" name="OP_TradeAcceptClick" updated="02/15/05"> + <opcode id="55bb" name="OP_TradeAcceptClick" updated="05/11/05"> <comment>One side clicks Accept on the trade</comment> </opcode> - <opcode id="26fd" name="OP_TimeOfDay" updated="02/15/05"> + <opcode id="0f70" name="OP_TimeOfDay" updated="05/11/05"> <comment>old TimeOfDayCode</comment> <payload dir="server" typename="timeOfDayStruct" sizechecktype="match"/> </opcode> - <opcode id="0832" name="OP_ConfirmDelete" updated="02/15/05"> + <opcode id="1aec" name="OP_ConfirmDelete" updated="05/11/05"> <comment>Client sends this to server to confirm op_deletespawn</comment> </opcode> - <opcode id="3a04" name="OP_MobHealth" implicitlen="3" updated="02/15/05"> + <opcode id="5752" name="OP_MobHealth" implicitlen="3" updated="05/11/05"> <comment>health sent when a player clicks on the mob</comment> </opcode> - <opcode id="32e9" name="OP_SkillUpdate" updated="02/15/05"> - <comment>old SkillIncCode</comment> - <payload dir="server" typename="skillIncStruct" sizechecktype="match"/> - </opcode> - <opcode id="6464" name="OP_RandomReq" updated="02/15/05"> + <opcode id="35a9" name="OP_RandomReq" updated="05/11/05"> <comment>old RandomReqCode</comment> <payload dir="client" typename="randomReqStruct" sizechecktype="match"/> </opcode> - <opcode id="1022" name="OP_CastSpell" updated="02/15/05"> + <opcode id="53b3" name="OP_CastSpell" updated="05/11/05"> <comment>old StartCastCode</comment> <payload dir="both" typename="startCastStruct" sizechecktype="match"/> </opcode> - <opcode id="7295" name="OP_ClientUpdate" implicitlen="18" updated="02/15/05"> - <comment>old PlayerPosCode</comment> + <opcode id="2b94" name="OP_ClientUpdate" implicitlen="18" updated="05/11/05"> + <comment>Position updates</comment> <payload dir="server" typename="playerSpawnPosStruct" sizechecktype="match"/> <payload dir="both" typename="playerSelfPosStruct" sizechecktype="match"/> </opcode> - <opcode id="076f" name="OP_Report" updated="02/15/05"> + <opcode id="0be3" name="OP_Report" updated="05/11/05"> <comment></comment> </opcode> - <opcode id="7b8f" name="OP_GroundSpawn" updated="02/15/05"> + <opcode id="4024" name="OP_GroundSpawn" updated="05/11/05"> <comment>old MakeDropCode</comment> <payload dir="server" typename="makeDropStruct" sizechecktype="match"/> </opcode> - <opcode id="6ec2" name="OP_TargetCommand" updated="02/15/05"> + <opcode id="27a4" name="OP_TargetCommand" updated="05/11/05"> <comment>Target user</comment> </opcode> - <opcode id="11d4" name="OP_LFPGetMatchesResponse" updated="02/15/05"> + <opcode id="7c39" name="OP_LFPGetMatchesResponse" updated="05/11/05"> <comment></comment> </opcode> - <opcode id="4231" name="OP_Jump" updated="02/15/05"> + <opcode id="5bfb" name="OP_Jump" updated="05/11/05"> <comment>old cJumpCode?</comment> </opcode> - <opcode id="240b" name="OP_ExpUpdate" updated="02/15/05"> + <opcode id="4811" name="OP_ExpUpdate" updated="05/11/05"> <comment>old ExpUpdateCode</comment> <payload dir="server" typename="expUpdateStruct" sizechecktype="match"/> </opcode> - <opcode id="708a" name="OP_GMFind" updated="02/15/05"> + <opcode id="1e90" name="OP_GMFind" updated="05/11/05"> <comment>GM /find - ?</comment> </opcode> - <opcode id="790e" name="OP_GMKick" updated="01/26/05"> - <comment>GM /kick - Boot player</comment> - </opcode> - <opcode id="2ca6" name="OP_AAAction" updated="02/15/05"> + <opcode id="5e81" name="OP_AAAction" updated="05/11/05"> <comment>Used for changing percent, buying? and activating skills</comment> </opcode> - <opcode id="4211" name="OP_Death" updated="02/15/05"> + <opcode id="21d3" name="OP_Death" updated="05/11/05"> <comment>old NewCorpseCode</comment> <payload dir="server" typename="newCorpseStruct" sizechecktype="match"/> </opcode> - <opcode id="7ae7" name="OP_GMLastName" updated="02/15/05"> + <opcode id="5641" name="OP_GMLastName" updated="05/11/05"> <comment>GM /lastname - Change user lastname</comment> </opcode> - <opcode id="28af" name="OP_TradeSkillCombine" updated="02/15/05"> + <opcode id="0d54" name="OP_TradeSkillCombine" updated="05/11/05"> <comment></comment> </opcode> - <opcode id="2bf3" name="OP_InitialMobHealth" implicitlen="3" updated="02/15/05"> + <opcode id="2392" name="OP_InitialMobHealth" implicitlen="3" updated="05/11/05"> <comment>Initial health sent when a player clicks on the mob. Subsequent updated will be OP_MobHealth</comment> </opcode> - <opcode id="7328" name="OP_LFGResponse" updated="02/15/05"> + <opcode id="1fe1" name="OP_LFGResponse" updated="05/11/05"> <comment></comment> </opcode> - <opcode id="0ef1" name="OP_LFGGetMatchesResponse" updated="02/15/05"> + <opcode id="6918" name="OP_LFGGetMatchesResponse" updated="05/11/05"> <comment></comment> </opcode> - <opcode id="65e3" name="OP_Mend" updated="02/15/05"> + <opcode id="4ec0" name="OP_Mend" updated="05/11/05"> <comment></comment> </opcode> - <opcode id="5e1d" name="OP_MendHPUpdate" updated="02/15/05"> + <opcode id="1ffa" name="OP_MendHPUpdate" updated="05/11/05"> <comment></comment> </opcode> - <opcode id="2091" name="OP_Feedback" updated="02/15/05"> + <opcode id="1057" name="OP_Feedback" updated="05/11/05"> <comment>/feedback</comment> </opcode> + <opcode id="3e26" name="OP_TributeUpdate" updated="05/11/05"> + <comment>Tribute information</comment> + </opcode> + <opcode id="185c" name="OP_TributeInfo" updated="05/11/05"> + <comment>Tribute information</comment> + </opcode> + <opcode id="098b" name="OP_CompletedTasks" updated="05/11/05"> + <comment>Task history for task window</comment> + </opcode> + <opcode id="2b66" name="OP_CustomTitles" updated="05/11/05"> + <comment>List of available titles</comment> + </opcode> + <opcode id="7138" name="OP_Stamina" updated="05/11/05"> + <comment>Server updating on hunger/thirst</comment> + <payload dir="server" typename="staminaStruct" sizechecktype="match"/> + </opcode> + <opcode id="0430" name="OP_SkillUpdate" updated="05/11/05"> + <comment>old SkillIncCode</comment> + <payload dir="server" typename="skillIncStruct" sizechecktype="match"/> + </opcode> </seqopcodes> |
From: Chad M. <cmm...@us...> - 2005-05-15 16:06:40
|
Update of /cvsroot/seq/showeq/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10799/src Modified Files: Tag: pre_5_0_beta classes.h everquest.h messageshell.cpp packetstream.cpp player.cpp player.h spawnshell.cpp statlist.cpp statlist.h Log Message: Live compatibility with 5/11 and 5/12 eqgame. Large struct updates in spawn struct and positioning structs. Small struct updates in char profile and spell buff/buff fade. All opcodes remapped. Updated version to 5.0.0.21. Index: player.h =================================================================== RCS file: /cvsroot/seq/showeq/src/player.h,v retrieving revision 1.21.6.4 retrieving revision 1.21.6.5 diff -u -d -r1.21.6.4 -r1.21.6.5 --- player.h 10 May 2005 16:20:38 -0000 1.21.6.4 +++ player.h 15 May 2005 16:06:25 -0000 1.21.6.5 @@ -177,13 +177,7 @@ uint32_t ); - void stamChanged ( int, - int, - int, - int, - int, - int - ); + void stamChanged ( int, int, int, int); void hpChanged(int16_t, int16_t); void changedID(uint16_t playerID); void posChanged(int16_t x, int16_t y, int16_t z, Index: statlist.h =================================================================== RCS file: /cvsroot/seq/showeq/src/statlist.h,v retrieving revision 1.8.6.1 retrieving revision 1.8.6.2 diff -u -d -r1.8.6.1 -r1.8.6.2 --- statlist.h 7 Dec 2003 06:30:46 -0000 1.8.6.1 +++ statlist.h 15 May 2005 16:06:26 -0000 1.8.6.2 @@ -41,7 +41,7 @@ void expAltChanged(int val, int min, int max); void hpChanged(int16_t val, int16_t max); void manaChanged(uint32_t val, uint32_t max); - void stamChanged(int Sval, int Smax, int Fval, int Fmax, int Wval, int Wmax); + void stamChanged(int Fval, int Fmax, int Wval, int Wmax); void statChanged (int statNum, int val, int max); void resetMaxMana(void); void enableStat(uint8_t stat, bool enable); Index: statlist.cpp =================================================================== RCS file: /cvsroot/seq/showeq/src/statlist.cpp,v retrieving revision 1.8.6.2 retrieving revision 1.8.6.3 diff -u -d -r1.8.6.2 -r1.8.6.3 --- statlist.cpp 7 Nov 2004 23:10:26 -0000 1.8.6.2 +++ statlist.cpp 15 May 2005 16:06:26 -0000 1.8.6.3 @@ -54,8 +54,8 @@ this, SLOT(expChanged(int,int,int))); connect (m_player, SIGNAL(expAltChangedInt(int,int,int)), this, SLOT(expAltChanged(int,int,int))); - connect (m_player, SIGNAL(stamChanged(int,int,int,int,int,int)), - this, SLOT(stamChanged(int,int,int,int,int,int))); + connect (m_player, SIGNAL(stamChanged(int,int,int,int)), + this, SLOT(stamChanged(int,int,int,int))); connect (m_player, SIGNAL(manaChanged(uint32_t,uint32_t)), this, SLOT(manaChanged(uint32_t,uint32_t))); connect (m_player, SIGNAL(hpChanged(int16_t, int16_t)), @@ -182,22 +182,10 @@ } } -void StatList::stamChanged (int Sval, int Smax, - int Fval, int Fmax, - int Wval, int Wmax) +void StatList::stamChanged(int Fval, int Fmax, int Wval, int Wmax) { char buf[64]; - if (m_showStat[LIST_STAM]) - { - sprintf(buf,"%d",Sval); - m_statList[LIST_STAM]->setText (1, buf); - sprintf(buf,"%d",Smax); - m_statList[LIST_STAM]->setText (2, buf); - sprintf(buf,"%d %%",Sval*100/Smax); - m_statList[LIST_STAM]->setText (3, buf); - } - if (m_showStat[LIST_FOOD]) { sprintf(buf,"%d",Fval); Index: player.cpp =================================================================== RCS file: /cvsroot/seq/showeq/src/player.cpp,v retrieving revision 1.42.6.11 retrieving revision 1.42.6.12 diff -u -d -r1.42.6.11 -r1.42.6.12 --- player.cpp 10 May 2005 15:42:08 -0000 1.42.6.11 +++ player.cpp 15 May 2005 16:06:25 -0000 1.42.6.12 @@ -769,17 +769,9 @@ const staminaStruct *stam = (const staminaStruct *)data; m_food = stam->food; m_water = stam->water; - m_fatigue = stam->fatigue; m_validStam = true; - emit stamChanged( 100 - m_fatigue, - 100, - m_food, - 127, - m_water, - 127 - ); - + emit stamChanged(m_food, 127, m_water, 127); if (showeq_params->savePlayerState) savePlayerState(); @@ -808,7 +800,7 @@ setClassVal(zsentry->class_); setRace(zsentry->race); setGender(zsentry->gender); - setGuildID(zsentry->guildId); + setGuildID(zsentry->guildID); setGuildTag(m_guildMgr->guildIdToName(guildID())); emit guildChanged(); setPos(zsentry->x >> 3, @@ -816,8 +808,9 @@ zsentry->z >> 3, showeq_params->walkpathrecord, showeq_params->walkpathlength); - seqDebug("Player::zoneBegin(): Pos (%f/%f/%f)", - float(zsentry->x)/8.0, float(zsentry->y)/8.0, float(zsentry->z)/8.0); + seqDebug("Player::zoneBegin(): Pos (%f/%f/%f) Heading %f", + float(zsentry->x)/8.0, float(zsentry->y)/8.0, float(zsentry->z)/8.0, + float(zsentry->heading)); setHeading(zsentry->heading, 0); m_validPos = true; @@ -853,6 +846,28 @@ int16_t pdeltaY = int16_t(pupdate->deltaY); int16_t pdeltaZ = int16_t(pupdate->deltaZ); +#if 0 + // Dump position updates for debugging client update changes + for (int i=0; i<36; i++) + { + printf("%.2x", data[i]); + + if ((i+1) % 8 == 0) + { + printf(" "); + } + else + { + printf(" "); + } + } + printf("pad %d unk %d %d dh %d pad %d ani %d pad %d\n", + pupdate->padding0004, pupdate->unknown0006[0], + pupdate->unknown0006[1], pupdate->deltaHeading, + pupdate->padding0020, pupdate->animation, + pupdate->padding0022); +#endif + setPos(px, py, pz, showeq_params->walkpathrecord, showeq_params->walkpathlength); setDeltas(pdeltaX, pdeltaY, pdeltaZ); setHeading(pupdate->heading, pupdate->deltaHeading); Index: packetstream.cpp =================================================================== RCS file: /cvsroot/seq/showeq/src/packetstream.cpp,v retrieving revision 1.1.6.8 retrieving revision 1.1.6.9 diff -u -d -r1.1.6.8 -r1.1.6.9 --- packetstream.cpp 7 Apr 2005 03:19:37 -0000 1.1.6.8 +++ packetstream.cpp 15 May 2005 16:06:25 -0000 1.1.6.9 @@ -21,7 +21,7 @@ // The following defines are used to diagnose packet handling behavior // this define is used to diagnose packet processing (in processPacket mostly) -//#define PACKET_PROCESS_DIAG 2 +//#define PACKET_PROCESS_DIAG 3 // this define is used to diagnose cache handling (in processPacket mostly) //#define PACKET_CACHE_DIAG 3 Index: spawnshell.cpp =================================================================== RCS file: /cvsroot/seq/showeq/src/spawnshell.cpp,v retrieving revision 1.42.6.7 retrieving revision 1.42.6.8 diff -u -d -r1.42.6.7 -r1.42.6.8 --- spawnshell.cpp 10 May 2005 15:53:09 -0000 1.42.6.7 +++ spawnshell.cpp 15 May 2005 16:06:25 -0000 1.42.6.8 @@ -510,12 +510,30 @@ } } -void SpawnShell::playerUpdate(const uint8_t* data, size_t, uint8_t dir) +void SpawnShell::playerUpdate(const uint8_t* data, size_t len, uint8_t dir) { // if zoning, then don't do anything if (m_zoneMgr->isZoning()) return; +#if 0 + // Dump position updates for debugging client update changes + for (int i=0; i<len; i++) + { + printf("%.2x", data[i]); + + if ((i+1) % 8 == 0) + { + printf(" "); + } + else + { + printf(" "); + } + } + printf("\n"); +#endif + const playerSpawnPosStruct *pupdate = (const playerSpawnPosStruct *)data; if ((dir != DIR_Client) && Index: classes.h =================================================================== RCS file: /cvsroot/seq/showeq/src/classes.h,v retrieving revision 1.2.8.3 retrieving revision 1.2.8.4 diff -u -d -r1.2.8.3 -r1.2.8.4 --- classes.h 7 Nov 2004 23:09:56 -0000 1.2.8.3 +++ classes.h 15 May 2005 16:06:25 -0000 1.2.8.4 @@ -42,7 +42,7 @@ "Magician GM", // 32 "Enchanter GM", // 33 "Beastlord GM", // 34 - NULL, // 35 + "Berserker GM", // 35 NULL, // 36 NULL, // 37 NULL, // 38 @@ -66,9 +66,11 @@ NULL, // 56 NULL, // 57 NULL, // 58 - NULL, // 59 + "Discord Merchant", // 59 "LDoN Recruiter", // 60 "LDoN Merchant", // 61 "LDoN Object", // 62 + "Tribute Master", // 63 + "Guild Tribute Master", // 64 #endif /* DOXYGEN_SHOULD_SKIP_THIS */ Index: messageshell.cpp =================================================================== RCS file: /cvsroot/seq/showeq/src/Attic/messageshell.cpp,v retrieving revision 1.1.4.9 retrieving revision 1.1.4.10 diff -u -d -r1.1.4.9 -r1.1.4.10 --- messageshell.cpp 18 Apr 2005 03:16:22 -0000 1.1.4.9 +++ messageshell.cpp 15 May 2005 16:06:25 -0000 1.1.4.10 @@ -368,7 +368,7 @@ { QString tempStr; - tempStr = "EntryCode: Server, Zone: "; + tempStr = "EntryCode: Server"; m_messages->addMessage(MT_Zone, tempStr); } Index: everquest.h =================================================================== RCS file: /cvsroot/seq/showeq/src/everquest.h,v retrieving revision 1.74.6.22 retrieving revision 1.74.6.23 diff -u -d -r1.74.6.22 -r1.74.6.23 --- everquest.h 10 May 2005 15:52:46 -0000 1.74.6.22 +++ everquest.h 15 May 2005 16:06:25 -0000 1.74.6.23 @@ -397,21 +397,22 @@ /* ** Buffs -** Length: 16 Octets +** Length: 20 Octets ** Used in: ** charProfileStruct(2d20) */ struct spellBuff { -/*0000*/ uint8_t unknown0012; // +/*0000*/ uint8_t unknown0000; // /*0001*/ int8_t level; // Level of person who cast buff -/*0002*/ uint8_t unknown0014; // -/*0003*/ uint8_t unknown0015; // +/*0002*/ uint8_t unknown0002; // +/*0003*/ uint8_t unknown0003; // /*0004*/ int32_t spellid; // Spell /*0008*/ int32_t duration; // Time remaining in ticks /*0012*/ int32_t effect; // holds the dmg absorb amount on runes -/*0016*/ +/*0016*/ uint32_t playerId; // Global id of caster (for wear off) +/*0020*/ }; @@ -495,7 +496,7 @@ /* ** Client Zone Entry struct -** Length: 70 Octets +** Length: 68 Octets ** OpCode: ZoneEntryCode (when direction == client) */ struct ClientZoneEntryStruct @@ -506,94 +507,10 @@ /*0064*/ uint32_t unknown0064; // unknown }; -/* -** Server Zone Entry struct -** Length: 390 Octets -** OpCode: ZoneEntryCode (when direction == server) -*/ -struct ServerZoneEntryStruct -{ -/*0000*/ uint8_t unknown101[7]; -/*0007*/ union - { - struct - { - /*0007*/ Color_Struct color_helmet; // Color of helmet item - /*0011*/ Color_Struct color_chest; // Color of chest item - /*0015*/ Color_Struct color_arms; // Color of arms item - /*0019*/ Color_Struct color_bracers; // Color of bracers item - /*0023*/ Color_Struct color_hands; // Color of hands item - /*0027*/ Color_Struct color_legs; // Color of legs item - /*0031*/ Color_Struct color_feet; // Color of feet item - /*0035*/ Color_Struct color_primary; // Color of primary item - /*0039*/ Color_Struct color_secondary; // Color of secondary item - } equipment_colors; - /*0007*/ Color_Struct colors[9]; // Array elements correspond to struct equipment_colors above - }; - -/*0043*/ uint8_t class_; // Player's Class -/*0044*/ uint8_t unknown0044[5]; - -/*0049*/ uint32_t race; // Player's Race -/*0053*/ uint8_t unknown053; -/*0054*/ char name[64]; // Player name - -/*0118*/ uint8_t unknown0118[3]; - -/*0121*/ int8_t hp; -/*0122*/ uint8_t unknown0122; - -/*0123*/ uint8_t level; // Player's Level -/*0124*/ uint8_t lfg; // 0=Not lfg,1=lfg -/*0125*/ uint16_t heading; // spawn heading -/*0127*/ uint8_t deltaHeading; // change in heading -/*0128*/ uint8_t animation; // animation id -/*0129*/ signed deltaX:13; - signed x:19; -/*0133*/ signed y:19; - signed deltaZ:13; -/*0137*/ signed deltaY:13; - signed z:19; -/*0141*/ uint8_t unknown0141[2]; -/*0143*/ uint8_t invis; // 0=visible,1=invisible -/*0144*/ uint8_t unknown0124[7]; - -/*0151*/ float size; -/*0155*/ uint8_t helm; -/*0156*/ float runspeed; // Speed when running -/*0160*/ uint8_t unknown0160[1]; -/*0161*/ float walkspeed; // Speed when walking -/*0165*/ uint32_t guildId; // Current guild -/*0169*/ uint8_t anon; // 0=normal,1=anon,2=roleplaying -/*0170*/ uint8_t gender; // 0=male,1=female,2=other -/*0171*/ uint8_t unknown171[5]; - -/*0176*/ char lastName[32]; // Players last name -/*0208*/ union - { - struct - { - /*0208*/ uint32_t equip_helmet; // Equipment: Helmet Visual - /*0212*/ uint32_t equip_chest; // Equipment: Chest Visual - /*0216*/ uint32_t equip_arms; // Equipment: Arms Visual - /*0220*/ uint32_t equip_bracers; // Equipment: Bracers Visual - /*0224*/ uint32_t equip_hands; // Equipment: Hands Visual - /*0228*/ uint32_t equip_legs; // Equipment: Legs Visual - /*0232*/ uint32_t equip_feet; // Equipment: Feet Visual - /*0236*/ uint32_t equip_primary; // Equipment: Primary Visual - /*0240*/ uint32_t equip_secondary; // Equipment: Secondary Visual - } equipment; - /*0208*/ Color_Struct equip[9]; // Array elements correspond to struct equipment above - }; -/*0244*/ uint8_t unknown244[14]; - -/*0258*/ int16_t deity; // Player's Deity -/*0262*/ uint8_t unknown260[119]; -}; /* 0375 */ /* ** New Zone Code -** Length: 596 Octets +** Length: 692 Octets ** OpCode: NewZoneCode */ struct newZoneStruct @@ -616,8 +533,8 @@ /*0508*/ float underworld; // Underworld /*0512*/ float minclip; // Minimum view distance /*0516*/ float maxclip; // Maximum view distance -/*0520*/ uint8_t unknown0520[168]; // *** Placeholder -/*0688*/ +/*0520*/ uint8_t unknown0520[172]; // *** Placeholder +/*0692*/ }; @@ -709,64 +626,64 @@ /*3800*/ uint32_t silver_cursor; // Silver Pieces on cursor /*3804*/ uint32_t copper_cursor; // Copper Pieces on cursor /*3808*/ uint32_t platinum_shared; // Shared platinum pieces -/*3812*/ uint8_t unknown3812[20]; // Unknown - all zero -/*3832*/ uint32_t skills[75]; // List of skills (MAX_KNOWN_SKILLS) -/*4132*/ uint8_t unknown4132[312]; // *** Placeholder -/*4444*/ uint32_t autosplit; // 0 = off, 1 = on -/*4448*/ uint8_t unknown4448[8]; // *** Placeholder -/*4456*/ uint32_t zoneCounter; // No idea. Goes up by 2 each zone. -/*4460*/ uint8_t unknown4460[28]; // *** Placeholder -/*4488*/ uint32_t expansions; // Bitmask for expansions -/*4492*/ uint32_t toxicity; // Potion Toxicity (15=too toxic, each potion adds 3) -/*4496*/ uint8_t unknown4496[16]; // *** Placeholder -/*4512*/ uint32_t hunger; // Food (ticks till next eat) -/*4516*/ uint32_t thirst; // Drink (ticks till next drink) -/*4520*/ uint8_t unknown4520[20]; // *** Placeholder -/*4540*/ uint16_t zoneId; // see zones.h -/*4542*/ uint16_t zoneInstance; // Instance id -/*4544*/ spellBuff buffs[MAX_BUFFS]; // Buffs currently on the player -/*4944*/ char groupMembers[MAX_GROUP_MEMBERS][64];// all the members in group, including self -/*5328*/ uint8_t unknown5328[668]; // *** Placeholder -/*5996*/ uint32_t ldon_guk_points; // Earned GUK points -/*6000*/ uint32_t ldon_mir_points; // Earned MIR points -/*6004*/ uint32_t ldon_mmc_points; // Earned MMC points -/*6008*/ uint32_t ldon_ruj_points; // Earned RUJ points -/*6012*/ uint32_t ldon_tak_points; // Earned TAK points -/*6016*/ uint32_t ldon_avail_points; // Available LDON points -/*6020*/ uint8_t unknown6020[112]; // *** Placeholder -/*6132*/ uint32_t tributeTime; // Time remaining on tribute (millisecs) -/*6136*/ uint32_t unknown6136; // *** Placeholder -/*6140*/ uint32_t careerTribute; // Total favor points for this char -/*6144*/ uint32_t unknown6144; // *** Placeholder -/*6148*/ uint32_t currentTribute; // Current tribute points -/*6152*/ uint32_t unknown6152; // *** Placeholder -/*6156*/ uint32_t tributeActive; // 0 = off, 1=on -/*6160*/ TributeStruct tributes[MAX_TRIBUTES]; // Current tribute loadout -/*6200*/ uint32_t disciplines[MAX_DISCIPLINES]; // Known disciplines -/*6400*/ uint8_t unknown6400[440]; // *** Placeholder -/*6840*/ uint32_t endurance; // Current endurance -/*6844*/ uint32_t expGroupLeadAA; // Current group lead AA exp (0-1000) -/*6848*/ uint32_t expRaidLeadAA; // Current raid lead AA exp (0-2000) -/*6852*/ uint32_t groupLeadAAUnspent; // Unspent group lead AA points -/*6856*/ uint32_t raidLeadAAUnspent; // Unspent raid lead AA points -/*6860*/ uint32_t leadershipAAs[MAX_LEAD_AA]; // Leader AA ranks -/*6988*/ uint8_t unknown6988[132]; // *** Placeholder -/*7120*/ uint32_t airRemaining; // Air supply (seconds) -/*7124*/ uint8_t unknown7274[4608]; // *** Placeholder -/*11732*/ uint32_t aa_spent; // Number of spent AA points -/*11736*/ uint32_t expAA; // Exp earned in current AA point -/*11740*/ uint32_t aa_unspent; // Unspent AA points -/*11744*/ uint8_t unknown11744[36]; // *** Placeholder -/*11780*/ BandolierStruct bandoliers[MAX_BANDOLIERS]; // bandolier contents -/*13060*/ uint8_t unknown13060[5120]; // *** Placeholder -/*18180*/ InlineItem potionBelt[MAX_POTIONS_IN_BELT]; // potion belt -/*18468*/ uint8_t unknown18468[8]; // *** Placeholder -/*18476*/ uint32_t currentRadCrystals; // Current count of radiant crystals -/*18480*/ uint32_t careerRadCrystals; // Total count of radiant crystals ever -/*18484*/ uint32_t currentEbonCrystals;// Current count of ebon crystals -/*18488*/ uint32_t careerEbonCrystals; // Total count of ebon crystals ever -/*18492*/ uint32_t unknown18492; // *** Placeholder -}; /* 18496 */ +/*3812*/ uint8_t unknown3812[24]; // Unknown - all zero +/*3836*/ uint32_t skills[75]; // List of skills (MAX_KNOWN_SKILLS) +/*4136*/ uint8_t unknown4136[312]; // *** Placeholder +/*4448*/ uint32_t autosplit; // 0 = off, 1 = on +/*4452*/ uint8_t unknown4452[8]; // *** Placeholder +/*4460*/ uint32_t zoneCounter; // No idea. Goes up by 2 each zone. +/*4464*/ uint8_t unknown4464[28]; // *** Placeholder +/*4492*/ uint32_t expansions; // Bitmask for expansions +/*4496*/ uint32_t toxicity; // Potion Toxicity (15=too toxic, each potion adds 3) +/*4500*/ uint8_t unknown4500[16]; // *** Placeholder +/*4516*/ uint32_t hunger; // Food (ticks till next eat) +/*4520*/ uint32_t thirst; // Drink (ticks till next drink) +/*4524*/ uint8_t unknown4524[20]; // *** Placeholder +/*4544*/ uint16_t zoneId; // see zones.h +/*4546*/ uint16_t zoneInstance; // Instance id +/*4548*/ spellBuff buffs[MAX_BUFFS]; // Buffs currently on the player +/*5048*/ char groupMembers[MAX_GROUP_MEMBERS][64];// all the members in group, including self +/*5332*/ uint8_t unknown5332[668]; // *** Placeholder +/*6100*/ uint32_t ldon_guk_points; // Earned GUK points +/*6104*/ uint32_t ldon_mir_points; // Earned MIR points +/*6108*/ uint32_t ldon_mmc_points; // Earned MMC points +/*6112*/ uint32_t ldon_ruj_points; // Earned RUJ points +/*6116*/ uint32_t ldon_tak_points; // Earned TAK points +/*6120*/ uint32_t ldon_avail_points; // Available LDON points +/*6124*/ uint8_t unknown6124[112]; // *** Placeholder +/*6236*/ uint32_t tributeTime; // Time remaining on tribute (millisecs) +/*6240*/ uint32_t unknown6240; // *** Placeholder +/*6244*/ uint32_t careerTribute; // Total favor points for this char +/*6248*/ uint32_t unknown6248; // *** Placeholder +/*6252*/ uint32_t currentTribute; // Current tribute points +/*6256*/ uint32_t unknown6256; // *** Placeholder +/*6260*/ uint32_t tributeActive; // 0 = off, 1=on +/*6264*/ TributeStruct tributes[MAX_TRIBUTES]; // Current tribute loadout +/*6304*/ uint32_t disciplines[MAX_DISCIPLINES]; // Known disciplines +/*6504*/ uint8_t unknown6504[440]; // *** Placeholder +/*6944*/ uint32_t endurance; // Current endurance +/*6948*/ uint32_t expGroupLeadAA; // Current group lead AA exp (0-1000) +/*6952*/ uint32_t expRaidLeadAA; // Current raid lead AA exp (0-2000) +/*6954*/ uint32_t groupLeadAAUnspent; // Unspent group lead AA points +/*6960*/ uint32_t raidLeadAAUnspent; // Unspent raid lead AA points +/*6964*/ uint32_t leadershipAAs[MAX_LEAD_AA]; // Leader AA ranks +/*7092*/ uint8_t unknown7092[132]; // *** Placeholder +/*7224*/ uint32_t airRemaining; // Air supply (seconds) +/*7228*/ uint8_t unknown7228[4608]; // *** Placeholder +/*11836*/ uint32_t aa_spent; // Number of spent AA points +/*11840*/ uint32_t expAA; // Exp earned in current AA point +/*11844*/ uint32_t aa_unspent; // Unspent AA points +/*11848*/ uint8_t unknown11848[36]; // *** Placeholder +/*11884*/ BandolierStruct bandoliers[MAX_BANDOLIERS]; // bandolier contents +/*13164*/ uint8_t unknown13164[5120]; // *** Placeholder +/*18284*/ InlineItem potionBelt[MAX_POTIONS_IN_BELT]; // potion belt +/*18572*/ uint8_t unknown18572[8]; // *** Placeholder +/*18580*/ uint32_t currentRadCrystals; // Current count of radiant crystals +/*18684*/ uint32_t careerRadCrystals; // Total count of radiant crystals ever +/*18588*/ uint32_t currentEbonCrystals;// Current count of ebon crystals +/*18592*/ uint32_t careerEbonCrystals; // Total count of ebon crystals ever +/*18596*/ uint32_t unknown18596; // *** Placeholder +}; /* 18600 */ #if 1 struct playerAAStruct { @@ -934,7 +851,7 @@ /* ** Generic Spawn Struct -** Length: 255 Octets +** Length: 383 Octets ** Used in: ** spawnZoneStruct ** dbSpawnStruct @@ -943,66 +860,123 @@ */ struct spawnStruct { -/*000*/ uint8_t NPC; // 0=player,1=npc,2=pc corpse,3=npc corpse,a +/*0000*/ uint8_t unknown0000[5]; // ***Placeholder +/*0005*/ int8_t aa_title; // 0=none, 1=general, 2=archtype, 3=class +/*0006*/ uint8_t bodytype; // Bodytype +/*0007*/ uint8_t unknown0010[4]; // ***Placeholder +/*0011*/ uint8_t NPC; // 0=player,1=npc,2=pc corpse,3=npc corpse,a +/*0012*/ float size; // Model size +/*0016*/ char title[32]; // Player's title +/*0048*/ uint32_t guildID; // Current guild +/*0052*/ uint8_t invis; // Invis (0=not, 1=invis) +/*0053*/ float walkspeed; // Speed when walking +/*0057*/ int16_t deity; // Player's Deity +/*0059*/ uint8_t unknown0059[2]; // ***Placeholder +/*0061*/ uint8_t gender; // 0=male, 1=female, 2=other +/*0062*/ uint16_t spawnId; // Spawn Id +/*0064*/ uint8_t unknown0064[6]; // ***Placeholder +/*0070*/ int8_t guildrank; // 0=normal, 1=officer, 2=leader +/*0071*/ uint8_t unknown0071[7]; // ***Placeholder +/*0078*/ signed deltaX:13; // change in x + signed y:19; // y coord +/*0082*/ signed deltaY:13; // change in y + signed z:19; // z coord +/*0086*/ signed deltaHeading:10;// change in heading + signed heading:12; // spawn heading + signed animation:10; // animation id +/*0090*/ signed x:19; // x coord + signed deltaZ:13; // change in z +/*0094*/ uint8_t unknown0094[4]; // ***Placeholder +/*0098*/ char suffix[32]; // Player's suffix (of Veeshan, etc.) +/*0130*/ uint8_t class_; // Player's class +/*0131*/ uint8_t unknown0131[6]; // ***Placeholder +/*0137*/ uint8_t light; // Spawn's lightsource +/*0138*/ float runspeed; // Speed when running +/*0142*/ uint8_t unknown0142[6]; // ***Placeholder +/*0148*/ uint8_t curHp; // Current hp +/*0149*/ uint8_t findable; // 0=can't be found, 1=can be found +/*0150*/ uint8_t unknown0149[24];// ***Placeholder +union +{ +/*0174*/ int8_t equip_chest2; // Second place in packet for chest texture (usually 0xFF in live packets) + // Not sure why there are 2 of them, but it effects chest texture! +/*0174*/ int8_t mount_color; // drogmor: 0=white, 1=black, 2=green, 3=red + // horse: 0=brown, 1=white, 2=black, 3=tan +}; +/*0175*/ uint8_t level; // Spawn Level +/*0176*/ uint8_t anon; // 0=normal, 1=anon, 2=roleplay +/*0177*/ uint8_t unknown0177[2]; // ***Placeholder +/*0179*/ union + { + struct + { + /*0179*/ uint32_t equip_helmet; // Equipment: Helmet Visual + /*0183*/ uint32_t equip_chest; // Equipment: Chest Visual + /*0187*/ uint32_t equip_arms; // Equipment: Arms Visual + /*0191*/ uint32_t equip_bracers; // Equipment: Bracers Visual + /*0195*/ uint32_t equip_hands; // Equipment: Hands Visual + /*0199*/ uint32_t equip_legs; // Equipment: Legs Visual + /*0203*/ uint32_t equip_feet; // Equipment: Feet Visual + /*0207*/ uint32_t equip_primary; // Equipment: Primary Visual + /*0211*/ uint32_t equip_secondary; // Equipment: Secondary Visual + } equip; + /*0179*/ uint32_t equipment[9]; // Array elements correspond to struct equipment above + }; +/*0215*/ union + { + struct + { + /*0007*/ Color_Struct color_helmet; // Color of helmet item + /*0011*/ Color_Struct color_chest; // Color of chest item + /*0015*/ Color_Struct color_arms; // Color of arms item + /*0019*/ Color_Struct color_bracers; // Color of bracers item + /*0023*/ Color_Struct color_hands; // Color of hands item + /*0027*/ Color_Struct color_legs; // Color of legs item + /*0031*/ Color_Struct color_feet; // Color of feet item + /*0035*/ Color_Struct color_primary; // Color of primary item + /*0039*/ Color_Struct color_secondary; // Color of secondary item + } equipment_colors; + /*0007*/ Color_Struct colors[9]; // Array elements correspond to struct equipment_colors above + }; +/*0251*/ char name[64]; // Player's Name +/*0315*/ uint32_t petOwnerId; // If this is a pet, the spawn id of owner +/*0319*/ uint8_t afk; // 0=no, 1=afk +/*0320*/ uint8_t unknown0320[2]; // ***Placeholder +/*0322*/ char lastName[32]; // Players last name +/*0354*/ uint8_t gm; // 0=no, 1=gm +/*0355*/ uint8_t unknown0354[13]; //***Placeholder +/*0368*/ uint8_t lfg; // 0=off, 1=lfg on +/*0369*/ uint8_t unknown0369[8]; //***Placeholder +/*0378*/ uint32_t race; // Spawn race +/*0382*/ uint8_t unknown0381[2]; //***Placeholder +/*0383*/ + +#if 0 // Need placed in spawn struct still... %%% /*001*/ int8_t eyecolor1; // Player left eye color /*002*/ int8_t eyecolor2; // Player right eye color -/*003*/ int8_t aa_title; // 0=none, 1=general, 2=archtype, 3=class -/*004*/ int32_t dye_rgb[7]; // armor dye colors -/*032*/ int8_t unknown001[11]; -/*043*/ uint8_t class_; -/*044*/ char unknown044[2]; // *** Placeholder -/*046*/ int8_t curHp; -/*047*/ int8_t afk; // 0=not afk, 1=afk -union { -/*048*/ int8_t equip_chest2;// Second place in packet for chest texture (usually 0xFF in live packets) -// Not sure why there are 2 of them, but it effects chest texture! -/*048*/ int8_t mount_color;// drogmor: 0=white, 1=black, 2=green, 3=red -// horse: 0=brown, 1=white, 2=black, 3=tan -}; -/*049*/ int32_t race; // race -/*053*/ char unknown053; -/*054*/ char name[64]; // name + /*118*/ uint8_t haircolor; // hair color -/*119*/ uint8_t unknown119; -/*120*/ uint8_t invis; // 0=visible,1=invisible + /*121*/ int8_t maxHp; // max hp /*122*/ uint8_t pvp; // 0=Not pvp,1=pvp -/*123*/ uint8_t level; -/*124*/ uint8_t lfg; // 0=Not lfg,1=lfg -/*125*/ uint16_t heading; // spawn heading -/*127*/ uint8_t deltaHeading; // change in heading -/*128*/ uint8_t animation; // animation id -/*129*/ signed deltaX:13; - signed x:19; -/*133*/ signed y:19; - signed deltaZ:13; -/*137*/ signed deltaY:13; - signed z:19; + /*141*/ int8_t beardcolor; /*142*/ int8_t hairstyle; /*143*/ int8_t face; -/*144*/ int8_t unknown144[6]; -/*150*/ uint8_t light; // LightSource 0a=bo and ls, 0b=gls, 0c=fbe -/*151*/ float size; // Size + /*155*/ uint8_t helm; -/*156*/ float runspeed; // -/*160*/ uint8_t gm; // 0=not GM,1=GM -/*161*/ float walkspeed; // -/*165*/ uint32_t guildID; // GuildID -/*169*/ uint8_t anon; // 0=normal,1=anon,2=roleplaying -/*170*/ uint8_t gender; // 0=male,1=female,2=other -/*171*/ uint16_t spawnId; // Id of spawn -/*173*/ char unknown173[3]; -/*176*/ char lastName[32]; // lastname -/*208*/ int32_t equipment[9]; -/*244*/ uint8_t linkdead; // 0=Not LD, 1=LD -/*245*/ uint32_t bodytype; // Bodytype -/*249*/ int8_t guild_rank; -/*250*/ int8_t unknown249[4]; -/*254*/ uint32_t petOwnerId; -/*258*/ int16_t deity; -/*260*/ uint8_t unknown260[119]; -/*375*/ +#endif +}; + +/* +** Server Zone Entry struct +** Length: 383 Octets +** OpCode: ZoneEntryCode (when direction == server) +* +* This is just a spawnStruct for the player +*/ +struct ServerZoneEntryStruct : public spawnStruct +{ }; /* @@ -1536,16 +1510,15 @@ /* ** Stamina -** Length: 12 Octets +** Length: 8 Octets ** OpCode: staminaCode */ struct staminaStruct { -/*0000*/ uint32_t food; // (low more hungry 127-0) -/*0004*/ uint32_t water; // (low more thirsty 127-0) -/*0008*/ uint32_t fatigue; // (high more fatigued 0-100) -/*0012*/ +/*0000*/ uint32_t food; // Hunger, in ticks till next eat +/*0004*/ uint32_t water; // Thirst, in ticks till next eat +/*0008*/ }; /* @@ -1859,44 +1832,50 @@ /* ** Player Position Update -** Length: 20 Octets +** Length: 22 Octets ** OpCode: PlayerPosCode */ struct playerSpawnPosStruct { /*0000*/ uint16_t spawnId; -/*0002*/ unsigned heading:12; - signed deltaHeading:10; +/*0002*/ uint8_t unknown016[4]; +/*0010*/ signed deltaX:13; + signed y:19; +/*0006*/ signed deltaY:13; + signed z:19; +/*0014*/ signed deltaHeading:10; unsigned animation:10; -/*0006*/ signed deltaX:13; - signed x:19; -/*0010*/ signed y:19; + unsigned heading:12; +/*0018*/ signed x:19; signed deltaZ:13; -/*0014*/ signed deltaY:13; - signed z:19; -/*0018*/ +/*0022*/ }; /* ** Self Position Update -** Length: 30 Octets +** Length: 36 Octets ** OpCode: PlayerPosCode */ struct playerSelfPosStruct { -/*0000*/ uint16_t spawnId; -/*0002*/ float z; -/*0006*/ float y; -/*0010*/ float deltaY; -/*0014*/ float x; -/*0018*/ float deltaX; -/*0022*/ float deltaZ; -/*0026*/ unsigned heading:12; - signed deltaHeading:10; - unsigned animation:10; -/*0030*/ +/*0000*/ uint16_t spawnId; // Player's spawn id +/*0002*/ uint8_t unknown0002[2]; // ***Placeholder (update time counter?) +/*0004*/ unsigned heading:12; // Directional heading + unsigned padding0004:4; // ***Placeholder +/*0006*/ uint8_t unknown0006[2]; // ***Placeholder +/*0008*/ float deltaY; // Change in y +/*0012*/ float x; // x coord +/*0016*/ float deltaX; // Change in x +/*0020*/ signed deltaHeading:10; // Change in heading + unsigned padding0020:6; // ***Placeholder (speed?) + unsigned padding0022:6; // ***Placeholder +/*0022*/ unsigned animation:10; // %%% wrong +/*0024*/ float z; // z coord +/*0028*/ float y; // y coord +/*0032*/ float deltaZ; // Change in z +/*0036*/ }; @@ -2056,7 +2035,7 @@ /* ** buffStruct -** Length: 28 Octets +** Length: 32 Octets ** */ @@ -2067,9 +2046,10 @@ /*0008*/ uint32_t spellid; // spellid /*0012*/ uint32_t duration; // duration /*0016*/ uint8_t unknown0012[4]; -/*0020*/ uint32_t spellslot; // spellslot -/*0024*/ uint32_t changetype; // 1=buff fading,2=buff duration -/*0028*/ +/*0020*/ uint32_t playerId; // Player id who cast the buff +/*0024*/ uint32_t spellslot; // spellslot +/*0028*/ uint32_t changetype; // 1=buff fading,2=buff duration +/*0032*/ }; /* |
From: Chad M. <cmm...@us...> - 2005-05-10 21:58:02
|
Update of /cvsroot/seq/showeq/conf In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2902/conf Modified Files: Tag: pre_5_0_beta zoneopcodes.xml Log Message: Forgot the payload for OP_AAExpUpdate. Index: zoneopcodes.xml =================================================================== RCS file: /cvsroot/seq/showeq/conf/Attic/zoneopcodes.xml,v retrieving revision 1.1.4.17 retrieving revision 1.1.4.18 diff -u -d -r1.1.4.17 -r1.1.4.18 --- zoneopcodes.xml 10 May 2005 15:46:15 -0000 1.1.4.17 +++ zoneopcodes.xml 10 May 2005 21:57:36 -0000 1.1.4.18 @@ -400,6 +400,7 @@ </opcode> <opcode id="0c78" name="OP_AAExpUpdate" updated="02/15/05"> <comment>Receiving AA experience. Also when percent to AA changes.</comment> + <payload dir="server" typename="altExpUpdateStruct" sizechecktype="match"/> </opcode> <opcode id="412a" name="OP_GetGuildMOTD" updated="02/15/05"> <comment></comment> |
From: Chad M. <cmm...@us...> - 2005-05-10 17:02:11
|
Update of /cvsroot/seq/showeq In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28617 Modified Files: Tag: pre_5_0_beta ChangeLog Log Message: Valgrind cleanup. Made experience log treat it's exp list records properly and made sure m_exp_log is initialized in the constructor always. Also changed to use QPtrList since QList is deprecated. Made spells.cpp properly call clear() which deletes the spells properly instead of calling clearSpells (which is the signal when spells are cleared). Made spawn.cpp initialize all spawn fields in all constructors. Made xmlprefernces delete the sections when it is destructed. Made spellshell not clobber spells if they are referenced twice. Index: ChangeLog =================================================================== RCS file: /cvsroot/seq/showeq/Attic/ChangeLog,v retrieving revision 1.1.2.15 retrieving revision 1.1.2.16 diff -u -d -r1.1.2.15 -r1.1.2.16 --- ChangeLog 10 May 2005 16:31:38 -0000 1.1.2.15 +++ ChangeLog 10 May 2005 17:01:31 -0000 1.1.2.16 @@ -10,6 +10,7 @@ + Added unknown world data to the unknown log + Fixed the skills window to properly show skills > 252 + Show strings in the spawnlist as utf8 properly ++ Valgrind cleanup for some uninitialized references and minor memory leaks dophaZ (04/17/05) ----------------------- |
Update of /cvsroot/seq/showeq/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28617/src Modified Files: Tag: pre_5_0_beta experiencelog.cpp experiencelog.h spawn.cpp spells.cpp spellshell.cpp xmlpreferences.cpp Log Message: Valgrind cleanup. Made experience log treat it's exp list records properly and made sure m_exp_log is initialized in the constructor always. Also changed to use QPtrList since QList is deprecated. Made spells.cpp properly call clear() which deletes the spells properly instead of calling clearSpells (which is the signal when spells are cleared). Made spawn.cpp initialize all spawn fields in all constructors. Made xmlprefernces delete the sections when it is destructed. Made spellshell not clobber spells if they are referenced twice. Index: spellshell.cpp =================================================================== RCS file: /cvsroot/seq/showeq/src/spellshell.cpp,v retrieving revision 1.11.10.6 retrieving revision 1.11.10.7 diff -u -d -r1.11.10.6 -r1.11.10.7 --- spellshell.cpp 21 Feb 2005 05:56:30 -0000 1.11.10.6 +++ spellshell.cpp 10 May 2005 17:01:34 -0000 1.11.10.7 @@ -119,7 +119,7 @@ SpellShell::~SpellShell() { - clearSpells(); + clear(); } SpellItem* SpellShell::findSpell(uint16_t spellId, Index: xmlpreferences.cpp =================================================================== RCS file: /cvsroot/seq/showeq/src/xmlpreferences.cpp,v retrieving revision 1.3.16.4 retrieving revision 1.3.16.5 diff -u -d -r1.3.16.4 -r1.3.16.5 --- xmlpreferences.cpp 21 Feb 2005 05:56:31 -0000 1.3.16.4 +++ xmlpreferences.cpp 10 May 2005 17:01:35 -0000 1.3.16.5 @@ -62,6 +62,9 @@ XMLPreferences::~XMLPreferences() { + m_userSections.clear(); + m_defaultsSections.clear(); + m_commentSections.clear(); } void XMLPreferences::load() Index: spells.cpp =================================================================== RCS file: /cvsroot/seq/showeq/src/spells.cpp,v retrieving revision 1.4.4.3 retrieving revision 1.4.4.4 diff -u -d -r1.4.4.3 -r1.4.4.4 --- spells.cpp 7 Nov 2004 23:10:25 -0000 1.4.4.3 +++ spells.cpp 10 May 2005 17:01:33 -0000 1.4.4.4 @@ -299,7 +299,11 @@ // remove from queue newSpell = spellQueue.dequeue(); - // insert into table + // insert into table. Make sure we don't clobber and lose memory + if (m_spells[newSpell->spell()] != NULL) + { + delete m_spells[newSpell->spell()]; + } m_spells[newSpell->spell()] = newSpell; } } @@ -314,7 +318,12 @@ if (m_spells) { for (int i = 0; i <= m_maxSpell; i++) - delete m_spells[i]; + { + if (m_spells[i] != NULL) + { + delete m_spells[i]; + } + } delete [] m_spells; Index: experiencelog.h =================================================================== RCS file: /cvsroot/seq/showeq/src/experiencelog.h,v retrieving revision 1.7.16.2 retrieving revision 1.7.16.3 diff -u -d -r1.7.16.2 -r1.7.16.3 --- experiencelog.h 13 Dec 2003 00:49:42 -0000 1.7.16.2 +++ experiencelog.h 10 May 2005 17:01:33 -0000 1.7.16.3 @@ -123,7 +123,7 @@ *m_experience_remaining, *m_play_time, *m_experience_rate, *m_kills_to_level, *m_time_to_level; - QList<ExperienceRecord> m_exp_list; + QPtrList<ExperienceRecord> m_exp_list; QMenuBar *m_menu_bar; QPopupMenu *m_view_menu, *m_exp_rate_menu, *m_ZEM_menu; Index: spawn.cpp =================================================================== RCS file: /cvsroot/seq/showeq/src/spawn.cpp,v retrieving revision 1.31.6.3 retrieving revision 1.31.6.4 diff -u -d -r1.31.6.3 -r1.31.6.4 --- spawn.cpp 18 Apr 2005 03:16:23 -0000 1.31.6.3 +++ spawn.cpp 10 May 2005 17:01:33 -0000 1.31.6.4 @@ -242,6 +242,7 @@ : Item(tSpawn, 0) { m_name = "fake"; + m_lastName = ""; setNPC(SPAWN_NPC_UNKNOWN); Item::setPos(0, 0, 0); @@ -279,9 +280,6 @@ // have update initialize everything update(s); - - // turn on auto delete for the track list - m_spawnTrackList.setAutoDelete(true); } Spawn::Spawn(uint16_t id, @@ -293,6 +291,7 @@ { // apply the unknown mob values m_name = "unknown"; + m_lastName = ""; setNPC(SPAWN_NPC_UNKNOWN); // set what is known @@ -311,6 +310,8 @@ setHP(0); setMaxHP(0); setLevel(0); + setGuildID(0xffff); + setGuildTag(NULL); for (int i = 0; i < tNumWearSlots; i++) setEquipment(i, 0); setTypeflag(0); @@ -319,6 +320,9 @@ // turn on auto delete for the track list m_spawnTrackList.setAutoDelete(true); + + // Finally, note when this update ocurred + updateLast(); } Spawn::Spawn(QDataStream& d, uint16_t id) Index: experiencelog.cpp =================================================================== RCS file: /cvsroot/seq/showeq/src/experiencelog.cpp,v retrieving revision 1.10.16.3 retrieving revision 1.10.16.4 diff -u -d -r1.10.16.3 -r1.10.16.4 --- experiencelog.cpp 7 Nov 2004 23:10:03 -0000 1.10.16.3 +++ experiencelog.cpp 10 May 2005 17:01:32 -0000 1.10.16.4 @@ -260,10 +260,17 @@ m_log_exp = 0; seqWarn("Error opening exp.log, no exp will be logged this session"); } + else + { + m_log_exp = 1; + } fileInfo = m_dataLocMgr->findWriteFile("logs", "newexp.log"); m_newExpLogFile = fileInfo.absFilePath(); + + // Clear the exp list on removes and deletes. + m_exp_list.setAutoDelete(true); } void ExperienceWindow::savePrefs() |
From: Chad M. <cmm...@us...> - 2005-05-10 16:32:04
|
Update of /cvsroot/seq/showeq/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21669/src Modified Files: Tag: pre_5_0_beta spawnlistcommon.cpp Log Message: Changed spawnlist from using QString.sprintf(which clobbers utf8) into using QString.arg. Higher than ascii characters should show up properly in the spawnlist now, assuming they have the spawnlist using a font that supports the characters. Index: spawnlistcommon.cpp =================================================================== RCS file: /cvsroot/seq/showeq/src/spawnlistcommon.cpp,v retrieving revision 1.6.6.4 retrieving revision 1.6.6.5 diff -u -d -r1.6.6.4 -r1.6.6.5 --- spawnlistcommon.cpp 10 May 2005 15:53:09 -0000 1.6.6.4 +++ spawnlistcommon.cpp 10 May 2005 16:31:53 -0000 1.6.6.5 @@ -229,10 +229,11 @@ if (spawn != NULL) { if (!spawn->lastName().isEmpty()) - buff.sprintf("%s (%s)", - (const char*)buff, (const char*)spawn->lastName()); + { + buff = QString("%1 (%2)").arg(buff).arg(spawn->lastName()); + } if (spawn->gm()) - buff += " *GM* "; + buff += " *GM* "; } setText(tSpawnColName, buff); |
From: Chad M. <cmm...@us...> - 2005-05-10 16:32:03
|
Update of /cvsroot/seq/showeq In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21669 Modified Files: Tag: pre_5_0_beta ChangeLog Log Message: Changed spawnlist from using QString.sprintf(which clobbers utf8) into using QString.arg. Higher than ascii characters should show up properly in the spawnlist now, assuming they have the spawnlist using a font that supports the characters. Index: ChangeLog =================================================================== RCS file: /cvsroot/seq/showeq/Attic/ChangeLog,v retrieving revision 1.1.2.14 retrieving revision 1.1.2.15 diff -u -d -r1.1.2.14 -r1.1.2.15 --- ChangeLog 10 May 2005 16:20:36 -0000 1.1.2.14 +++ ChangeLog 10 May 2005 16:31:38 -0000 1.1.2.15 @@ -9,6 +9,7 @@ + Fix problems with guilds numbered higher than 512 + Added unknown world data to the unknown log + Fixed the skills window to properly show skills > 252 ++ Show strings in the spawnlist as utf8 properly dophaZ (04/17/05) ----------------------- |
From: Chad M. <cmm...@us...> - 2005-05-10 16:20:50
|
Update of /cvsroot/seq/showeq/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18622/src Modified Files: Tag: pre_5_0_beta player.h skilllist.cpp Log Message: Changed player's skills array to be uint32_t instead of uint8_t. Removed the special 254/255 values from the skill list so skills with those values actually show up properly in the list. Index: player.h =================================================================== RCS file: /cvsroot/seq/showeq/src/player.h,v retrieving revision 1.21.6.3 retrieving revision 1.21.6.4 diff -u -d -r1.21.6.3 -r1.21.6.4 --- player.h 7 Nov 2004 23:10:25 -0000 1.21.6.3 +++ player.h 10 May 2005 16:20:38 -0000 1.21.6.4 @@ -100,7 +100,7 @@ int16_t headingDegrees() const { return m_headingDegrees; } bool validPos() const { return m_validPos; } - uint8_t getSkill(uint8_t skillId) { return m_playerSkills[skillId]; } + uint32_t getSkill(uint8_t skillId) { return m_playerSkills[skillId]; } uint8_t getLanguage(uint8_t langId) { return m_playerLanguages[langId]; } int getPlusHP() { return m_plusHP; } @@ -210,7 +210,7 @@ uint16_t m_defaultDeity; uint8_t m_defaultClass; uint8_t m_defaultLevel; - uint8_t m_playerSkills[MAX_KNOWN_SKILLS]; + uint32_t m_playerSkills[MAX_KNOWN_SKILLS]; uint8_t m_playerLanguages[MAX_KNOWN_LANGS]; uint16_t m_plusMana; Index: skilllist.cpp =================================================================== RCS file: /cvsroot/seq/showeq/src/skilllist.cpp,v retrieving revision 1.6.16.2 retrieving revision 1.6.16.3 diff -u -d -r1.6.16.2 -r1.6.16.3 --- skilllist.cpp 7 Nov 2004 23:10:25 -0000 1.6.16.2 +++ skilllist.cpp 10 May 2005 16:20:39 -0000 1.6.16.3 @@ -74,7 +74,13 @@ return; } - /* Check if this is a valid skill */ + // Purple: Skills are uint32_now, but these special values don't seem to have + // been moved up to the top bits. Somehow, the client still knows + // the difference between a skill you don't get get and a skill that + // you do get and can train and should be shown in the list. For us, + // for now all skills show up and are skill 0 whether you can learn + // them or now. +#if 0 if (value == 255) return; @@ -85,6 +91,10 @@ str = " NA"; else str.sprintf ("%3d", value); +#endif + QString str; + + str.sprintf("%3d", value); /* If the skill is not added yet, look up the correct skill namd and add it * to the list |
From: Chad M. <cmm...@us...> - 2005-05-10 16:20:49
|
Update of /cvsroot/seq/showeq In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18622 Modified Files: Tag: pre_5_0_beta ChangeLog Log Message: Changed player's skills array to be uint32_t instead of uint8_t. Removed the special 254/255 values from the skill list so skills with those values actually show up properly in the list. Index: ChangeLog =================================================================== RCS file: /cvsroot/seq/showeq/Attic/ChangeLog,v retrieving revision 1.1.2.13 retrieving revision 1.1.2.14 diff -u -d -r1.1.2.13 -r1.1.2.14 --- ChangeLog 10 May 2005 16:11:54 -0000 1.1.2.13 +++ ChangeLog 10 May 2005 16:20:36 -0000 1.1.2.14 @@ -8,6 +8,7 @@ + Made is so OP_ManaChange can be 0 size. Bards have this a lot. + Fix problems with guilds numbered higher than 512 + Added unknown world data to the unknown log ++ Fixed the skills window to properly show skills > 252 dophaZ (04/17/05) ----------------------- |
From: Chad M. <cmm...@us...> - 2005-05-10 16:12:34
|
Update of /cvsroot/seq/showeq In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16652 Modified Files: Tag: pre_5_0_beta ChangeLog Log Message: Added world server unknown packets to the Unknown Log. Index: ChangeLog =================================================================== RCS file: /cvsroot/seq/showeq/Attic/ChangeLog,v retrieving revision 1.1.2.12 retrieving revision 1.1.2.13 diff -u -d -r1.1.2.12 -r1.1.2.13 --- ChangeLog 10 May 2005 15:52:40 -0000 1.1.2.12 +++ ChangeLog 10 May 2005 16:11:54 -0000 1.1.2.13 @@ -7,6 +7,7 @@ maps properly + Made is so OP_ManaChange can be 0 size. Bards have this a lot. + Fix problems with guilds numbered higher than 512 ++ Added unknown world data to the unknown log dophaZ (04/17/05) ----------------------- |
From: Chad M. <cmm...@us...> - 2005-05-10 16:12:32
|
Update of /cvsroot/seq/showeq/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16652/src Modified Files: Tag: pre_5_0_beta interface.cpp packet.cpp packet.h Log Message: Added world server unknown packets to the Unknown Log. Index: interface.cpp =================================================================== RCS file: /cvsroot/seq/showeq/src/interface.cpp,v retrieving revision 1.67.6.14 retrieving revision 1.67.6.15 diff -u -d -r1.67.6.14 -r1.67.6.15 --- interface.cpp 10 May 2005 15:42:02 -0000 1.67.6.14 +++ interface.cpp 10 May 2005 16:11:55 -0000 1.67.6.15 @@ -1043,7 +1043,7 @@ m_id_log_AllPackets = pLogMenu->insertItem("All Packets", this, SLOT(toggle_log_AllPackets()), Key_F5); m_id_log_WorldData = pLogMenu->insertItem("World Data", this, SLOT(toggle_log_WorldData()), Key_F6); m_id_log_ZoneData = pLogMenu->insertItem("Zone Data", this, SLOT(toggle_log_ZoneData()), Key_F7); - m_id_log_UnknownData = pLogMenu->insertItem("Unknown Zone Data", this, SLOT(toggle_log_UnknownData()), Key_F8); + m_id_log_UnknownData = pLogMenu->insertItem("Unknown Data", this, SLOT(toggle_log_UnknownData()), Key_F8); m_id_view_UnknownData = pLogMenu->insertItem("View Unknown Data", this, SLOT(toggle_view_UnknownData()) , Key_F9); @@ -6041,6 +6041,8 @@ connect(m_packet, SIGNAL(decodedZonePacket(const uint8_t*, size_t, uint8_t, uint16_t, const EQPacketOPCode*, bool)), m_unknownZoneLog, SLOT(packet(const uint8_t*, size_t, uint8_t, uint16_t, const EQPacketOPCode*, bool))); + connect(m_packet, SIGNAL(decodedWorldPacket(const uint8_t*, size_t, uint8_t, uint16_t, const EQPacketOPCode*, bool)), + m_unknownZoneLog, SLOT(packet(const uint8_t*, size_t, uint8_t, uint16_t, const EQPacketOPCode*, bool))); } void EQInterface::createOPCodeMonitorLog(const QString& opCodeList) Index: packet.h =================================================================== RCS file: /cvsroot/seq/showeq/src/packet.h,v retrieving revision 1.39.6.3 retrieving revision 1.39.6.4 diff -u -d -r1.39.6.3 -r1.39.6.4 --- packet.h 7 Apr 2005 03:19:37 -0000 1.39.6.3 +++ packet.h 10 May 2005 16:12:19 -0000 1.39.6.4 @@ -130,6 +130,9 @@ uint16_t opcode); void decodedWorldPacket(const uint8_t* data, size_t len, uint8_t dir, uint16_t opcode, const EQPacketOPCode* opcodeEntry); + void decodedWorldPacket(const uint8_t* data, size_t len, uint8_t dir, + uint16_t opcode, const EQPacketOPCode* opcodeEntry, + bool unknown); void rawZonePacket(const uint8_t* data, size_t len, uint8_t dir, uint16_t opcode); void decodedZonePacket(const uint8_t* data, size_t len, uint8_t dir, Index: packet.cpp =================================================================== RCS file: /cvsroot/seq/showeq/src/packet.cpp,v retrieving revision 1.62.6.8 retrieving revision 1.62.6.9 diff -u -d -r1.62.6.8 -r1.62.6.9 --- packet.cpp 18 Apr 2005 03:16:22 -0000 1.62.6.8 +++ packet.cpp 10 May 2005 16:12:14 -0000 1.62.6.9 @@ -152,6 +152,10 @@ this, SIGNAL(decodedWorldPacket(const uint8_t*, size_t, uint8_t, uint16_t, const EQPacketOPCode*))); connect(m_client2WorldStream, + SIGNAL(decodedPacket(const uint8_t*, size_t, uint8_t, uint16_t, const EQPacketOPCode*, bool)), + this, + SIGNAL(decodedWorldPacket(const uint8_t*, size_t, uint8_t, uint16_t, const EQPacketOPCode*, bool))); + connect(m_client2WorldStream, SIGNAL(cacheSize(int, int)), this, SIGNAL(cacheSize(int, int))); @@ -181,11 +185,14 @@ this, SIGNAL(rawWorldPacket(const uint8_t*, size_t, uint8_t, uint16_t))); connect(m_world2ClientStream, - SIGNAL(decodedPacket(const uint8_t*, size_t, uint8_t, uint16_t, const EQPacketOPCode*)), this, SIGNAL(decodedWorldPacket(const uint8_t*, size_t, uint8_t, uint16_t, const EQPacketOPCode*))); connect(m_world2ClientStream, + SIGNAL(decodedPacket(const uint8_t*, size_t, uint8_t, uint16_t, const EQPacketOPCode*, bool)), + this, + SIGNAL(decodedWorldPacket(const uint8_t*, size_t, uint8_t, uint16_t, const EQPacketOPCode*, bool))); + connect(m_world2ClientStream, SIGNAL(cacheSize(int, int)), this, SIGNAL(cacheSize(int, int))); |
From: Chad M. <cmm...@us...> - 2005-05-10 15:53:38
|
Update of /cvsroot/seq/showeq In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12123 Modified Files: Tag: pre_5_0_beta ChangeLog Log Message: Guilds numbered above 512 weren't showing up in spawn list and on the map. Fixed two hardcoded 512's to be MAX_GUILDS (also changed MAXGUILDS to be MAX_GUILDS to be consistent with other MAX_ things). Index: ChangeLog =================================================================== RCS file: /cvsroot/seq/showeq/Attic/ChangeLog,v retrieving revision 1.1.2.11 retrieving revision 1.1.2.12 diff -u -d -r1.1.2.11 -r1.1.2.12 --- ChangeLog 10 May 2005 15:46:15 -0000 1.1.2.11 +++ ChangeLog 10 May 2005 15:52:40 -0000 1.1.2.12 @@ -6,6 +6,7 @@ + Fixed opcodes for alt exp and hooked altExpUpdateStruct so alt exp updating maps properly + Made is so OP_ManaChange can be 0 size. Bards have this a lot. ++ Fix problems with guilds numbered higher than 512 dophaZ (04/17/05) ----------------------- |
From: Chad M. <cmm...@us...> - 2005-05-10 15:53:26
|
Update of /cvsroot/seq/showeq/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12123/src Modified Files: Tag: pre_5_0_beta everquest.h map.cpp spawnlistcommon.cpp spawnshell.cpp Log Message: Guilds numbered above 512 weren't showing up in spawn list and on the map. Fixed two hardcoded 512's to be MAX_GUILDS (also changed MAXGUILDS to be MAX_GUILDS to be consistent with other MAX_ things). Index: spawnlistcommon.cpp =================================================================== RCS file: /cvsroot/seq/showeq/src/spawnlistcommon.cpp,v retrieving revision 1.6.6.3 retrieving revision 1.6.6.4 diff -u -d -r1.6.6.3 -r1.6.6.4 --- spawnlistcommon.cpp 7 Nov 2004 23:10:25 -0000 1.6.6.3 +++ spawnlistcommon.cpp 10 May 2005 15:53:09 -0000 1.6.6.4 @@ -263,7 +263,7 @@ { setText(tSpawnColDeity, spawn->deityName()); setText(tSpawnColBodyType, spawn->typeString()); - if (spawn->guildID() < 512) + if (spawn->guildID() < MAX_GUILDS) { if(spawn->guildTag()) setText(tSpawnColGuildID, spawn->guildTag()); Index: spawnshell.cpp =================================================================== RCS file: /cvsroot/seq/showeq/src/spawnshell.cpp,v retrieving revision 1.42.6.6 retrieving revision 1.42.6.7 diff -u -d -r1.42.6.6 -r1.42.6.7 --- spawnshell.cpp 18 Apr 2005 03:16:23 -0000 1.42.6.6 +++ spawnshell.cpp 10 May 2005 15:53:09 -0000 1.42.6.7 @@ -475,7 +475,7 @@ updateRuntimeFilterFlags(spawn); item->updateLastChanged(); - if (spawn->guildID() < MAXGUILDS) + if (spawn->guildID() < MAX_GUILDS) spawn->setGuildTag(m_guildMgr->guildIdToName(spawn->guildID())); else spawn->setGuildTag(""); @@ -494,7 +494,7 @@ updateRuntimeFilterFlags(spawn); m_spawns.insert(s.spawnId, item); - if (spawn->guildID() < MAXGUILDS) + if (spawn->guildID() < MAX_GUILDS) spawn->setGuildTag(m_guildMgr->guildIdToName(spawn->guildID())); else spawn->setGuildTag(""); Index: map.cpp =================================================================== RCS file: /cvsroot/seq/showeq/src/map.cpp,v retrieving revision 1.40.6.4 retrieving revision 1.40.6.5 diff -u -d -r1.40.6.4 -r1.40.6.5 --- map.cpp 7 Nov 2004 23:10:20 -0000 1.40.6.4 +++ map.cpp 10 May 2005 15:53:06 -0000 1.40.6.5 @@ -3862,7 +3862,7 @@ if (spawn) { QString guild; - if (spawn->guildID() < 512) + if (spawn->guildID() < MAX_GUILDS) { if (!spawn->guildTag().isEmpty()) guild.sprintf("<%s>", (const char*)spawn->guildTag()); Index: everquest.h =================================================================== RCS file: /cvsroot/seq/showeq/src/everquest.h,v retrieving revision 1.74.6.21 retrieving revision 1.74.6.22 diff -u -d -r1.74.6.21 -r1.74.6.22 --- everquest.h 18 Apr 2005 03:16:14 -0000 1.74.6.21 +++ everquest.h 10 May 2005 15:52:46 -0000 1.74.6.22 @@ -107,7 +107,7 @@ #define MAX_SPELLBOOK_SLOTS 400 #define MAX_GROUP_MEMBERS 6 #define MAX_BUFFS 25 -#define MAXGUILDS 1500 +#define MAX_GUILDS 1500 #define MAX_AA 120 #define MAX_BANDOLIERS 4 #define MAX_POTIONS_IN_BELT 4 @@ -2155,7 +2155,7 @@ struct worldGuildListStruct { /*000*/ guildListStruct dummy; -/*064*/ guildListStruct guilds[MAXGUILDS]; +/*064*/ guildListStruct guilds[MAX_GUILDS]; }; struct worldMOTDStruct |
From: Chad M. <cmm...@us...> - 2005-05-10 15:46:26
|
Update of /cvsroot/seq/showeq/conf In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10843/conf Modified Files: Tag: pre_5_0_beta zoneopcodes.xml Log Message: Allow 0-size OP_ManaChange so bards don't see size type mismatch errors all the time. This only happens Client->Server. Index: zoneopcodes.xml =================================================================== RCS file: /cvsroot/seq/showeq/conf/Attic/zoneopcodes.xml,v retrieving revision 1.1.4.16 retrieving revision 1.1.4.17 diff -u -d -r1.1.4.16 -r1.1.4.17 --- zoneopcodes.xml 10 May 2005 15:41:59 -0000 1.1.4.16 +++ zoneopcodes.xml 10 May 2005 15:46:15 -0000 1.1.4.17 @@ -621,8 +621,9 @@ <comment></comment> </opcode> <opcode id="1281" name="OP_ManaChange" implicitlen="16" updated="02/15/05"> - <comment></comment> - <payload dir="both" typename="manaDecrementStruct" sizechecktype="match"/> + <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="4ee6" name="OP_ShopPlayerBuy" updated="02/15/05"> <comment>old BuyItemCode</comment> |
From: Chad M. <cmm...@us...> - 2005-05-10 15:46:25
|
Update of /cvsroot/seq/showeq In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10843 Modified Files: Tag: pre_5_0_beta ChangeLog Log Message: Allow 0-size OP_ManaChange so bards don't see size type mismatch errors all the time. This only happens Client->Server. Index: ChangeLog =================================================================== RCS file: /cvsroot/seq/showeq/Attic/ChangeLog,v retrieving revision 1.1.2.10 retrieving revision 1.1.2.11 diff -u -d -r1.1.2.10 -r1.1.2.11 --- ChangeLog 10 May 2005 15:41:47 -0000 1.1.2.10 +++ ChangeLog 10 May 2005 15:46:15 -0000 1.1.2.11 @@ -5,6 +5,7 @@ + Added some session-related opcodes to worldopcodes.xml + Fixed opcodes for alt exp and hooked altExpUpdateStruct so alt exp updating maps properly ++ Made is so OP_ManaChange can be 0 size. Bards have this a lot. dophaZ (04/17/05) ----------------------- |
From: Chad M. <cmm...@us...> - 2005-05-10 15:42:55
|
Update of /cvsroot/seq/showeq/conf In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9826/conf Modified Files: Tag: pre_5_0_beta zoneopcodes.xml Log Message: Fixed alt exp updated to be properly process. Made the statur bar alt-exp message more useful (showing percent) also. Index: zoneopcodes.xml =================================================================== RCS file: /cvsroot/seq/showeq/conf/Attic/zoneopcodes.xml,v retrieving revision 1.1.4.15 retrieving revision 1.1.4.16 diff -u -d -r1.1.4.15 -r1.1.4.16 --- zoneopcodes.xml 7 Apr 2005 03:19:29 -0000 1.1.4.15 +++ zoneopcodes.xml 10 May 2005 15:41:59 -0000 1.1.4.16 @@ -398,8 +398,8 @@ <opcode id="6529" name="OP_SetRunMode" updated="02/15/05"> <comment>old cRunToggleCode</comment> </opcode> - <opcode id="0c78" name="OP_UpdateAA" updated="02/15/05"> - <comment></comment> + <opcode id="0c78" name="OP_AAExpUpdate" updated="02/15/05"> + <comment>Receiving AA experience. Also when percent to AA changes.</comment> </opcode> <opcode id="412a" name="OP_GetGuildMOTD" updated="02/15/05"> <comment></comment> |
From: Chad M. <cmm...@us...> - 2005-05-10 15:42:43
|
Update of /cvsroot/seq/showeq/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9826/src Modified Files: Tag: pre_5_0_beta interface.cpp player.cpp Log Message: Fixed alt exp updated to be properly process. Made the statur bar alt-exp message more useful (showing percent) also. Index: player.cpp =================================================================== RCS file: /cvsroot/seq/showeq/src/player.cpp,v retrieving revision 1.42.6.10 retrieving revision 1.42.6.11 diff -u -d -r1.42.6.10 -r1.42.6.11 --- player.cpp 7 Apr 2005 03:19:37 -0000 1.42.6.10 +++ player.cpp 10 May 2005 15:42:08 -0000 1.42.6.11 @@ -573,6 +573,10 @@ { const altExpUpdateStruct* altexp = (const altExpUpdateStruct*)data; + /* purple: I got no idea what is up here. This seems to be written like + * the packet from the server gives the entire exp bump and not + * just the proper percent. This makes it behave funny. Taking out + * the multiply by percent here. uint32_t realExp = altexp->altexp * altexp->percent * (15000000 / 33000); uint32_t expIncrement; @@ -580,6 +584,18 @@ expIncrement = realExp - m_currentAltExp; else expIncrement = 0; + */ + uint32_t realExp = altexp->altexp * (15000000 / 33000); + uint32_t expIncrement; + + if (realExp > m_currentExp) + { + expIncrement = realExp - m_currentAltExp; + } + else + { + expIncrement = 0; + } m_currentAApts = altexp->aapoints; m_currentAltExp = realExp; Index: interface.cpp =================================================================== RCS file: /cvsroot/seq/showeq/src/interface.cpp,v retrieving revision 1.67.6.13 retrieving revision 1.67.6.14 diff -u -d -r1.67.6.13 -r1.67.6.14 --- interface.cpp 7 Apr 2005 03:19:35 -0000 1.67.6.13 +++ interface.cpp 10 May 2005 15:42:02 -0000 1.67.6.14 @@ -2077,6 +2077,9 @@ m_packet->connect2("OP_ExpUpdate", SP_Zone, DIR_Server, "expUpdateStruct", SZC_Match, m_player, SLOT(updateExp(const uint8_t*))); + m_packet->connect2("OP_AAExpUpdate", SP_Zone, DIR_Server, + "altExpUpdateStruct", SZC_Match, + m_player, SLOT(updateAltExp(const uint8_t*))); m_packet->connect2("OP_LevelUpdate", SP_Zone, DIR_Server, "levelUpUpdateStruct", SZC_Match, m_player, SLOT(updateLevel(const uint8_t*))); @@ -2098,10 +2101,6 @@ m_packet->connect2("OP_SwapSpell", SP_Zone, DIR_Server, "tradeSpellBookSlotsStruct", SZC_Match, m_player, SLOT(tradeSpellBookSlots(const uint8_t*, size_t, uint8_t))); -#if 0 // ZBTEMP - connect(m_packet, SIGNAL(updateAltExp(const uint8_t*, size_t, uint8_t)), - m_player, SLOT(updateAltExp(const uint8_t*))); -#endif // interface statusbar slots connect (this, SIGNAL(newZoneName(const QString&)), @@ -4369,8 +4368,13 @@ uint32_t aapoints) { if (m_stsbarExpAA) - m_stsbarExpAA->setText(QString("ExpAA: %1 (%2/330)") - .arg(Commanate(totalExp)).arg(totalTick)); + { + char aaperc[5]; + sprintf(aaperc, "%.2f", totalExp*100.0/maxExp); + + m_stsbarExpAA->setText(QString("ExpAA: %1 (%2/330, %3%)") + .arg(Commanate(totalExp)).arg(totalTick).arg(aaperc)); + } } void EQInterface::levelChanged(uint8_t level) |
From: Chad M. <cmm...@us...> - 2005-05-10 15:42:43
|
Update of /cvsroot/seq/showeq In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9826 Modified Files: Tag: pre_5_0_beta ChangeLog Log Message: Fixed alt exp updated to be properly process. Made the statur bar alt-exp message more useful (showing percent) also. Index: ChangeLog =================================================================== RCS file: /cvsroot/seq/showeq/Attic/ChangeLog,v retrieving revision 1.1.2.9 retrieving revision 1.1.2.10 diff -u -d -r1.1.2.9 -r1.1.2.10 --- ChangeLog 10 May 2005 15:22:57 -0000 1.1.2.9 +++ ChangeLog 10 May 2005 15:41:47 -0000 1.1.2.10 @@ -3,6 +3,8 @@ purple (05/11/05) ---------------------- + Added some session-related opcodes to worldopcodes.xml ++ Fixed opcodes for alt exp and hooked altExpUpdateStruct so alt exp updating + maps properly dophaZ (04/17/05) ----------------------- |
From: Chad M. <cmm...@us...> - 2005-05-10 15:23:08
|
Update of /cvsroot/seq/showeq/conf In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4834/conf Modified Files: Tag: pre_5_0_beta worldopcodes.xml Log Message: Filled in some world opcodes to better describe world session handling. Might be useful if we want to use world server sessions to manage zone server sessions properly. Index: worldopcodes.xml =================================================================== RCS file: /cvsroot/seq/showeq/conf/Attic/worldopcodes.xml,v retrieving revision 1.1.4.8 retrieving revision 1.1.4.9 diff -u -d -r1.1.4.8 -r1.1.4.9 --- worldopcodes.xml 21 Feb 2005 05:56:12 -0000 1.1.4.8 +++ worldopcodes.xml 10 May 2005 15:22:59 -0000 1.1.4.9 @@ -54,7 +54,10 @@ <comment></comment> </opcode> <opcode id="1f7b" name="OP_SendLoginInfo" updated="02/15/05"> - <comment></comment> + <comment>Client starting world session by asking for login information</comment> + </opcode> + <opcode id="7402" name="OP_WorldComplete" updated="02/15/05"> + <comment>Client telling world server it is done. World replies by disconnecting.</comment> </opcode> <opcode id="47b6" name="OP_World_Client_CRC1" updated="02/15/05"> <comment>Contains a snippet of spell data</comment> |