Aller au contenu

!i!i un anti speed hack !i!i


Messages recommandés

Posté(e)

Bonjours a tous et a toute développeur , je suis actuellement a la recherche d'un script ou pleugin anti speed hack qui ne ferait pas lag le serv et qui n’interférais pas dans le pvp je peut le payer si besoin merci de vos réponse d'avance !! :)

Posté(e)
on any move:
  set {_pos} to location of player
   wait 1 second
   if distance between {_pos} and player is bigger than 7:
       kick the player due to "cheat detected"
   else:
       stop

Posté(e)
on any move:
  set {_pos} to location of player
   wait 1 second
   if distance between {_pos} and player is bigger than 7:
       kick the player due to "cheat detected"
   else:
       stop

si tu pouvais rajouter le fait que la person peut avoir des probleme de connexion , + si le mec lance un enderpearl sa pourrait le detecte

Posté(e)

CODE PAS tester ;) mais je pense que c'est bon !

 

 

on any move:
	#Pour savoir le Ping du joueur 
   set {_ping} to the player's ping
	#Si le joueur a 50 Ou plus de Ping
   if {_ping} < 50:
   set {_pos} to location of player
   wait 2 tick
   if distance between {_pos} and player is bigger than 7:
       kick the player due to "cheat detected"
   else:
       stop
 #Si le joueur a 200 Ou plus de Ping
on any move:
   if {_ping} < 100:
   set {_pos} to location of player
   wait 2 tick
   if distance between {_pos} and player is bigger than 14:
       kick the player due to "cheat detected"
   else:
       stop
 #Si le joueur a 200 Ou plus de Ping
on any move:
   if {_ping} < 200:
   set {_pos} to location of player
   wait 2 tick
   if distance between {_pos} and player is bigger than 21:
       kick the player due to "cheat detected"
   else:
       stop

Posté(e)

on projectile hit:
if projectile is enderpearl:
	set {enderpearl.%shooter%} to true
	wait 2 seconds
	if {enderpearl.%shooter%} is true:
		set {enderpearl.%shooter%} to false
on teleport:
set {teleport.%player%} to true
wait 2 seconds
if {teleport.%player%} is true:
	set {teleport.%player%} to false

Ensuite tu utilise {teleport.%player%} et {enderpearl.%player%} dans ton code.

×
×
  • Créer...

Information importante

Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer.