1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. MapleStory Europe has migrated to MapleStory Global! This section is readonly now.
    Dismiss Notice

Europe Need help updating script.

Discussion in 'Discussion' started by fre024, Aug 31, 2010.

  1. fre024

    fre024 Banned Banned

    This is the original script.
    Code (Text):
    1. //Created by Cam1596
    2. [ENABLE]
    3. alloc(XYHook,150)
    4. alloc(Vac,8)
    5. label(SaveXY)
    6. label(SkipSave)
    7. label(RetXY)
    8. label(XYCode)
    9.  
    10. XYHook:
    11. cmp dword ptr [00d824ac],00
    12. je XYCode
    13. cmp dword ptr [00d828f8],00
    14. je XYCode
    15. push eax
    16. call SaveXY
    17. mov eax,[00d824ac]//A1 ? ? ? ? 3B C7 0F 84 ? ? ? ? 6A FF
    18. mov eax,[eax+189c]//8B 81 ? ? ? ? 83 65 ? 00 85 C0 56 8B 75 ? 89 06 74 06 8B 08 50 FF 51 ? 8B C6 5E C9 C2 04 00 55 8B EC 51 51
    19. cmp esi,eax
    20. pop eax
    21. je XYCode
    22. mov eax,[Vac]
    23. mov [edi-04],eax
    24. mov eax,[Vac+04]
    25. mov [edi],eax
    26. mov ebx,[ebp+14]
    27. jmp RetXY
    28.  
    29. SaveXY:
    30. mov eax,[00d828f8]//A1 ? ? ? ? 8B 80 ? ? ? ? 83 F8 09 74 29 83 F8 07 74
    31. cmp dword ptr [eax+9c4],0c//offset below base aob result
    32. jne SkipSave
    33. mov eax,[eax+978]
    34. mov edx,[eax+84]
    35. mov [Vac],edx
    36. mov edx,[eax+88]
    37. mov [Vac+04],edx
    38. SkipSave:
    39. ret
    40.  
    41. XYCode:
    42. mov [edi],eax
    43. mov ebx,[ebp+14]
    44. jmp RetXY
    45.  
    46. 00B006B0://89 07 8B 5D 14 85 DB 74 ? FF B6 ? 00 00 00 8D 46 ? 50 E8
    47. jmp XYHook
    48. RetXY:
    49.  
    50. [DISABLE]
    51. 00B006B0:
    52. db 89 07 8b 5d 14
    53. dealloc(XYHook)
    54. dealloc(Vac)

    This is what i converted it to.

    Code (Text):
    1. //Created by Cam1596
    2. [ENABLE]
    3. alloc(XYHook,150)
    4. alloc(Vac,8)
    5. label(SaveXY)
    6. label(SkipSave)
    7. label(RetXY)
    8. label(XYCode)
    9.  
    10. XYHook:
    11. cmp dword ptr [[COLOR="lime"]00ada538[/COLOR]],00
    12. je XYCode
    13. cmp dword ptr [[COLOR="lime"]00ada8dc[/COLOR]],00
    14. je XYCode
    15. push eax
    16. call SaveXY
    17. mov eax,[[COLOR="lime"]00ada538[/COLOR]]//A1 ? ? ? ? 3B C7 0F 84 ? ? ? ? 6A FF
    18. mov eax,[eax+[COLOR="lime"]1160[/COLOR]]//8B 81 ? ? ? ? 83 65 ? 00 85 C0 56 8B 75 ? 89 06 74 06
    19. 8B 08 50 FF 51 ? 8B C6 5E C9 C2 04 00 55 8B EC 51 51
    20. cmp esi,eax
    21. pop eax
    22. je XYCode
    23. [COLOR="red"]mov eax,[Vac]
    24. mov [edi-04],eax
    25. mov eax,[Vac+04]
    26. mov [edi],eax
    27. mov ebx,[ebp+14][/COLOR]
    28. jmp RetXY
    29.  
    30. SaveXY:
    31. mov eax,[[COLOR="lime"]00ada8dc[/COLOR]]//A1 ? ? ? ? 8B 80 ? ? ? ? 83 F8 09 74 29 83 F8 07 74
    32. cmp dword ptr [eax+9c4],0c//offset below base aob result
    33. jne SkipSave
    34. [COLOR="red"]mov eax,[eax+978] // found out that this mouse offset and x and y offset.
    35. mov edx,[eax+84]
    36. mov [Vac],edx
    37. mov edx,[eax+88]
    38. mov [Vac+04],edx[/COLOR]
    39. SkipSave:
    40. ret
    41.  
    42. XYCode:
    43. mov [edi],eax
    44. mov ebx,[ebp+14]
    45. jmp RetXY
    46.  
    47. [COLOR="lime"]0091A1EF[/COLOR]://89 07 8B 5D 14 85 DB 74 ? FF B6 ? 00 00 00 8D 46 ? 50 E8
    48. jmp XYHook
    49. RetXY:
    50.  
    51. [DISABLE]
    52. [COLOR="lime"]0091A1EF[/COLOR]:
    53. db 89 07 8b 5d 14
    54. dealloc(XYHook)
    55. dealloc(Vac)
    The green part i updated.
    I think i still need to update the red part, but i don't know what these pointers point to.

    If anyone could tell me what those pointers are it would help me alot.

    Thx
     

Share This Page