ningmeng 發表於 2021-10-23 19:35:29

請各位大大幫我看看這個ICS技能注入哪裡更新得有問題?

TwMS 238.2 ICS 技能注入

Alloc(CheckESP,4096)
Label(Skill)
Alloc(skillid,04)
Alloc(args,04)
Registersymbol(args)
Registersymbol(skillid)
Alloc(SkillInjectionICS,2048)
Label(SkillInjection)
Label(hook)
Label(hook1)

skillid:
DD 0

args:
dd 0

CheckESP:
cmp ,02CCC14D
jne timeGetTime
mov ,Skill
jmp timeGetTime

Skill:
push eax
mov eax,
mov dword ptr ,eax
mov eax,
mov dword ptr ,eax
pop eax
mov dword ptr ,0
jmp 02CCC14D

SkillInjectionICS:
cmp ,02E4B908
jne GetLastError
mov ,SkillInjection
jmp GetLastError


SkillInjection:
push eax
mov eax,
mov eax,
mov eax,
cmp eax,1
pop eax
jl 02E4B908

push eax
mov eax,
mov eax,
cmp eax,2
pop eax
jg 02E4B908

test eax,eax
jne 02E4BB70
mov eax,
push ebx
lea ebx,
mov ecx,ebx
call dword ptr
push eax
mov byte ptr ,00
call 0068FF60
add esp,04
cmp eax,
jmp hook

hook:
cmp ,0042721E
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,ebx
call dword ptr
push eax
call 006A8030
add esp,04
cmp eax,22
jne 02E4BB6F

hook1:
mov ecx,
lea eax,
push 01
push 00
push 00
push 00
push eax
push
mov ,00000000
push
call 00A116A0
mov esi,eax
test esi,esi
jng 02E4BB6F
mov ecx,
add ecx,-17
cmp ecx,23

jmp 02E4BB70

03AF15A8:
DD CheckESP

03AF1158:
DD SkillInjectionICS


03AF15A8:
DD timeGetTime

03AF1158:
DD GetLastError

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

請各位大大幫我看看這個ICS技能注入的數據是哪裡更新錯了,我把地址和偏移這些全部都注意到了,我感覺像是沒更新錯,但是沒有效果(不放技能,但是遊戲不閃退),勞煩幫我看看問題所在,我陷入死胡同了


btb 發表於 2021-10-23 19:53:56

本帖最後由 btb 於 2021-10-23 19:59 編輯

TwMs 238.2 ICS 技能注入

Alloc(CheckESP,4096)
Label(Skill)
Alloc(skillid,04)
Alloc(args,04)
Registersymbol(args)
Registersymbol(skillid)
Alloc(SkillInjectionICS,2048)
Label(SkillInjection)
Label(hook)
Label(hook1)

skillid:
DD 0

args:
dd 0

CheckESP:
cmp ,02CCC14D//02CCC142
jne timeGetTime
mov ,Skill
jmp timeGetTime

Skill:
push eax
mov eax,
mov dword ptr ,eax
mov eax,
mov dword ptr ,eax
pop eax
mov dword ptr ,0
jmp 02CCC14D//02CCC142

SkillInjectionICS:
cmp ,02E4B908
jne GetLastError
mov ,SkillInjection
jmp GetLastError


SkillInjection:
push eax
mov eax,
mov eax,
mov eax,
cmp eax,1
pop eax
jl 02E4B908

push eax
mov eax,
mov eax,
cmp eax,2
pop eax
jg 02E4B908

test eax,eax
jne 02E4BB70
mov eax,
push ebx
lea ebx,
mov ecx,ebx
call dword ptr
push eax
mov byte ptr ,00
call 0068FF60//call 006A8030
add esp,04
cmp eax,
jmp hook

hook:
cmp ,0042721E
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,ebx
call dword ptr
push eax
call 006A8030
add esp,04
cmp eax,22
jne 02E4BB6F

hook1:
mov ecx,
lea eax,
push 01
push 00
push 00
push 00
push eax
push
mov ,00000000
push
call 00A116A0
mov esi,eax
test esi,esi
jng 02E4BB6F
mov ecx,
add ecx,-17
cmp ecx,23

jmp 02E4BB70//jmp 02E4BA7E

03AF15A8:
DD CheckESP

03AF1158:
DD SkillInjectionICS


03AF15A8:
DD timeGetTime

03AF1158:
DD GetLastError

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

紅色部分是更錯的部分,//後面是正確部分,如果還不行就是ESP堆疊錯誤

lgf328 發表於 2021-10-23 21:12:19

本帖最後由 lgf328 於 2021-10-23 21:14 編輯

:L我也更新了一天,除了cmp ,02CCC14D//02CCC142   我也是在 這個位置更新錯

btb 發表於 2021-10-23 21:16:49

本帖最後由 btb 於 2021-10-23 21:19 編輯

lgf328 發表於 2021-10-23 21:12 static/image/common/back.gif
我也更新了一天,除了cmp ,02CCC14D//02CCC142   我也是在 這個位置更新錯237.1:
02C1656E - mov ecx,
02C16574 - call 011C6790
02C16579 - mov ecx,
02C1657F - call 011C6920
02C16584 - mov ecx,edi

238.2:
02CCC137 - mov ecx,
02CCC13D - call 0120C910
02CCC142 - mov ecx,
02CCC148 - call 0120CAA0
02CCC14D - mov ecx,

之前長這樣:
mov ecx,
call xxxxx
mov ecx,
call xxxxx
mov ecx,edi

現在長這樣:
mov ecx,
call xxxx
mov ecx,
call xxxx
mov ecx,
他們只是把mov ecx,edi取代成mov ecx,
自己要會變通

lgf328 發表於 2021-10-23 21:18:24

:):)感謝大大。受教

lgf328 發表於 2021-10-23 21:21:58

btb 發表於 2021-10-23 21:16 static/image/common/back.gif
237.1:
02C1656E - mov ecx,
02C16574 - call 011C6790

剛才看了一下代碼,覺的不是取代,之前是
mov ecx,
call xxxxx
mov ecx,
call xxxxx
mov ecx,edi
現在是這樣
mov ecx,
call xxxx
mov ecx,
call xxxx
mov ecx,
call xxxx
mov ecx,edi

是加多了一個,不知道我理解是否這樣

btb 發表於 2021-10-23 21:28:09

本帖最後由 btb 於 2021-10-23 21:30 編輯

lgf328 發表於 2021-10-23 21:21 static/image/common/back.gif
剛才看了一下代碼,覺的不是取代,之前是
mov ecx,
call xxxxx

02CCC148 - call 0120CAA0
02CCC14D - mov ecx,
////////////////////////////////////////////
02CCC153 - call 0120DBA0
02CCC158 - mov ecx,edi
上面跟下面寫的東西是相同的
我也不知道為啥橘子工程師要多此一舉
可能是為了不讓你aob更新成功而做的變動
就看你腦筋轉不轉得過來

lgf328 發表於 2021-10-23 21:33:11

能不能把怪物變笨合并在這個技能注入里面,要不二個同時開,會有沖突。

ningmeng 發表於 2021-10-23 21:39:22

lgf328 發表於 2021-10-23 21:33 static/image/common/back.gif
能不能把怪物變笨合并在這個技能注入里面,要不二個同時開,會有沖突。

一直都是這樣做的,物理無敵+魔法無敵+笨怪+怪物跟隨+技能注入,5合1
頁: [1]
查看完整版本: 請各位大大幫我看看這個ICS技能注入哪裡更新得有問題?