冰楓論壇

標題: TWMS v227.2 CRC Set Spawn-Point [打印本頁]

作者: sky0823    時間: 2020-8-22 13:01
標題: TWMS v227.2 CRC Set Spawn-Point
好用可自製跑圖功能,版上搜尋一下就有方法了
  1. //TWMS v227.2 CRC Set Spawn-Point


  2. [Enable]
  3. Alloc(SetSpawn,128)
  4. Label(Return)
  5. RegisterSymbol(CharX)
  6. RegisterSymbol(CharY)
  7. RegisterSymbol(MapID)
  8. Alloc(CharX,04)
  9. Alloc(CharY,04)
  10. Alloc(MapID,04)
  11. CharX:
  12. ReadMem([[[042321EC]+CC4C]+34]+58,04)
  13. CharY:
  14. ReadMem([[[042321EC]+CC4C]+34]+5C,04)
  15. MapID:
  16. ReadMem([0423219C]+187C,04)
  17. SetSpawn:
  18. CMP  [ESP],0295C1F8
  19. JNE  Return
  20. MOV  EAX,[0423219C]
  21. MOV  EAX,[EAX+187C]
  22. CMP  [MapID],EAX
  23. jne Return
  24. mov eax,[CharX]
  25. mov [esp+08],eax
  26. mov eax,[CharY]
  27. mov [esp+0C],eax
  28. Return:
  29. db 55 8B EC 6A FF
  30. JMP  00B442C5
  31. 00B442C0:
  32. JMP SetSpawn
  33. [Disable]
  34. 00B442C0:
  35. DB 55 8B EC 6A FF
  36. DeAlloc(SetSpawn)
  37. DeAlloc(MapID)
  38. DeAlloc(CharX)
  39. DeAlloc(CharY)
  40. UnRegisterSymbol(MapID)
  41. UnRegisterSymbol(CharX)
  42. UnRegisterSymbol(CharY)
複製代碼





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