- UID
- 14553
- 帖子
- 173
- 主題
- 42
- 精華
- 0
- 積分
- 59
- 楓幣
- 49
- 威望
- 52
- 存款
- 0
- 贊助金額
- 0
- 推廣
- 0
- GP
- 5
- 閱讀權限
- 10
- 性別
- 保密
- 在線時間
- 134 小時
- 註冊時間
- 2012-9-26
- 最後登入
- 2024-9-10
|
本帖最後由 bboy77520 於 2013-2-12 00:34 編輯
// TwMs153 ICS Taxi
// Auther: kkmomo. 轉帖、更新不留原創者一輩子不舉
// Map Link By Inndy.
// 為了防止某些人在囂張,傳出去吧
[Enable]
GlobalAlloc(Quill,1024)
GlobalAlloc(State,4)
GlobalAlloc(Path,1024)
GlobalAlloc(Index,4)
Label(CheckEsp)
Label(Check)
Label(Match)
Label(Return)
Label(Return2)
Label(VK_UP)
Label(Next)
// Taxi By kkmomo. Map Link By Inndy. 轉帖、更新不留原創者一輩子不舉
Path: // MapId
DD #400020000
DD #400020100
DD #400000000
DD 0
// Taxi By kkmomo. Map Link By Inndy. 轉帖、更新不留原創者一輩子不舉
Index:
DD 0
// Taxi By kkmomo. Map Link By Inndy. 轉帖、更新不留原創者一輩子不舉
State:
DD 0
// Taxi By kkmomo. Map Link By Inndy. 轉帖、更新不留原創者一輩子不舉
Quill:
mov ecx,esi
push 009BFAD5
// Taxi By kkmomo. Map Link By Inndy. 轉帖、更新不留原創者一輩子不舉
push ebp
mov ebp,esp
sub esp,20
push ebx
push esi
push edi
mov esi,ecx
call 009E8025
mov [ebp-08],eax
lea eax,[ebp-18]
lea ecx,[esi+2948]
push eax
call 004355EE
// Taxi By kkmomo. Map Link By Inndy. 轉帖、更新不留原創者一輩子不舉
cmp [State],1
je VK_UP
// Taxi By kkmomo. Map Link By Inndy. 轉帖、更新不留原創者一輩子不舉
mov ecx,00F84830
test ecx,ecx
je Return2
mov ecx,[ecx+51F8]
mov ecx,[ecx+04]
xor eax,eax
mov edx,[Index]
// Taxi By kkmomo. Map Link By Inndy. 轉帖、更新不留原創者一輩子不舉
Check:
mov ebx,[ecx+eax*8+04]
mov ebx,[ebx+1C]
cmp ebx,[Path+edx*4]
je Match
inc eax
cmp eax,[ecx-04]
jl Check
// Taxi By kkmomo. Map Link By Inndy. 轉帖、更新不留原創者一輩子不舉
Return2:
jmp 009ACA13
// Taxi By kkmomo. Map Link By Inndy. 轉帖、更新不留原創者一輩子不舉
Match:
inc [State]
mov ebx,[ecx+eax*8+04]
mov eax,[ebx+10]
sub eax,10
mov ebx,[ebx+0C]
// Taxi By kkmomo. Map Link By Inndy. 轉帖、更新不留原創者一輩子不舉
mov ecx, [00F6C8DC]
// Taxi By kkmomo. Map Link By Inndy. 轉帖、更新不留原創者一輩子不舉
mov [ecx+6E00],ebx
mov [ecx+6E04],eax
mov [ecx+6E00],ebx
mov [ecx+6E04],eax
xor ebx,ebx
jmp 009ACA21
// Taxi By kkmomo. Map Link By Inndy. 轉帖、更新不留原創者一輩子不舉
CheckEsp:
cmp [State],2
je Return
cmp [esp+3C],009BFACE
jne Return
mov [esp+3C],Quill
Return:
jmp 009BEB4B
// Taxi By kkmomo. Map Link By Inndy. 轉帖、更新不留原創者一輩子不舉
VK_UP:
inc [State]
mov eax,[Index]
mov eax,[Path+eax*4]
test eax,eax
je Return2
dec [State]
mov ecx,[00F75BAC]
test ecx,ecx
je Return2
cmp [ecx+10D8],eax
je Next
// Taxi By kkmomo. Map Link By Inndy. 轉帖、更新不留原創者一輩子不舉
push 0
push 0
push 0
push 26
call keybd_event
push 0
push 2
push 0
push 26
call keybd_event
jmp Return2
// Taxi By kkmomo. Map Link By Inndy. 轉帖、更新不留原創者一輩子不舉
Next:
inc [Index]
dec [State]
jmp Return2
// Taxi By kkmomo. Map Link By Inndy. 轉帖、更新不留原創者一輩子不舉
00DBCD0C:
DD CheckEsp
// Taxi By kkmomo. Map Link By Inndy. 轉帖、更新不留原創者一輩子不舉
[Disable]
State:
DD 2 |
|