 |
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
say01010 How do I cheat?
Reputation: 0
Joined: 21 Jun 2024 Posts: 3
|
Posted: Thu Jun 27, 2024 5:48 am Post subject: easy question |
|
|
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 |
|
 |
AylinCE Grandmaster Cheater Supreme
Reputation: 37
Joined: 16 Feb 2017 Posts: 1520
|
Posted: Thu Jun 27, 2024 7:27 am Post subject: |
|
|
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) |
_________________
|
|
Back to top |
|
 |
|
|
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
|
|