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 


Hotkeys

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

Joined: 07 Jul 2016
Posts: 1

PostPosted: Thu Jul 07, 2016 2:47 pm    Post subject: Hotkeys Reply with quote

I would like to know how to assign hotkey to multiple adressess at once. I have like about 200 adressess and I don't wan't to do it one bye one...
Back to top
View user's profile Send private message
cooleko
Grandmaster Cheater
Reputation: 11

Joined: 04 May 2016
Posts: 717

PostPosted: Thu Jul 07, 2016 3:05 pm    Post subject: Reply with quote

This is what a hotkey looks like in a table:
copy and paste your table into notepad++ (or w/e you use), perform a copy and replace all for "</CheatEntry>" and replace with w/e hotkey and action you chose (easy to find if you add one hotkey manually then copy its <Hotkey> xml.

Code:
<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
  <CheatEntries>
    <CheatEntry>
      <ID>43</ID>
      <Description>"Cargo Capacity"</Description>
      <VariableType>4 Bytes</VariableType>
      <Address>myship</Address>
      <Offsets>
        <Offset>20</Offset>
        <Offset>190</Offset>
        <Offset>48</Offset>
      </Offsets>
      <Hotkeys>
        <Hotkey>
          <Action>Toggle Activation</Action>
          <Keys>
            <Key>49</Key>
          </Keys>
          <ID>0</ID>
        </Hotkey>
      </Hotkeys>
    </CheatEntry>
  </CheatEntries>
</CheatTable>


In this example a replace all would look like this:
Find " </CheatEntry>"
Replace:
Code:
<Hotkeys>
        <Hotkey>
          <Action>Toggle Activation</Action>
          <Keys>
            <Key>49</Key>
          </Keys>
          <ID>0</ID>
        </Hotkey>
      </Hotkeys>
    </CheatEntry>


Or, you could simply add a header to your entire table, highlight and drag everything else to that header (make it a child), set a hotkey on the header, and tell it to apply to children.

I'm sure other people will have a lua script or other ideas for you.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Thu Jul 07, 2016 3:12 pm    Post subject: Reply with quote

what kind of hotkey is it? Set value? freeze?

easiest is just add those other hotkeys under a top one and only assign the top one a hotkey to set value or freeze.

then rightclick it, group config. And choose either or both "Activiating this entry activates it's children" and/or "setting a value to this entry also sets this value to its children"

_________________
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
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