Posted: Sat Sep 26, 2020 3:56 am Post subject: CE multi plug-in (Color background and picture. Select and s
I must warn you from the beginning; There is no new code in this post!
There is a fun plugin for open source CE only.
Note: For a more comprehensive add-on, watch the video.
However, I will write it to remind you of some of the codes that were accessed.
Coloring codes: (ExampleCE.png)
1) Plugins Multi Menu: Note; Trainer size=4.30 MB (I did not compress the pictures in order not to spoil the image quality.)
CheatEngine_PluginsV4_ByAylin.CETRAINER
or .. Manuel: "CEPlugins.lua" and "rgb-color-draw-step.png"
local als=getMainForm().Panel4
if img then img.Destroy() end
img=createImage(als)
img.Align=alClient --img.Picture.assign(mf.Logo.Picture)
img.Height=30 img.Left=0 img.Top=0 img.Width=als.Width
img.Stretch=true img.sendToBack()
img.loadImageFromFile(scriptFile.."\\ByAylin.png")
You can develop the features yourself or share them here.
If you have different ideas, feel free to write.
Have fun.
function createColorBox(Parent)
local box = createComponentClass('TColorBox', Parent)
box.Parent = Parent
return box
end
function colorMenuClick()
if f then f.Destroy() end
f = createForm()
f.Position = 'poScreenCenter'
f.Caption = 'Color'
f.Color = 0xffffff -- white
f.setSize(170,50)
-- f.Hide()
function colorboxChange(sender)
x = getMainForm()
x.Color = clrbox.Selected
end
f.Show()
clrbox.OnChange = colorboxChange
end
--======================================--
-- Add/Insert new menu to CE Main Menu
--======================================--
local mainForm = getMainForm()
local colorMenu = createMenuItem(mainForm)
colorMenu.Caption = [[Change Main Form Color]]
local mainMenu = mainForm.Menu.Items
local miColor
--Find "Color" item in main menu. Create one if not found.
for i=0,mainMenu.Count-1 do
if mainMenu[i].Name == 'miColor' then miExtra = mainMenu[i] end
end
if miColor == nil then
miColor = createMenuItem(mainForm)
miColor.Name = 'miColor'
miColor.Caption = 'Color'
mainMenu.insert(mainMenu.Count-2,miColor)
end
--==============================================--
--Add "Check RGB Color" item to "Color" submenu
--==============================================--
local miCheckRGBcolor = createMenuItem(miColor)
miCheckRGBcolor.Caption = 'Change Main Form Color'
miCheckRGBcolor.onClick = colorMenuClick
miColor.add(miCheckRGBcolor)
_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL
@Corroder, I know you have more original posts in lua extensions section.
You are a master who has made many innovations.
@Aylin, I don't mean to open up competition and doesn't care how many posts or on lua extensions section or other sections in CEF. My last post as a reply your original post isn't to compare to what you did. That just an option for who want to use it or want to learn. Not to prove anything else. _________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL
I didn't understand what you meant with scriptFile = getCheatEngineDir()..'autorun' --Cheat Engine - Autorun Folder ..
Can you please explain it? _________________
getCheatEngineDir(): Returns the folder Cheat Engine is located at
You can check by:
Code:
print(getCheatEngineDir())
On my computer the return result is : C:\Program Files\Cheat Engine 7.1\
So, check your cheat engine installed directory on your computer.
I assume that is: C:\Program Files\Cheat Engine 7.1\ (if your version is 64bit windows).
And now check inside the Cheat Engine directory, must be a folder with name 'autorun'. Note, all files with file extension as '.lua' will automatic execute when cheat engine start.
Then 'scriptFile = getCheatEngineDir()..autorun' meant the scriptfile with extesion lua (ie. scriptfile.lua) has added inside the cheat engine directory look as "C:\Program Files\Cheat Engine 7.1\autorun\scriptfile.lua" and will automatic execute when cheat engine start. _________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL
getCheatEngineDir(): Returns the folder Cheat Engine is located at
You can check by:
Code:
print(getCheatEngineDir())
On my computer the return result is : C:\Program Files\Cheat Engine 7.1\
So, check your cheat engine installed directory on your computer.
I assume that is: C:\Program Files\Cheat Engine 7.1\ (if your version is 64bit windows).
And now check inside the Cheat Engine directory, must be a folder with name 'autorun'. Note, all files with file extension as '.lua' will automatic execute when cheat engine start.
Then 'scriptFile = getCheatEngineDir()..autorun' meant the scriptfile with extesion lua (ie. scriptfile.lua) has added inside the cheat engine directory look as "C:\Program Files\Cheat Engine 7.1\autorun\scriptfile.lua" and will automatic execute when cheat engine start.
Its there any change to get an decrypted version for this plugin?
I am interested in Form to LUA converter, i want to make it to suit my needs.
Thanks
Of course it can.
I apologize for that.
I've posted it in this format for the more novices and to keep those who don't know what to do out of the editing situation.
Its there any change to get an decrypted version for this plugin?
I am interested in Form to LUA converter, i want to make it to suit my needs.
Thanks
Of course it can.
I apologize for that.
I've posted it in this format for the more novices and to keep those who don't know what to do out of the editing situation.
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