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 


Problem with header

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Jacusiek
Advanced Cheater
Reputation: 0

Joined: 24 Jan 2011
Posts: 81

PostPosted: Sun Apr 21, 2013 1:16 pm    Post subject: Problem with header Reply with quote

Hello. I've got problem with header. First I set some hotkeys to the header, and put some adressess into that header. Then I save the table. But when I want to load the table, all headers lost their hotkeys. I don't know why is it happening. Please help.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Sun Apr 21, 2013 1:23 pm    Post subject: Reply with quote

it's a bug that's fixed in the svn now.
_________________
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
Jacusiek
Advanced Cheater
Reputation: 0

Joined: 24 Jan 2011
Posts: 81

PostPosted: Sun Apr 21, 2013 1:26 pm    Post subject: Reply with quote

So is it possible to make it working?
Back to top
View user's profile Send private message
mgr.inz.Player
I post too much
Reputation: 222

Joined: 07 Nov 2008
Posts: 4438
Location: W kraju nad Wisla. UTC+01:00

PostPosted: Sun Apr 21, 2013 2:02 pm    Post subject: Reply with quote

That means you have to download CE source from SVN and compile it with Lazarus. You can wait for my from-time-to-time CheatEngine SNV build, snapshots.




Or, you can edit your CT file with notepad++ or other handy editor.
CT file is a XML file. You can find your "group header" and paste Hotkeys node. I can paste example here if you want.

Edit:
for example you have this inside CT (XML)

Code:
    <CheatEntry>
      <ID>0</ID>
      <Description>"header example"</Description>
      <Options moBindActivation="1"/>
      <Color>80000008</Color>
      <GroupHeader>1</GroupHeader>
      <CheatEntries>
         ...I cut this, because you probably have somthing else...
      </CheatEntries>
    </CheatEntry>



And we want to add hotkey. For example F3 "Toggle Activation" hotkey looks like this:
Code:
<Hotkeys>
  <Hotkey>
    <Action>Toggle Activation</Action>
    <Keys>
      <Key>114</Key>
    </Keys>
    <Description>your description here</Description>
    <ID>0</ID>
  </Hotkey>
</Hotkeys>



We can copy this xml/hotkey to right place:
(just below <GroupHeader>1</GroupHeader>)
Code:
    <CheatEntry>
      <ID>0</ID>
      <Description>"header example"</Description>
      <Options moBindActivation="1"/>
      <Color>80000008</Color>
      <GroupHeader>1</GroupHeader>
      <Hotkeys>
        <Hotkey>
          <Action>Toggle Activation</Action>
          <Keys>
            <Key>114</Key>
          </Keys>
          <Description>your description here</Description>
          <ID>0</ID>
        </Hotkey>
      </Hotkeys>
      <CheatEntries>
         ...I cut this, because you probably have somthing else...
      </CheatEntries>
    </CheatEntry>


Of course you will lost that hotkey if you open and save/overwrite.


Edit2:
There is simpler way.

1) Instead of headers, use 8byte type address 0. Add hotkeys...
Save as CT file

2) Open with notepad, search for your "header" (8 Bytes, address 0)
replace this
Code:
<VariableType>8 Bytes</VariableType>
<Address>0</Address>


with
Code:
<GroupHeader>1</GroupHeader>



1 createdwithCE__.CT
 Description:
step1

Shift+Ctrl+1 hotkey

Download
 Filename:  1 createdwithCE__.CT
 Filesize:  2.01 KB
 Downloaded:  629 Time(s)


2 modified__.CT
 Description:
step2

Download
 Filename:  2 modified__.CT
 Filesize:  1.98 KB
 Downloaded:  558 Time(s)


_________________
Back to top
View user's profile Send private message MSN Messenger
Jacusiek
Advanced Cheater
Reputation: 0

Joined: 24 Jan 2011
Posts: 81

PostPosted: Sun Apr 21, 2013 5:06 pm    Post subject: Reply with quote

Ok, thanks, I'll try to do it by myself and I will see what will happen with my table.
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