Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Kingdom Come Deliverance v1.2.2 Items

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
kantoboy69
Advanced Cheater
Reputation: 2

Joined: 31 Mar 2010
Posts: 71
Location: Manila

PostPosted: Wed May 09, 2018 9:15 am    Post subject: Kingdom Come Deliverance v1.2.2 Items Reply with quote

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
View user's profile Send private message
kantoboy69
Advanced Cheater
Reputation: 2

Joined: 31 Mar 2010
Posts: 71
Location: Manila

PostPosted: Fri May 11, 2018 5:01 pm    Post subject: Reply with quote

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 Very Happy

[/code]

_________________
Cheater always prosper Hitler
Back to top
View user's profile Send private message
kantoboy69
Advanced Cheater
Reputation: 2

Joined: 31 Mar 2010
Posts: 71
Location: Manila

PostPosted: Mon May 14, 2018 2:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
kantoboy69
Advanced Cheater
Reputation: 2

Joined: 31 Mar 2010
Posts: 71
Location: Manila

PostPosted: Thu May 17, 2018 11:25 pm    Post subject: drop item increase Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites