28.10.2012, 04:19
Hello all,
I've just read Y_Less's tutorial about why does DeAMX doesn't decompile the way we think. Also I've seen some functions where people do tell it protects from the decompile though it doesn't.
The reason why I started the topic is to discuss about the protection of a script from DeAMX. DeAMX, won't decompile well though just to know whether some tricks won't allow it to decompile well.
Does DeAMX decompile includes too?
Well I'm not so sure about it, but if it doesn't; to protect our script in some cases like to pass our .amx file to others for testing, couldn't we include our script?
For example, if I do want to protect the included script from DeAMX, couldn't it be added as an include?
So if DeAMX decompiles the script, would it be decompiling like this?
I'm just aware to know about it because once my small fs got stolen by my cousin through decompile..
I've just read Y_Less's tutorial about why does DeAMX doesn't decompile the way we think. Also I've seen some functions where people do tell it protects from the decompile though it doesn't.
The reason why I started the topic is to discuss about the protection of a script from DeAMX. DeAMX, won't decompile well though just to know whether some tricks won't allow it to decompile well.
Does DeAMX decompile includes too?
Well I'm not so sure about it, but if it doesn't; to protect our script in some cases like to pass our .amx file to others for testing, couldn't we include our script?
pawn Code:
#include <myscript>
//This is my fs.
public OnPlayerConnect(playerid)
{
GivePlayerMoney(playerid, 10);
return 1;
}
pawn Code:
//Include
#include <a_samp>
#define red 0xFF0000FF
public OnPlayerSpawn(playerid)
{
if(GetPlayerMoney(playerid) >= 1)
{
new str[128];
new Lname[MAX_PLAYER_NAME];
GetPlayerName(playerid,Lname,sizeof(Lname));
format(str,sizeof(str),"%s has been kicked from the server.(Reason:test|not anti hack)", Lname);
SendClientMessageToAll(red, str);
Kick(playerid);
}
return 1;
}
So if DeAMX decompiles the script, would it be decompiling like this?
pawn Code:
//Decompiled stuff.
#include <myscript>
public OnPlayerConnect(playerid)
{
GivePlayerMoney(playerid, 10);
return 1;
}