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 


Adding button for change reg

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

Joined: 11 May 2006
Posts: 270

PostPosted: Wed Oct 11, 2006 4:55 am    Post subject: Adding button for change reg Reply with quote

I wish to add a button in my ce to allow me to change register without accessing mem view. i added the button and link the code
Code:
{$ifndef net}
  if foundcodedialog<>nil then
    raise exception.Create('I can''t do that! You are currently using one of the code finder options, please, stop it first');

  if (formsettings.cbKdebug.checked) and (debuggerthread2<>nil) and (debuggerthread2.breakpoints[3]<>0) then
raise exception.Create('You have reached the maximum of 4 debugregs');

  if (not formsettings.cbKdebug.checked) then
    if (not startdebuggerifneeded) then exit;

 
      tfrmModifyRegisters.create(self,memrec[lastselected].address).showmodal;
{$endif}

However when i click on the button it allows me to change registers of some weird addys. How can i make it so that it will allow me to change the addy that i last click on my ct?
Thx
Back to top
View user's profile Send private message
rEdoX
How do I cheat?
Reputation: 0

Joined: 29 Mar 2006
Posts: 6

PostPosted: Sat Oct 14, 2006 3:56 am    Post subject: Reply with quote

There are more then one way to do that.
U can store the address if u click the ct or read the address from currently selected ct entry.
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 Source 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