Quote:
Quote:
Originally Posted by PhilMeBeer View Post
GA(PWI=0xAD60C4)+30+C68+C+[I*4] ----- I=1-(GA+30+C68+10)
+8 = Item Id
+10 = Item Count
+40+0 = Description only shows after has been mouse overed .... find source from id instead < sry havent found yet
name from id is dependant on the type of item and is generally stored in hash lists (or for some items also somewhere in the item structure). It's easiest to inject a function that updates description as if you hovered over it with mouse.
For example:
itemAddress[i] = [[[player + 0xC68] + 0xC] + i * 4]
funcAddress[i] = [[itemAddress[i] + 0] + 0x34]
pushad
mov ECX, itemAddress[i]
mov EAX, funcAddress[i]
call EAX
popad
then itemdesc[i]= [[[itemAddress[i] + 0x40] + 0]
|
Hi, try to use this asm code. But nothing comes out.
I use last offsets for 1.5.1
....
for (int i=0;i<InvCount;i++)
{
......
DWORD func = Read(Inv+0x0);
func = Read(func+0x34); //this true?
asm
{
pushad
mov ECX, Inv
mov EAX, func
call EAX
popad
}
.....
}
can be offsets functions changed?