冰楓論壇

標題: 有人能夠分享計程車CRC的數據嗎? [打印本頁]

作者: qaz3453556    時間: 2017-9-13 09:40
標題: 有人能夠分享計程車CRC的數據嗎?
如題
拜託各位了
有人能夠分享計程車CRC的數據嗎?



作者: btb    時間: 2017-9-13 09:40
本帖最後由 btb 於 2017-9-13 21:32 編輯

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

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

[enable]
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, [status]
  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, [01841FFC]
  test eax, eax
  je normal
  cmp [eax+D8], 3B9AC9FF
  je noset
  push dword ptr [eax+D8]
  pop dword ptr [targetMapID]
  mov [status], 2
  jmp normal

findpath:
  mov eax, [0184F9A0]
  test eax, eax
  je normal
  mov eax, [eax+17C0]
  cmp [targetMapID], eax
  je arrive

  mov [status], 2
  push 01
  push dword ptr [targetMapID]
  mov edi, [01841FFC]
  mov ecx, edi
  call 0108670A
  cmp [edi+E0], 0
  je nofound
  jmp normal

set_teleport:
  mov esi, [01842008]
  test esi, esi
  je normal
  cmp [esi+B038], F423F
  je normal
  mov [status], 3
  mov [esi+B4B0], 1
  push [esi+B038]
  pop [esi+B4B8]
  push [esi+B03C]
  sub [esp],8
  pop [esi+B4BC]
  jmp normal

wait_teleport:
  mov eax, [0184F9A0]
  test eax, eax
  je normal
  mov eax, [eax+17C0]
  cmp [targetMapID], eax
  je arrive
  mov esi, [01842008]
  test esi, esi
  je normal
  cmp [esi+B4B0], 1
  je normal
  cmp [esi+B038], F423F
  je normal
  mov esi, [esi+604]
  and esi, #-2 // FFFFFFFE
  cmp esi, 6
  je normal
  mov [status], 4
  jmp normal

press_up_key:
  mov eax, [01841FFC]
  test eax, eax
  je normal
  mov ecx, [eax+DC]
  cmp ecx, 3B9AC9FF
  je normal
  mov [eax+627D], 1
  mov [status], 5
  mov [NextMapID], ecx
  push 01480000
  push 26
  push 100
  mov ecx, [0184667C]
  call 00FFF6D7
  jmp normal

wait_through:
  mov eax, [0184F9A0]
  test eax, eax
  je normal
  mov eax, [eax+17C0]
  cmp [targetMapID], eax
  je arrive
  inc [RetryClock]
  cmp [RetryClock], 10
  jge retry_press
  cmp [NextMapID], eax
  jne normal
  mov [status], 2
  jmp normal

retry_press:
  mov [RetryClock], 0
  mov [status], 4
  jmp normal

arrive:
nofound:
noset:
  mov [status], 00
normal:
  popad
  jmp timeGetTime


[disable]
0132F408:
DD timeGetTime
來源:https://bingfong.com/thread-152217-1-1.html
ps:給你作參考更新
作者: 乂Boyue乂    時間: 2017-9-13 12:42
你可以參考這篇自己去更新

https://bingfong.com/thread-152217-1-1.html
作者: qaz3453556    時間: 2017-9-13 15:52
乂Boyue乂 發表於 2017-9-13 12:42
你可以參考這篇自己去更新

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

謝謝您的回覆,不過我的權限還不夠高xD
作者: cyc791207    時間: 2017-9-13 21:02
抱歉,本帖要求閱讀權限高於 100 才能瀏覽

哭哭 ~
作者: qaz3453556    時間: 2017-9-14 16:13
btb 發表於 2017-9-13 09:40
約過15~20張圖會斷
但單獨對 瞬移、按鍵call、登記找路call 做壓力測都不會斷,不知是哪裡有bug

您附的那篇文章閱讀權限我進不去,不過還是很感謝您,我把她寫入CE時,他出現錯誤QAQ
作者: btb    時間: 2017-9-14 16:34
qaz3453556 發表於 2017-9-14 16:13 [url=forum.php?mod=redirect&goto=findpost&pid=2206427&ptid=537765][/url]
您附的那篇文章閱讀權限我進不去,不過還是很感謝您,我把她寫入CE時,他出現錯誤QAQ ...

你要更新才能用吧,我貼的只是權限裡面的內文,並沒有更新




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