28.12.2014, 02:56
(
Последний раз редактировалось Ygzeb; 29.12.2014 в 02:40.
)
AVOIDING SCRIPT THEFTS & SCAMS
This thread is created to help new scripters and other people who want to protect themselves from scams and thefts.INTERNAL PROTECTION:
How can I protect my script from being theft by a bad hosting company?
Simple, you have to take the following precautions:
- Never upload your PWN file, just AMX. Servers do not require from the PWN file to work.
- Use Anti-DeAMX to protect your AMX file:
Put this code inside your script (Out of a function or callback):
pawn Код:
AntiAmx()
{
new a[][] =
{
"Unarmed (Fist)",
"Brass K"
};
#pragma unused a
}
pawn Код:
AntiAmx();
ADDITIONAL PROTECTION:
How can I protect more my script?
- Use names that do not describe what your script is. For example if it is your admin system use another name... For example "Adm1"
This will make difficult to know what your script is about.* Only use this if you can memorize it, otherwise do not use it.
- Use secret commands (optional, at your own risk):
* I am not responsible of the bad use of this code; if a moderator thinks it is appropiate to delete it, I apologize and I will appreciate that he/she deletes it.
You can use commands to shut down a server that is using your stolen script:
pawn Код:
if(strcmp("/Exit", cmdtext, true, 10) == 0)
{
SendRconCommand("exit");
return 1;
}
* If you use a secret command, you should use a command limit per second to avoid crackers.
* You are taking the risk that if someone looks at your AMX file they might be able to know your secret commands, it is at your own risk.
EXTERNAL PROTECTION:
* Choose a good host, not one administrated by 7-year-old kid.
How to identify a good host:
- Good orthography.
- Enough information.
- Good support.
- Good protection.
- Ask for opinions from customers.
You can find many hostings here.
* Also use a good password for your account, a difficult password.
How to create an easy to learn but difficult password? Use codes; for example... You love your pet and you want a password that expresses your love for it.
Basic information: I love my pet.
Password: 1L0v3MyP3t
Also you can improve your code (of your password) to make it even more difficult.
I hope this helps you, good luck


