PDA

View Full Version : New ServerZoneEntryStruct



DebianSEQ
10-23-2002, 11:10 PM
Looks like they just tacked on 4 more octets to the end of the packet. What i paste here is what I've modified. If I'm wrong, please correct me. You will need to fully recompile your showeq (compiling just the .cpp's that reference everquest.h doesn't seem to work)

in everquest.h :


struct ServerZoneEntryStruct
{
/*0000*/ uint8_t opCode; // 0x29
/*0001*/ uint8_t version; // 0x20
/*0002*/ uint32_t checksum; // some kind of checksum
/*0006*/ uint8_t unknown0006; // unknown
/*0007*/ char name[64]; // Player first name
/*0071*/ uint8_t unknown0037[3]; // unknown
/*0074*/ uint32_t zoneId; // zone number
/*0078*/ float x;
/*0082*/ float y;
/*0086*/ float z;
/*0090*/ float heading;
/*0094*/ uint8_t unknown0098[72];
/*0166*/ uint16_t guildId;
/*0168*/ uint8_t unknown0169[7];
/*0175*/ uint8_t class_; // Player's Class
/*0176*/ uint16_t race; // Player's Race
/*0178*/ uint8_t unknown0177; // ***Placeholder
/*0179*/ uint8_t level; // Player's Level
/*0180*/ uint8_t unknown0180[160]; // ***Placeholder
/*0340*/ uint16_t deity; // Player's Deity
/*0342*/ uint8_t unknown0310[16]; // ***Placeholder
};

DebianSEQ
10-24-2002, 01:09 AM
bump

se7en
10-24-2002, 01:31 AM
When I added all these, and compiled, i got no errors... but I just touched packet.cpp, decode.cpp, and everquest.h and ran a make && make install... Is that sufficient or should I run a make clean && make -f Makefile.dist?

At any rate, i got no errors, i just cant get my grey dots to show up for unknown spawns :P

DebianSEQ
10-24-2002, 01:34 AM
recompile for these to work.

And you need to right click the map and show --> unknown spawns

CyberT
10-24-2002, 01:36 AM
Unknown spaws have have been showing all along. I make all the corrections listed here and in the other posts and recompiled the entire thing and get what looks o be the same results. I think I am starting to understand how thigs are working now though. Hope to get my findings in here soon.

CyberT

fester
10-24-2002, 04:42 PM
/*0180*/ uint8_t unknown0180[126]; // ***Placeholder
/*0306*/ char lastName[34]; // Player last name size not right
/*0340*/ uint16_t deity; // Player's Deity
/*0342*/ uint8_t unknown0342[16]; // ***Placeholder

Your last name is in that 160 byte unknown0180 chunk.

Fester

Spook
10-24-2002, 06:16 PM
Just a FYI if anyone is going nuts verifying changes, this is one that is now in the CVS.