qaz3453556 發表於 2017-9-13 09:40:12

有人能夠分享計程車CRC的數據嗎?

如題
拜託各位了
有人能夠分享計程車CRC的數據嗎?


btb 發表於 2017-9-13 09:40:13

本帖最後由 btb 於 2017-9-13 21:32 編輯

約過15~20張圖會斷
但單獨對 瞬移、按鍵call、登記找路call 做壓力測都不會斷,不知是哪裡有bug

不一定要用在timegettime, main code可以換在會不斷執行到的地方即可


GlobalAlloc(BuildInTaxi, 256)
GlobalAlloc(status, 4)
GlobalAlloc(targetMapID, 4)
GlobalAlloc(CurrMapID, 4)
GlobalAlloc(NextMapID, 4)
GlobalAlloc(RetryClock, 4)
Label(check)
Label(findpath)
Label(set_teleport)
Label(wait_teleport)
Label(press_up_key)
Label(wait_through)
Label(retry_press)
Label(arrive)
Label(nofound)
Label(noset)
Label(normal)

status:
DD 06          // 01 : use targetMapID, 06 : use game's find

targetMapID:   //targetMapID
DD #102030400

NextMapID:
DD 0

RetryClock:
DD 0

0132F408:
DD BuildInTaxi

BuildInTaxi:
  pushad
  mov eax,
  cmp eax, 0
  je normal
  cmp eax, 6
  je check
  cmp eax, 1
  je findpath
  cmp eax, 2
  je set_teleport
  cmp eax, 3
  je wait_teleport
  cmp eax, 4
  je press_up_key
  cmp eax, 5
  je wait_through
  jmp normal

check:
  mov eax,
  test eax, eax
  je normal
  cmp , 3B9AC9FF
  je noset
  push dword ptr
  pop dword ptr
  mov , 2
  jmp normal

findpath:
  mov eax,
  test eax, eax
  je normal
  mov eax,
  cmp , eax
  je arrive

  mov , 2
  push 01
  push dword ptr
  mov edi,
  mov ecx, edi
  call 0108670A
  cmp , 0
  je nofound
  jmp normal

set_teleport:
  mov esi,
  test esi, esi
  je normal
  cmp , F423F
  je normal
  mov , 3
  mov , 1
  push
  pop
  push
  sub ,8
  pop
  jmp normal

wait_teleport:
  mov eax,
  test eax, eax
  je normal
  mov eax,
  cmp , eax
  je arrive
  mov esi,
  test esi, esi
  je normal
  cmp , 1
  je normal
  cmp , F423F
  je normal
  mov esi,
  and esi, #-2 // FFFFFFFE
  cmp esi, 6
  je normal
  mov , 4
  jmp normal

press_up_key:
  mov eax,
  test eax, eax
  je normal
  mov ecx,
  cmp ecx, 3B9AC9FF
  je normal
  mov , 1
  mov , 5
  mov , ecx
  push 01480000
  push 26
  push 100
  mov ecx,
  call 00FFF6D7
  jmp normal

wait_through:
  mov eax,
  test eax, eax
  je normal
  mov eax,
  cmp , eax
  je arrive
  inc
  cmp , 10
  jge retry_press
  cmp , eax
  jne normal
  mov , 2
  jmp normal

retry_press:
  mov , 0
  mov , 4
  jmp normal

arrive:
nofound:
noset:
  mov , 00
normal:
  popad
  jmp timeGetTime



0132F408:
DD timeGetTime
來源:https://bingfong.com/thread-152217-1-1.html
ps:給你作參考更新

乂Boyue乂 發表於 2017-9-13 12:42:28

你可以參考這篇自己去更新

https://bingfong.com/thread-152217-1-1.html

qaz3453556 發表於 2017-9-13 15:52:46

乂Boyue乂 發表於 2017-9-13 12:42 static/image/common/back.gif
你可以參考這篇自己去更新

https://bingfong.com/thread-152217-1-1.html

謝謝您的回覆,不過我的權限還不夠高xD

cyc791207 發表於 2017-9-13 21:02:58

抱歉,本帖要求閱讀權限高於 100 才能瀏覽

哭哭 ~:L

qaz3453556 發表於 2017-9-14 16:13:13

btb 發表於 2017-9-13 09:40 static/image/common/back.gif
約過15~20張圖會斷
但單獨對 瞬移、按鍵call、登記找路call 做壓力測都不會斷,不知是哪裡有bug



您附的那篇文章閱讀權限我進不去,不過還是很感謝您,我把她寫入CE時,他出現錯誤QAQ

btb 發表於 2017-9-14 16:34:22

qaz3453556 發表於 2017-9-14 16:13
您附的那篇文章閱讀權限我進不去,不過還是很感謝您,我把她寫入CE時,他出現錯誤QAQ ...
你要更新才能用吧,我貼的只是權限裡面的內文,並沒有更新
頁: [1]
查看完整版本: 有人能夠分享計程車CRC的數據嗎?