冰楓論壇

標題: 五合一ICS數據,那里更新錯了請那位大大幫忙看看 [打印本頁]

作者: lgf328    時間: 2021-10-24 08:06
標題: 五合一ICS數據,那里更新錯了請那位大大幫忙看看
// TwMs v238.2 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)
Label(Mob_Follow_Hook)
Label(MagicGodICS)
Label(StupidMobICS)

//技能ID
skillid:
DD #400021084         //06AED0C3 朋友發射1 "需要變成貓"

//技能参数,#23(近戰),#46(遠程神射手),#45(遠程箭神)#53 (遠程重炮指揮官)
//#25 (遠程破風使者)
args:
dd 25

CheckESP:
cmp [esp+34],02D6D204   
je PhysicalGod

cmp [esp+18],02CCC142  
je Skill1

cmp [esp+10],01CD08EE  
je Mob_Follow
jmp timeGetTime

cmp [esp+30],01CD90E4
jne MagicGodICS

cmp [esp+10],02FA0246
jne GetLastError

MagicGodICS:
mov [esp+30],01CD9127
jmp GetLastError

StupidMobICS:
mov [esp+10],02FA0377
jmp GetLastError


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
jne GetLastError
mov [esp+58],SkillInjection
jmp GetLastError

SkillInjection:
//怪物小於1不打
push eax
mov eax,[0524E300]
mov eax,[eax+14]
mov eax,[eax+00019218]
cmp eax,1
pop eax
jl 02e4b908   

//紅點大於2不打
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)
DeAlloc(MagicGodICS)
DeAlloc(StupidMobICS)
UnRegistersymbol(skillid)
UnRegistersymbol(args)


作者: prt    時間: 2021-10-24 17:08
你的問題是 那邊有問題
作者: prt    時間: 2021-10-24 18:47
// 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)
作者: lgf328    時間: 2021-10-24 20:13
本帖最後由 lgf328 於 2021-10-24 20:14 編輯
prt 發表於 2021-10-24 18:47
// TwMS v238.2 SkillInjection+物理無敵+怪物跟隨+魔法傷害無敵+怪物變笨

[Enable]

謝謝大大,剛才看錯了。
作者: lgf328    時間: 2021-10-24 21:39
prt 發表於 2021-10-24 18:47
// TwMS v238.2 SkillInjection+物理無敵+怪物跟隨+魔法傷害無敵+怪物變笨

[Enable]

測試有郊,但是怪物跟隨失郊。其它有效果。




歡迎光臨 冰楓論壇 (https://bingfong.com/) Powered by 冰楓