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 


Suggestion/request: "Will not change" button

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

Joined: 04 Jun 2012
Posts: 6
Location: California, USA

PostPosted: Mon Jun 04, 2012 12:27 am    Post subject: Suggestion/request: "Will not change" button Reply with quote

Heyo I've been wanting this type of feature in a memory hacking tool for a long time, but it has never come up, and I figured I would suggest it in hopes that it could be a part of Cheat Engine in the future.

The feature would be called "Will not change", and it would be a toggle button, so you hit it, and do all sorts of stuff in-game, except for the thing you want to modify.
While ticked, CheatEngine would start eliminating anything that is changing, from the list of possible addresses.
Then you un-tick "Will not change", and you can perform searches like normal, through only addresses that were not changing the whole time you had it ticked.

This would greatly reduce hacking time for many types of codes such as menu modifiers, map/level modifiers, character modifiers and more.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 474

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

PostPosted: Mon Jun 04, 2012 4:16 am    Post subject: Reply with quote

So basically an option that constantly does an "Unchanged value" scan until you stop it ?

If so, put this code in a timer after having done a first scan
Code:

memscan_nextScan(getCurrentMemscan(), soUnchanged, rtTruncated, "", "", false, false, false, false, false, "")
--memscan_waitTillDone(getCurrentMemscan()) --Optional



When I get time later I'll see if I can make a gui for this

_________________
Tools give you results. Knowledge gives you control.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
radical dreamer
How do I cheat?
Reputation: 0

Joined: 04 Jun 2012
Posts: 6
Location: California, USA

PostPosted: Mon Jun 04, 2012 7:44 am    Post subject: Reply with quote

Dark Byte wrote:
So basically an option that constantly does an "Unchanged value" scan until you stop it ?

If so, put this code in a timer after having done a first scan
Code:

memscan_nextScan(getCurrentMemscan(), soUnchanged, rtTruncated, "", "", false, false, false, false, false, "")
--memscan_waitTillDone(getCurrentMemscan()) --Optional



When I get time later I'll see if I can make a gui for this


Yes that's exactly what I want! Very Happy Thanks, and yeah it'd be very helpful if you could make a gui for that. I've not used the form features in CE previously so I've got some reading to do. Smile
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 474

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

PostPosted: Mon Jun 04, 2012 1:09 pm    Post subject: Reply with quote

Save this file as a .lua and place it into the autorun folder of cheat engine
Code:

--delay load this script to deal with the autosizing at start
function autoNextInit(sender)

  --find the main form
  mf=getMainForm()

  --find "Panel5" (the panel with the first scan/ next scan buttons)
  p5=component_findComponentByName(mf,"Panel5")


  --find the "NextScanButton"
  nsb=component_findComponentByName(mf,"NextScanButton")


  --create a checkbox
  cb=createCheckBox(Panel5)

  --place the checkbox right of the next scan button
  x,y=control_getPosition(nsb)
  width, height=control_getSize(nsb)

  control_setCaption(cb, "Autonext")
  control_setParent(cb, p5)

  setProperty(cb, "Anchors", getProperty(nsb,"Anchors"))

  --center
  selfwidth,selfheight=control_getSize(cb)
  control_setPosition(cb, x+width+5,y+((height / 2)-(selfheight / 2)))


  function DoRescan(sender)
    local nsb=component_findComponentByName(getMainForm(),"NextScanButton")
    if control_getEnabled(nsb) then
      control_doClick(nsb)
    end

  end

  function OptionChange(sender)
    --using sender since cb is such a simple varname 100% something else will redefine it. (which is why this parameter is there)
    local checked=checkbox_getState(sender)==cbChecked
    if checked then
      RescanTimer=createTimer(nil)
      timer_onTimer(RescanTimer, DoRescan)
      timer_setInterval(RescanTimer, 500) --check every 500ms if the next scan button is enabled
      timer_setEnabled(RescanTimer, true)
    else
      object_destroy(RescanTimer)
    end
  end

  setMethodProperty(cb, "OnChange", OptionChange) --onclick should work too, but just in case this got changed

  object_destroy(sender)
end

autoNextInitTimer=createTimer(nil)
timer_onTimer(autoNextInitTimer, autoNextInit)
timer_setInterval(autoNextInitTimer, 1)
timer_setEnabled(autoNextInitTimer,true)


It's not really an automatic "unchanged value scan" but more an automatic rescan.
Just set it to unchanged scans and tick the checkbox.



autorescan.lua
 Description:

Download
 Filename:  autorescan.lua
 Filesize:  1.79 KB
 Downloaded:  1102 Time(s)


_________________
Tools give you results. Knowledge gives you control.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
radical dreamer
How do I cheat?
Reputation: 0

Joined: 04 Jun 2012
Posts: 6
Location: California, USA

PostPosted: Mon Jun 04, 2012 3:31 pm    Post subject: Reply with quote

Shocked This is damn awesome, thank you so much! It works very well. Very Happy
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