- UID
- 287787
- 帖子
- 220
- 主題
- 94
- 精華
- 0
- 積分
- 381
- 楓幣
- 3072
- 威望
- 354
- 存款
- 0
- 贊助金額
- 0
- 推廣
- 6
- GP
- 101
- 閱讀權限
- 30
- 在線時間
- 547 小時
- 註冊時間
- 2020-8-5
- 最後登入
- 2024-11-24
|
本帖最後由 麗麗 於 2020-8-18 11:44 編輯
- // TwMs v227.1 ICS SkillInjection
- // 技能ID自行修改,如果是十六進制,請去掉#
- // 技能參數,需要自己測試了。近戰的使用#23即可,我測試了神射和箭神的。
- [Enable]
- 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 [esp+18],0296D7B8
- jne winmm.timeGetTime
- mov [esp+18],Skill
- jmp winmm.timeGetTime
- Skill:
- push eax
- mov eax,[skillid]
- mov dword ptr [edi+00017224],eax
- mov eax,[args]
- mov dword ptr [edi+00017228],eax
- pop eax
- mov dword ptr [edi+0001722C],0
- jmp 0296D7B8
- //
- SkillInjectionICS:
- cmp [esp+58],02AB0EC8
- jne KERNELBASE.GetLastError
- mov [esp+58],SkillInjection
- jmp KERNELBASE.GetLastError
- SkillInjection:
- //怪物小於1不打
- push eax
- mov eax,[044DA3D8]
- mov eax,[eax+14]
- mov eax,[eax+00019218]
- cmp eax,1
- pop eax
- jl 02AB0EC8
- //紅點大於2不打
- push eax
- mov eax,[044DABDC]
- mov eax,[eax+4]
- cmp eax,2
- pop eax
- jg 02AB0EC8
- test eax,eax
- jne 02AB1134
- mov eax,[edi+00000140]
- lea esi,[edi+00000140]
- push ebx
- mov ecx,esi
- call dword ptr [eax+38]
- push eax
- xor bl,bl
- call 005F9440
- add esp,04
- cmp eax,[edi+00017228]
- jmp hook
- hook:
- cmp [edi+00017224],00423D3E
- jne hook1
- mov eax,[edi]
- mov ecx,edi
- call dword ptr [eax+70]
- lea edx,[eax-00000960]
- cmp edx,64
- jb hook1
- cmp eax,000007D3
- je hook1
- mov eax,[esi]
- mov ecx,esi
- call dword ptr [eax+3C]
- push eax
- call 005F9440
- add esp,04
- cmp eax,22
- jne 02AB1133
- hook1:
- mov ecx,[04230F20]
- lea eax,[ebp-04]
- push 01
- push 00
- push 00
- push 00
- push eax
- push [edi+00017224]
- mov [ebp-04],00000000
- push [ebp-0C]
- call 009434B0
- mov esi,eax
- test esi,esi
- jng 02AB1133
- mov ecx,[edi+00017228]
- add ecx,-17
- cmp ecx,23
- //ja 02AB1133
- jmp 02AB1048
- 039DF5DC:
- DD CheckESP
- 039DF1C4:
- DD SkillInjectionICS
- [Disable]
- 039DF5DC:
- DD winmm.timeGetTime
- 039DF1C4:
- DD KERNELBASE.GetLastError
- DeAlloc(SkillInjectionICS)
- DeAlloc(CheckESP)
- DeAlloc(skillid)
- DeAlloc(args)
- UnRegistersymbol(skillid)
- UnRegistersymbol(args)
複製代碼 |
-
總評分: 彩票 + 1
查看全部評分
|