[COMPLETED] Dominions 5

anon2494

What is cheating?
May 8, 2017
3
0
1
#1
If possible a way to get edit Design Points when creating a pretender god or edit it. Thanks
 
Apr 19, 2017
29
1
3
#2
i tried it... but when i edit it or do some simple script, the game always know that points are negative. :S
 
Jun 25, 2017
14
0
1
#4
There might be a chance someone could adapt the dominions 4 script.
Mezides post_id=2266 time=1490037268 user_id=1395 said:
Hello little table for Dominions 4 :Throne of Ascencion wich allow to play a god with negative design point.

This was updated to V4.30 by me thanks to this post:
Posted by sanitykey at 2014-09-14 09:14:36
I've updated and tested it so it should work at least until the game is updated again.

The way I did it was as follows:

1) Find the 4 byte value for the number of design points, add it to the code list and, show it as signed.

2) Make your design points negative.

3) Right-click on the design points variable -> Find out what accesses this address.

4) Click "Ok" in game and it should say "You cannot have a negative amount of points left".

5) Right-click on the address that accessed the variable -> Show this address in the disassembler.

6) Notice how just below the line it takes you to there is

Dominions4. exe+135BED:
jns Dominions4. exe+135E5A

This is code we want to change in the script, it only jumps if you have positive (not signed) design points, so we will change that to

Dominions4. exe+135BED:
js Dominions4. exe+135E5A

But that isn't all. . .

7) Right click on the line with jns and "Break and trace instructions" and press "Ok" (default values are fine).

8) Go back to the game, this time give yourself a positive amount of design points and, press "Ok" again.

Now the trace should have a list of instructions that allow you to start the game. The idea is to make sure that these instructions are followed, even if you have a negative amount of design points. I went through the trace instructions sequentially and found that the second call, which only does 3 instructions (cmp, je, ret) has to be forced. If within this call, the je fails then the game won't start. So the easiest thing to try was to replace all instructions after the je (but before the return) with nop. And it turned out that this worked.

9) Within the trace instructions, find the second call, double-click on the second je instruction within the call and, it should take you to that line in the debugger.

10) We want to replace all lines after that je instruction (but before the return) with nop.

Ok so now we know the lines we want in our script. When enabled we want to replace

jns Dominions4. exe+135E5A

mov eax,[esp+08] (4 bytes)
push eax (1 byte)
call Dominions4. exe+C1D50 (5 bytes)
pop ecx (1 byte)

With

js Dominions4. exe+135E5A

nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

(4 + 1 + 5 + 1 = 11) nop

And when disabled we want to restore the original code. I hope this helps explain what I did.

Tips to cheat in game :

- Don't forget to deactivate cheat protection at the start of the game or you won't be able to change value
- Treasury is in 4 bytes
- Gems are in Binary

Have fun !
Current Version:
Dominion 4 Version 4.31 (19/06/2017)
Dominions 4 Allow Negative Design PointsV431.ct

Legacy Version:
Dominion 4 Version 4.30 (05/04/2017)
Dominions 4 Allow Negative Design PointsV430.ct

Dominion 4 Version 4.29 (20/03/2017)
Dominions 4 Allow Negative Design PointsV429.ct
 
Mar 3, 2017
31
0
6
#5
Unlimited design pts and bless.
However max amount of bless is 39 (or 40?), each stackable bless also count as one.
Not sure it affected AI ( not really know how to play ... )
Code:
<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
  <CheatEntries>
    <CheatEntry>
      <ID>0</ID>
      <Description>"inf_design_pts_bless"</Description>
      <LastState Activated="1"/>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>[ENABLE]
aobscanModule(design,$process,83 c4 08 5? 8b c6 5? 5? 5? 83 c4 0c c3)
//                            00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10 11 12 13 14 15 16 17 18 19 1a
aobscanModule(bless, $process,03 c2 0f ?? ?? ?? ?? ?? ?? 3b ?? 74 05 ?? ?? ?? ?? ?? 0f ?? ?? ?? ?? ?? ?? 03 c1)
design+4:
db 33 c0 // xor eax,eax
bless:
db 33 c0
bless+19:
db 33 c0

[DISABLE]
aobscanModule(design,$process,83 c4 08 5? 33 c0 5? 5? 5? 83 c4 0c c3)
aobscanModule(bless, $process,33 c0 0f ?? ?? ?? ?? ?? ?? 3b ?? 74 05 ?? ?? ?? ?? ?? 0f ?? ?? ?? ?? ?? ?? 33 c0)
design+4:
db 8b c6 // mov eax,esi
bless:
db 03 c2
bless+19:
db 03 c1
</AssemblerScript>
    </CheatEntry>
  </CheatEntries>
</CheatTable>
 

Coga

Noobzor
Dec 1, 2017
7
0
1
#7
Dumb question here, but where do I paste the text? I thought it was the Lua Script panel, but then I got this error message:
 

Fenix

Noobzor
Mar 11, 2017
9
0
1
#8
An alternative to points it so empower your Pretender with gems, it takes forever though... (gems are a 4 bit I think).

I do wonder if there is a way to make a pointer for gods when youre in game.
Symilar to how it works in total war.
 

dilbertini

What is cheating?
Mar 6, 2017
4
0
1
#9
Coga post_id=26717 time=1512123204 user_id=10938 said:
Dumb question here, but where do I paste the text? I thought it was the Lua Script panel, but then I got this error message:
You need to paste it into the area where you activate the scripts/ see the value of a variable when you use a table.
 

Coga

Noobzor
Dec 1, 2017
7
0
1
#10
dilbertini post_id=26766 time=1512165235 user_id=710 said:
You need to paste it into the area where you activate the scripts/ see the value of a variable when you use a table.
Holy crap, I am an idiot. Thanks for the tip!
 

Erlkonig

Novice Cheater
Mar 3, 2017
19
0
1
#12
zufield post_id=26784 time=1512175033 user_id=6475 said:
anon2494 post_id=26695 time=1512093956 user_id=4725 said:
yeah it affects AI, but thanks :)
edit: found a workaround :D
What's the workaround?
Creating a pretender god with the script and then loading it with it turned off doesn't crash the game for some reason, though the game alerts you to this fact. I always disable cheat prevention anyways, so it doesn't really bother me.

I think if you create the pretender god with the script and deactivate it after selecting Yes twice when it tells you if you don't want to spend the rest of your points, but before you name the pretender god also happens to work. But i'm not 100 sure about this because I have no way to check if the other gods aren't super pretenders either, though what pretender gods I saw certainly did not have 10 in every magic.
 

Jeremy

What is cheating?
Dec 4, 2017
4
0
1
#13
Can someone be so kind as to post an actual table for this game?

I've got the cash/currency (4-byte) as well as the gems (binary) but not been able to get bless points or creator points working. Read the earlier posts but I don't know how to use CE beyond simple scans.

Would be much appreciated.
 

Hamof

What is cheating?
Dec 6, 2017
2
0
1
#14
dilbertini post_id=26766 time=1512165235 user_id=710 said:
Coga post_id=26717 time=1512123204 user_id=10938 said:
Dumb question here, but where do I paste the text? I thought it was the Lua Script panel, but then I got this error message:
You need to paste it into the area where you activate the scripts/ see the value of a variable when you use a table.
I'm not sure what area you're referring to, can you make a screenshot?
 

dilbertini

What is cheating?
Mar 6, 2017
4
0
1
#15
Hamof post_id=27288 time=1512540281 user_id=11105 said:
dilbertini post_id=26766 time=1512165235 user_id=710 said:
Coga post_id=26717 time=1512123204 user_id=10938 said:
Dumb question here, but where do I paste the text? I thought it was the Lua Script panel, but then I got this error message:
You need to paste it into the area where you activate the scripts/ see the value of a variable when you use a table.
I'm not sure what area you're referring to, can you make a screenshot?
here is a link to the screenshot (did not find a way to attach an image)
just copy the table from panraven post then right click in the zone where you modify the values in cheat engine and then click on paste.
https://drive.google.com/file/d/10R5tSEfCkt3KMHM_cS-vDS6AFHmvTkNA/view?usp=sharing
Jeremy post_id=27108 time=1512414184 user_id=11048 said:
Can someone be so kind as to post an actual table for this game?

I've got the cash/currency (4-byte) as well as the gems (binary) but not been able to get bless points or creator points working. Read the earlier posts but I don't know how to use CE beyond simple scans.

Would be much appreciated.
Here is the table obtained by doing copy pasting just like the screenshot show.
 

Attachments

Hamof

What is cheating?
Dec 6, 2017
2
0
1
#18
dilbertini post_id=27376 time=1512619612 user_id=710 said:
Hamof post_id=27288 time=1512540281 user_id=11105 said:
dilbertini post_id=26766 time=1512165235 user_id=710 said:
You need to paste it into the area where you activate the scripts/ see the value of a variable when you use a table.
I'm not sure what area you're referring to, can you make a screenshot?
here is a link to the screenshot (did not find a way to attach an image)
just copy the table from panraven post then right click in the zone where you modify the values in cheat engine and then click on paste.
https://drive.google.com/file/d/10R5tSEfCkt3KMHM_cS-vDS6AFHmvTkNA/view?usp=sharing
Jeremy post_id=27108 time=1512414184 user_id=11048 said:
Can someone be so kind as to post an actual table for this game?

I've got the cash/currency (4-byte) as well as the gems (binary) but not been able to get bless points or creator points working. Read the earlier posts but I don't know how to use CE beyond simple scans.

Would be much appreciated.
Here is the table obtained by doing copy pasting just like the screenshot show.
Dominions5.CT
Thanks
 
Top Bottom