Mars Horizon

Upload your cheat tables here (No requests)
User avatar
Csimbi
RCE Fanatics
RCE Fanatics
Posts: 885
Joined: Sat Apr 29, 2017 9:04 pm
Reputation: 1220

Re: Mars Horizon

Post by Csimbi »

Jamester wrote:
Thu Nov 19, 2020 8:16 pm
I think this not work. When i open game and try to put the X near Mars Horizon AOB script cheatengine seems crash but btw not work. Could you do a youtube video with step by step (if work ofc)
No

How to use this cheat table?
  1. Install Cheat Engine
  2. Double-click the .CT file in order to open it.
  3. Click the PC icon in Cheat Engine in order to select the game process.
  4. Keep the list.
  5. Activate the trainer options by checking boxes or setting values from 0 to 1

panraven
Table Makers
Table Makers
Posts: 124
Joined: Fri Mar 03, 2017 12:03 am
Reputation: 112

Re: Mars Horizon

Post by panraven »

.:| Many Traits |:.
<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
<CheatEntries>
<CheatEntry>
<ID>26787</ID>
<Description>"TraitSlotAndMaxPoint"</Description>
<LastState/>
<VariableType>Auto Assembler Script</VariableType>
<AssemblerScript>{$lua}
_PIDCTX = _PIDCTX or {}

local pid = GetOpenedProcessID()
_PIDCTX[pid] = _PIDCTX[pid] or {}
if readInteger'mono_domain_get' and not _PIDCTX[pid].TraitHck then
pcall(LaunchMonoDataCollector)
if autoAssemble[[
aobscanRegion(aobTrait1st,Astronautica.View:CustomiseAgencyTraits:CanAddTrait+180,Astronautica.View:CustomiseAgencyTraits:CanAddTrait+280, 48 63 89 ?? ?? 00 00 3b c1 )
registerSymbol(aobTrait1st)
]] and autoAssemble[[
aobscanRegion(aobTrait2nd,aobTrait1st+1,aobTrait1st+100, 48 63 89 ?? ?? 00 00 3b c1 )
registerSymbol(aobTrait2nd)
]] then
local pts, slot = GetAddressSafe'aobTrait1st',GetAddressSafe'aobTrait2nd'
local maxPts, maxSlot = pts and readInteger(pts+3),slot and readInteger(slot+3)
if maxPts and maxSlot then
unregisterSymbol'aobTrait1st'
unregisterSymbol'aobTrait2nd'
_PIDCTX[pid].TraitHck = string.format([[
define(pts,%X)
define(slot,%X)
define(maxPts,%X)
define(maxSlot,%X)
]],pts, slot, maxPts, maxSlot)
end
end
end
local code = _PIDCTX[pid].TraitHck
if code then return code end
{$asm}

define(cave,TraitSlotAndMaxPoint)

globalalloc(nTraitSlotPoints,16)
[ENABLE]

alloc(TraitSlotAndMaxPoint,$1000,pts)
registersymbol(TraitSlotAndMaxPoint)

cave+80:
dq cave, pts, slot

cave+100:
readmem(pts,32)
cave+120:
readmem(slot,32)

label(common)

cave+200: // pts
// add code
call common
mov edx,[rdx+00]
mov [rcx+maxPts],edx
reassemble(pts)
jmp pts+7
common:
mov rdx,nTraitSlotPoints
cmp dword ptr[rdx],0
jg short @f
mov dword ptr[rdx+00],#64 /// max point
mov dword ptr[rdx+04],#32 /// max slot
@@:
ret
cave+400: // slot
// add code
call common
mov edx,[rdx+04]
mov [rcx+maxSlot],edx
reassemble(slot)
jmp slot+7


pts:
jmp cave+200 // check nops
db 90 90
slot:
jmp cave+400 // check nops
db 90 90


// last 0600

[DISABLE]
{$lua}
if not syntaxcheck and readInteger'TraitSlotAndMaxPoint'and autoAssemble [[
[TraitSlotAndMaxPoint+88]:
readmem(TraitSlotAndMaxPoint+100,32)
[TraitSlotAndMaxPoint+90]:
readmem(TraitSlotAndMaxPoint+120,32)

]]then return[[

dealloc(TraitSlotAndMaxPoint)
unregistersymbol(TraitSlotAndMaxPoint)
]] end
</AssemblerScript>
<CheatEntries>
<CheatEntry>
<ID>26788</ID>
<Description>"max points"</Description>
<LastState Value="0" RealAddress="24713240000"/>
<ShowAsSigned>1</ShowAsSigned>
<VariableType>4 Bytes</VariableType>
<Address>nTraitSlotPoints</Address>
</CheatEntry>
<CheatEntry>
<ID>26789</ID>
<Description>"max slot"</Description>
<LastState Value="0" RealAddress="24713240004"/>
<ShowAsSigned>1</ShowAsSigned>
<VariableType>4 Bytes</VariableType>
<Address>nTraitSlotPoints+4</Address>
</CheatEntry>
</CheatEntries>
</CheatEntry>
</CheatEntries>
</CheatTable>
Copy content and paste into ce memory record entry panel.

User avatar
Darkedone02
Expert Cheater
Expert Cheater
Posts: 947
Joined: Thu Mar 02, 2017 11:42 pm
Reputation: 109

Re: Mars Horizon

Post by Darkedone02 »

Csimbi wrote:
Tue Nov 17, 2020 6:11 pm
I did not play much, but here's an AOB script I made over the course of the few hours I did.
Signed to avoid prompt for auto-attach script.

It gives you:
- Min. Funds; no comment
- Min. Research; no comment
- Min. Support; no comment
- Infinite Mission Turns; hold CTRL after your last action (when the turn ends) and the turn counter won't decrease, allowing you to collect plenty of stuff during missions.
- Mission Resource Mgr.; hold ALT while accepting a resource (the result of a command) and you keep input yet double output resources.
- Mission Heat; enable this and at the of the turn, you can forget about heat. Use before you overheat, it won't help you otherwise. Heads up: seem it also takes care of drift and radiation albeit inconsistenly ;-)
- One-turn Payload Construction; your payloads will be constructed in one turn (one month). Notification will still count down normally, so you will need to open missions manually to continue building in the next turn.
- One-turn Vehicle Construction; your vehicles will be constructed in one turn (one month). Notification will still count down normally, so you will need to open missions manually to continue planning in the next turn.

Notes:
- The resources on the UI are only updated when you flip screens.
- You might want to keep a Mission save ready, easier to enable the script if you load a Mission first (this is what marking calls a "satellite minigame") because you will need to end a turn at least once before you can enable the script.

Enjoy!

Other tables/scripts in this thread:
- Zanzer
- rambo99jose
- panraven

Update #1
- Added Infinite Mission Turns

Update #2
- Added One-turn Payload Construction
- Added One-turn Vehicle Construction

Update #3
- Added Mission Resource Mgr.

Update #4
- Added Mission Heat

Update #5
- Fixed Mission Heat (was using wrong offset, preventing it from running in same cases)

Update #6
- Improved Mission Heat; now takes care of random heat, too (the earlier script covers the fixed amount only).
I have trouble launching the table, I try to save the game, load it up, and activate the script and it won't activate.

TOGHOUL
Novice Cheater
Novice Cheater
Posts: 19
Joined: Sun Nov 05, 2017 3:28 am
Reputation: 1

Re: Mars Horizon

Post by TOGHOUL »

Mission Resource Mgr. crash the game,fix it

User avatar
rambo99jose
Table Makers
Table Makers
Posts: 211
Joined: Sun Mar 18, 2018 6:24 am
Reputation: 134

Re: Mars Horizon

Post by rambo99jose »

Jamester wrote:
Thu Nov 19, 2020 8:16 pm
I think this not work. When i open game and try to put the X near Mars Horizon AOB script cheatengine seems crash but btw not work. Could you do a youtube video with step by step (if work ofc)
Mine doesnt work? Its for Codex release only

User avatar
Darkedone02
Expert Cheater
Expert Cheater
Posts: 947
Joined: Thu Mar 02, 2017 11:42 pm
Reputation: 109

Re: Mars Horizon

Post by Darkedone02 »

rambo99jose wrote:
Fri Nov 20, 2020 2:48 am
Jamester wrote:
Thu Nov 19, 2020 8:16 pm
I think this not work. When i open game and try to put the X near Mars Horizon AOB script cheatengine seems crash but btw not work. Could you do a youtube video with step by step (if work ofc)
Mine doesnt work? Its for Codex release only
that's what I used.

User avatar
rambo99jose
Table Makers
Table Makers
Posts: 211
Joined: Sun Mar 18, 2018 6:24 am
Reputation: 134

Re: Mars Horizon

Post by rambo99jose »

Darkedone02 wrote:
Fri Nov 20, 2020 3:50 am
that's what I used.
Open diplomacy and select a relation, should let you activate. This is for codex 1.0.1.1
I gotta play the game a little, only in like 4th week :D

code991
Noobzor
Noobzor
Posts: 11
Joined: Mon Feb 25, 2019 4:11 pm
Reputation: 1

Re: Mars Horizon

Post by code991 »

The newest version of this cheat table from the OP crashes my game when using the freeze turns function.

I was using an older cheat table before and it worked fine. I've downloaded the new version and it crashes the game.


EDIT: Fixed by updating cheat engine to 7.2

Now everything works fine, thank you for the table OP!

Jamester
What is cheating?
What is cheating?
Posts: 2
Joined: Thu Nov 19, 2020 8:12 pm
Reputation: 0

Re: Mars Horizon

Post by Jamester »

I repeat: still not work. Simply does not happen nothing. Not let me put X nothing totally

Image

User avatar
Csimbi
RCE Fanatics
RCE Fanatics
Posts: 885
Joined: Sat Apr 29, 2017 9:04 pm
Reputation: 1220

Re: Mars Horizon

Post by Csimbi »

I added a "Guide to dummies" to the OP.

Zanzer
RCE Fanatics
RCE Fanatics
Posts: 1089
Joined: Fri Mar 03, 2017 10:48 pm
Reputation: 3500

Re: Mars Horizon

Post by Zanzer »

Meh. I usually let the dummies create the guides for the even dummier dummies.

User avatar
Belialskind
Noobzor
Noobzor
Posts: 6
Joined: Wed Apr 25, 2018 8:25 pm
Reputation: 5

Re: Mars Horizon

Post by Belialskind »

Does it work on version 1.0.1.2 ?

aSwedishMagyar
Table Makers
Table Makers
Posts: 672
Joined: Mon Jul 06, 2020 3:19 am
Reputation: 1192

Re: Mars Horizon

Post by aSwedishMagyar »

Csimbi wrote:
Tue Nov 17, 2020 6:11 pm
...
If you feel like it you could just compile the method so you can AOB it. For example:

Code: Select all

mono_compile_method(mono_getJitInfo(getAddress('Astronautica.View:MissionGameplaySimulation:ApplyResourceModifier')).method)

User avatar
Csimbi
RCE Fanatics
RCE Fanatics
Posts: 885
Joined: Sat Apr 29, 2017 9:04 pm
Reputation: 1220

Re: Mars Horizon

Post by Csimbi »

aSwedishMagyar wrote:
Sat Nov 21, 2020 8:50 am

If you feel like it you could just compile the method so you can AOB it. For example:

Code: Select all

mono_compile_method(mono_getJitInfo(getAddress('Astronautica.View:MissionGameplaySimulation:ApplyResourceModifier')).method)
I don't think this generates all operator overloads, does it?
That particular function does have some.

aSwedishMagyar
Table Makers
Table Makers
Posts: 672
Joined: Mon Jul 06, 2020 3:19 am
Reputation: 1192

Re: Mars Horizon

Post by aSwedishMagyar »

Oh my bad, didn't think about that. I just thought that this was the only place you needed the initial AOB and the other functions would just get JITed when you go into the minigame.

Post Reply

Who is online

Users browsing this forum: AhrefsBot, delusionz, dragonandahare, DrewMark, Google [Bot], Google Adsense [Bot], howdoyoueven, jojo179, Lokisonl, mikamiyui, Nero95, Toxic, treqzy, VicViperGradius, wyppe, yogaharris, zantek