麗麗 發表於 2020-8-18 11:41:43

TwMS v227.1 ICS SkillInjection

本帖最後由 麗麗 於 2020-8-18 11:44 編輯

// TwMS v227.1 ICS SkillInjection
// 技能ID自行修改,如果是十六進制,請去掉#
// 技能參數,需要自己測試了。近戰的使用#23即可,我測試了神射和箭神的。


Alloc(CheckESP,512)
Label(Skill)
Alloc(skillid,04)
Registersymbol(skillid)
Alloc(SkillInjectionICS,1024)
Label(SkillInjection)
Label(hook)
Label(hook1)
Alloc(args,04)
Registersymbol(args)

//技能ID
skillid:
dd #3111003        //箭神 火焰衝擊

//技能参数,#23(近戰),#46(遠程神射手),#45(遠程箭神)
args:
dd #45

CheckESP:
cmp ,0296D7B8
jne winmm.timeGetTime
mov ,Skill
jmp winmm.timeGetTime

Skill:
push eax
mov eax,
mov dword ptr ,eax
mov eax,
mov dword ptr ,eax
pop eax
mov dword ptr ,0
jmp 0296D7B8

//
SkillInjectionICS:
cmp ,02AB0EC8
jne KERNELBASE.GetLastError
mov ,SkillInjection
jmp KERNELBASE.GetLastError

SkillInjection:
//怪物小於1不打
push eax
mov eax,
mov eax,
mov eax,
cmp eax,1
pop eax
jl 02AB0EC8

//紅點大於2不打
push eax
mov eax,
mov eax,
cmp eax,2
pop eax
jg 02AB0EC8

test eax,eax
jne 02AB1134
mov eax,
lea esi,
push ebx
mov ecx,esi
call dword ptr
push eax
xor bl,bl
call 005F9440
add esp,04
cmp eax,
jmp hook

hook:
cmp ,00423D3E
jne hook1
mov eax,
mov ecx,edi
call dword ptr
lea edx,
cmp edx,64
jb hook1
cmp eax,000007D3
je hook1
mov eax,
mov ecx,esi
call dword ptr
push eax
call 005F9440
add esp,04
cmp eax,22
jne 02AB1133

hook1:
mov ecx,
lea eax,
push 01
push 00
push 00
push 00
push eax
push
mov ,00000000
push
call 009434B0
mov esi,eax
test esi,esi
jng 02AB1133
mov ecx,
add ecx,-17
cmp ecx,23
//ja 02AB1133
jmp 02AB1048


039DF5DC:
DD CheckESP

039DF1C4:
DD SkillInjectionICS


039DF5DC:
DD winmm.timeGetTime

039DF1C4:
DD KERNELBASE.GetLastError

DeAlloc(SkillInjectionICS)
DeAlloc(CheckESP)
DeAlloc(skillid)
DeAlloc(args)
UnRegistersymbol(skillid)
UnRegistersymbol(args)

a8585645 發表於 2020-8-18 12:30:52

GOOOD

麗麗 發表於 2020-8-18 12:54:56

本帖最後由 麗麗 於 2020-8-18 13:05 編輯

//#53 (遠程重炮指揮官)
//#45 (遠程破風使者)

w123113 發表於 2020-8-18 18:09:04

請問這個技能參數是個什麽意思?

參數設置錯誤有什麽影響嗎?

古弓的參數是什麽?

麗麗 發表於 2020-8-18 20:18:56

w123113 發表於 2020-8-18 18:09 static/image/common/back.gif
請問這個技能參數是個什麽意思?

參數設置錯誤有什麽影響嗎?


如果技能是近戰類型的,不用設置。 如果技能是遠程那種射出去箭,扔出去標的那種,不設置的情況下會使用技能,但是不會射出去箭。設置了之後就和正常按技能一樣。

麗麗 發表於 2020-8-18 20:38:54

w123113 發表於 2020-8-18 18:09 static/image/common/back.gif
請問這個技能參數是個什麽意思?

參數設置錯誤有什麽影響嗎?


還是來個動圖解釋一下。
正確設置技能參數時:


未正確設置技能參數時:



kiss_sdo 發表於 2020-8-21 21:42:40

请问技能参数在哪下断能找到别的类型。

kiss_sdo 發表於 2020-8-22 19:13:47

kiss_sdo 發表於 2020-8-21 21:42 static/image/common/back.gif
请问技能参数在哪下断能找到别的类型。

非常感谢大大。
頁: [1]
查看完整版本: TwMS v227.1 ICS SkillInjection