Page 15 of 20

Re: X4 Foundations SV v5.00 (475121) Steam (GM and More) 2022-Mar-20

Posted: Fri Apr 08, 2022 9:46 pm
by Sandman
To make script compatible with version 5.10 (54924) (GOG), replace 2 lines in the script with these (easy to find):
AOBScanModule(MOPS,$process,FF 90 08 13 00 00 48 83 7B 50 02 4C 8D 43 40 4C 8B D0 74 ?? 4D 8B 48 18)
AOBScanModule(GDMD,$process,F3 0F 11 8F F4 01 00 00 F3 41 0F 5C F2 0F 54 F7 FF 90 E8 18 00 00)
Have fun.

Re: X4 Foundations SV v5.00 (475121) Steam (GM and More) 2022-Mar-20

Posted: Sat Apr 09, 2022 8:34 pm
by bagmenot
The updated table with suggested changes from Sandman.

Question Sandman : what is the reason of the 8 offset change in the two AOBScans ?

I also updated the revert of MOPS at end to allow enabling and disabling the script.

Re: X4 Foundations SV v5.00 (475121) Steam (GM and More) 2022-Mar-20

Posted: Sun Apr 10, 2022 7:13 am
by Sandman
2bagmenot:
All relative offsets are calculated by the compiler at the time of creating the executable module, so it is impossible to answer something specific here.

Re: X4 Foundations SV v5.10 (476551) Steam (GM and More) 2022-Apr-16

Posted: Sat Apr 16, 2022 8:42 pm
by Recifense
Hi guys,

A table for version 5.10 (476551) was added at the first post.

Cheers!

Re: X4 Foundations SV v5.10 (476551) Steam (GM and More) 2022-Apr-16

Posted: Sun Apr 24, 2022 2:20 am
by bagmenot
Recifense wrote:
Sat Apr 16, 2022 8:42 pm
Hi guys,

A table for version 5.10 (476551) was added at the first post.

Cheers!
Thank's Recifense ;)

I will test it.

I have the impression that with my updated table I got a problem with the upkeep mission that get freezed when I enable the base script.

Re: X4 Foundations SV v5.10 (476551) Steam (GM and More) 2022-Apr-16

Posted: Sun Jul 17, 2022 2:45 pm
by Kelryth
Awesome table. Thanks Recifense!

Is there a way to change the amount of credits given for option 1?

Re: X4 Foundations SV v5.10 (476551) Steam (GM and More) 2022-Apr-16

Posted: Sun Jul 17, 2022 4:25 pm
by mattdom57
Thanks for the update

Re: X4 Foundations SV v5.10 (476551) Steam (GM and More) 2022-Apr-16

Posted: Sat Jul 23, 2022 3:53 am
by Caedes91
Is it possible to add all the paintjobs with cheat engine?
Egosoft locked the majority of them behind their stupid online feature, only to drop it and leaving the players without a sane way to get even the basic white colors.

Re: X4 Foundations SV v5.10 (476551) Steam (GM and More) 2022-Apr-16

Posted: Fri Aug 12, 2022 8:50 am
by kapti
hi, unlimited hull integrity/shield, doesnt work for turrets/shield generators/engines of ships etc, unless xenon can bypass cheatengine cheats.

Re: X4 Foundations SV v5.10 (476551) Steam (GM and More) 2022-Apr-16

Posted: Fri Jan 20, 2023 9:13 pm
by Crage
Can we have update the table for 6.0 beta?
thanks

Re: X4 Foundations SV v5.10 (476551) Steam (GM and More) 2022-Apr-16

Posted: Sun Jan 22, 2023 2:06 pm
by Enron2
It seems as if the developers have added some sort of protection against memmory cheating in the 6.0 beta, for example for altering amount of money etc.. I think they are using some sort of checksum now.

Re: X4 Foundations SV v5.10 (476551) Steam (GM and More) 2022-Apr-16

Posted: Sun Feb 05, 2023 10:16 pm
by mevith
Enron2 wrote:
Sun Jan 22, 2023 2:06 pm
It seems as if the developers have added some sort of protection against memmory cheating in the 6.0 beta, for example for altering amount of money etc.. I think they are using some sort of checksum now.
Any luck finding editable values?
Storage levels also difficult to find right now

Re: X4 Foundations SV v5.10 (476551) Steam (GM and More) 2022-Apr-16

Posted: Wed Feb 15, 2023 2:15 pm
by eidng8
Credit is still a double, just not in plain number anymore. And it still can be locked, the value is actually real. Just a an unkown value search will do.

Re: X4 Foundations SV v5.10 (476551) Steam (GM and More) 2022-Apr-16

Posted: Wed Feb 15, 2023 2:23 pm
by eidng8
A trace goes:

Code: Select all

X4.exe+851C3F - CC                    - int 3 
X4.exe+851C40 - 40 53                 - push rbx
X4.exe+851C42 - 48 83 EC 20           - sub rsp,20 { 32 }
X4.exe+851C46 - 48 8B 01              - mov rax,[rcx]
X4.exe+851C49 - 48 8B D9              - mov rbx,rcx
X4.exe+851C4C - FF 50 40              - call qword ptr [rax+40]
X4.exe+851C4F - 48 8B D3              - mov rdx,rbx
X4.exe+851C52 - 48 33 53 10           - xor rdx,[rbx+10]
X4.exe+851C56 - 48 81 F2 FFFFFF7F     - xor rdx,7FFFFFFF { 2147483647 }
X4.exe+851C5D - 48 2B D0              - sub rdx,rax
X4.exe+851C60 - 48 33 D3              - xor rdx,rbx
X4.exe+851C63 - 48 81 F2 FFFFFF7F     - xor rdx,7FFFFFFF { 2147483647 }
X4.exe+851C6A - 48 89 53 10           - mov [rbx+10],rdx
X4.exe+851C6E - 48 83 C4 20           - add rsp,20 { 32 }
X4.exe+851C72 - 5B                    - pop rbx
X4.exe+851C73 - C3                    - ret 

Re: X4 Foundations SV v5.10 (476551) Steam (GM and More) 2022-Apr-16

Posted: Thu Feb 16, 2023 12:35 am
by eidng8
There are 2 auto assembly scripts in the attached file. One is the modification of trading at trader's corner, the other is trading with stations (including ships building). Hope it helps.