
Originally Posted by
myheart
/*+0*/ char name[30];
/*+30*/ WORD twohand;
/*+42*/ BYTE successfulblocking;
/*+43*/ BYTE Defense;
/*+46*/ BYTE walkspeed;
Thanks again @myheart you are very kind (:
- - - Updated - - -
I just discovered the Offset_64. It is the "Price". The type was right tho, it is a dword.
- - - Updated - - -
I found the other informations. There is just the offset 44 to be found but it have value 0 in all the items in the file, so I have no idea what this can be.
Above my complete struct:
Code:
struct BMD_ITEM_INFO
{
enum REQ_STAT
{
REQ_STR = 0,
REQ_AGI = 1,
REQ_ENE = 2,
REQ_VIT = 3,
REQ_CMD = 4,
REQ_LVL = 5,
REQ_STAT_LEN
};
enum REQ_CLASS
{
REQ_DW = 0,
REQ_DK = 1,
REQ_ELF = 2,
REQ_MG = 3,
REQ_DL = 4,
REQ_SUM = 5,
REQ_RF = 6,
REQ_CLASS_LEN
};
enum RESIST_ELEMENT
{
RESIST_ICE = 0,
RESIST_POISON = 1,
RESIST_LIGHT = 2,
RESIST_FIRE = 3,
RESIST_EARTH = 4,
RESIST_WIND = 5,
RESIST_WATER = 6,
RESIST_NONE = 7,
RESIST_ELEMENT_LEN
};
char Name[30]; // 0
short TwoHand; // 30
short ItemLevel; // 32
short Slot; // 34
short Skill; // 36
char Width; // 38
char Height; // 39
unsigned char DmgMin; // 40
unsigned char DmgMax; // 41
char SuccessBlocking; // 42
char Defense; // 43
char _Offset_44; // 44 - Always 0x0
char Speed; // 45
char WalkSpeed; // 46
unsigned char Durability; // 47
char MagicDur; // 48
char MagicPwr; // 49
short RequiredStats[REQ_STAT_LEN]; // 50
short MaxAmount; // 62
int Price; // 64
char Type; // 68
char RequiredClass[REQ_CLASS_LEN]; // 69
char ResistenceElements[RESIST_ELEMENT_LEN]; // 76
// 84
};