- UID
- 17135
- 帖子
- 667
- 主題
- 274
- 精華
- 0
- 積分
- 390
- 楓幣
- 6907
- 威望
- 335
- 存款
- 3034
- 贊助金額
- 0
- 推廣
- 0
- GP
- 305
- 閱讀權限
- 30
- 性別
- 男
- 在線時間
- 1092 小時
- 註冊時間
- 2012-11-11
- 最後登入
- 2024-9-30
|
- // TwMs v236.1 ICS 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)
- //技能ID
- skillid:
- dd #42001006 //
- //技能参数,#23(近戰),#46(遠程神射手),#45(遠程箭神)#53 (遠程重炮指揮官)
- //#45 (遠程破風使者)
- args:
- dd #23
- CheckESP:
- cmp [esp+34],02CDB209
- je PhysicalGod
- cmp [esp+18],02C3CA99
- je Skill1
- cmp [esp+10],01C7EFEE
- je Mob_Follow
- jmp winmm.timeGetTime
- Skill1:
- mov [esp+18],Skill
- jmp winmm.timeGetTime
- PhysicalGod:
- mov [esp+34],02CDB22F
- jmp winmm.timeGetTime
- Mob_Follow:
- mov [esp+10],Mob_Follow_Hook
- jmp winmm.timeGetTime
- Mob_Follow_Hook:
- mov ecx,ebx
- call 01CDFAE0
- mov eax,[ebx+0000029C]
- jmp 01C7F033
- Skill:
- push eax
- mov eax,[skillid]
- mov dword ptr [edi+00012368],eax
- mov eax,[args]
- mov dword ptr [edi+0001236C],eax
- pop eax
- mov dword ptr [edi+00012370],0
- jmp 02C3CA99
- //
- SkillInjectionICS:
- cmp [esp+58],02DABF28
- jne KERNELBASE.GetLastError
- mov [esp+58],SkillInjection
- jmp KERNELBASE.GetLastError
- SkillInjection:
- //怪物小於1不打
- push eax
- mov eax,[0510CC88] //0510CC88
- mov eax,[eax+14]
- mov eax,[eax+00019218]
- cmp eax,1
- pop eax
- jl 02DABF28
- //紅點大於2不打
- push eax
- mov eax,[0510D850]
- mov eax,[eax+4]
- cmp eax,2
- pop eax
- jg 02DABF28
- test eax,eax
- jne 02DAC18A
- mov eax,[edi+000000C0]
- push ebx
- lea ebx,[edi+000000C0]
- mov ecx,ebx
- call dword ptr [eax+38]
- push eax
- mov byte ptr [ebp-01],00
- call 00690310
- add esp,04
- cmp eax,[edi+0001236C]
- jmp hook
- hook:
- cmp [edi+00012368],00423D3E
- 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 00690310
- add esp,04
- cmp eax,22
- jne 02DAC189
- hook1:
- mov ecx,[04248B40]
- lea eax,[ebp-08] //
- push 01
- push 00
- push 00
- push 00
- push eax
- push [edi+00012368]
- mov [ebp-08],00000000
- push [ebp-10]
- call 009F2570
- mov esi,eax
- test esi,esi
- jng 02DAC189
- mov ecx,[edi+0001236C]
- add ecx,-17
- cmp ecx,23
- jmp 02DAC09C
- 03A275A4:
- DD CheckESP
- 03A27158:
- DD SkillInjectionICS
- [Disable]
- 03A275A4:
- DD winmm.timeGetTime
- 03A27158:
- DD KERNELBASE.GetLastError
- DeAlloc(SkillInjectionICS)
- DeAlloc(CheckESP)
- DeAlloc(skillid)
- DeAlloc(args)
- UnRegistersymbol(skillid)
- UnRegistersymbol(args)
複製代碼 |
-
總評分: 彩票 + 1
查看全部評分
|