Hack Forums
[.NET] [Release] Basic Plugin System [Source] - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [.NET] [Release] Basic Plugin System [Source] (/showthread.php?tid=832059)



[Release] Basic Plugin System [Source] - The-One - Nov 19, 2010

Hello,

This is a small and basic plugin system, based on reading out text from a .dll. I already did;

Code
- Label
- Textbox
- Loop (Adding more)

This cannot execute things, except when its pre-programmed. Then you can use the plugin as a key.

Screen:
Spoiler (Click to View)

DLL-Setup:
Code
[SETUP]
NAME=Name of plugin
[CODE]
Codes here
[ENDCODE]

Example:
Code
[SETUP]
NAME=Label + Textbox
[CODE]
LABEL(Download, 30, 30)
TEXTBOX(Text, 200, 100, 30)
[ENDCODE]

Download source + 3 plugins:
Spoiler (Click to View)

Please reply saying thanks to keep this thread alive.


* - SevX - Nov 19, 2010

Will come in handy,etc...Thanks for posting"!!


* - StarZ - Nov 19, 2010

Or...

Add references to all the DLL's
On start Check the MD5 of the DLL's and if they exist.
If they exist and the MD5 is correct then you enable use of the functions.


* - lyncsta - Nov 19, 2010

This is so good, thank you for posting


* - The-One - Nov 20, 2010

(Nov 19, 2010 06:10 PM)StarZ Wrote:  Or...

Add references to all the DLL's
On start Check the MD5 of the DLL's and if they exist.
If they exist and the MD5 is correct then you enable use of the functions.

You still need to pre-program it. With this source you only need to program the things you want to add. As the title says this a basic example, there are lots of ways to do this.


* - Modesty - Nov 20, 2010

These are just txt files renamed as dlls :/


* - darkskull17 - Nov 20, 2010

you are leecher!

http://leetcoders.org/showthread.php?tid=6219

You just changed few things


* - The-One - Nov 20, 2010

I programmed this myself you idiot. Get the fk out of my thread + reported for double posting.


* - Fallenbot - Nov 20, 2010

Screenshot is dead,can you re-upload it?
Thank you.


* - The-One - Nov 20, 2010

(Nov 20, 2010 06:51 AM)SlimDeath Wrote:  Screenshot is dead,can you re-upload it?
Thank you.

Done. Thanks for reporting =]


* - Charny - Nov 20, 2010

Whaaaat the hell is that ... ?


* - StarZ - Nov 20, 2010

(Nov 20, 2010 02:39 AM)The-One Wrote:  You still need to pre-program it. With this source you only need to program the things you want to add. As the title says this a basic example, there are lots of ways to do this.

NO you DONT.

If File.Exists("C:\MyFile.dll") then
If MD5("C:\MyFile.exe") = "MyHash" Then
MyFile.MyClass.MyFunction("Hai")
end if ' You need a MD5 hash grabber source
end if


* - The-One - Nov 21, 2010

(Nov 20, 2010 11:00 PM)StarZ Wrote:  NO you DONT.

If File.Exists("C:\MyFile.dll") then
If MD5("C:\MyFile.exe") = "MyHash" Then
MyFile.MyClass.MyFunction("Hai")
end if ' You need a MD5 hash grabber source
end if

Okay, but if you do it like that way you have to declare every .dll and function.


* - StarZ - Nov 21, 2010

NO, If the DLL is there and the MD5 is correct then you call the function from the DLL.


* - Oxycodone - Nov 21, 2010

So how do you set a function / code for the button.

Like if i click button 1 i want it to make a msgbox.. .