View previous topic :: View next topic |
Author |
Message |
liamap How do I cheat? Reputation: 0
Joined: 21 Oct 2016 Posts: 2
|
Posted: Fri Oct 21, 2016 9:40 am Post subject: Civilization VI - the gold range |
|
|
basically, the gold eqals to : 1 integer = 0.0039~
so if you have 1500 gold, calculate 1500/0.0039= 384,615.etc
and look for the range around it.
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25287 Location: The netherlands
|
Posted: Fri Oct 21, 2016 10:20 am Post subject: |
|
|
Or turn off fast scan
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
liamap How do I cheat? Reputation: 0
Joined: 21 Oct 2016 Posts: 2
|
Posted: Fri Oct 21, 2016 5:30 pm Post subject: |
|
|
Dark Byte wrote: | Or turn off fast scan |
lol, you were right.
would you mind explaining to me why does it happen ?
I turned off fast scan and it's exactly the 'int' it displays on the screen.
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25287 Location: The netherlands
|
Posted: Fri Oct 21, 2016 5:42 pm Post subject: |
|
|
Fast scsn skips unalligned memory addresses.
So only 0, 4, 8, c, 10, 14, etc....
But it looks like civ6 stores money at an unalligned addredd
E.g the value 1 can be encoded in memory as 01 00 00 00 00 00 00
And the value 256 can be encoded as 00 01 00 00 00 00 00
As you see, the valie you get depends on which address you use ss start when interpreting bytes to valued
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
MrMusAddict How do I cheat? Reputation: 0
Joined: 07 Nov 2016 Posts: 1
|
Posted: Mon Nov 07, 2016 10:08 pm Post subject: Re: Civilization VI - the gold range |
|
|
liamap wrote: | basically, the gold eqals to : 1 integer = 0.0039~
so if you have 1500 gold, calculate 1500/0.0039= 384,615.etc
and look for the range around it. |
To be specific, the value is exactly 256 times amount of gold. To find it, search for values between (x-0.5)*256 and (x+0.5)*256.
So, if it says you have 432 gold, search between 110464 and 110720 (431.5*256 and 432.5*256).
You should only need to cycle through 2-3 turns to find it this way. It should pull up three results. Edit all three to change the gold.[/img]
|
|
Back to top |
|
|
dirheim How do I cheat? Reputation: 0
Joined: 26 Nov 2016 Posts: 3
|
Posted: Sat Nov 26, 2016 7:00 am Post subject: Re: Civilization VI - the gold range |
|
|
MrMusAddict wrote: | liamap wrote: | basically, the gold eqals to : 1 integer = 0.0039~
so if you have 1500 gold, calculate 1500/0.0039= 384,615.etc
and look for the range around it. |
To be specific, the value is exactly 256 times amount of gold. To find it, search for values between (x-0.5)*256 and (x+0.5)*256.
So, if it says you have 432 gold, search between 110464 and 110720 (431.5*256 and 432.5*256).
You should only need to cycle through 2-3 turns to find it this way. It should pull up three results. Edit all three to change the gold.[/img] |
But which kind of Value Type should I be looking for? Byte, 2 Byte,,,?
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25287 Location: The netherlands
|
Posted: Sat Nov 26, 2016 7:43 am Post subject: |
|
|
2 byte ,turn off fast scan and do not do any calculation on it
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
dirheim How do I cheat? Reputation: 0
Joined: 26 Nov 2016 Posts: 3
|
Posted: Sat Nov 26, 2016 7:47 am Post subject: |
|
|
Dark Byte wrote: | 2 byte ,turn off fast scan and do not do any calculation on it |
Thanks a lot!!
|
|
Back to top |
|
|
ugnius40 Cheater Reputation: 0
Joined: 05 Nov 2009 Posts: 26
|
Posted: Fri Apr 28, 2017 2:28 pm Post subject: |
|
|
A little bit of thread necromancy.
As I understand Civ 6 stores gold as int32 shifted to the left by 8 bits. If you want to edit this in Linux using GameConqueror (scanmem), it's possible.
Wrote this little python script to help with conversion to range for searching:
Code: | #!/usr/bin/env python3
import sys
if len(sys.argv) > 1:
numbers = [int(arg) for arg in sys.argv[1:]]
else:
numbers = [int(input("Integer: "))]
for num in numbers:
print("%d = %d..%d" % (num, num << 8, num << 8 | 0xFF))
|
|
|
Back to top |
|
|
Nariuszyn How do I cheat? Reputation: 0
Joined: 31 Jan 2017 Posts: 4
|
Posted: Tue Sep 26, 2017 7:11 am Post subject: |
|
|
It seems not to work for faith this way.Faith can be 86,6(don't know if it can be more after , in game it doesn't show) and i tried do it the same way,2 bytes no fast scan,even tried value between but somehow i can't find it.
|
|
Back to top |
|
|
|