
Cheers!
Make a mini cheat table pleasecoward wrote: ↑Tue Aug 01, 2023 2:20 pmHi, im very new to cheatengine, but the workaround of changing the bet amount for BEI worked for me in cobra s shop. I went to sell 1 wood, scanned 4Bytes for 3, increased to 2 wood and scanned for 6, so on. Once i got a single value i changed it to XXX and froze it, then sold the items. Boom 1 Millie, in 1.0.0.990
Cheers!
Sadly thats beyond my abilities with CE. Pointers and such still escape my grasp, moreover I think it would require a script since you need to be in the sell UI... But the instructions i first posted should help to do the trick, or for someone more skilled to make a table or whatever would be required.
babycute1093 wrote: ↑Wed Jul 05, 2023 7:39 amFor anyone who wants the maximum gold or money![]()
1. Go to Boat
2. Speak to Cobra, select Shops --> Sell
3. Choose any item that you want to sell, e.g. Silver Bowl (50 Gold)
4. Open Cheat Engine, enter the first search for price of item sold (50 Gold)
5. Back to the game, change the Number Sold, you will see total price of item sold change (e.g. 100 Gold)
6. Back to Cheat Engine, enter the changed price for the next scan (100 Gold)
7. Repeat step 5, 6 until you see the list of address reduce to 1
8. Change the address value to 9,999,999 and back to game to sell the item
9. Bingo!! --> Enjoy your maximum gold![]()
Code: Select all
{ Game : DaveTheDiver.exe
Version:
Date : 2023-08-21
Author : Icy
This script does blah blah blah
}
[ENABLE]
aobscanmodule(SHOPNEG,GameAssembly.dll,2B C5 4E 8D 04 B5 20 00 00 00) // should be unique
alloc(newmem,$1000,SHOPNEG)
label(code)
label(return)
newmem:
code:
add eax,ebp
// sub eax,ebp
lea r8,[r14*4+00000020]
jmp return
SHOPNEG:
jmp newmem
nop 5
return:
registersymbol(SHOPNEG)
[DISABLE]
SHOPNEG:
db 2B C5 4E 8D 04 B5 20 00 00 00
unregistersymbol(SHOPNEG)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: GameAssembly.dll+29DE2B5
GameAssembly.dll+29DE28C: 48 85 C9 - test rcx,rcx
GameAssembly.dll+29DE28F: 0F 84 29 01 00 00 - je GameAssembly.dll+29DE3BE
GameAssembly.dll+29DE295: 48 8B 49 28 - mov rcx,[rcx+28]
GameAssembly.dll+29DE299: 48 85 C9 - test rcx,rcx
GameAssembly.dll+29DE29C: 0F 84 1C 01 00 00 - je GameAssembly.dll+29DE3BE
GameAssembly.dll+29DE2A2: 44 3B 71 18 - cmp r14d,[rcx+18]
GameAssembly.dll+29DE2A6: 0F 83 02 01 00 00 - jae GameAssembly.dll+29DE3AE
GameAssembly.dll+29DE2AC: 42 8B 44 B1 20 - mov eax,[rcx+r14*4+20]
GameAssembly.dll+29DE2B1: 85 C0 - test eax,eax
GameAssembly.dll+29DE2B3: 74 4F - je GameAssembly.dll+29DE304
// ---------- INJECTING HERE ----------
GameAssembly.dll+29DE2B5: 2B C5 - sub eax,ebp
// ---------- DONE INJECTING ----------
GameAssembly.dll+29DE2B7: 4E 8D 04 B5 20 00 00 00 - lea r8,[r14*4+00000020]
GameAssembly.dll+29DE2BF: 79 08 - jns GameAssembly.dll+29DE2C9
GameAssembly.dll+29DE2C1: F7 D8 - neg eax
GameAssembly.dll+29DE2C3: 8B D0 - mov edx,eax
GameAssembly.dll+29DE2C5: 33 C0 - xor eax,eax
GameAssembly.dll+29DE2C7: EB 02 - jmp GameAssembly.dll+29DE2CB
GameAssembly.dll+29DE2C9: 33 D2 - xor edx,edx
GameAssembly.dll+29DE2CB: 8B DD - mov ebx,ebp
GameAssembly.dll+29DE2CD: 41 89 04 08 - mov [r8+rcx],eax
GameAssembly.dll+29DE2D1: 48 8B 44 24 60 - mov rax,[rsp+60]
}
Code: Select all
{ Game : DaveTheDiver.exe
Version:
Date : 2023-08-22
Author : Icy
This script does blah blah blah
}
[ENABLE]
aobscanmodule(INJECT,GameAssembly.dll,8B 48 54 48 83 C4 20) // should be unique
alloc(newmem,$1000,INJECT)
label(code)
label(return)
newmem:
code:
mov ecx,[rax+54]
not ecx
add rsp,20
jmp return
INJECT:
jmp newmem
nop 2
return:
registersymbol(INJECT)
[DISABLE]
INJECT:
db 8B 48 54 48 83 C4 20
unregistersymbol(INJECT)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: GameAssembly.dll+2A87CCB
GameAssembly.dll+2A87C9D: 48 8B D9 - mov rbx,rcx
GameAssembly.dll+2A87CA0: 75 13 - jne GameAssembly.dll+2A87CB5
GameAssembly.dll+2A87CA2: 48 8D 0D 37 D6 98 01 - lea rcx,[GameAssembly.dll+44152E0]
GameAssembly.dll+2A87CA9: E8 B2 02 90 FD - call GameAssembly.dll+387F60
GameAssembly.dll+2A87CAE: C6 05 DE 13 A8 01 01 - mov byte ptr [GameAssembly.dll+4509093],01
GameAssembly.dll+2A87CB5: 48 8B 43 48 - mov rax,[rbx+48]
GameAssembly.dll+2A87CB9: 48 85 C0 - test rax,rax
GameAssembly.dll+2A87CBC: 74 1A - je GameAssembly.dll+2A87CD8
GameAssembly.dll+2A87CBE: 4C 8B 05 1B D6 98 01 - mov r8,[GameAssembly.dll+44152E0]
GameAssembly.dll+2A87CC5: 8B 93 90 00 00 00 - mov edx,[rbx+00000090]
// ---------- INJECTING HERE ----------
GameAssembly.dll+2A87CCB: 8B 48 54 - mov ecx,[rax+54]
// ---------- DONE INJECTING ----------
GameAssembly.dll+2A87CCE: 48 83 C4 20 - add rsp,20
GameAssembly.dll+2A87CD2: 5B - pop rbx
GameAssembly.dll+2A87CD3: E9 78 B5 DD FD - jmp GameAssembly.dll+863250
GameAssembly.dll+2A87CD8: E8 F3 03 90 FD - call GameAssembly.dll+3880D0
GameAssembly.dll+2A87CDD: CC - int 3
GameAssembly.dll+2A87CDE: CC - int 3
GameAssembly.dll+2A87CDF: CC - int 3
GameAssembly.dll+2A87CE0: 40 53 - push rbx
GameAssembly.dll+2A87CE2: 48 83 EC 20 - sub rsp,20
GameAssembly.dll+2A87CE6: 48 8B D9 - mov rbx,rcx
}
Users browsing this forum: No registered users