rhg59321 發表於 2020-7-1 14:24:22

TwMs v226.3 CRC Auto Key

// TwMs v226.3 CRC Auto Key
// 優點:不衝突遊戲按鍵
//PgUp   01490000    //1864
//PgDown 01510000    //1894
//Insert 01520000    //184c
//Delete 01530000    //187c
//Home   01470000    //1858
//End    014f0000    //1888
//Shift  00360005
//Ctrl   001D0030


Alloc(Hook,128)
Alloc(PressKey,128)
Label(Return)
Label(Exit)

Hook:
push eax
mov eax,
mov eax,
mov eax,
cmp eax,1
pop eax
jb Exit
pushad
mov edx,001D0030
call PressKey
popad
call 018459C0
jmp Return

PressKey:
mov esi,
mov ecx,
push edx
push 00
call 02BAFCA0
ret

Exit:
call 018459C0
jmp Return

0143C8A0:
jmp Hook
Return:


0143C8A0:
call 018459C0

DeAlloc(Hook)
DeAlloc(PressKey)

snoopy19991004 發表於 2020-7-26 20:48:30

這是甚麼功能

saq00125 發表於 2020-7-26 22:26:14

請問 這個可以設定說 每幾秒 按一下什麼鍵嗎?

saq00125 發表於 2020-7-28 19:01:27

那可以請教一下 延遲要加在什麼位置 加那些字嗎

saq00125 發表於 2020-7-28 19:44:44

A 180秒
這樣可以嗎~~

rhg59321 發表於 2020-7-28 20:00:54

saq00125 發表於 2020-7-28 19:44 static/image/common/back.gif
A 180秒
這樣可以嗎~~

人物沒動作的時候每180秒會正常施放已測試, 但如果有其他動作導致不能按按鍵的話, 可能就不會定時施放的

// TwMs v226.3 CRC Auto Key

Alloc(Hook,128)
Alloc(Timer,04)
Alloc(PressKey,128)
Label(Return)
Label(Exit)

Timer:
DD 0

Hook:
pushad
call GetTickCount
mov ecx,eax
sub ecx,
cmp ecx,0002BF20 // 180秒
jl Exit
mov ,eax
mov edx,001E0000 // 按鍵A
call PressKey
jmp Exit

PressKey:
mov esi,
mov ecx,
push edx
push 00
call 02BAFCA0
ret

Exit:
popad
call 018459C0
jmp Return

0143C8A0:
jmp Hook
Return:


0143C8A0:
call 018459C0

DeAlloc(Hook)
DeAlloc(Timer)
DeAlloc(PressKey)

S7799232 發表於 2020-8-3 12:53:30

z的按鍵 是多少
頁: [1]
查看完整版本: TwMs v226.3 CRC Auto Key