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 


CE Plugin Collector (Menu Builder)

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Extensions
View previous topic :: View next topic  
Author Message
AylinCE
Grandmaster Cheater Supreme
Reputation: 34

Joined: 16 Feb 2017
Posts: 1432

PostPosted: Tue Aug 09, 2022 4:17 pm    Post subject: CE Plugin Collector (Menu Builder) Reply with quote

To explain with an image;


It can be used to create a plugin for CE or to register the plugin in the menu.

Contents;
1) Code can be added from the file, edited and saved to the menu.
2) Existing records can be edited.
3) All the plugins you have registered are listed in one file and one menu in CE.
4) Name and hotkey can be assigned or changed to the plugin for menu use.
5) You can import the plugin code you created in Lua Script and save it as a plugin.
6) Plugins you create in the menu will not be loaded or activated since CE opening.
You just click and activate it when you want to use it. This will save the CE from unnecessary burdens.

Differently;
    Browse codes for creating, saving, editing or uploading files.
    Since I am a little lazy, my codes are not regular and I may have made unnecessary assignments. Edit as you wish.

    Next update I can add standalone (separate from Common menu and can be activated at CE boot) plugin save and edit option.

    Feel free to comment if there is a different request or error.


See you on a different issue. Wink



Add_Plugin_Org.lua
 Description:
Just download the file and put it in the CE-->autorun folder.
If you are lazy to find the "autorun" folder; Open CE and paste the following code in "Lua Script Cheat Table" and run it:
Path = getAutorunPath()
shellExecute(Path)

Download
 Filename:  Add_Plugin_Org.lua
 Filesize:  26.39 KB
 Downloaded:  1516 Time(s)


_________________
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
Corroder
Grandmaster Cheater Supreme
Reputation: 75

Joined: 10 Apr 2015
Posts: 1668

PostPosted: Tue Aug 09, 2022 11:07 pm    Post subject: Reply with quote

Error:[string "mf = getMainForm()..."]:15: attempt to index a nil value (local 'fnc1')
_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL
Back to top
View user's profile Send private message
panraven
Grandmaster Cheater
Reputation: 59

Joined: 01 Oct 2008
Posts: 957

PostPosted: Tue Aug 09, 2022 11:11 pm    Post subject: Reply with quote

CE has a 'plugin' system,
which for some native (c) / dotnet *.dll to merge with some ce's native api to extend ce functionality,
which is not the same as lua 'extension' run from autorun folder,

The well-known 'stealth-edit' is an example.

This 'plugin' system can be managed within CE setting.
There are some sample sources to be compiled in plugins folder.

I would suggest avoid using the word 'plugin' if it is unrelated to this system Wink

ADDED:
If it is about collection of lua codes not run from autorun, may named,
Extra lua Modules;
Handy lua Snippets ;
Fantastic lua Collections;
Awesome lua Repository;
etc Wink

_________________
- Retarded.
Back to top
View user's profile Send private message
AylinCE
Grandmaster Cheater Supreme
Reputation: 34

Joined: 16 Feb 2017
Posts: 1432

PostPosted: Wed Aug 10, 2022 11:52 am    Post subject: Reply with quote

Corroder wrote:
Error:[string "mf = getMainForm()..."]:15: attempt to index a nil value (local 'fnc1')


Thanks for the warning. I will look at this again.
There may be a problem with the naming.
It's probably related to the hotkey.

panraven wrote:
Wink

ADDED:
If it is about collection of lua codes not run from autorun, may named,
Extra lua Modules;
Handy lua Snippets ;
Fantastic lua Collections;
Awesome lua Repository;
etc Wink


These examples are so cute. Smile
I gave attached names like "plugin1".
I am sure they will read your note and maybe they will take it into consideration.
On the other hand, I hope these are mostly used for personal extensions.

Oops! Using the generated extension again and again will "loadstring" the extension code every time. This could be the problem. I have to add a line of code that will "Destroy()" it on second use (First loaded).

As a result; it was a fun project. Smile

_________________
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 Extensions 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