Generals & Rulers

Ask about cheats/tables for single player games here
User avatar
Illusion11316
Novice Cheater
Novice Cheater
Posts: 23
Joined: Fri Dec 29, 2017 12:25 am
Reputation: 10

Generals & Rulers

Post by Illusion11316 »

Game Name: Generals & Rulers
Game Engine: Unity
Game Version: 1.0?
Options Required: Gold And Other u can find
Game/Steam Website:
Note: I dunno how to find the values anyway, can someone share information about Unity ?

User avatar
Rysefox
Table Makers
Table Makers
Posts: 863
Joined: Sat Jun 23, 2018 3:32 pm
Reputation: 914

Re: Generals & Rulers

Post by Rysefox »

Illusion11316 wrote:
Sun Jun 02, 2019 10:46 am
Note: I dunno how to find the values anyway, can someone share information about Unity ?
When the game use Unity -> With hope not modified you can use the "Mono Feature" in Cheat engine. This helps a lot to find everything with only 1 address.

e.G you search for Ammo, when you find it, you go to this function and press on the opcode "Find out what address this instruction access", a "list" pop up and you should see your Ammo-address with the Value for example 5, then you open structure dissect and you find everything.

You can find the same also in a normal Structure, but with a unity structure its all easier

Unity Structure:
Spoiler
[Link]
Without Unity Structure:
Spoiler
[Link]

Cruxibel
Cheater
Cheater
Posts: 30
Joined: Fri Jul 21, 2017 9:06 pm
Reputation: 0

Re: Generals & Rulers

Post by Cruxibel »

Gold should be in Assembly C sharp?

User avatar
fantomas
Table Makers
Table Makers
Posts: 1162
Joined: Sat Mar 25, 2017 7:13 pm
Reputation: 552

Re: Generals & Rulers

Post by fantomas »

UnlockAllCampaigns

Code: Select all

[ENABLE]
CampaignDataProvider:IsCampaignAvailable:
  ret
 
[DISABLE]
CampaignDataProvider:IsCampaignAvailable:
  push ebp
NoResourcesDecreasing

Code: Select all

[ENABLE]
ResourceManagment:RemoveResource:
  ret
 
[DISABLE]
ResourceManagment:RemoveResource:
  push ebp
ScienceUpgradeAlwaysAvailable

Code: Select all

[ENABLE]
Science:IsUpgradeUpgradeAvailable:
  ret

[DISABLE]
Science:IsUpgradeUpgradeAvailable:
  push ebp

User avatar
fantomas
Table Makers
Table Makers
Posts: 1162
Joined: Sat Mar 25, 2017 7:13 pm
Reputation: 552

Re: Generals & Rulers

Post by fantomas »

Illusion11316 wrote:
Sun Jun 02, 2019 10:46 am
Note: I dunno how to find the values anyway, can someone share information about Unity ?
The game is using anti-cheat toolkit - I'll let you google it to discover how to bypass it.

User avatar
fantomas
Table Makers
Table Makers
Posts: 1162
Joined: Sat Mar 25, 2017 7:13 pm
Reputation: 552

Re: Generals & Rulers

Post by fantomas »

Copy/past the code in notepad++ and save it with .ct extension

Religion

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<CheatTable CheatEngineTableVersion="28">
  <CheatEntries>
    <CheatEntry>
      <ID>13</ID>
      <Description>"Religion"</Description>
      <Options moHideChildren="1"/>
      <LastState/>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>{ Game   : Generals And Rulers
  Version: 06012019
  Date   : 2019-06-08
  Author : fantomas
}

define(address,ReligionsInfo:SetInfo+12c)
define(bytes,48 63 40 10 48 89 85 00 FF FF FF)

[ENABLE]
assert(address,bytes)
alloc(newmem,$100,ReligionsInfo:SetInfo+12c)
alloc(religion_ptr, 8)
registersymbol(religion_ptr)

label(code)
label(return)

newmem:
  cmp [rax+28C],1  //player
  jne code
  mov [religion_ptr],rax

code:
  movsxd  rax,dword ptr [rax+10]
  mov [rbp-00000100],rax
  jmp return

address:
  jmp newmem
  nop
  nop
  nop
  nop
  nop
  nop
return:

[DISABLE]
address:
  db bytes
  // movsxd  rax,dword ptr [rax+10]
  // mov [rbp-00000100],rax

unregistersymbol(religion_ptr)
dealloc(newmem)
dealloc(religion_ptr)

{
// ORIGINAL CODE - INJECTION POINT: ReligionsInfo:SetInfo+12c

07B608A2: 41 BA D0 CE 2E 89              -  mov r10d,892ECED0
07B608A8: FF 50 D0                       -  call qword ptr [rax-30]
07B608AB: 48 8B C8                       -  mov rcx,rax
07B608AE: 48 8B 85 E8 FE FF FF           -  mov rax,[rbp-00000118]
07B608B5: 48 89 48 10                    -  mov [rax+10],rcx
07B608B9: 49 8B 47 10                    -  mov rax,[r15+10]
07B608BD: 48 8B C8                       -  mov rcx,rax
07B608C0: 83 39 00                       -  cmp dword ptr [rcx],00
07B608C3: 48 85 C0                       -  test rax,rax
07B608C6: 0F 84 A5 06 00 00              -  je ReligionsInfo:SetInfo+7d1
// ---------- INJECTING HERE ----------
07B608CC: 48 63 40 10                    -  movsxd  rax,dword ptr [rax+10]
07B608D0: 48 89 85 00 FF FF FF           -  mov [rbp-00000100],rax
// ---------- DONE INJECTING  ----------
07B608D7: 48 8B 46 10                    -  mov rax,[rsi+10]
07B608DB: 48 89 85 F0 FE FF FF           -  mov [rbp-00000110],rax
07B608E2: 4D 85 FF                       -  test r15,r15
07B608E5: 0F 84 7F 06 00 00              -  je ReligionsInfo:SetInfo+7ca
07B608EB: B9 A0 FC ED 68                 -  mov ecx,68EDFCA0
07B608F0: 48 8D 64 24 00                 -  lea rsp,[rsp+00]
07B608F5: 90                             -  nop 
07B608F6: 49 BB 60 0F 36 00 00 00 00 00  -  mov r11,System:Object:__icall_wrapper_ves_icall_object_new_specific
07B60900: 41 FF D3                       -  call r11
07B60903: 48 8B D0                       -  mov rdx,rax
}
</AssemblerScript>
      <CheatEntries>
        <CheatEntry>
          <ID>12</ID>
          <Description>"staticData"</Description>
          <DropDownList ReadOnly="1" DisplayValueAsItem="1">1:Catholicism
2:Orthodoxy
3:Islam
4:Confucianism
5:Hinduism
6:Buddhism
7:Atheism
8:Paganism
9:Other
</DropDownList>
          <VariableType>4 Bytes</VariableType>
          <Address>[religion_ptr]+10</Address>
        </CheatEntry>
      </CheatEntries>
    </CheatEntry>
  </CheatEntries>
  <UserdefinedSymbols/>
</CheatTable>

User avatar
Illusion11316
Novice Cheater
Novice Cheater
Posts: 23
Joined: Fri Dec 29, 2017 12:25 am
Reputation: 10

Re: Generals & Rulers

Post by Illusion11316 »

fantomas wrote:
Sat Jun 08, 2019 10:19 am
Illusion11316 wrote:
Sun Jun 02, 2019 10:46 am
Note: I dunno how to find the values anyway, can someone share information about Unity ?
The game is using anti-cheat toolkit - I'll let you google it to discover how to bypass it.
Because that it was very hard to find it with my skill :x

Mnter
What is cheating?
What is cheating?
Posts: 1
Joined: Thu Jun 13, 2019 7:27 pm
Reputation: 0

Re: Generals & Rulers

Post by Mnter »

any tables yet??
script doesn't work's

User avatar
Rysefox
Table Makers
Table Makers
Posts: 863
Joined: Sat Jun 23, 2018 3:32 pm
Reputation: 914

Re: Generals & Rulers

Post by Rysefox »

Mnter wrote:
Thu Jun 13, 2019 7:31 pm
any tables yet??
script doesn't work's
fantomas wrote:
Sat Jun 08, 2019 10:19 am
Illusion11316 wrote:
Sun Jun 02, 2019 10:46 am
Note: I dunno how to find the values anyway, can someone share information about Unity ?
The game is using anti-cheat toolkit - I'll let you google it to discover how to bypass it.
The Scripts works for me

Cruxibel
Cheater
Cheater
Posts: 30
Joined: Fri Jul 21, 2017 9:06 pm
Reputation: 0

Re: Generals & Rulers

Post by Cruxibel »

Rysefox wrote:
Thu Jun 13, 2019 7:48 pm
Mnter wrote:
Thu Jun 13, 2019 7:31 pm
any tables yet??
script doesn't work's
The Scripts works for me
This is the error for science and resource:
[string "[enable]..."]:1:unexpected symbol near '['

And for religion :
"not al code is injectable"
alloc(newmem,$100,ReligionsInfo:SetInfo+12c)

User avatar
Rysefox
Table Makers
Table Makers
Posts: 863
Joined: Sat Jun 23, 2018 3:32 pm
Reputation: 914

Re: Generals & Rulers

Post by Rysefox »

Cruxibel wrote:
Fri Jun 14, 2019 3:09 pm
Rysefox wrote:
Thu Jun 13, 2019 7:48 pm
Mnter wrote:
Thu Jun 13, 2019 7:31 pm
any tables yet??
script doesn't work's
The Scripts works for me
This is the error for science and resource:
[string "[enable]..."]:1:unexpected symbol near '['

And for religion :
"not al code is injectable"
alloc(newmem,$100,ReligionsInfo:SetInfo+12c)
1:Somewhere from [ seems to be a mistake
2:Looks like you try to attach it to your cheat table without mono feature activated?

Cruxibel
Cheater
Cheater
Posts: 30
Joined: Fri Jul 21, 2017 9:06 pm
Reputation: 0

Re: Generals & Rulers

Post by Cruxibel »

Rysefox wrote:
Fri Jun 14, 2019 3:40 pm
Cruxibel wrote:
Fri Jun 14, 2019 3:09 pm
Rysefox wrote:
Thu Jun 13, 2019 7:48 pm

1:Somewhere from [ seems to be a mistake
2:Looks like you try to attach it to your cheat table without mono feature activated?
1:Yes,i know that ,but don't know what is wrong and how to fix it(google the error nothing help)
2:In this case either option on / off mono ,wont make the table activate.(CE 6.8.3)

User avatar
Rysefox
Table Makers
Table Makers
Posts: 863
Joined: Sat Jun 23, 2018 3:32 pm
Reputation: 914

Re: Generals & Rulers

Post by Rysefox »

I convert it into a table, and I changed something for Religion. When its not working I think you have a different version or so.
Table by Fantomas
Attachments
GeneralsAndRulers.CT
(6.81 KiB) Downloaded 205 times

Cruxibel
Cheater
Cheater
Posts: 30
Joined: Fri Jul 21, 2017 9:06 pm
Reputation: 0

Re: Generals & Rulers

Post by Cruxibel »

Rysefox wrote:
Fri Jun 14, 2019 7:57 pm
I convert it into a table, and I changed something for Religion. When its not working I think you have a different version or so.
Table by Fantomas
Works now ,thanks.

Vortex_Plague
What is cheating?
What is cheating?
Posts: 1
Joined: Mon Jul 01, 2019 2:21 pm
Reputation: 0

Re: Generals & Rulers

Post by Vortex_Plague »

Rysefox wrote:
Fri Jun 14, 2019 7:57 pm
I convert it into a table, and I changed something for Religion. When its not working I think you have a different version or so.
Table by Fantomas
How do i use i really dont know how i have the cheat table and everything but how do i use the cheats in game it doesn't seem to really work even when i check it please help.

Post Reply