Quote:
Originally Posted by AHTOLLlKA
dumbfck, how u find this offsets? can u give some manual pls
|
I won't go into great detail because:
A) Most of the GUI stuff has been covered in a few of my other threads
B) There's some instruction on finding these offsets in this very thread (albeit some background info is required for those)
C) They're a bastard to find from scratch
D) It's late and I'm drunk :P
However,
I think I've documented elsewhere on these forums that the main GUI/Dialogue object list (i.e., windows) is located at:
[[[[[baseCall]+0x1C]+0x18]+0x08]+0xC4]
So, that will give you an ordered list of all available dialogues. This is a bit better than my old method which uses an unordered list of windows located at GuiBase1 as documented in my

thread.
I've also documentred somewhere on here that there are two incredibly useful offsets for GUI related stuff at:
[[[[[baseCall]+0x1C]+0x18]+0x8]+0x244]
and
[[[[[baseCall]+0x1C]+0x18]+0x8]+0x248]
Load these up in CE and when you hover over a dialogue object (window) in game, they will show you the window you're hovering over (the 0x244 one) and the inner object of that window that you're hovering over (the 0x248 one).
These offsets have not changed in as many updates as I can remember!
So, armed with this information, load up those two offset lists in CE, go to an auction house and open the auction window.
Hover your mouse somewhere in the auction listings window and look at the value shown in CE for the 0x244 offset (the hoverOuterObject, or window offset)
Make a note of this address!
At this point, when I'm just adjusting an offset chain I've already found before, I like to use

.
The screenshot shows stuff in memory at:
[[[[[baseCall]+0x1C]+0x18]+0x08]+0xC4]
As you can see, it's an uninterrupted list. It's a list of window base addresses.
I know from my

, that the gold listings were at:
[[[[[[[[baseCall]+0x1C]+0x18]+0x8]+0x3C0]+0x208]+0x168] + i*0x800] + 0x0]
So I know the rough area to start looking.
Now when we look in ReClass, we just scroll down a bit from 0x3C0 until we find the offset for the gold listings window which we made a note of a minute ago.
It's now at 0x40C
So, the new method has an extra offset in the middle of the chain (0xC4) so our new offset chain for the AH gold listing window is at:
[[[[[baseCall]+0x1C]+0x18]+0x8]+0xC4]+0x40C]
Fortunately, after that, the rest of the chain is the same as before!
So, we now have:
[[[[[[[[baseCall]+0x1C]+0x18]+0x8]+0xC4]+0x40C]+0x208]+0x168] + i*0x800] + 0x0]
Which is the address for the tab-delimited text description of each line in the AH gold listings.
We can now apply the same methodology to find all the other AH stuff.
Item AH page, tab delimited string for each item:
[[[[[[[[baseCall]+0x1C]+0x18]+0x8]+0xC4]+0x3D8]+0x208]+0x168] + i*0x800] + 0x0]
Item AH page, item IDs:
[[[[[[[[baseCall]+0x1C]+0x18]+0x8]+0xC4]+0x3D8]+0x208]+0x168] + i*0x800 + 0xB0]
Gold listings page, Sell list, tab delimited string for each item:
[[[[[[[[baseCall]+0x1C]+0x18]+0x8]+0xC4]+0x40C]+0x208]+0x168] + i*0x800] + 0x0]
Gold listings page, Buy list, tab delimited string for each item:
[[[[[[[[baseCall]+0x1C]+0x18]+0x8]+0xC4]+0x40C]+0x20C]+0x168] + i*0x800] + 0x0]
So much for not going into detail lol :P