Jump to content
  • 0

Problema boti


opy

Question

3 answers to this question

Recommended Posts

  • 0
Acum 29 minute, opy a spus:

Salut de un timp de vreme îmi intra boti pe server,  ii banez pe ip pe nume dar tot intra imediat am încercat și câteva filescript uri, fără folos 

Daca asa zis-ul "hacker" are IP dinamic (ca majoritatea celor din RDS) si isi da restart la calculator ... revine iar cu boti, spam si chiar flood, de ce nu>

Deci ... nu este o solutie.

  • Upvote 1

FiveGame  Lands

Pawno Developer, Mapping , Scripter

Since 2016

Link to comment
Share on other sites

  • 0
La 22.12.2016 la 16:29, Spmn a spus:

Limitezi conexiunile de pe un IP intr-un interval X de timp.

Sau se poate loga cu rconul /rcon login parola

 

/rcon ban id-ul botului, si acesta nu va mai intra pana nu isi va schimba ip-ul.

 

Daca are VPN, ii banezi toate ip-urile, sau ii dai ban pana se plictiseste.

Sau poti folosii asta la OnPlayerConnect (nu l-am testat, dar ar trebuii sa functioneze, l-am facut destul de avansat, in cat are abilitatea de a detecta daca sunt sau nu boti pe server).

	new IP[16],rezultate = 0,stocareid[50];
	GetPlayerIp(playerid, IP, 16);
	for(new i = 0; i < MAX_PLAYERS; i++)
	{
		if(IsPlayerConnected(i))
		{
			new IP2[16];
			GetPlayerIp(playerid, IP2, 16);
			if(strcmp(IP, IP2, true) == 0)
			{
				stocareid[rezultate] = i;
				rezultate++;
			}
		}
	}
	if(rezultate > 1)
	{
		Kick(playerid);
	}
	if(rezultate > 4)
	{
		for(new i = 0; i < rezultate; i++)
		{
			if(IsPlayerConnected(stocareid[i]))
			{	
				Ban(stocareid[i]);
			}	
		}
	}

 

Edited by RWRobiBG

                        

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.