冰楓論壇

標題: 招喚獸全圖打(可調範圍)TWMS100 [打印本頁]

作者: qkckcqkckcq    時間: 2012-9-26 12:24
標題: 招喚獸全圖打(可調範圍)TWMS100
  1. //招喚獸全圖打(可調範圍)TWMS100
  2. //Address:0063A1D6
  3. //EIP=IwallEXP
  4. //-----------------------------------------------
  5. [ENABLE]
  6. registersymbol(IwallEXP)
  7. alloc(IwallEXP, 2048)
  8. label(IwallEXP00)
  9. label(IwallEXP01)
  10. registersymbol(IwallTimes)
  11. alloc(IwallTimes, 4)
  12. registersymbol(x2)
  13. alloc(x2, 4)
  14. registersymbol(x1)
  15. alloc(x1, 4)
  16. registersymbol(y1)
  17. alloc(y1, 4)
  18. registersymbol(y2)
  19. alloc(y2, 4)
  20. registersymbol(Timer)
  21. alloc(Timer, 4)

  22. IwallTimes:
  23. dd 0
  24. Timer:
  25. dd c8//200ms
  26. x2:
  27. dd BB8//5000
  28. y2:
  29. dd BB8//5000

  30. IwallEXP:
  31. mov edx,[00B0B918] //
  32. mov edx,[edx+18]
  33. sub edx,[Timer] //每 200 ms 換下一張圖
  34. cmp edx,[IwallTimes]
  35. jl IwallEXP01

  36. mov edx,[00B0B918] //
  37. mov edx,[edx+18]
  38. mov [IwallTimes],edx

  39. mov edx,[x2]
  40. mov [x1],edx
  41. sub [x2],1f4

  42. mov edx,[y2]
  43. mov [y1],edx

  44. cmp [x2], FFFFFC18
  45. jge IwallEXP01

  46. mov [x2],3e8
  47. sub [y2],1f4

  48. cmp [y2], FFFFFE0C
  49. jge IwallEXP01

  50. mov [y2],1f4

  51. IwallEXP01:
  52. mov edx,[00B0B904]
  53. mov edx,[edx+0E54]
  54. add edx,[x1]
  55. cmp ecx,edx
  56. jg IwallEXP00
  57. sub edx,1f4 // 500
  58. cmp ecx,edx
  59. jl IwallEXP00

  60. mov edx,[00B0B904]
  61. mov edx,[edx+0E50]
  62. add edx,[y1]
  63. cmp eax,edx
  64. jg IwallEXP00
  65. sub edx,1f4
  66. cmp eax,edx
  67. jl IwallEXP00

  68. mov ecx,[00B0B904]
  69. mov ecx,[ecx+0E54]
  70. mov eax,[00B0B904]
  71. mov eax,[eax+0E50]
  72. mov [ebx+00000484],ecx
  73. jmp 00647A33

  74. //-----------------------------

  75. IwallEXP00:
  76. mov [ebx+00000484],ecx

  77. jmp 00647A33

  78. 00647A2D:
  79. jmp IwallEXP
  80. [DISABLE]
  81. 00647A2D:
  82. db 89 8B 84 04 00
  83. dealloc(IwallEXP)
  84. unregistersymbol(IwallEXP)
  85. unregistersymbol(IwallTimes)
  86. dealloc(IwallTimes)
  87. unregistersymbol(x1)
  88. dealloc(x1)
  89. unregistersymbol(y1)
  90. dealloc(y1)
  91. unregistersymbol(x2)
  92. dealloc(x2)
  93. unregistersymbol(y2)
  94. dealloc(y2)
  95. unregistersymbol(Timer)
  96. dealloc(Timer)
複製代碼





歡迎光臨 冰楓論壇 (https://bingfong.com/) Powered by 冰楓