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 


easy question

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

Joined: 21 Jun 2024
Posts: 3

PostPosted: Thu Jun 27, 2024 5:48 am    Post subject: easy question Reply with quote

How can I enter the address automatically?
When I enter a value, I want to automatically enter an address with a value of +8 at the bottom

ex) If I entered the address 7375887 then I need a column with the address 7375887 + 8,7375887 + 3C at the bottom
Back to top
View user's profile Send private message
AylinCE
Grandmaster Cheater Supreme
Reputation: 37

Joined: 16 Feb 2017
Posts: 1520

PostPosted: Thu Jun 27, 2024 7:27 am    Post subject: Reply with quote

Putting this on a timer can trigger an annoying mess.

Instead I bound it to a switch key (F9) and as I added new addresses, press "F9" to see the result (08, 3C).

Of course, copy the code and paste it into the CE>>Table>>Show cheat table Lua script window and activate it.


Code:
local alcnt = 0

function up_dateAddr()
sleep(300)
local al=getAddressList()
cnt = addresslist_getCount(al)
  if cnt >= alcnt then
    --print(cnt, alcnt)
    local mr = addresslist_getMemoryRecord(al,cnt - 1)

    local nwmr1 = al.createMemoryRecord()
    nwmr1.Address = mr.Address.."+08"
    nwmr1.Type = mr.Type
    nwmr1.Description = mr.Description.."+08"
    cnt = addresslist_getCount(al)
    alcnt = tonumber(cnt)
    local nwmr2 = al.createMemoryRecord()
    nwmr2.Address = mr.Address.."+3C"
    nwmr2.Type = mr.Type
    nwmr2.Description = mr.Description.."+3C"
    cnt = addresslist_getCount(al)
    alcnt = tonumber(cnt)
    --print(cnt, alcnt)
  end
end


if upd_key1 then upd_key1.Destroy() upd_key1=nil end
upd_key1=createHotkey(up_dateAddr, VK_F9)

_________________
Hi Hitler Different Trainer forms for you!
https://forum.cheatengine.org/viewtopic.php?t=619279
Enthusiastic people: Always one step ahead
Do not underestimate me Master: You were a beginner in the past
Back to top
View user's profile Send private message Visit poster's website 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