Astroneer, an instruction is shared with tons of total different address and values.

squall0833

Expert Cheater
Mar 4, 2017
60
3
8
#1
Hello guys,

Recently I went back to play Astroneer, and doing some cheats, then I found most of the stuff in the game shared the same instruction. And I'm running out of idea how to deal with this kind of instruction

im still new to CE, just beginner level

what this cheat does is
Infinite Oxygen
Massive Resources and Soil Collection when harvesting.
(every bit of harvested resource instantly harvested as a stack, end up massive resources explosion)

here's my current code:

note: Oxygen and Massive Resources work as intended.

Values found:
Max Oxygen 277200
Harvested Resource 138600 harvested when reached
Backpack Crafting time 138600 completed when decreased from 138600 to 0

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



aobscanmodule(INF_OXYGEN,Astro-Win64-Shipping.exe,89 BB 40 01 00 00 85)
alloc(newmem,$1000,"Astro-Win64-Shipping.exe"+1DF9CB)

label(code)
label(return)
label(massiveresources)
//label(instantcraftbp) //not completed

newmem:
cmp [rbx+000000A8],2E480609 //check if it is harvest resource
je massiveresources
// cmp [rbx+000000XX],XXX //check XXX if it is Build/Craft time
// jmp instantcraftbp
cmp [rbx+000000A8],2E480619 //check if it is Oxygen
jne code //jump to original code if not oxygen not resources
mov [rbx+00000140],(int)277200 //Infinite Oxygen
jmp return

massiveresources:
mov [rbx+00000140],(int)138600 // Massive Resources + Soil Collection
jmp return

//instantcraftbp:
// mov [rbx+00000140],(int)0
// jmp return

code:
mov [rbx+00000140],edi
jmp return

INF_OXYGEN:
jmp newmem
nop
return:
registersymbol(INF_OXYGEN)

[DISABLE]
//code from here till the end of the code will be used to disable the cheat
INF_OXYGEN:
db 89 BB 40 01 00 00

unregistersymbol(INF_OXYGEN)
dealloc(newmem)

However when this cheat is enabled, all building/crafting in the game will be freeze until the cheat is disable, it seems that the building/crafting time is also using the same instruction, I believe when an item is being crafted, the value is the same as harvest resource integer 138600 but decreasing instead, and when it reached 0, item is done,

So I wrote instantcraftbp compare statement, doesn't work, and crafting still freezing at 138600 (0% progression),

did some testing, the code that's freezing the crafting time was coming from massiveresources: code, If i change 138600 to 0, then instant craft works, but can no longer harvesting resources and soil, looks like something is wrong in this code that's still applying 138600 to the crafting time, cmp statement on instantcraftbp doesnt work?

is there any better way to identify what is the "edi" or "rbx+140" for them jump to the right cheat code?


Thanks
 

Bloodybone

Expert Cheater
Aug 3, 2017
119
1
18
#2
So Unreal Engine is a bit anoying as you found out because most of the time everything is shared but i made a working code now:
[ENABLE]
aobscanmodule(INF_OXYGEN,Astro-Win64-Shipping.exe,89 BB 40 01 00 00 85)
alloc(newmem,$1000,"Astro-Win64-Shipping.exe"+1DF9CB)

label(code)
label(return)
label(massiveresources)
label(instantcraftbp)

newmem:
cmp [rbx+000000A8],2E480609 //check if it is harvest resource
je massiveresources
cmp [rbx+000000A8],2E480619 //check if it is Oxygen
jne code //jump to original code if not oxygen not resources
mov [rbx+00000140],(int)277200 //Infinite Oxygen
jmp return

massiveresources:
cmp rbp,0 //Compare out Instacraftbp
je instantcraftbp
mov [rbx+00000140],(int)138600// Massive Resources + Soil Collection
jmp return

instantcraftbp:
mov [rbx+00000140],(int)0
jmp return

code:
mov [rbx+00000140],edi
jmp return

INF_OXYGEN:
jmp newmem
nop
return:
registersymbol(INF_OXYGEN)

[DISABLE]
//code from here till the end of the code will be used to disable the cheat
INF_OXYGEN:
db 89 BB 40 01 00 00

unregistersymbol(INF_OXYGEN)
dealloc(newmem)
If rbp doesn't work this are other offsets that could work:

cmp rax,0
jne instantcraftbp

cmp rcx,0
jne instantcraftbp

cmp rdx,0
jne instantcraftbp

cmp rdi,0
jne instantcraftbp

cmp rcx,0
jne instantcraftbp

cmp r12,0
jne instantcraftbp

cmp r14,1
jne instantcraftbp

cmp r14,306
je instantcraftbp
 

squall0833

Expert Cheater
Mar 4, 2017
60
3
8
#3
so, putting the cmp on the massive resource area is just for easier better way of coding or there's a reason it wont work if i dont?

gonna try it tonight, thanks for the help :D

if that rbp = 0 also applies to things other than instantcraftbp by any chance, so i need to look for another different offset to compare right?
 

Bloodybone

Expert Cheater
Aug 3, 2017
119
1
18
#4
squall0833 post_id=22665 time=1509441108 user_id=639 said:
so, putting the cmp on the massive resource area is just for easier better way of coding or there's a reason it wont work if i dont?

gonna try it tonight, thanks for the help :D

if that rbp = 0 also applies to things other thanns itantcraftbp by any chance, so i need to look for another different offset to compare right?
Yeah maybe, i knew that massive resources and itantcraftbp go to the same area so i only had to compare these out but i didn't have to compare all out.
 

squall0833

Expert Cheater
Mar 4, 2017
60
3
8
#5
Bloodybone post_id=22671 time=1509449646 user_id=7561 said:
squall0833 post_id=22665 time=1509441108 user_id=639 said:
so, putting the cmp on the massive resource area is just for easier better way of coding or there's a reason it wont work if i dont?

gonna try it tonight, thanks for the help :D

if that rbp = 0 also applies to things other thanns itantcraftbp by any chance, so i need to look for another different offset to compare right?
Yeah maybe, i knew that massive resources and itantcraftbp go to the same area so i only had to compare these out but i didn't have to compare all out.
oooh oh i see

maybe they all have the same rbp, but in my code, instead of compare them all in same area, i can just compare it again in the next area where there is no codes for oxygen, but only massive resource value

i get the idea now thanks :D
 

Bloodybone

Expert Cheater
Aug 3, 2017
119
1
18
#6
squall0833 post_id=22701 time=1509463041 user_id=639 said:
Bloodybone post_id=22671 time=1509449646 user_id=7561 said:
squall0833 post_id=22665 time=1509441108 user_id=639 said:
so, putting the cmp on the massive resource area is just for easier better way of coding or there's a reason it wont work if i dont?

gonna try it tonight, thanks for the help :D

if that rbp = 0 also applies to things other thanns itantcraftbp by any chance, so i need to look for another different offset to compare right?
Yeah maybe, i knew that massive resources and itantcraftbp go to the same area so i only had to compare these out but i didn't have to compare all out.
oooh oh i see

maybe they all have the same rbp, but in my code, instead of compare them all in same area, i can just compare it again in the next area where there is no codes for oxygen, but only massive resource value

i get the idea now thanks :D
Yeah Your Welcome
 

squall0833

Expert Cheater
Mar 4, 2017
60
3
8
#7
Bloodybone post_id=22702 time=1509463267 user_id=7561 said:
squall0833 post_id=22701 time=1509463041 user_id=639 said:
Bloodybone post_id=22671 time=1509449646 user_id=7561 said:
Yeah maybe, i knew that massive resources and itantcraftbp go to the same area so i only had to compare these out but i didn't have to compare all out.
oooh oh i see

maybe they all have the same rbp, but in my code, instead of compare them all in same area, i can just compare it again in the next area where there is no codes for oxygen, but only massive resource value

i get the idea now thanks :D
Yeah Your Welcome
well i just notice that, even though it's working for instant craft bp now, but massive resource and soil stopped working as they get mov 0 too


hmmmmm

it seems when cmp is success and jump to instantcraftbp, resource harvest will get 0 too, this is weird, the codes seems right
 

Bloodybone

Expert Cheater
Aug 3, 2017
119
1
18
#8
squall0833 post_id=22710 time=1509466639 user_id=639 said:
Bloodybone post_id=22702 time=1509463267 user_id=7561 said:
squall0833 post_id=22701 time=1509463041 user_id=639 said:
oooh oh i see

maybe they all have the same rbp, but in my code, instead of compare them all in same area, i can just compare it again in the next area where there is no codes for oxygen, but only massive resource value

i get the idea now thanks :D
Yeah Your Welcome
well i just notice that, even though it's working for instant craft bp now, but massive resource and soil stopped working as they get mov 0 too


hmmmmm
Maybe instead of rbp try somthing else i posted above
 

squall0833

Expert Cheater
Mar 4, 2017
60
3
8
#9
now i'm doing this way

rbx+a8 2E480609 (from harvested resources, soil )
rbx+a8 2E480619 (from oxygen base address)
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat



aobscanmodule(INF_OXYGEN,Astro-Win64-Shipping.exe,89 BB 40 01 00 00 85)
alloc(newmem,$1000,"Astro-Win64-Shipping.exe"+1DF9CB)

label(code)
label(return)
label(massiveresources)
label(instantcraftbp)

newmem:
cmp [rbx+000000A8],2E480609 //check if it is resource
je massiveresources //jump to massive resources
cmp [rbx+000000A8],2E480619 //check if it is oxygen
jne code //going down to infinite oxygen, OK
mov [rbx+00000140],(int)277200 //Infinite Oxygen
jmp return

massiveresources:
cmp [rbx+000000A8],2E480619 //check again if this is oxygen's +a8 hex value
jne instantcraftbp //it's not oxygen (it's 2E480609 or something else, so jumping to instantcraftbp, OK done.)
mov [rbx+00000140],(int)138600 // Massive Resources //else, doing massive resource
jmp return

instantcraftbp:
mov [rbx+00000140],(int)0 //apply 0 to the address value so it will be instant crafting
jmp return

code:
mov [rbx+00000140],edi
jmp return

INF_OXYGEN:
jmp newmem
nop
return:
registersymbol(INF_OXYGEN)

[DISABLE]
//code from here till the end of the code will be used to disable the cheat
INF_OXYGEN:
db 89 BB 40 01 00 00

unregistersymbol(INF_OXYGEN)
dealloc(newmem)

it seems that the code jumped to instantcraftbp successfully, and it's working, but at the same time massive resources and soil are also become 0

the massive resource area code don't work anymore like it's being bypassed
 

Bloodybone

Expert Cheater
Aug 3, 2017
119
1
18
#10
squall0833 post_id=22715 time=1509468194 user_id=639 said:
now i'm doing this way

rbx+a8 2E480609 (from harvested resources, soil )
rbx+a8 2E480619 (from oxygen base address)
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat



aobscanmodule(INF_OXYGEN,Astro-Win64-Shipping.exe,89 BB 40 01 00 00 85)
alloc(newmem,$1000,"Astro-Win64-Shipping.exe"+1DF9CB)

label(code)
label(return)
label(massiveresources)
label(instantcraftbp)

newmem:
cmp [rbx+000000A8],2E480609 //check if it is resource
je massiveresources //jump to massive resources
cmp [rbx+000000A8],2E480619 //check if it is oxygen
jne code //going down to infinite oxygen, OK
mov [rbx+00000140],(int)277200 //Infinite Oxygen
jmp return

massiveresources:
cmp [rbx+000000A8],2E480619 //check again if this is oxygen's +a8 hex value
jne instantcraftbp //it's not oxygen (it's 2E480619 or something else, so jumping to instantcraftbp, OK done.)
mov [rbx+00000140],(int)138600 // Massive Resources //else, doing massive resource
jmp return

instantcraftbp:
mov [rbx+00000140],(int)0 //apply 0 to the address value so it will be instant crafting
jmp return

code:
mov [rbx+00000140],edi
jmp return

INF_OXYGEN:
jmp newmem
nop
return:
registersymbol(INF_OXYGEN)

[DISABLE]
//code from here till the end of the code will be used to disable the cheat
INF_OXYGEN:
db 89 BB 40 01 00 00

unregistersymbol(INF_OXYGEN)
dealloc(newmem)

it seems that the code jumped to instantcraftbp successfully, and it's working, but at the same time massive resources and soil are also become 0

the massive resource area code don't work anymore like it's being bypassed
Ok gonna look into it
 

squall0833

Expert Cheater
Mar 4, 2017
60
3
8
#11
correction at this line, i typed the comment wrong

jne instantcraftbp //it's not oxygen (it's 2E480609 or something else, so jumping to instantcraftbp, OK done.)
 

Bloodybone

Expert Cheater
Aug 3, 2017
119
1
18
#12
squall0833 post_id=22717 time=1509468356 user_id=639 said:
correction at this line, i typed the comment wrong

jne instantcraftbp //it's not oxygen (it's 2E480609 or something else, so jumping to instantcraftbp, OK done.)
Instead of using this:
cmp [rbx+000000A8],2E480619 //check again if this is oxygen's +a8 hex value
jne instantcraftbp //it's not oxygen (it's 2E480619 or something else, so jumping to instantcraftbp, OK done.)

Use this:
cmp rbp,0 //check if it is instacraft
je instantcraftbp //it's than jump

This works for my Game
 

squall0833

Expert Cheater
Mar 4, 2017
60
3
8
#13
Bloodybone post_id=22718 time=1509468874 user_id=7561 said:
squall0833 post_id=22717 time=1509468356 user_id=639 said:
correction at this line, i typed the comment wrong

jne instantcraftbp //it's not oxygen (it's 2E480609 or something else, so jumping to instantcraftbp, OK done.)
Instead of using this:
cmp [rbx+000000A8],2E480619 //check again if this is oxygen's +a8 hex value
jne instantcraftbp //it's not oxygen (it's 2E480619 or something else, so jumping to instantcraftbp, OK done.)

Use this:
cmp rbp,0 //check if it is instacraft
je instantcraftbp //it's than jump

This works for my Game
yeah i know it works , can instant craft

but that also make u no longer able to harvest resources, u get nothing when harvesting

the massive resources no longer works after that, even the code looks right
 

Bloodybone

Expert Cheater
Aug 3, 2017
119
1
18
#14
squall0833 post_id=22719 time=1509469318 user_id=639 said:
Bloodybone post_id=22718 time=1509468874 user_id=7561 said:
squall0833 post_id=22717 time=1509468356 user_id=639 said:
correction at this line, i typed the comment wrong

jne instantcraftbp //it's not oxygen (it's 2E480609 or something else, so jumping to instantcraftbp, OK done.)
Instead of using this:
cmp [rbx+000000A8],2E480619 //check again if this is oxygen's +a8 hex value
jne instantcraftbp //it's not oxygen (it's 2E480619 or something else, so jumping to instantcraftbp, OK done.)

Use this:
cmp rbp,0 //check if it is instacraft
je instantcraftbp //it's than jump

This works for my Game
yeah i know it works , can instant craft

but that also make u no longer able to harvest resources, u get nothing when harvesting

the massive resources no longer works after that, even the code looks right
OK i can see if i can do something
 

squall0833

Expert Cheater
Mar 4, 2017
60
3
8
#15
Bloodybone post_id=22721 time=1509469609 user_id=7561 said:
squall0833 post_id=22719 time=1509469318 user_id=639 said:
Bloodybone post_id=22718 time=1509468874 user_id=7561 said:
Instead of using this:
cmp [rbx+000000A8],2E480619 //check again if this is oxygen's +a8 hex value
jne instantcraftbp //it's not oxygen (it's 2E480619 or something else, so jumping to instantcraftbp, OK done.)

Use this:
cmp rbp,0 //check if it is instacraft
je instantcraftbp //it's than jump

This works for my Game
yeah i know it works , can instant craft

but that also make u no longer able to harvest resources, u get nothing when harvesting

the massive resources no longer works after that, even the code looks right
OK i can see if i can do something
lol this game's code really something
 

Bloodybone

Expert Cheater
Aug 3, 2017
119
1
18
#16
Ok I found another offset that works :) Here:
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat



aobscanmodule(INF_OXYGEN,Astro-Win64-Shipping.exe,89 BB 40 01 00 00 85)
alloc(newmem,$1000,"Astro-Win64-Shipping.exe"+1DF9CB)

label(code)
label(return)
label(massiveresources)
label(instantcraftbp)

newmem:
cmp [rbx+000000A8],2E480609 //check if it is resource
je massiveresources //jump to massive resources
cmp [rbx+000000A8],2E480619 //check if it is oxygen
jne code //going down to infinite oxygen, OK
mov [rbx+00000140],(int)277200 //Infinite Oxygen
jmp return

massiveresources:
cmp r15,0//check if it is instacraft
jne instantcraftbp //it's not than don't jump
mov [rbx+00000140],(int)138600 // Massive Resources //else, doing massive resource
jmp return

instantcraftbp:
mov [rbx+00000140],(int)0 //apply 0 to the address value so it will be instant crafting
jmp return

code:
mov [rbx+00000140],edi
jmp return

INF_OXYGEN:
jmp newmem
nop
return:
registersymbol(INF_OXYGEN)

[DISABLE]
//code from here till the end of the code will be used to disable the cheat
INF_OXYGEN:
db 89 BB 40 01 00 00

unregistersymbol(INF_OXYGEN)
dealloc(newmem)
 

Bloodybone

Expert Cheater
Aug 3, 2017
119
1
18
#17
Also something you can do is this:
<?xml version="1.0" encoding="utf-8"?>
<CheatTable CheatEngineTableVersion="26">
<CheatEntries>
<CheatEntry>
<ID>0</ID>
<Description>"Inf Everthing"</Description>
<LastState Activated="1"/>
<VariableType>Auto Assembler Script</VariableType>
<AssemblerScript>[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat



aobscanmodule(INF_OXYGEN,Astro-Win64-Shipping.exe,89 BB 40 01 00 00 85)
alloc(newmem,$1000,"Astro-Win64-Shipping.exe"+1DF9CB)

label(code)
label(return)
label(massiveresources)
label(instantcraftbp)
label(infiniteoxygenflag)
label(massiveresourcesflag)
label(instantcraftbpflag)
registersymbol(infiniteoxygenflag)
registersymbol(massiveresourcesflag)
registersymbol(instantcraftbpflag)

newmem:
cmp [rbx+000000A8],2E480609 //check if it is resource
je massiveresources //jump to massive resources
cmp [rbx+000000A8],2E480619 //check if it is oxygen
jne code //going down to infinite oxygen, OK
cmp [infiniteoxygenflag],1
jne code
mov [rbx+00000140],(int)277200 //Infinite Oxygen
jmp return

massiveresources:
cmp r15,0 //check if it is instacraft
jne instantcraftbp //it's not than don't jump
cmp [massiveresourcesflag],1
jne code
mov [rbx+00000140],(int)138600 // Massive Resources //else, doing massive resource
jmp return

instantcraftbp:
cmp [instantcraftbpflag],1
jne code
mov [rbx+00000140],(int)0 //apply 0 to the address value so it will be instant crafting
jmp return

code:
mov [rbx+00000140],edi
jmp return

infiniteoxygenflag:
dd 0

massiveresourcesflag:
dd 0

instantcraftbpflag:
dd 0

INF_OXYGEN:
jmp newmem
nop
return:
registersymbol(INF_OXYGEN)

[DISABLE]
//code from here till the end of the code will be used to disable the cheat
INF_OXYGEN:
db 89 BB 40 01 00 00

unregistersymbol(INF_OXYGEN)
dealloc(newmem)
unregistersymbol(infiniteoxygenflag)
unregistersymbol(massiveresourcesflag)
unregistersymbol(instantcraftbpflag)
</AssemblerScript>
<CheatEntries>
<CheatEntry>
<ID>1</ID>
<Description>"Infinite Oxygen"</Description>
<DropDownList ReadOnly="1" DescriptionOnly="1" DisplayValueAsItem="1">0:Off
1:On
</DropDownList>
<LastState Value="1" RealAddress="7FF645FC00AD"/>
<VariableType>4 Bytes</VariableType>
<Address>infiniteoxygenflag</Address>
</CheatEntry>
<CheatEntry>
<ID>2</ID>
<Description>"Massive Resources"</Description>
<DropDownList ReadOnly="1" DescriptionOnly="1" DisplayValueAsItem="1">0:Off
1:On
</DropDownList>
<LastState Value="1" RealAddress="7FF645FC00B1"/>
<VariableType>4 Bytes</VariableType>
<Address>massiveresourcesflag</Address>
</CheatEntry>
<CheatEntry>
<ID>3</ID>
<Description>"Insta Craft"</Description>
<DropDownList ReadOnly="1" DescriptionOnly="1" DisplayValueAsItem="1">0:Off
1:On
</DropDownList>
<LastState Value="0" RealAddress="7FF645FC00B5"/>
<VariableType>4 Bytes</VariableType>
<Address>instantcraftbpflag</Address>
</CheatEntry>
</CheatEntries>
</CheatEntry>
</CheatEntries>
<UserdefinedSymbols/>
</CheatTable>
Paste this into a text editor and save it as an .CT File, i made it that you can manualy select what cheat you wan't to have activated Have Fun :)
 

squall0833

Expert Cheater
Mar 4, 2017
60
3
8
#18
Bloodybone post_id=22724 time=1509470713 user_id=7561 said:
Also something you can do is this:
<?xml version="1.0" encoding="utf-8"?>
<CheatTable CheatEngineTableVersion="26">
<CheatEntries>
<CheatEntry>
<ID>0</ID>
<Description>"Inf Everthing"</Description>
<LastState Activated="1"/>
<VariableType>Auto Assembler Script</VariableType>
<AssemblerScript>[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat



aobscanmodule(INF_OXYGEN,Astro-Win64-Shipping.exe,89 BB 40 01 00 00 85)
alloc(newmem,$1000,"Astro-Win64-Shipping.exe"+1DF9CB)

label(code)
label(return)
label(massiveresources)
label(instantcraftbp)
label(infiniteoxygenflag)
label(massiveresourcesflag)
label(instantcraftbpflag)
registersymbol(infiniteoxygenflag)
registersymbol(massiveresourcesflag)
registersymbol(instantcraftbpflag)

newmem:
cmp [rbx+000000A8],2E480609 //check if it is resource
je massiveresources //jump to massive resources
cmp [rbx+000000A8],2E480619 //check if it is oxygen
jne code //going down to infinite oxygen, OK
cmp [infiniteoxygenflag],1
jne code
mov [rbx+00000140],(int)277200 //Infinite Oxygen
jmp return

massiveresources:
cmp r15,0 //check if it is instacraft
jne instantcraftbp //it's not than don't jump
cmp [massiveresourcesflag],1
jne code
mov [rbx+00000140],(int)138600 // Massive Resources //else, doing massive resource
jmp return

instantcraftbp:
cmp [instantcraftbpflag],1
jne code
mov [rbx+00000140],(int)0 //apply 0 to the address value so it will be instant crafting
jmp return

code:
mov [rbx+00000140],edi
jmp return

infiniteoxygenflag:
dd 0

massiveresourcesflag:
dd 0

instantcraftbpflag:
dd 0

INF_OXYGEN:
jmp newmem
nop
return:
registersymbol(INF_OXYGEN)

[DISABLE]
//code from here till the end of the code will be used to disable the cheat
INF_OXYGEN:
db 89 BB 40 01 00 00

unregistersymbol(INF_OXYGEN)
dealloc(newmem)
unregistersymbol(infiniteoxygenflag)
unregistersymbol(massiveresourcesflag)
unregistersymbol(instantcraftbpflag)
</AssemblerScript>
<CheatEntries>
<CheatEntry>
<ID>1</ID>
<Description>"Infinite Oxygen"</Description>
<DropDownList ReadOnly="1" DescriptionOnly="1" DisplayValueAsItem="1">0:Off
1:On
</DropDownList>
<LastState Value="1" RealAddress="7FF645FC00AD"/>
<VariableType>4 Bytes</VariableType>
<Address>infiniteoxygenflag</Address>
</CheatEntry>
<CheatEntry>
<ID>2</ID>
<Description>"Massive Resources"</Description>
<DropDownList ReadOnly="1" DescriptionOnly="1" DisplayValueAsItem="1">0:Off
1:On
</DropDownList>
<LastState Value="1" RealAddress="7FF645FC00B1"/>
<VariableType>4 Bytes</VariableType>
<Address>massiveresourcesflag</Address>
</CheatEntry>
<CheatEntry>
<ID>3</ID>
<Description>"Insta Craft"</Description>
<DropDownList ReadOnly="1" DescriptionOnly="1" DisplayValueAsItem="1">0:Off
1:On
</DropDownList>
<LastState Value="0" RealAddress="7FF645FC00B5"/>
<VariableType>4 Bytes</VariableType>
<Address>instantcraftbpflag</Address>
</CheatEntry>
</CheatEntries>
</CheatEntry>
</CheatEntries>
<UserdefinedSymbols/>
</CheatTable>
Paste this into a text editor and save it as an .CT File, i made it that you can manualy select what cheat you wan't to have activated Have Fun :)
Wow thats a bonus, i have always wanted to learn how to make something like optional cheats, always wonder how to write something like that, learn something new today,
I will look into it, thank you very very much

Right now im not infront of the pc,. Will check it out later :)

Btw how do u write those all drop down menu code? You wrote them all manually? Or is there template in CE assembly section?

I would like to learn this if there are more information on this
 

Bloodybone

Expert Cheater
Aug 3, 2017
119
1
18
#19
squall0833 post_id=22754 time=1509481395 user_id=639 said:
Bloodybone post_id=22724 time=1509470713 user_id=7561 said:
Also something you can do is this:
<?xml version="1.0" encoding="utf-8"?>
<CheatTable CheatEngineTableVersion="26">
<CheatEntries>
<CheatEntry>
<ID>0</ID>
<Description>"Inf Everthing"</Description>
<LastState Activated="1"/>
<VariableType>Auto Assembler Script</VariableType>
<AssemblerScript>[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat



aobscanmodule(INF_OXYGEN,Astro-Win64-Shipping.exe,89 BB 40 01 00 00 85)
alloc(newmem,$1000,"Astro-Win64-Shipping.exe"+1DF9CB)

label(code)
label(return)
label(massiveresources)
label(instantcraftbp)
label(infiniteoxygenflag)
label(massiveresourcesflag)
label(instantcraftbpflag)
registersymbol(infiniteoxygenflag)
registersymbol(massiveresourcesflag)
registersymbol(instantcraftbpflag)

newmem:
cmp [rbx+000000A8],2E480609 //check if it is resource
je massiveresources //jump to massive resources
cmp [rbx+000000A8],2E480619 //check if it is oxygen
jne code //going down to infinite oxygen, OK
cmp [infiniteoxygenflag],1
jne code
mov [rbx+00000140],(int)277200 //Infinite Oxygen
jmp return

massiveresources:
cmp r15,0 //check if it is instacraft
jne instantcraftbp //it's not than don't jump
cmp [massiveresourcesflag],1
jne code
mov [rbx+00000140],(int)138600 // Massive Resources //else, doing massive resource
jmp return

instantcraftbp:
cmp [instantcraftbpflag],1
jne code
mov [rbx+00000140],(int)0 //apply 0 to the address value so it will be instant crafting
jmp return

code:
mov [rbx+00000140],edi
jmp return

infiniteoxygenflag:
dd 0

massiveresourcesflag:
dd 0

instantcraftbpflag:
dd 0

INF_OXYGEN:
jmp newmem
nop
return:
registersymbol(INF_OXYGEN)

[DISABLE]
//code from here till the end of the code will be used to disable the cheat
INF_OXYGEN:
db 89 BB 40 01 00 00

unregistersymbol(INF_OXYGEN)
dealloc(newmem)
unregistersymbol(infiniteoxygenflag)
unregistersymbol(massiveresourcesflag)
unregistersymbol(instantcraftbpflag)
</AssemblerScript>
<CheatEntries>
<CheatEntry>
<ID>1</ID>
<Description>"Infinite Oxygen"</Description>
<DropDownList ReadOnly="1" DescriptionOnly="1" DisplayValueAsItem="1">0:Off
1:On
</DropDownList>
<LastState Value="1" RealAddress="7FF645FC00AD"/>
<VariableType>4 Bytes</VariableType>
<Address>infiniteoxygenflag</Address>
</CheatEntry>
<CheatEntry>
<ID>2</ID>
<Description>"Massive Resources"</Description>
<DropDownList ReadOnly="1" DescriptionOnly="1" DisplayValueAsItem="1">0:Off
1:On
</DropDownList>
<LastState Value="1" RealAddress="7FF645FC00B1"/>
<VariableType>4 Bytes</VariableType>
<Address>massiveresourcesflag</Address>
</CheatEntry>
<CheatEntry>
<ID>3</ID>
<Description>"Insta Craft"</Description>
<DropDownList ReadOnly="1" DescriptionOnly="1" DisplayValueAsItem="1">0:Off
1:On
</DropDownList>
<LastState Value="0" RealAddress="7FF645FC00B5"/>
<VariableType>4 Bytes</VariableType>
<Address>instantcraftbpflag</Address>
</CheatEntry>
</CheatEntries>
</CheatEntry>
</CheatEntries>
<UserdefinedSymbols/>
</CheatTable>
Paste this into a text editor and save it as an .CT File, i made it that you can manualy select what cheat you wan't to have activated Have Fun :)
Wow thats a bonus, i have always wanted to learn how to make something like optional cheats, always wonder how to write something like that, learn something new today,
I will look into it, thank you very very much

Right now im not infront of the pc,. Will check it out later :)

Btw how do u write those all drop down menu code? You wrote them all manually? Or is there template in CE assembly section?

I would like to learn this if there are more information on this
I wrote them manually its actualy pretty easy if you know how to :)

Edit: Also if you wan't to learn something like this you can look up tutorials like "cheat engine create your own flags"
 

squall0833

Expert Cheater
Mar 4, 2017
60
3
8
#20
Bloodybone post_id=22768 time=1509484815 user_id=7561 said:
squall0833 post_id=22754 time=1509481395 user_id=639 said:
Bloodybone post_id=22724 time=1509470713 user_id=7561 said:
Also something you can do is this:



Paste this into a text editor and save it as an .CT File, i made it that you can manualy select what cheat you wan't to have activated Have Fun :)
Wow thats a bonus, i have always wanted to learn how to make something like optional cheats, always wonder how to write something like that, learn something new today,
I will look into it, thank you very very much

Right now im not infront of the pc,. Will check it out later :)

Btw how do u write those all drop down menu code? You wrote them all manually? Or is there template in CE assembly section?

I would like to learn this if there are more information on this
I wrote them manually its actualy pretty easy if you know how to :)

Edit: Also if you wan't to learn something like this you can look up tutorials like "cheat engine create your own flags"
hi again bloodybone.
just want to make sure something

cmp r15,0
jne instantcraftbp

i'm still dont really get this part,
when you're crafting something on backpack, it triggers instruction, its r15 is not 0 so it jumps to instantcraftbp:

but when you're harvesting resource,triggers instruction and its r15 is 000000001 isn't that also jump to instantcraftbp? why is it not jumping and proceed massiveresource when it's not equal to 0? then it works as intended

:?: :shock: why is the other offset dont work with cmp xxx,0 when it's not 0? but r15?
 
Top Bottom