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 


Improving my Exp multiplier for Avowed

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Lokomotive139
How do I cheat?
Reputation: 0

Joined: 15 Feb 2025
Posts: 1

PostPosted: Sat Feb 15, 2025 6:43 pm    Post subject: Improving my Exp multiplier for Avowed Reply with quote

Hey, spent some time making an experience multiplier. Had some issues because there is no complete guide for it. Managed to get it to work but I think it is not the best solution. Here is the Code:


[code]
{ Game : Avowed
Version:
Date : 2025-02-16
Author : X

This script does blah blah blah
}

[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat



aobscanmodule(INJECT,Avowed-Win64-Shipping.exe,89 A9 A4 0F 00 00) // should be unique
alloc(newmem,$1000,INJECT)

label(code)
label(return)

newmem:
imul rdx,A
lea ebp,[rsi+rdx]
code:
mov [rcx+00000FA4],ebp
jmp return

INJECT:
jmp newmem
nop
return:
registersymbol(INJECT)

[DISABLE]
//code from here till the end of the code will be used to disable the cheat
INJECT:
db 89 A9 A4 0F 00 00

unregistersymbol(INJECT)
dealloc(newmem)

{
// ORIGINAL CODE - INJECTION POINT: Avowed-Win64-Shipping.exe+477E943

Avowed-Win64-Shipping.exe+477E91F: CC - int 3
Avowed-Win64-Shipping.exe+477E920: 85 D2 - test edx,edx
Avowed-Win64-Shipping.exe+477E922: 0F 88 6E 01 00 00 - js Avowed-Win64-Shipping.exe+477EA96
Avowed-Win64-Shipping.exe+477E928: 57 - push rdi
Avowed-Win64-Shipping.exe+477E929: 48 83 EC 40 - sub rsp,40
Avowed-Win64-Shipping.exe+477E92D: 48 89 6C 24 58 - mov [rsp+58],rbp
Avowed-Win64-Shipping.exe+477E932: 48 8B F9 - mov rdi,rcx
Avowed-Win64-Shipping.exe+477E935: 48 89 74 24 60 - mov [rsp+60],rsi
Avowed-Win64-Shipping.exe+477E93A: 8B B1 A4 0F 00 00 - mov esi,[rcx+00000FA4]
Avowed-Win64-Shipping.exe+477E940: 8D 2C 16 - lea ebp,[rsi+rdx]
// ---------- INJECTING HERE ----------
Avowed-Win64-Shipping.exe+477E943: 89 A9 A4 0F 00 00 - mov [rcx+00000FA4],ebp
// ---------- DONE INJECTING ----------
Avowed-Win64-Shipping.exe+477E949: 3B F5 - cmp esi,ebp
Avowed-Win64-Shipping.exe+477E94B: 0F 8D 36 01 00 00 - jnl Avowed-Win64-Shipping.exe+477EA87
Avowed-Win64-Shipping.exe+477E951: 4C 89 7C 24 30 - mov [rsp+30],r15
Avowed-Win64-Shipping.exe+477E956: 48 89 5C 24 50 - mov [rsp+50],rbx
Avowed-Win64-Shipping.exe+477E95B: E8 00 59 1E 00 - call Avowed-Win64-Shipping.exe+4964260
Avowed-Win64-Shipping.exe+477E960: 48 85 C0 - test rax,rax
Avowed-Win64-Shipping.exe+477E963: 74 23 - je Avowed-Win64-Shipping.exe+477E988
Avowed-Win64-Shipping.exe+477E965: 48 8B C8 - mov rcx,rax
Avowed-Win64-Shipping.exe+477E968: E8 83 88 D1 FF - call Avowed-Win64-Shipping.exe+44971F0
Avowed-Win64-Shipping.exe+477E96D: 48 8B D8 - mov rbx,rax
}
[/code]

lea ebp,[rsi+rdx] is used twice. My solution would be to move the injection point one line above but I do not know how. Can anyone help?

Edit:

Fixed it by selecting another line in the memory viewer. Will leave this up in case it might be helpful.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine 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