21.08.2015, 16:17
(
Last edited by Crystallize; 01/01/2016 at 06:28 PM.
)
1.NEVER EVER upload your PWN , the sa-mp needs only the amx to run the gamemode.
2.Don't make random people co(-)owners just because they joined first (they might be an enemy of you) and never give them FTP or GP informations.
3.Never install malicious software's if somebody sends you links for another GM or something similiar
4.Just because somebody has 2000 reps on sa-mp forums , doesn't mean you can give them the FTP or GP info's , they might just start to troll you since most of members here doesn't have what to do except trolling on internet(no-lifers)
5.Purchase an Anti-DDoS VPS/DEDI from best of best companies like OVH,NFO,SYS etc they're especially configured to filter DDoS attacks.
6.Never EVER CHMOD 777 your sa-mp folder it can be exploited in many ways as im aware.
7.Try to make a complex RCon password if you can't just give up and disable it.
8.don't put random commands in your pwn for example CMD
etlevel which doesn't require any admin level or rcon logged in at least(for newbies) put your Admin variables there or at least make it rcon protected
9.Always check the commands of a gamemode you downloaded , it might have backdoor commands
This small tutorial is for newbies that wants to run a sa-mp server or secure the gamemode
10. Don't run anything as root; that also includes any connections to a database
11. Always hash passwords and preferably add a salt
12. Do not grant access to the source code (.pwn) to scripters from the very beginning. First of all, test their skills on other scripts, or let them have the requires things to code (e.g. variables) to work on your own script, without having access to it.
13. Do daily (or at least weekly) backups of your chatlog and files. If using Linux, you could install a game panel such as Open Game Panel, if using Windows, there are softwares which backup files automatially at specific hours, set by you).
14. Use an anti-DeAMX system in order to avoid your compiled version of the script getting decompiled and the source code stolen.
Note: AntiDeAMX function needs to be called somewhere in your script.
15.Use a reliable host , don't use host that's ran by unknown people or 12 y/o kids
16.DO NOT use free host to run a server , they will most likely close it next month or just steal your script, though you can use it to test your script (upload AMX only)
2.Don't make random people co(-)owners just because they joined first (they might be an enemy of you) and never give them FTP or GP informations.
3.Never install malicious software's if somebody sends you links for another GM or something similiar
4.Just because somebody has 2000 reps on sa-mp forums , doesn't mean you can give them the FTP or GP info's , they might just start to troll you since most of members here doesn't have what to do except trolling on internet(no-lifers)
5.Purchase an Anti-DDoS VPS/DEDI from best of best companies like OVH,NFO,SYS etc they're especially configured to filter DDoS attacks.
6.Never EVER CHMOD 777 your sa-mp folder it can be exploited in many ways as im aware.
7.Try to make a complex RCon password if you can't just give up and disable it.
8.don't put random commands in your pwn for example CMD

9.Always check the commands of a gamemode you downloaded , it might have backdoor commands
This small tutorial is for newbies that wants to run a sa-mp server or secure the gamemode
10. Don't run anything as root; that also includes any connections to a database
11. Always hash passwords and preferably add a salt
12. Do not grant access to the source code (.pwn) to scripters from the very beginning. First of all, test their skills on other scripts, or let them have the requires things to code (e.g. variables) to work on your own script, without having access to it.
13. Do daily (or at least weekly) backups of your chatlog and files. If using Linux, you could install a game panel such as Open Game Panel, if using Windows, there are softwares which backup files automatially at specific hours, set by you).
14. Use an anti-DeAMX system in order to avoid your compiled version of the script getting decompiled and the source code stolen.
PHP Code:
#include <a_samp>
#include <core>
#include <float>
PHP Code:
WasteDeAMXersTime()
{
new b;
#emit load.pri b
#emit stor.pri b
}
PHP Code:
AntiDeAMX()
{
new a[][] =
{
"Unarmed (Fist)",
"Brass K"
};
#pragma unused a
}
PHP Code:
public OnGameModeInit()
{
WasteDeAMXersTime();
AntiDeAMX();
16.DO NOT use free host to run a server , they will most likely close it next month or just steal your script, though you can use it to test your script (upload AMX only)