Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Automatically Enable Entries

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
RyanFialcowitz
How do I cheat?
Reputation: 0

Joined: 16 Mar 2012
Posts: 8

PostPosted: Thu Nov 28, 2019 1:27 pm    Post subject: Automatically Enable Entries Reply with quote

I'm trying to get certain entries on my table to automatically activate & set a specific value when I load the table. The problem is nothing happens automatically. It does however work if I select Execute script. What am I doing wrong? Thanks!

Code:

getAutoAttachList().add("CK2game.exe")

getAddressList().getMemoryRecordByDescription("Game must be played in Ironman mode.").Active=true
getAddressList().getMemoryRecordByDescription("No User Modification that change the game's checksum must be active.").Active=true
getAddressList().getMemoryRecordByDescription("The save file must not have been changed, and must have had achievements enabled from the start.").Active=true
getAddressList().getMemoryRecordByDescription("Steam must be active.").Active=true
getAddressList().getMemoryRecordByDescription("The Ruler Designer cannot be used.").Active=true

getAddressList().getMemoryRecordByDescription("Game must be played in Ironman mode.").Value=1
getAddressList().getMemoryRecordByDescription("No User Modification that change the game's checksum must be active.").Value=1
getAddressList().getMemoryRecordByDescription("The save file must not have been changed, and must have had achievements enabled from the start.").Value=1
getAddressList().getMemoryRecordByDescription("Steam must be active.").Value=1
getAddressList().getMemoryRecordByDescription("The Ruler Designer cannot be used.").Value=0
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25778
Location: The netherlands

PostPosted: Thu Nov 28, 2019 4:08 pm    Post subject: Reply with quote

the process is not open yet
use openProcess("CK2game.exe") instead, or wait till attached

_________________
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
View user's profile Send private message MSN Messenger
RyanFialcowitz
How do I cheat?
Reputation: 0

Joined: 16 Mar 2012
Posts: 8

PostPosted: Thu Nov 28, 2019 4:22 pm    Post subject: Reply with quote

Dark Byte wrote:
the process is not open yet
use openProcess("CK2game.exe") instead, or wait till attached


That worked- thanks a lot.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites