WOOHOO!! guess what I found...
Posted: Wed May 21, 2003 5:28 pm
guess what I found...
All we have to do to open inventory is to set Open to 01 hehe now on to the rest, this is fun... will work nicely with our mousto function as the locs can go straight from read to write...
Posting offsets as I find them
OK I better mention that Im using the ClientVersion=Thu May 15 02:59:xx 2003 of eqgame.exe when finding theese offsets for future reference...
Code: Select all
//5-15-2003 eqmule
typedef struct _EQWINDOWINFO {
DWORD WindowStyle; //if it is style then 04 = Window 01 = button
DWORD Unknown1;
DWORD Unknown2;
DWORD Unknown3;
DWORD Unknown4;
CHAR WindowTitle[140];
BYTE Unknown5[12];
DWORD pNextAddress; //most likely pointers to another structure...
DWORD pPrevAddress;
} EQWINDOWINFO, *PEQWINDOWINFO; //ok it goes on and there are plenty more to pick up here, but I just need the name for now...
// 5-15-2003 eqmule/Jaerin/Amadeus
typedef struct _EQWINDOW {
/*0x000*/ DWORD WindowID;
/*0x004*/ DWORD WndTime1; //how many ms the window has been open since sessionstart...
/*0x008*/ DWORD Unknown0x008; // 2000 seems a common value
/*0x00c*/ DWORD Unknown0x00c; //500 seems a common value
/*0x010*/ BYTE Flag;
/*0x011*/ BYTE MouseOver; //01 yes 00 no
/*0x012*/ BYTE Unknown0x012;
/*0x013*/ BYTE Unknown0x013;
/*0x014*/ BYTE Unknown0x014[12];
/*0x020*/ struct _EQWINDOW *pNext;
/*0x024*/ struct _EQWINDOW *pPrev;
/*0x028*/ DWORD Flags4;
/*0x02c*/ DWORD Z; //not sure but its logical to assume it at this point...
/*0x030*/ DWORD X;
/*0x034*/ DWORD Y;
/*0x038*/ DWORD Height;
/*0x03c*/ DWORD Width;
DWORD Depth; //hmm maybe...
BYTE Unknown0x040[12];
BYTE Open; //1 open 0 closed
BYTE Unknown0x051[7];
DWORD somekindofID;
DWORD *pUnknownStruct0x060;
struct _EQWINDOWINFO Info;
BYTE Unknown0x068[198];
BYTE WndButton; //01 pressed 00 not pressed
BYTE Unknown0xxxx[3];
BYTE Unknown0xxxxx[180];
DWORD WndTime2; //how many ms the window has been open since sessionstart...
}EQWINDOW, *PEQWINDOW;
Posting offsets as I find them
Code: Select all
005e0940 = Inventory Window
005e0948 = Quantity Window
005e094C = Loot corpse Window
005E0954 = Merchant Window
005E0958 = Trade Window
005E095C = Window Selecter Window
005E0964 = Bazaar Search Window
005E0968 = Give NPC Window
005E0990 = Notes Window