|
From: Chad M. <cmm...@us...> - 2006-03-02 01:03:21
|
Update of /cvsroot/seq/showeq/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17309/src Modified Files: everquest.h interface.cpp spellshell.cpp Log Message: Fixed casting by mapping the new actionAltStruct to the spellshell. Found light, gm in spawnStruct. Added in some opcodes. Index: interface.cpp =================================================================== RCS file: /cvsroot/seq/showeq/src/interface.cpp,v retrieving revision 1.74 retrieving revision 1.75 diff -u -d -r1.74 -r1.75 --- interface.cpp 27 Feb 2006 23:16:47 -0000 1.74 +++ interface.cpp 2 Mar 2006 01:03:14 -0000 1.75 @@ -2055,6 +2055,9 @@ m_packet->connect2("OP_Action", SP_Zone, DIR_Server|DIR_Client, "actionStruct", SZC_Match, m_spellShell, SLOT(action(const uint8_t*, size_t, uint8_t))); + m_packet->connect2("OP_Action", SP_Zone, DIR_Server|DIR_Client, + "actionAltStruct", SZC_Match, + m_spellShell, SLOT(action(const uint8_t*, size_t, uint8_t))); m_packet->connect2("OP_SimpleMessage", SP_Zone, DIR_Server, "simpleMessageStruct", SZC_Match, m_spellShell, Index: spellshell.cpp =================================================================== RCS file: /cvsroot/seq/showeq/src/spellshell.cpp,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- spellshell.cpp 13 Sep 2005 15:23:14 -0000 1.12 +++ spellshell.cpp 2 Mar 2006 01:03:14 -0000 1.13 @@ -20,7 +20,7 @@ #include "spawn.h" #include "diagnosticmessages.h" -// #define DIAG_SPELLSHELL 1 +//#define DIAG_SPELLSHELL 1 SpellItem::SpellItem() : m_duration(0), Index: everquest.h =================================================================== RCS file: /cvsroot/seq/showeq/src/everquest.h,v retrieving revision 1.89 retrieving revision 1.90 diff -u -d -r1.89 -r1.90 --- everquest.h 27 Feb 2006 23:16:46 -0000 1.89 +++ everquest.h 2 Mar 2006 01:03:13 -0000 1.90 @@ -996,7 +996,9 @@ /*0499*/ uint8_t gender; // Gender (0=male, 1=female) /*0500*/ uint8_t showhelm; // 0=no, 1=yes /*0501*/ uint8_t helm; // Helm texture -/*0502*/ uint8_t unknown0502[135]; +/*0502*/ uint8_t unknown0502[128]; +/*0630*/ uint8_t light; // Spawn's lightsource +/*0631*/ uint8_t unknown0631[6]; /*0637*/ uint8_t eyecolor1; // Player's left eye color /*0638*/ float size; // Model size /*0642*/ uint8_t unknown0642[4]; @@ -1006,20 +1008,14 @@ /*0660*/ uint8_t hairstyle; // Hair style /*0661*/ uint32_t race; // Spawn race /*0665*/ int16_t deity; // Player's Deity -/*0667*/ uint8_t unknown0667[3]; +/*0667*/ uint8_t unknown0667[2]; +/*0669*/ uint8_t gm; // 0=no, 1=gm /*0670*/ uint8_t findable; // 0=can't be found, 1=can be found /*0671*/ uint8_t anon; // 0=normal, 1=anon, 2=roleplay /*0672*/ uint8_t unknown0672[4]; /*0676*/ char suffix[32]; // Player's suffix (of Veeshan, etc.) /*0708*/ uint8_t curHp; // Current hp - -//wrong but compile -/*0709*/ uint8_t light; // Spawn's lightsource -/*0710*/ uint8_t gm; // 0=no, 1=gm -//end wrong -// - -/*0711*/ uint8_t unknown0711[2]; +/*0709*/ uint8_t unknown0709[4]; /*0713*/ uint32_t petOwnerId; // If this is a pet, the spawn id of owner /*0717*/ uint8_t bodytype; // Bodytype /*0718*/ uint8_t unknown0718[8]; |