Jump to content
Moopler
Keitaroxxxxx

Help Help me to make Pet Item Vac faster

Recommended Posts

Spoiler

[ENABLE]
alloc(GetItemXY,128)
alloc(ItemX,4)
alloc(ItemY,4)
registersymbol(ItemX)
registersymbol(ItemY)

Alloc(Hook,128)
Label(Return)
label(exit)

GetItemXY:
mov [ItemX],eax
call 00852220
mov [ItemY],eax
ret

0112E7A6:
call GetItemXY

Hook:
mov edi,ecx
push ecx
mov ecx,[033CAB24] //E8 ? ? ? ? 85 C0 74 ? 8B 0D ? ? ? ? 8D ? ? ? 00 00 ? 8D [mov below]
cmp [ecx+14],#44
pop ecx
je exit
push [ItemY]
push [ItemX]
lea ecx,[ebx+10]
call 00E5CCE0 //IWzShape2D::Move 55 8B EC 56 57 FF 75 ? 8B ? FF 75 ? 57 8B 07 FF ? ? 8B F0 [FIRST]
exit:
mov ecx,ebx
call 00CAF500 // mismo del call 00CAF500
jmp Return

01795B8D:
jmp Hook
Return:


[DISABLE]
0112E7A6: //55 8b ? ? ? 8b ? 8d ? ? e8 ? ? ? ? 8b ? ? 8b ? 89 ? e8 [below 2nd call  es segundo call
call 00852220

01795B8D: // 7E ? 85 FF 74 ? 8B ? E8 ? ? ? ? EB (call below)
call 00CAF500


dealloc(ItemHook)
dealloc(ItemX)
dealloc(ItemY)
unregistersymbol(ItemX)
unregistersymbol(ItemY)

 

This part of the script changes:

"push [ItemY]
push [ItemX]

lea ecx,[ebx+10] <====

exit:
mov ecx,ebx      <====
call 00CAF500
jmp Return
"

I don't know how to update this parte or where to find the correct address.

on this version 196.3 the pet stays besides the character and loot sloow the items on the ground slower, take a lot of time to pick up the items.

Changing the cmp [ecx+14],#44 <<<< to 0 Don't make the diference

Thanks guys.

 

Share this post


Link to post

then how i disable the pet teleport?, because aob is broken

[ENABLE]
0E58D8A1:
db EB

[DISABLE]
0E58D8A1: //74 ? FF 75 ? FF 75 ? 8D
db 74

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×