- UID
- 119417
- 帖子
- 11011
- 主題
- 4333
- 精華
- 0
- 積分
- 5407
- 楓幣
- 14246
- 威望
- 5309
- 存款
- 70
- 贊助金額
- 0
- 推廣
- 0
- GP
- 738
- 閱讀權限
- 150
- 性別
- 保密
- 在線時間
- 1957 小時
- 註冊時間
- 2015-10-18
- 最後登入
- 2024-12-22
|
// TwMS v238.2 SkillInjection+物理無敵+怪物跟隨+魔法傷害無敵+怪物變笨
[Enable]
Alloc(CheckESP,512)
Label(Skill)
Label(Skill1)
Alloc(skillid,04)
Registersymbol(skillid)
Alloc(SkillInjectionICS,1024)
Label(SkillInjection)
Label(hook)
Label(hook1)
Alloc(args,04)
Registersymbol(args)
Label(PhysicalGod)
Label(Mob_Follow)
Label(Mob_Follow_Hook)
Label(Hook1)
Label(Hook2)
Label(Hook3)
//技能ID
skillid:
DD #112120000 //06AED0C3 朋友發射1 "需要變成貓"
//技能参数,#23(近戰),#46(遠程神射手),#45(遠程箭神)#53 (遠程重炮指揮官)
//#45 (遠程破風使者)
args:
dd #23
CheckESP:
cmp [esp+34],02D6D204
je PhysicalGod
cmp [esp+18],02CCC142
je Skill1
cmp [esp+10],01CD08EE
je Mob_Follow
jmp timeGetTime
Skill1:
mov [esp+18],Skill
jmp timeGetTime
PhysicalGod:
mov [esp+34],02D6D22F
jmp timeGetTime
Mob_Follow:
mov [esp+10],Mob_Follow_Hook
jmp timeGetTime
Mob_Follow_Hook:
mov ecx,ebx
call 01D31B80
mov eax,[ebx+000002BC]
jmp 01CD0933
Skill:
push eax
mov eax,[skillid]
mov dword ptr [edi+000130E4],eax
mov eax,[args]
mov dword ptr [edi+000130E8],eax
pop eax
mov dword ptr [edi+000130EC],0
jmp 02CCC142
//
SkillInjectionICS:
cmp [esp+58],02E4B908
je Hook1
cmp [esp+30],01CD90E4
je Hook2
cmp [esp+10],02FA0246
je Hook3
jmp GetLastError
Hook1:
mov [esp+58],SkillInjection
jmp GetLastError
Hook2:
mov [esp+30],01CD9127
jmp GetLastError
Hook3:
mov [esp+10],02FA0377
jmp GetLastError
SkillInjection:
push eax
mov eax,[0524E300]
mov eax,[eax+14]
mov eax,[eax+00019218]
cmp eax,1
pop eax
jl 02E4B908
push eax
mov eax,[0524EFD8]
mov eax,[eax+4]
cmp eax,2
pop eax
jg 02E4B908
test eax,eax
jne 02E4BB70
mov eax,[edi+000000B8]
push ebx
lea ebx,[edi+000000B8]
mov ecx,ebx
call dword ptr [eax+38]
push eax
mov byte ptr [ebp-01],00
call 006A8030
add esp,04
cmp eax,[edi+000130E8]
jmp hook
hook:
cmp [edi+000130E4],0042721E
jne hook1
mov eax,[edi]
mov ecx,edi
call dword ptr [eax+74]
lea edx,[eax-00000960]
cmp edx,64
jb hook1
cmp eax,000007D3
je hook1
mov eax,[ebx]
mov ecx,ebx
call dword ptr [eax+3C]
push eax
call 006A8030
add esp,04
cmp eax,22
jne 02E4BB6F
hook1:
mov ecx,[04386E60]
lea eax,[ebp-08]
push 01
push 00
push 00
push 00
push eax
push [edi+000130E4]
mov [ebp-08],00000000
push [ebp-10]
call 00A116A0
mov esi,eax
test esi,esi
jng 02E4BB6F
mov ecx,[edi+000130E8]
add ecx,-17
cmp ecx,23
jmp 02E4BA7E
03AF15A8:
DD CheckESP
03AF1158:
DD SkillInjectionICS
[Disable]
03AF15A8:
DD timeGetTime
03AF1158:
DD GetLastError
DeAlloc(SkillInjectionICS)
DeAlloc(CheckESP)
DeAlloc(skillid)
DeAlloc(args)
UnRegistersymbol(skillid)
UnRegistersymbol(args) |
|