冰楓論壇

標題: TwMS v203.1_ICS_人物左右走+紅點斷線 [打印本頁]

作者: 夢魘君NightMare    時間: 2017-11-30 05:52
標題: TwMS v203.1_ICS_人物左右走+紅點斷線
  1. [ENABLE]
  2. Alloc(AutoLRICSEntry, 64)
  3. Label(ICSReturn)
  4. RegisterSymbol(AutoLRMain)
  5. Alloc(AutoLRMain, 128)
  6. Label(GoLeft)
  7. Label(GoRight)
  8. RegisterSymbol(AutoLRRange)
  9. Alloc(AutoLRRange, 4)
  10. Alloc(AutoLRValue, 4)

  11. AutoLRRange:
  12. DD 0 //左右走距離 16進制 A=10

  13. AutoLRICSEntry:
  14. Cmp   [Esp], 0086885C
  15. Jne   ICSReturn
  16. Mov   [Esp], AutoLRMain
  17. ICSReturn:
  18. Jmp   GetFocus

  19. AutoLRMain:

  20. //不要紅點停止請刪除以下
  21. Push Ebx
  22. mov ebx,[0308D7D0]
  23. Mov Ebx,[Ebx+2c]
  24. Cmp Ebx,         1   //紅點人數:1人(自己也要算+1)
  25. Pop Ebx
  26. Jge GetFocus
  27. //不要紅點停止請刪除以上

  28. Cmp   [AutoLRRange], 0
  29. Je    0086885C  
  30. Push  Eax
  31. Inc   [AutoLRValue]
  32. Mov   Eax, [AutoLRRange]
  33. Cmp   Eax, [AutoLRValue]
  34. Jge   GoLeft
  35. Add   Eax, [AutoLRRange]
  36. Cmp   Eax, [AutoLRValue]
  37. Jge   GoRight
  38. Mov   [AutoLRValue], 1
  39. Jmp   GoLeft

  40. GoLeft:
  41. Mov   [Ebp-14], FFFFFFFF
  42. Pop   Eax
  43. Jmp   00868EC9

  44. GoRight:
  45. Mov   [Ebp-14], 00000001
  46. Pop   Eax
  47. Jmp   00868EC9

  48. 0308F6B8:
  49. DD AutoLRICSEntry

  50. [DISABLE]
  51. 0308F6B8:
  52. DD GetFocus

  53. Dealloc(AutoLRICSEntry)
  54. UnregisterSymbol(AutoLRMain)
  55. Dealloc(AutoLRMain)
  56. UnregisterSymbol(AutoLRRange)
  57. Dealloc(AutoLRRange)
  58. Dealloc(AutoLRValue)
複製代碼

作者: wujohn    時間: 2017-12-3 21:41
這個好像沒有紅點斷線功能吧 , 應該是紅點暫停




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