|
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
kantoboy69 Advanced Cheater Reputation: 2
Joined: 31 Mar 2010 Posts: 71 Location: Manila
|
Posted: Wed May 09, 2018 9:15 am Post subject: Kingdom Come Deliverance v1.2.2 Items |
|
|
I'm having problem with freezing item quantities or changing the it quantities since items are inside a hashmap does I don't have a slight idea howto stop items being remove from the hashmap. Anyone?
_________________
Cheater always prosper Hitler |
|
Back to top |
|
|
kantoboy69 Advanced Cheater Reputation: 2
Joined: 31 Mar 2010 Posts: 71 Location: Manila
|
Posted: Fri May 11, 2018 5:01 pm Post subject: |
|
|
I finally figured out a work around.
I noticed that money is also part of items hashmap thus I came up with this AA to find address of item and modify how many items it can hold just like money. Usually item count is 1.
Code: | [ENABLE]
aobscanmodule(INJMON,WHGame.DLL,8B 47 38 48 8D 55 20 89 45 20 48 8b ce) // should be unique
alloc(newmem,$1000,"WHGame.DLL"+513D0B)
label(code)
label(return)
label(normal)
label(XitemX)
label(AitemA)
newmem:
code:
pushfq
push rax
mov rax,[rdi+20]
cmp rax,100000
jb normal
mov rax, [rax+18]
cmp rax,100000
jb normal
mov [XitemX], rax // Item Name Address
mov [AitemA], rdi // Item Count Address
normal:
pop rax
popfq
mov eax,[rdi+38]
lea rdx,[rbp+20]
jmp return
nop
nop
nop
XitemX:
dd 00 00
AitemA:
dd 00 00
INJMON:
jmp newmem
nop
nop
return:
registersymbol(INJMON)
registersymbol(XitemX)
registersymbol(AitemA)
[DISABLE]
INJMON:
db 8B 47 38 48 8D 55 20
unregistersymbol(INJMON)
unregistersymbol(XitemX)
unregistersymbol(AitemA)
dealloc(newmem)
|
Then add following pointers to address list
Item Name -> XitemX with offset 0 Text16length
Item Count -> AitemA with offset 38 4bytes
Enable AA
Find an empty chest (preferably) open it then put 1 item.
Close chest then modify the value in address
Open chest again and there it is modified number of items
[/code]
_________________
Cheater always prosper Hitler |
|
Back to top |
|
|
kantoboy69 Advanced Cheater Reputation: 2
Joined: 31 Mar 2010 Posts: 71 Location: Manila
|
Posted: Mon May 14, 2018 2:13 pm Post subject: |
|
|
No noise
Code: | [ENABLE]
aobscanmodule(INJNOISE,WHGame.DLL,F3 0F 59 8F D0 00 00 00) // should be unique
alloc(newmem,$1000,"WHGame.DLL"+F1D14A)
label(code)
label(return)
newmem:
code:
mulss xmm1,[rdi+000000D0]
xorps xmm1,xmm1
jmp return
INJNOISE:
jmp newmem
nop
nop
nop
return:
registersymbol(INJNOISE)
[DISABLE]
INJNOISE:
db F3 0F 59 8F D0 00 00 00
unregistersymbol(INJNOISE)
dealloc(newmem) |
_________________
Cheater always prosper Hitler |
|
Back to top |
|
|
kantoboy69 Advanced Cheater Reputation: 2
Joined: 31 Mar 2010 Posts: 71 Location: Manila
|
Posted: Thu May 17, 2018 11:25 pm Post subject: drop item increase |
|
|
Increase drop
Code: | [ENABLE]
aobscanmodule(INJDROPITEMADD,WHGame.DLL,8B 43 38 4C 8D 44 24 30 48 8b 0f 48 8d) // should be unique
alloc(newmem,$1000,"WHGame.DLL"+501B64)
label(code)
label(return)
label(normal)
newmem:
code:
pushfq
cmp [rbx+68], 0 // chk if DROP
jne normal
mov eax,[rbx+38]
cmp eax, 1
jne normal
mov eax, (int)50
mov [rbx+38], eax
normal:
popfq
mov eax,[rbx+38]
lea r8,[rsp+30]
jmp return
INJDROPITEMADD:
jmp newmem
nop
nop
nop
return:
registersymbol(INJDROPITEMADD)
[DISABLE]
INJDROPITEMADD:
db 8B 43 38 4C 8D 44 24 30
unregistersymbol(INJDROPITEMADD)
dealloc(newmem) |
_________________
Cheater always prosper Hitler |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|