Page 1 of 3

Mars Horizon

Posted: Tue Nov 17, 2020 6:11 pm
by Csimbi
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.

Guide to dummies:
- Make sure you are on CE 7.2.
- Start the game and load up a game with a "satellite minigame".
- Generate some resources (energy is fastest) and end your turn.
- Wait for your next turn (until you can enter new commands).
- Now, load your real save.
- Load script in CE and enable it.
- This works about 29 out of 30 cases. The one exception is a crash when ending the turn on the real save. Just try again and the second time it will work.

Enjoy!

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

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).

Re: Mars Horizon

Posted: Tue Nov 17, 2020 11:09 pm
by Ashar
Ive been dabbling with the starter bonuses you choose when creating a space agency, i managed to find the value for each bonus in the 5 slots, and froze them at 0 so i could pick 5 positive bonuses, without affeting the points limit, so as you can see, it worked well:
Image
Given that the resources are easier to cheat, i figured reductions in build time would be good, and more reliability in parts too, though theres some other good options.

Re: Mars Horizon

Posted: Wed Nov 18, 2020 2:20 am
by TOGHOUL
Ashar wrote:
Tue Nov 17, 2020 11:09 pm
Ive been dabbling with the starter bonuses you choose when creating a space agency, i managed to find the value for each bonus in the 5 slots, and froze them at 0 so i could pick 5 positive bonuses, without affeting the points limit, so as you can see, it worked well:
Image
Given that the resources are easier to cheat, i figured reductions in build time would be good, and more reliability in parts too, though theres some other good options.
How did you do that? CE or edit the .dll file?

Re: Mars Horizon

Posted: Wed Nov 18, 2020 2:42 am
by Ashar
ce, like i said, the only way i could do it, was to find the bonus value for each slot, so for the first 1slot, select a bonus that costs 2 points, search for 2 in 4byte, then swap it for one that costs 1, filter, keep swapping as usual till you fin result, and freeze it to 0. Do the same for the other slots and freeze them to 0 too. You might beable to get away with just freezing 2 or so to give enough point.

Re: Mars Horizon

Posted: Wed Nov 18, 2020 2:49 am
by Zanzer
Quick Pointers

Re: Mars Horizon

Posted: Thu Nov 19, 2020 6:10 am
by Marsianen30
Why when you try to enable, you get this error: "<<Error while scanning for AOB's : aobMissionSimResourceCalc Error: Not all results found>>".

Re: Mars Horizon

Posted: Thu Nov 19, 2020 8:58 am
by lemaun
Am I the only one that the update 3 table is not activated?

Could you also upload the update 2 version?
please

Re: Mars Horizon

Posted: Thu Nov 19, 2020 9:49 am
by Kaedus
hmm, version 3 is not activated.

Re: Mars Horizon

Posted: Thu Nov 19, 2020 11:25 am
by marking
Version 3 works when you've done a "satellite minigame" where you try to collect those resources.
After doing a single turn it works.

(The creator of this cheat table uses a "resource simulation calculation" function that does not exist until it has run at least once.

Re: Mars Horizon

Posted: Thu Nov 19, 2020 11:29 am
by BSWoolfe
marking wrote:
Thu Nov 19, 2020 11:25 am
Version 3 works when you've done a "satellite minigame" where you try to collect those resources.
After doing a single turn it works.

(The creator of this cheat table uses a "resource simulation calculation" function that does not exist until it has run at least once.
sorry, WHAT/ Can you explain what do you mean?

Re: Mars Horizon

Posted: Thu Nov 19, 2020 11:30 am
by rambo99jose
.:|CHANGELOG|:.
20201119_v0.1_RAW
  • edit two nations from diplomacy relations screen/list]
Game Version: CDX 1.0.1.1
Table Version: 20201119_v0.1_RAW

.:|FEATURES|:.
- Edit Diplomatic Relations Points between two nations
- Pointers to both Agencies in relation

.:|HOW TO USE|:.
0 SAVE GAME BEFORE SCREWING AROUND WITH VALUES, THIS IS A RAW TABLE
1 Open Diplomacy > DIplomatic Relations screen
2 Look which faction has 'isAI' = 0 which means Player, if its 1 then its other AI Agency in comparison

.:|NOTES|:.
- Game might freeze for a little bit entering Diplomacy screen, give it couple seconds
Astronautica.Agency offsets

Code: Select all

+10	universe	Astronautica.Universe
+178	type	Astronautica.Agency.Type
+17c	assigned	System.Boolean
+17d	isAI	System.Boolean
+180	aiMilestoneTargetsPathIndex	System.Nullable<System.Int32>
+18	aiStrategy	Astronautica.AIStrategy
+188	victorious	System.Boolean
+189	failed	System.Boolean
+18a	committedTurn	System.Boolean
+18c	fundingTier	System.Int32
+190	science	System.Int32
+194	funds	System.Int32
+198	support	System.Int32
+19c	scienceIncomeMultiplier	System.Single
+1a0	fundsIncomeMultiplier	System.Single
+1a4	monthlyIncomeMultiplier	System.Single
+1a8	researchCostMultiplier	System.Single
+1ac	taskRequirementMultiplier	System.Single
+1b0	turnsUntilNextMissionRequest	System.Int32
+1b4	previousJointPromptTurn	System.Int32
+20	activeMilestoneChallenge	Astronautica.Model.MilestoneChallenge.MilestoneChallenge
+28	previousMilestoneChallenge	Astronautica.Model.MilestoneChallenge.MilestoneChallenge
+1b8	allMilestoneChallengesComplete	System.Boolean
+1bc	challengeTasksCompleted	System.Int32
+1c0	milestoneChallengeTurnsElapsed	System.Int32
+1c4	milestoneChallengeResearchBonus	Astronautica.Model.MilestoneChallenge.MilestoneChallengeResearchBonus
+1d4	hasNewChallenge	System.Boolean
+1d8	vehicleUpgradesUsageCounter	System.Int32
+1dc	contractorsUsageCounter	System.Int32
+1	turnsSinceLastFundingReview	System.Int32
+1e4	governmentFunding	System.Int32
+30	marsReadinessCurrent	Astronautica.Data.MarsReadiness
+38	baseLayout	Astronautica.Data.BaseLayout
+40	plotsLegacy	System.Collections.Generic.List<Astronautica.Data.Plot>
+48	buildingsLegacy	System.Collections.Generic.List<Astronautica.Data.Building>
+50	astronauts	System.Collections.Generic.List<Astronautica.CrewMember>
+58	lostCrew	System.Collections.Generic.List<Astronautica.CrewMember>
+60	astronautRecruitPool	System.Collections.Generic.List<Astronautica.CrewMember>
+68	vehicleDesigns	System.Collections.Generic.List<Astronautica.Data.VehicleDesign>
+70	templateVehicleDesigns	System.Collections.Generic.List<Astronautica.Data.VehicleDesign>
+78	vehicleDesignsLegacy	System.Collections.Generic.List<Astronautica.Vehicle>
+80	templateVehicleDesignsLegacy	System.Collections.Generic.List<Astronautica.Vehicle>
+88	vehiclesLegacy	System.Collections.Generic.List<Astronautica.Vehicle>
+90	missions	System.Collections.Generic.List<Astronautica.Mission>
+98	missionRequests	System.Collections.Generic.List<Astronautica.Data.RequestMissionData>
+a0	jointMissionRequests	System.Collections.Generic.List<Astronautica.Data.RequestMissionData>
+a8	milestonesCompleted	System.Collections.Generic.HashSet<System.String>
+b0	notifications	System.Collections.Generic.List<Astronautica.Data.Notification>
+b8	milestoneTurnCompletion	System.Collections.Generic.Dictionary<System.String,System.Int32>
+c0	vehiclePartLevels	System.Collections.Generic.Dictionary<System.String,System.Int32>
+c8	supportHistory	System.Collections.Generic.Dictionary<System.Int32,Astronautica.Agency.SupportHistory>
+d0	customAgencyName	System.String
+d8	customSpriteName	System.String
+e0	customBaseName	System.String
+e8	customAgencyTraits	Astronautica.Data.AgencyTrait[]
+f0	customDiplomacySetups	Astronautica.Data.Scenario.DiplomacySetup[]
+1e8	era	System.Int32
+1ec	missionResearchEra	System.Int32
+1f0	missionResearchCompletedCount	System.Int32
+1f4	vehicleResearchEra	System.Int32
+1f8	vehicleResearchCompletedCount	System.Int32
+1fc	baseResearchEra	System.Int32
+200	baseResearchCompletedCount	System.Int32
+204	otherResearchCompletedCount	System.Int32
+f8	activeResearch	Astronautica.Data.Research
+100	researchProgress	System.Collections.Generic.Dictionary<System.String,System.Int32>
+108	researchCompleted	System.Collections.Generic.HashSet<System.String>
+110	researchTurnCompleted	System.Collections.Generic.Dictionary<System.String,System.Int32>
+208	cachedScience	System.Int32
+118	activeResearchNode	Astronautica.TechTrees.Runtime.TechNodeData
+120	recentEventTags	System.Collections.Generic.HashSet<Astronautica.Data.Event.Condition.Type>
+128	memorySwitches	System.Collections.Generic.HashSet<System.String>
+130	memoryValues	System.Collections.Generic.Dictionary<System.String,System.Single>
+138	fundsIncomes	System.Collections.Generic.List<Astronautica.Agency.EventIncome>
+140	scienceIncomes	System.Collections.Generic.List<Astronautica.Agency.EventIncome>
+148	missionPaths	System.Collections.Generic.List<Astronautica.View.NetMessages.CreateMissionPath>
+150	availableLandLegacy	System.Collections.Generic.HashSet<IntVector2>
+158	vehicleUpgradeRewardIds	System.Collections.Generic.HashSet<System.String>
+160	buildingAdjacencies	System.Collections.Generic.Dictionary<System.String,System.Collections.Generic.HashSet<Astronautica.Data.Building>>
+168	agencyCheats	System.Collections.Generic.HashSet<Astronautica.View.Simulation.Cheat>
+170	preparationMissionsCompleted	System.Collections.Generic.Dictionary<System.String,System.Int32>
+20c	minDifficulty	System.Int32
+210	initialAIDifficulty	Astronautica.Data.EDifficulty
+214	initialMissionDifficulty	Astronautica.Data.EDifficulty
+218	initialResourceDifficulty	Astronautica.Data.EDifficulty
Astronautica.Agency photo
Image

Re: Mars Horizon

Posted: Thu Nov 19, 2020 11:47 am
by marking
BSWoolfe wrote:
Thu Nov 19, 2020 11:29 am
marking wrote:
Thu Nov 19, 2020 11:25 am
Version 3 works when you've done a "satellite minigame" where you try to collect those resources.
After doing a single turn it works.

(The creator of this cheat table uses a "resource simulation calculation" function that does not exist until it has run at least once.
sorry, WHAT/ Can you explain what do you mean?
Sorry, I will try:

1) Start the game, continue your save game
2) Do a satellite minigame mission (were you have to collect resources or you fail) like this:
Spoiler
Image
3) Do at least one turn (you often have 3-5 turns to enter a sequence)
4) Start cheat engine and activate this this cheat
5) Profit

Re: Mars Horizon

Posted: Thu Nov 19, 2020 11:52 am
by BSWoolfe
marking thank you

Re: Mars Horizon

Posted: Thu Nov 19, 2020 12:00 pm
by TOGHOUL
Can not active the script at all,don't know why

Re: Mars Horizon

Posted: Thu Nov 19, 2020 8:16 pm
by Jamester
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)