PDA

View Full Version : New Item Struct: PoP Change



Flotsam
10-24-2002, 12:36 PM
Appears that they've changed the generic item structure by adding four octets to the end. I am not very comfortable yet with everquest.h so I am posting here hoping that some people can check my work.

I was getting both errors with the new PlayerItemCode(6441) and PlayerContainerCode(6641). I checked both types of packets, and found that the front end (as far as I could define) was unchanged - i.e. skill modification on player items and weight reduction information on player containers were where everquest.h expected them to be. The additional octets should be able to be appended to the end.

The line of code (under // Common Item Structure) should be:

/*0315*/ uint8_t unknown0315[45];

Can someone double check this please?

Flotsam
10-24-2002, 02:14 PM
Tested it and works fine. Cleans up a lot of item errors.

Spook
10-24-2002, 06:07 PM
That line has been in since ratt updated it for version 1.33, 2002/09/08 17:44:11 . I take it you changed something ? If so, please post the line change and thanks for the find :)

Flotsam
10-24-2002, 06:15 PM
Apologies if my version was out of date :( In the one I was using, it had the following line:

/*0315*/ uint8_t unknown0315[41];

So it looks as if Ratt solved the problem a month ago, and my version was a couple months out of date...

Oh well, at least I learned something along the way :)

Mr. Suspicious
10-24-2002, 06:15 PM
NT