[Plugin] Ultimate Script Protection Kit
#1

INTRODUCTION
This plugin provides a way to protect your .amx and even .pwn script with few simple lines. Basicly it works on a key-lock system. You need to set your PASSKEY and your hidden function name in the source code of the plugin and then compile it and use it. Editing of the passkey and the hidden functions name is super-easy and it dosen't require any pre-made knowleges.


HOW TO USE IT
1. Download the source code.
2. Open the source code with your C++ editor (I recommend Visual Studio 2010 Express which is FREE)
3. Edit marked lines to your personal choice. Everything you need to know about edithing those is commented in the code.
4. Compile it.
5. Add USPK.dll that you compiled in the "plugins" folder in your server(if you don't have one, make it).
6. Open you'r "server.cfg" and after "plugins <your plugin names>" add "USPK". If you don't have the line than just add "plugins USPK" in a new row.
7. Open you'r script and add a native as shown under:
pawn Код:
native CheckUSPK(string[]);
If You want to use your hidden function (to protect your .pwn) replace "CheckUSPK" with the function name you defined in the plugin source code.
8. Use it. (some examples given under)

EXAMPLE 1:
Under OnGameModeInit
pawn Код:
if(CheckUSPK("nokey") == 1)
{
     print("USPK KEY CORRECT");
}
else
{
     print("USPK KEY INCORRECT");
}
As you can see from this example CheckUSPK function(it is also true for your defined hidden function) returns 1 if the key is true, and 0 if it isn't.


DOWNLOADS:
EXAMPLE PLUGIN BUILD (this is just for test, if you want a secure script you need to compile it with your data) PASSKEY: nokey HIDDEN FUNCTION NAME: CreateDinamicObject (it is only 1 letter different from a function that most streamers use)
SOURCE CODE (download this and follow the inctructions if you want a secure script)


NOTES:
This is my first plugin so be direct and tell me if I have some mistakes or you have a suggestion, bug fix, an idea.[/size]
Reply


Messages In This Thread
Ultimate Script Protection Kit - by LordShigi - 17.09.2010, 13:19
Re: Ultimate Script Protection Kit - by Luka P. - 17.09.2010, 13:39
Re: Ultimate Script Protection Kit - by giovanni94m - 17.09.2010, 13:40
Re: Ultimate Script Protection Kit - by LordShigi - 17.09.2010, 13:46
Re: Ultimate Script Protection Kit - by Luka P. - 17.09.2010, 13:47
Re: Ultimate Script Protection Kit - by AndriusZ* - 17.09.2010, 14:23
Re: Ultimate Script Protection Kit - by playbox12 - 17.09.2010, 14:26
Re: Ultimate Script Protection Kit - by Luka P. - 17.09.2010, 14:29
Re: Ultimate Script Protection Kit - by LordShigi - 17.09.2010, 14:39
Re: Ultimate Script Protection Kit - by MisterTickle - 17.09.2010, 14:41
Re: Ultimate Script Protection Kit - by LordShigi - 17.09.2010, 14:59
Re: Ultimate Script Protection Kit - by Scenario - 17.09.2010, 15:37
Re: Ultimate Script Protection Kit - by LordShigi - 17.09.2010, 15:47
Re: Ultimate Script Protection Kit - by LordShigi - 17.09.2010, 16:04
Re: Ultimate Script Protection Kit - by LordShigi - 17.09.2010, 16:13
Re: Ultimate Script Protection Kit - by ♣RОЗK♣ - 17.09.2010, 18:49
Re: Ultimate Script Protection Kit - by DiddyBop - 17.09.2010, 19:50
Re: Ultimate Script Protection Kit - by Toni - 17.09.2010, 20:18
Re: Ultimate Script Protection Kit - by Hiddos - 17.09.2010, 20:30
Re: Ultimate Script Protection Kit - by whitedragon - 18.09.2010, 13:09
Re: Ultimate Script Protection Kit - by Kyosaur - 18.09.2010, 13:21

Forum Jump:


Users browsing this thread: 2 Guest(s)