View previous topic :: View next topic |
Author |
Message |
AylinCE Grandmaster Cheater Supreme
Reputation: 37
Joined: 16 Feb 2017 Posts: 1516
|
Posted: Thu Aug 03, 2023 4:11 am Post subject: |
|
|
Please keep asking and explaining if I misunderstood the situation.
To import (Read) or change the record values in the address list into the Trainer, use:
Code: | getMemRecByDesc = getAddressList().getMemoryRecordByDescription
local sunlight = getMemRecByDesc("sunlight")
local magic = getMemRecByDesc("magic")
-- Print the values in the boxes.
--I'm assuming the button named "CEButton1" is. caption: data fetch
--(If not, correct the name)
CETrainer.CEButton1.OnClick=function()
processname="your game.exe" -- sample: "chrome.exe"
check=getProcessIDFromProcessName(processname)
if check==nil then
print("Game not found!")
else
openProcess(processname)
if sunlight~=nil or magic~=nil then
CETrainer.CEEdit1.Text = sunlight.Value
CETrainer.CEEdit2.Text = magic.Value
else
showMessage("Address records missing or incorrect!")
end
end
end
--Print the values in the box to the addresses:
--I'm assuming the button named "CEButton2" is. caption: modify
--(If not, correct the name)
CETrainer.CEButton2.OnClick=function()
if sunlight~=nil or magic~=nil then
sunlight.Value = CETrainer.CEEdit1.Text
magic.Value = CETrainer.CEEdit2.Text
else
showMessage("Address records missing or incorrect!")
end
end |
_________________
|
|
Back to top |
|
 |
AylinCE Grandmaster Cheater Supreme
Reputation: 37
Joined: 16 Feb 2017 Posts: 1516
|
Posted: Thu Aug 03, 2023 9:01 am Post subject: |
|
|
You have to make sure you match the button and edit names.
Are these true;
CETrainer.CEButton1
CETrainer.CEEdit1
You should also check the group and child names. There should not be entries with the same name.
Group name: yangguang, child name: not like yangguang.
Group name: yangguang1, child name: yangguang, that's better.
yangguang1
---> yangguang
---> mofa
Code: | list = getAddressList()
local sunlight = list.getMemoryRecordByDescription("yangguang")
local magic = list.getMemoryRecordByDescription("mofa")
-- Print the values in the boxes.
--I'm assuming the button named "CETrainer..CEButton1" is. caption: data fetch
--(If not, correct the name)
CETrainer.CEButton1.OnClick=function()
processname="your game.exe" -- sample: "chrome.exe"
check=getProcessIDFromProcessName(processname)
if check==nil then
print("Game not found!")
else
openProcess(processname)
if sunlight~=nil or magic~=nil then
CETrainer.CEEdit1.Text = sunlight.Value
CETrainer.CEEdit2.Text = magic.Value
else
showMessage("Address records missing or incorrect!")
end
end
end
--Print the values in the box to the addresses:
--I'm assuming the button named "CETrainer..CEButton2" is. caption: modify
--(If not, correct the name)
CETrainer.CEButton2.OnClick=function()
if sunlight~=nil or magic~=nil then
sunlight.Value = CETrainer.CEEdit1.Text
magic.Value = CETrainer.CEEdit2.Text
else
showMessage("Address records missing or incorrect!")
end
end |
_________________
|
|
Back to top |
|
 |
tuzi521 How do I cheat?
Reputation: 0
Joined: 16 Dec 2020 Posts: 1
|
Posted: Thu Aug 03, 2023 11:48 am Post subject: |
|
|
Thanks to you, I managed to (read) (write)
|
|
Back to top |
|
 |
|