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 


can someone make this work for me?

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

Joined: 30 Jan 2015
Posts: 5

PostPosted: Tue Nov 26, 2019 4:05 pm    Post subject: can someone make this work for me? Reply with quote

Been trying to get this to work in a CE Table
this is for Greedfall

<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
<CheatEntries>
<CheatEntry>
<ID>28</ID>
<Description>"Total"</Description>
<Options moHideChildren="1"/>
<LastState/>
<VariableType>Auto Assembler Script</VariableType>
<AssemblerScript>[ENABLE]
aobscanmodule(aobskill,"Game.dll",41 8B 81 C0 00 00 00)
alloc(newmem,2048,aobskill)
label(returnhere)
label(player_expcontroller)
registersymbol(player_expcontroller)
registersymbol(aobskill)

newmem:
mov [player_expcontroller],r9
mov eax,[r9+000000C0]
jmp returnhere
player_expcontroller:
dq 0 0
aobskill:
jmp newmem
db 90 90
returnhere:

[DISABLE]
dealloc(newmem)
aobskill:
//mov eax,[r9+000000C0]
db 41 8B 81 C0 00 00 00
unregistersymbol(aobskill)
unregistersymbol(player_expcontroller)
</AssemblerScript>
<CheatEntries>
<CheatEntry>
<ID>47</ID>
<Description>"Experience"</Description>
<VariableType>Float</VariableType>
<Address>player_expcontroller</Address>
<Offsets>
<Offset>50</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>44</ID>
<Description>"Skill points"</Description>
<VariableType>4 Bytes</VariableType>
<Address>player_expcontroller</Address>
<Offsets>
<Offset>c0</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>51</ID>
<Description>"Spend Skill"</Description>
<VariableType>4 Bytes</VariableType>
<Address>player_expcontroller</Address>
<Offsets>
<Offset>BC</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>45</ID>
<Description>"Attribute points (Not saved)"</Description>
<VariableType>4 Bytes</VariableType>
<Address>player_expcontroller</Address>
<Offsets>
<Offset>4</Offset>
<Offset>60</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>46</ID>
<Description>"Talents points (Not saved)"</Description>
<VariableType>4 Bytes</VariableType>
<Address>player_expcontroller</Address>
<Offsets>
<Offset>8</Offset>
<Offset>60</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>50</ID>
<Description>"Spend Talent"</Description>
<VariableType>4 Bytes</VariableType>
<Address>player_expcontroller</Address>
<Offsets>
<Offset>c4</Offset>
</Offsets>
</CheatEntry>
</CheatEntries>
</CheatEntry>
</CheatEntries>
</CheatTable>

but cant get it working
Back to top
View user's profile Send private message
DanyDollaro
Master Cheater
Reputation: 3

Joined: 01 Aug 2019
Posts: 334

PostPosted: Tue Nov 26, 2019 5:14 pm    Post subject: Reply with quote

We are not fortune tellers, why can't you make it work? can't you enable the script? the game crashes? or the address obtained is not what it should be? on which game are you trying it?

In any case, try this:
Code:
[ENABLE]
aobscanmodule(aobskill,"Game.dll",41 8B 81 C0 00 00 00)

alloc(newmem,512,aobskill)
alloc(player_expcontroller,8,aobskill)

registersymbol(player_expcontroller)

label(returnhere)

aobskill:
jmp newmem
nop
nop

newmem:
push C0
pop [player_expcontroller]
add [player_expcontroller],r9
mov eax,[r9+000000C0]

returnhere:

[DISABLE]
aobskill:
db 41 8B 81 C0 00 00 00 //mov eax,[r9+000000C0]

unregistersymbol(aobskill)
unregistersymbol(player_expcontroller)

dealloc(newmem)
dealloc(player_expcontroller)


It is useless to write "registersymbol(aobskill)" because that is registered in the "aobscanmodule(...) " function.

If it doesn't work, the problem could be that jumps larger than 5 bytes are used to switch to newmem (If so the game should crash).
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