Aller au contenu

Spartan9802

Ancien
  • Compteur de contenus

    778
  • Inscription

  • Dernière visite

  • Jours gagnés

    20

Tout ce qui a été posté par Spartan9802

  1. Spartan9802

    AntiAutoclick & Clicks

    Double postes c'est se que tu fait la ... Et oui sa modifiera.
  2. Spartan9802

    AntiAutoclick & Clicks

    Si tu modifie après le "options:" ... Et attention au triples postes, je pense qu'il risque d'y avoir une sanction pour toi si modérateur passe ici.
  3. Spartan9802

    [WorldOfRymn] Sorts

    Non même avec un skript compact, il suffit d'observer le code de skRayFall il fait spawn des particules d'une manière laggi, d'ailleurs les particules ainsi que la téléportation fait spawn des orbs d'exp qui peuvent vite surcharger la connexion.
  4. Spartan9802

    Condition tuer un monstre

    Tu tuer bien un autre joueur ?
  5. Spartan9802

    Condition tuer un monstre

    Note l'erreur, mais normalement ça marche ...
  6. Spartan9802

    Condition tuer un monstre

    Il faut préciser a qui envoyer le message. send "Vous avez gagner 2$ pour avoir tuer un creeper." to attacker
  7. Spartan9802

    [WorldOfRymn] Sorts

    Bonsoir, N'utilise pas skript pour ça ... Il est trop gourmand et instable, il risque de surcharger la bande passante et trop processeur. Sinon il faut utiliser des vecteurs.
  8. Spartan9802

    Condition tuer un monstre

    on death: if attacker and victim is a player: add a random number between 5 and 10 to attacker's money if attacker is a player: if victim is a creeper: add a random number between 5 and 10 to attacker's money if victim is a rabbit: add a random number between 5 and 10 to attacker's money
  9. Spartan9802

    Condition tuer un monstre

    Bonsoir; Vous avez plus que à complété le suite. on death: if attacker is a player: if victim is a creeper: add 10 to attacker's money if victim is a rabbit: add 5 to attacker's money
  10. Spartan9802

    Savoir si un joueur bouge

    C'est totalement faux, il faut juste savoir les gérer comme les "every tick" tu peut regarder dans ressources il y a un skript de iceboots, je te laisse imaginer les calculs gourmand qu'il faut et j'utilise pourtant le "On any move" le skript ne fait pas lag.
  11. Spartan9802

    Savoir si un joueur bouge

    Bonjour, Poste ton code avec le "On any move" il n'est pas censé faire crash, ni lag. Si sa arrive c'est du a une mauvaise utilisation ...
  12. Spartan9802

    AntiAutoclick & Clicks

    Oui j'ai pas fait de fichier de config pour un si petit skript désolé.
  13. command /sorts: trigger: if target is a player: wait 5 ticks set {_y} to location of target player set {_x-} to location of target player set {_x+} to location of target player set {_z-} to location of target player set {_z+} to location of target player remove 1 from x-coordinate of {_x-} add 1 to x-coordinate of {_x+} remove 1 from z-coordinate of {_z-} add 1 to z-coordinate of {_z+} add 2 to y-coordinate of {_y} add {_x-} to {_list::*} add {_x+} to {_list::*} add {_z-} to {_list::*} add {_z+} to {_list::*} add {_y} to {_list::*} if block at {_x-} is air: set block at {_x-} to cobweb if block at {_x+} is air: set block at {_x+} to cobweb if block at {_z-} is air: set block at {_z-} to cobweb if block at {_z+} is air: set block at {_z+} to cobweb if block at {_y} is air: set block at {_y} to cobweb add 1 to y-coordinate of {_x-} add 1 to y-coordinate of {_x+} add 1 to y-coordinate of {_z-} add 1 to y-coordinate of {_z+} if block at {_x-} is air: set block at {_x-} to cobweb if block at {_x+} is air: set block at {_x+} to cobweb if block at {_z-} is air: set block at {_z-} to cobweb if block at {_z+} is air: set block at {_z+} to cobweb add {_x-} to {_list::*} add {_x+} to {_list::*} add {_z-} to {_list::*} add {_z+} to {_list::*} wait 10 seconds loop {_list::*}: set block at loop-value to air remove 1 from y-coordinate of {_x-} remove 1 from y-coordinate of {_x+} remove 1 from y-coordinate of {_z-} remove 1 from y-coordinate of {_z+} loop {_list::*}: set block at loop-value to air
  14. Humm je vient de trouver une nouvelle fonction ^^ command /sorts: trigger: if target is a player: wait 5 ticks set {_x-} to location of target player set {_x+} to location of target player set {_z-} to location of target player set {_z+} to location of target player remove 1 from x-coordinate of {_x-} add 1 to x-coordinate of {_x+} remove 1 from z-coordinate of {_z-} add 1 to z-coordinate of {_z+} add {_x-} to {_list::*} add {_x+} to {_list::*} add {_z-} to {_list::*} add {_z+} to {_list::*} if block at {_x-} is air: set block at {_x-} to cobweb if block at {_x+} is air: set block at {_x+} to cobweb if block at {_z-} is air: set block at {_z-} to cobweb if block at {_z+} is air: set block at {_z+} to cobweb add 1 to y-coordinate of {_x-} add 1 to y-coordinate of {_x+} add 1 to y-coordinate of {_z-} add 1 to y-coordinate of {_z+} if block at {_x-} is air: set block at {_x-} to cobweb if block at {_x+} is air: set block at {_x+} to cobweb if block at {_z-} is air: set block at {_z-} to cobweb if block at {_z+} is air: set block at {_z+} to cobweb add {_x-} to {_list::*} add {_x+} to {_list::*} add {_z-} to {_list::*} add {_z+} to {_list::*} wait 10 seconds loop {_list::*}: set block at loop-value to air remove 1 from y-coordinate of {_x-} remove 1 from y-coordinate of {_x+} remove 1 from y-coordinate of {_z-} remove 1 from y-coordinate of {_z+} loop {_list::*}: set block at loop-value to air
  15. Voilà: command /sorts: trigger: if target is a player: wait 5 ticks set {_x-} to location of target player set {_x+} to location of target player set {_z-} to location of target player set {_z+} to location of target player remove 1 from x-coordinate of {_x-} add 1 to x-coordinate of {_x+} remove 1 from z-coordinate of {_z-} add 1 to z-coordinate of {_z+} add {_x-} to {_list::*} add {_x+} to {_list::*} add {_z-} to {_list::*} add {_z+} to {_list::*} if block at {_x-} is air: set block at {_x-} to cobweb if block at {_x+} is air: set block at {_x+} to cobweb if block at {_z-} is air: set block at {_z-} to cobweb if block at {_z+} is air: set block at {_z+} to cobweb add 1 to y-coordinate of {_x-} add 1 to y-coordinate of {_x+} add 1 to y-coordinate of {_z-} add 1 to y-coordinate of {_z+} if block at {_x-} is air: set block at {_x-} to cobweb if block at {_x+} is air: set block at {_x+} to cobweb if block at {_z-} is air: set block at {_z-} to cobweb if block at {_z+} is air: set block at {_z+} to cobweb add {_x-} to {_list::*} add {_x+} to {_list::*} add {_z-} to {_list::*} add {_z+} to {_list::*} wait 10 seconds loop {_list::*}: set block at loop-value to air
  16. Spartan9802

    World Border

    Le minimum est "every 1 tick" tu ne peut pas moins donc bon ^^ Je pense faire un tutorial pour expliquer les risques est comment utiliser les "Every ticks" ainsi que le "On any move" car il y a beaucoup d'erreurs dessus.
  17. Spartan9802

    World Border

    C'est pareil même le every 1 ticks peut-être utilisé --' il devient risqué a partir du moment ou tu veut par exemple faire beaucoup de vérification dans sa cas il faut beaucoup de variable pour réduire les lags, comme sur mon skript de iceboots
  18. Spartan9802

    World Border

    Le "on any move" peut être largement utiliser --' surtout comme ça il fait aucun calcul le processeur n'est pas en danger renseigne toi avant de parler merci. Edit: En plus sur mon code il y a une variable pour éviter la répétition --'
  19. Spartan9802

    World Border

    Si sous certaine version le booléen bug, donc toujours le rentré comme un texte ;) Pour ton code tu ne modifie pas le y-coordinate ^^ ça va poser soucis
  20. Spartan9802

    World Border

    D'accord, bien voilà terminé il est simple rien de super flux. Donc tu tape "/worldborder <radius>", et a partir de ta position les joueurs ne pourront pas aller plus loin que le rayon choisie. command /worldborder <number>: trigger: set {WorldBorder.%world of player%} to arg 1 set {WorldBorder.%world of player%.loc} to location of player send "§8§l» §a§oVous avez créer un worldborder avec un radius de %arg 1%." on any move: if {WorldBorder.%world of player%} is set: set y-coordinate of {WorldBorder.%world of player%.loc} to y-coordinate of location of player if distance between {WorldBorder.%world of player%.loc} and location of player >= {WorldBorder.%world of player%}: if {WorldBorder.%uuid of player%.wait} is not set: set {WorldBorder.%uuid of player%.wait} to "true" cancel event push the player backwards at speed 0.5 send "§8§l» §c§oDésolé vous ête au bord de la map." to player wait 5 ticks delete {WorldBorder.%uuid of player%.wait}
  21. Spartan9802

    Location spécifique

    Humm d'accord précise que l'on puisse t'aider ;)
  22. Spartan9802

    Location spécifique

    C'est exactement ce que tu demande ... Ensuite tu a plus qu'a faire: teleport player to {_loc} Et {_loc} est une variable qui ne serra pas save. Edit: on click: add 1 to {nbclick.%uuid of player%}
  23. Spartan9802

    Location spécifique

    Bonsoir; set {_loc} to location at 0, 0, 0 in world "PvPBox"
  24. Bien si le code fonctionne --'
  25. Spartan9802

    World Border

    Bonsoir, C'est très simple a réaliser, mais worldborder serrât toujours mieux dis toi que un skript = le plugin en 1,5x plus gourmand. Si tu y tien vraiment je te le fait mais ...
×
×
  • 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.