Jump to content
Moopler
  • 0
Sign in to follow this  
shadi

Question PtInRect Patched how to to grab item coordinates now?

Question

MapleStory doesnt seem to use PtInRect to store the item x,y upon pressing the loot key anymore.

 

any other way to get item x,y i need for my kami loot

Share this post


Link to post

8 answers to this question

Recommended Posts

  • 0
23 minutes ago, NewSprux2.0? said:

They still use it

 

Try placing a breakpoint on PtInRect WinAPI on latest game version (v199) or use return address logger while your ingame. Nothing get hit or return.

  • Like 1

Share this post


Link to post
  • 0

The other way to get the loot coordinates is from the CDropPool struct.

The data is encrypted though, so you'll have to call the TSecType::GetData functions to actually read them.

  • Like 2

Share this post


Link to post
  • 0
15 hours ago, roleat said:

When I get home from university, I'll take a look at it for you.

One could wonder if the infamous Assdf is able to come up with anything that isn’t a copy-paste 😂

Share this post


Link to post
  • 0

This is so easy..

MapleStory simply coded their own PtInRect.

Found it in no time with my bypass that allows me to use CE VEH Debugger!

There you go!

It's for GMS v.199.2

and sorry i could of posted it yesterday after getting home from university but instead I went to get drunk & laid

you can achieve a safe item vac if you play around with [esp] (Return Address) btw

Spoiler

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

MsPtInRect_Hook:
cmp [esp],0117E1C1
je GetItemXY
jmp MsPtInRect

GetItemXY:
mov [ItemY],eax
mov [ItemX],ebx
jmp MsPtInRect 

MsPtInRect: 
push esi 
mov esi,ecx
mov eax,[esi+04] 
jmp 0118A880+6 

0118A880: 
jmp MsPtInRect_Hook 
db 90 

[DISABLE]
0118A880:
push esi 
mov esi,ecx 
mov eax,[esi+04] 

dealloc(MsPtInRect_Hook)
dealloc(ItemX) 
dealloc(ItemY) 
unregistersymbol(ItemX) 
unregistersymbol(ItemY)

 

 

  • Thanks 1

Share this post


Link to post
  • 0
On 06/10/2018 at 17:33, roleat said:

This is so easy..

MapleStory simply coded their own PtInRect.

Found it in no time with my bypass that allows me to use CE VEH Debugger!

There you go!

It's for GMS v.199.2

and sorry i could of posted it yesterday after getting home from university but instead I went to get drunk & laid

you can achieve a safe item vac if you play around with [esp] (Return Address) btw

  Hide contents


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

MsPtInRect_Hook:
cmp [esp],0117E1C1
je GetItemXY
jmp MsPtInRect

GetItemXY:
mov [ItemY],eax
mov [ItemX],ebx
jmp MsPtInRect 

MsPtInRect: 
push esi 
mov esi,ecx
mov eax,[esi+04] 
jmp 0118A880+6 

0118A880: 
jmp MsPtInRect_Hook 
db 90 

[DISABLE]
0118A880:
push esi 
mov esi,ecx 
mov eax,[esi+04] 

dealloc(MsPtInRect_Hook)
dealloc(ItemX) 
dealloc(ItemY) 
unregistersymbol(ItemX) 
unregistersymbol(ItemY)

 

 

Do you have AoBs? It's just returning 0,0 in 199.3. Also, it it possible to get mob x,y with this method?

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
Sign in to follow this  
×