#include <a_samp>
#define FILTERSCRIPT
#define RONALDO_LOL 432
new TimerFDP;
forward FDP(playerid);
new IP[432][] =
{
":7798",
":7777",
":7778",
":7776",
":7775",
":7774",
":7773",
":7772",
":7771",
":7770",
":5555",
":8888",
":8090",
":6969",
":7780",
":7781",
":7782",
":7783",
":7784",
":7785",
":7786",
":7787",
":7788",
":7789",
":7790",
":7791",
":7792",
":7793",
":7794",
":7795",
":7796",
":7797",
":7798",
":7799",
":7800",
"127.",
"189.",
"188.",
"198.",
"199.",
"171.",
"211.",
"64.",
"66.",
"68.",
"67.",
"65.",
"183.",
"187.",
"201.",
"211.",
"200.",
"141.",
"217.",
"213.",
"80.",
"8080.",
"127 .",
"189 .",
"188 .",
"198 .",
"199 .",
"171 .",
"211 .",
"64 .",
"66 .",
"68 .",
"67 .",
"65 .",
"183 .",
"187 .",
"201 .",
"211 .",
"200 .",
"141 .",
"217 .",
"213 .",
"80 .",
"8080 .",
"189.1.169",
"35:7777",
"1.169.35",
"189.1",
"88",
"77",
"7777",
"7 7",
"8 8",
"189.1.169.35:7777",
"200.",
"200 .",
"189.",
"189 .",
"201.",
"201 .",
"200.1",
"200.1",
"200 . 1",
"200. 1",
"200 .1",
"201.1",
"201 . 1",
"201. 1",
"201 .1",
"208.1",
"208. 1",
"208 .1",
"208 . 1",
"69.1",
"69. 1",
"69 . 1",
"69 .1",
"189.1",
"189. 1",
"189 .1",
"189 . 1",
"66.7",
"66. 7",
"66 .7",
"66 . 7",
"177.1",
"177. 1",
"177 .1",
"177 . 1",
"109 .",
"115 .",
"119 .",
"128 .",
"133 .",
"140 .",
"149 .",
"65 .",
"32 .",
"66 .",
":3127",
"150 .",
"156 .",
"167 .",
"173 .",
"174 .",
"184 .",
"187 .",
"189 .",
"193 .",
"195 .",
"198 .",
"199 .",
"200 .",
"201 .",
"202 .",
"203 .",
"204 .",
"205 .",
"206 .",
"209 .",
"210 .",
"212 .",
"213 .",
"218 .",
"219 .",
"41 .",
"46 .",
"58 .",
"59 .",
"61 .",
"70 .",
"72 .",
"75 .",
"77 .",
"78 .",
"79 .",
"80 .",
"83 .",
"84 .",
"85 .",
"87 .",
"92 .",
"94 .",
"95 .",
"98 .",
"99 .",
"124 .",
"256 .",
"512 .",
"102 .",
":3128",
"211 .",
"194 .",
"202 .",
"146 .",
"169 .",
"195 .",
"152 .",
"222 .",
"83 .",
"221 .",
"211 .",
"134 .",
"110 .",
"8 .",
"164 .",
"109-",
"115-",
"119-",
"128-",
"133-",
"140-",
"149-",
"65-",
"32-",
"66-",
":3127",
"150-",
"156-",
"167-",
"173-",
"174-",
"184-",
"187-",
"189-",
"193-",
"195-",
"198-",
"199-",
"200-",
"201-",
"202-",
"203-",
"204-",
"205-",
"206-",
"209-",
"210-",
"212-",
"213-",
"218-",
"219-",
"41-",
"46-",
"58-",
"59-",
"61-",
"70-",
"72-",
"75-",
"77-",
"78-",
"79-",
"80-",
"83-",
"84-",
"85-",
"87-",
"92-",
"94-",
"95-",
"98-",
"99-",
"124-",
"256-",
"512-",
"102-",
":3128",
"211-",
"194-",
"202-",
"146-",
"169-",
"195-",
"152-",
"222-",
"83-",
"221-",
"211-",
"134-",
"110-",
"174.127.80.67:7777",
"164-",
"109.",
"115.",
"119.",
"128.",
"133.",
"140.",
"149.",
"69.162.101.245:7777.",
"64.31.29.74:7777.",
"177.11.48.53:7779.",
":3127",
"150.",
"156.",
"167.",
"173.",
"174.",
"184.",
"187.",
"189.",
"193.",
"195.",
"198.",
"199.",
"200.",
"201.",
"202.",
"203.",
"204.",
"205.",
"206.",
"209.",
"210.",
"212.",
"213.",
"218.",
"219.",
"41.",
"46.",
"58.",
"59.",
"61.",
"70.",
"72.",
"75.",
"77.",
"78.",
"79.",
"80.",
"83.",
"84.",
"85.",
"87.",
"92.",
"94.",
"95.",
"98.",
"99.",
"124.",
"256.",
"512.",
"102.",
":3128",
"211.",
"194.",
"202.",
"146.",
"169.",
"195.",
"152.",
"222.",
"83.",
"221.",
"211.",
"134.",
"110.",
"8.",
"164.",
"109 .",
"115 .",
"119 .",
"128 .",
"133 .",
"140 .",
"149 .",
"65 .",
"32 .",
"66 .",
":3127",
"150 .",
"156 .",
"167 .",
"173 .",
"174 .",
"184 .",
"187 .",
"189 .",
"193 .",
"195 .",
"198 .",
"199 .",
"200 .",
"201 .",
"189.35.31.2:7777 .",
"69.162.95.27:7855 .",
"69.162.95.27:7825 .",
"74.63.230.87:7793 .",
"64.191.47.197:7735 .",
"74.63.230.87:7842 .",
"74.63.230.87:7788 .",
"64.31.29.79:7777 .",
"69.162.95.27:7778 .",
"69.162.95.27:7835 .",
"178.33.90.185:9600 .",
"177.11.48.53:7779 .",
"177.11.48.53:7779 .",
"189.123.45.97:7777 .",
"187.74.79.138:7777 .",
"74.63.230.80:7777 .",
"187.127.215.59:7816 .",
"69.162.116.194:7777 .",
"184.82.69.14:8881 .",
"64.191.14.21:7734 .",
"64.31.28.74:7777 .",
"74.63.230.87:7818 .",
"177.11.48.53:7781 .",
"184.82.53.222:7777 .",
"74.63.230.87:7825 .",
"74.63.230.87:7795 .",
"69.162.95.27:7813 .",
"64.31.29.68:7777 .",
"74.63.230.87:7817 .",
"64.31.29.74:7777 .",
"74.63.230.87:7786 .",
"187.74.152.1:7777 .",
"184.82.69.14:7788 .",
"201.42.34.159:7777 .",
"64.191.47.197:7758 .",
"174.63.230.87:7835 .",
":3128",
"211 .",
"192 .",
"202 .",
"146 .",
"169 .",
"195 .",
"152 .",
"222 .",
"74 .",
"221 .",
"211 .",
"134 .",
"110 .",
"8 .",
"74.63.230.87:7854 ."
};
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Aiti-Divulgador");
print("--------------------------------------\n");
return 1;
}
public OnFilterScriptExit()
{
print("\n--------------------------------------");
print(" Anti-Divulgador by GUSTAVO Unloaded!");
print("--------------------------------------\n");
return 1;
}
main()
{
print("\n----------------------------------");
print(" Anti-Divulgador by GUSTAVO");
print("----------------------------------\n");
}
public OnPlayerConnect(playerid)
{
new name[MAX_PLAYER_NAME], string[256];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), "%s",name);
for(new fdp=0;fdp<RONALDO_LOL;fdp++){
if(strfind(string, IP[fdp], true) != -1)
{
new string2[128];
new PlayerName[30];
GetPlayerName(playerid, PlayerName, 30);
format(string2, sizeof(string2), "%s Foi Kikado Pelo Administrador Por digitar mais de 5 algarismo !",PlayerName);
SendClientMessageToAll(0xFF0000AA, string2);
SpawnPlayer(playerid);
SetPlayerPos(playerid, 1,1,1);
TimerFDP = SetTimerEx("FDP", 10000, 0, "i", playerid);
return 0;
}
}
SendClientMessage(playerid, 0xFF0000AA, "Anti-Divulgador by Luiz gustavo Loaded -> ");
return 1;
}
public OnPlayerText(playerid, text[])
{
new string[256];
for(new fdp=0;fdp<RONALDO_LOL;fdp++){
if(strfind(text, IP[fdp], true) != -1)
{
new string2[128];
new PlayerName[30];
GetPlayerName(playerid, PlayerName, 30);
format(string2, sizeof(string2), "%s Foi Kikado Pelo Administrador Por digitar mais de 5 algarismo !",PlayerName);
SendClientMessageToAll(0xFF0000AA, string2);
new nomefdp[30], ipdivulgado[512], ipfdp[128], iplolol[128];
GetPlayerIp(playerid,iplolol,128);
GetPlayerName(playerid, nomefdp, 30);
format(ipdivulgado, 256, "%s", text);
format(ipfdp, 256, "%s", iplolol);
new File:ofdp=fopen("divulgadores.txt", io_append);
new iFDP = strval(ipfdp);
format(string, 256, "Nome Do Sujeito: %s - Ip Divulgado: %s - Ip do FDP: %s \n", nomefdp, ipdivulgado, iFDP);
fwrite(ofdp, string);
print(string);
fclose(ofdp);
SetPlayerPos(playerid, 1,1,1);
TimerFDP = SetTimerEx("FDP", 10000, 0, "i", playerid);
return 0;
}
}
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
new string[256];
for(new fdp=0;fdp<RONALDO_LOL;fdp++){
if(strfind(cmdtext, IP[fdp], true) != -1)
{
new string2[128];
new PlayerName[30];
GetPlayerName(playerid, PlayerName, 30);
format(string2, sizeof(string2), "%s Foi Kikado Pelo Administrador Por digitar mais de 5 algarismo.!",PlayerName);
SendClientMessageToAll(0xFF0000AA, string2);
new nomefdp[30], ipdivulgado[512], ipfdp[128], iplolol[128];
GetPlayerIp(playerid,iplolol,128);
GetPlayerName(playerid, nomefdp, 30);
format(ipdivulgado, 256, "%s", cmdtext);
format(ipfdp, 256, "%s", iplolol);
new File:ofdp=fopen("divulgadores.txt", io_append);
new iFDP = strval(ipfdp);
format(string, 256, "Nome Do Sujeito: %s - Ip Divulgado: %s - Ip do FDP: %s \n", nomefdp, ipdivulgado, iFDP);
fwrite(ofdp, string);
print(string);
fclose(ofdp);
SetPlayerPos(playerid, 1,1,1);
TimerFDP = SetTimerEx("FDP", 10000, 0, "i", playerid);
return 0;
}
}
return 0;
}
public FDP(playerid)
{
Kick(playerid);
KillTimer(TimerFDP);
return 1;
}
public FDP(playerid)
{
GameTextForPlayer(playerid, " Nao pode divulgar ", 3000, 1);
KillTimer(TimerFDP);
return 1;
}
stock checaDivulguer(playerid, texto[]) {
new ccount[3];
for(new i; i < strlen(texto); ++i) switch(texto[i]) {
case '0' .. '9': ccount[0]++; case '.': ccount[1]++; case ':': ccount[2]++;
}
new string[128];
if(ccount[0] > 8 && ccount[1] >= 3 && ccount[2] >= 1) {
format(string,sizeof(string),"[ antiDivulgadores ] %s foi banido por divulgar.", rNome(playerid));
BanEx(playerid, texto);
SendClientMessageToAll(string, -1);
}
return 1;
}
IsAIP(string[])
{
new
a,
b,
l = -1,
i = -1;
while(string[++i])
{
if(string[i] > 48 && string[i] < 58)
a++,l = i;
if(string[i] == 58 && b == 2 && l == i-1 && ++i && string[i] > 48 && string[i] < 58)
{
b = 3;
goto end;
}
if(string[i] == 46 && a > 0 && l == i-1 && b < 2)
b++,a = 0;
}
end:
return b == 3;
}// by [S]trong
public FDP(playerid)
{
GameTextForPlayer(playerid, " Nao pode divulgar ", 3000, 1);
KillTimer(TimerFDP);
return 1;
}
tipo o do cara la em cima ta fail Mas ninguem tem um fs ja pronto pra baixar pq pra ficar montando quebra cabeca e editando pegando pega de um e de outro e osso
|
tipo o do cara la em cima ta fail Mas ninguem tem um fs ja pronto pra baixar pq pra ficar montando quebra cabeca e editando pegando pega de um e de outro e osso
|