demorest2 wrote: ↑Sun Oct 08, 2023 6:50 am
All values wch u edit manually = Breaks function. skills goes overcap. Setting 9999 doesnt work... Script after reset to 0 doesnt helps ...
10000 isn't a cap, is the point where the Skill reaches the full mastery but the count continues later, that it not broken, it is how it works.
gradius12 wrote: ↑Sun Oct 08, 2023 5:19 am
mean while i found the color dye address for kiritos armor its +5a from the pointer address for visualizing its a byte value
another strange happened but i fixed it on my own is the infintie sp stopped working after i reloaded a save earlier and it seems for SP the value must be 344 for me now since the standard value that you put there doesnt affect every lvl 52 from my roster everything else worked fine
Infinite Sp uses the same field as God mode to compare, so it is normla it is 344 for you saem as with God Mode.
gradius12 wrote: ↑Sun Oct 08, 2023 2:06 pm
ok i looked (i think) in what the lowest value for enemy can be and its 302
for lvl 1 enemys since i tried it and 303 causes them to go ultra instinct and you cant killthem anymore
Then the first cmp can be 302, which works for everyone and it is almost the same as the original, and the second one which leads to check the rank 344. This should also make it work with all difficulties.
My Script_cmp is 302 being at chapter 8 and level 32 with 3 medals, so I don't believe anyone can reach that value while being Rank4 or less
gradius12 wrote: ↑Sun Oct 08, 2023 3:25 pm
gradius12 wrote: ↑Sun Oct 08, 2023 2:06 pm
ok i looked (i think) in what the lowest value for enemy can be and its 302
for lvl 1 enemys since i tried it and 303 causes them to go ultra instinct and you cant killthem anymore
and highest sofar i found is 398 and thats the lvl 14 rocksplitter on hard
edit 404 lvl 15 hard mode
Those highest aren't going to bother us unless our Script_Cmp goes that high, which I hope it doesn't.
Btw, I fell asleep for over half day after the last post, so I haven't been able to check the game properly yet.
Edit: This one should be working for all difficulties in theory.
Code: Select all
[ENABLE]
aobscanmodule(GodModeAutoKill,$process,48 89 38 48 8B 5C 24 58) // should be unique
alloc(newmem,$1000,GodModeAutoKill)
label(code)
label(return)
newmem:
cmp [rax+50],(int)302
jl GodMode
cmp [rax+50],(int)344
jl CompareRank
jmp code
CompareRank:
cmp [rax+30],(int)24
jg GodMode
jmp code
AutoKill:
mov [rax],0
mov rbx,[rsp+58]
jmp return
GodMode:
mov rdi,[rax+10]
mov [rax],rdi
mov rbx,[rsp+58]
jmp return
code:
mov [rax],rdi
mov rbx,[rsp+58]
jmp return
GodModeAutoKill:
jmp newmem
nop 3
return:
registersymbol(GodModeAutoKill)
[DISABLE]
GodModeAutoKill:
db 48 89 38 48 8B 5C 24 58
unregistersymbol(*)
dealloc(*)
{
// ORIGINAL CODE - INJECTION POINT: sao_lr-Win64-Shipping.exe+1154BC2
sao_lr-Win64-Shipping.exe+1154B93: C6 44 24 30 3C - mov byte ptr [rsp+30],3C
sao_lr-Win64-Shipping.exe+1154B98: 48 8B D7 - mov rdx,rdi
sao_lr-Win64-Shipping.exe+1154B9B: C6 44 24 28 3D - mov byte ptr [rsp+28],3D
sao_lr-Win64-Shipping.exe+1154BA0: 48 8B CB - mov rcx,rbx
sao_lr-Win64-Shipping.exe+1154BA3: 48 C7 44 24 20 00 00 00 00 - mov qword ptr [rsp+20],00000000
sao_lr-Win64-Shipping.exe+1154BAC: E8 2F FF EC FF - call sao_lr-Win64-Shipping.exe+1024AE0
sao_lr-Win64-Shipping.exe+1154BB1: 48 8B 46 08 - mov rax,[rsi+08]
sao_lr-Win64-Shipping.exe+1154BB5: 48 C7 00 00 00 00 00 - mov qword ptr [rax],00000000
sao_lr-Win64-Shipping.exe+1154BBC: EB 07 - jmp sao_lr-Win64-Shipping.exe+1154BC5
sao_lr-Win64-Shipping.exe+1154BBE: 48 8B 46 08 - mov rax,[rsi+08]
// ---------- INJECTING HERE ----------
sao_lr-Win64-Shipping.exe+1154BC2: 48 89 38 - mov [rax],rdi
// ---------- DONE INJECTING ----------
sao_lr-Win64-Shipping.exe+1154BC5: 48 8B 5C 24 58 - mov rbx,[rsp+58]
sao_lr-Win64-Shipping.exe+1154BCA: 48 8B 74 24 60 - mov rsi,[rsp+60]
sao_lr-Win64-Shipping.exe+1154BCF: 48 8B 7C 24 68 - mov rdi,[rsp+68]
sao_lr-Win64-Shipping.exe+1154BD4: 48 83 C4 40 - add rsp,40
sao_lr-Win64-Shipping.exe+1154BD8: 41 5E - pop r14
sao_lr-Win64-Shipping.exe+1154BDA: C3 - ret
sao_lr-Win64-Shipping.exe+1154BDB: CC - int 3
sao_lr-Win64-Shipping.exe+1154BDC: CC - int 3
sao_lr-Win64-Shipping.exe+1154BDD: CC - int 3
sao_lr-Win64-Shipping.exe+1154BDE: CC - int 3
}