Aller au contenu

Crazy

Ancien
  • Compteur de contenus

    853
  • Inscription

  • Dernière visite

  • Jours gagnés

    19

Tout ce qui a été posté par Crazy

  1. Crazy

    Script ne marche pas

    Rien ne change... bizarre
  2. Crazy

    Script ne marche pas

    Ok je vais voir demain la je n'ai pas le temps merci de ton aide :) Ca ne marche pas :( voici le script (j'ai modifier les erreurs que @Arwex m'a dit) : [spoiler=Script] #--------------------------------- #----------- TPS CHECK ----------- #-------- PAR MRCRAZYKILL -------- #---------- VERSION 1.0 --------- #--------------------------------- options: version: 1.0 on join: set {_tps} to tps message "&8&m-----------------------------------------------------" if {_tps} is between 0 and 9,99: message "&7Le serveur est : &cinstable" if {_tps} is between 10 and 13,99: message "&7Le serveur est : &6peu stable" if {_tps} is between 14 and 17,99: message "&7Le serveur est : &estable" if {_tps} is between 18 and 20: message "&7Le serveur est : &afluide" message "&7TPS = &a%{_tps}%" message "&8&m-----------------------------------------------------" every 5 minutes: player has permission "lag.check" make player execute command: "/lag verification" set {_tps} to tps set {_freememory} to free memory set {_maxmemory} to max memory set {_usememory} to ({_maxmemory} - {_freememory}) set {_maxmemory} to {_maxmemory}/1048576 set {_freememory} to {_freememory}/1048576 set {_usememory} to {_usememory}/1048576 set {_maxplayer} to max players wait 1 tick if {_tps} is between 0 and 14: broadcast "&4➤ &cLe serveur est instable -> TPS = &r%{_tps}%" create file "plugins/TPSCHECK/TPS/year_%year%/month_%month%/day_%day%/hour_%hour%/minute_%minute%/rapport.txt" wf "Rapport de stabilité du serveur - %now%" to "plugins/TPSCHECK/TPS/year_%year%/month_%month%/day_%day%/hour_%hour%/minute_%minute%/rapport.txt" wf "-----------------------------------------------" to "plugins/TPSCHECK/TPS/year_%year%/month_%month%/day_%day%/hour_%hour%/minute_%minute%/rapport.txt" wf "TPS : %{_tps}%" to "plugins/TPSCHECK/TPS/year_%year%/month_%month%/day_%day%/hour_%hour%/minute_%minute%/rapport.txt" wf "Mémoire libre : %{_freememory}% MB" to "plugins/TPSCHECK/TPS/year_%year%/month_%month%/day_%day%/hour_%hour%/minute_%minute%/rapport.txt" wf "Mémoire maximum : %{_maxmemory}% MB" to "plugins/TPSCHECK/TPS/year_%year%/month_%month%/day_%day%/hour_%hour%/minute_%minute%/rapport.txt" wf "Mémoire utilisée : %{_usememory}% MB" to "plugins/TPSCHECK/TPS/year_%year%/month_%month%/day_%day%/hour_%hour%/minute_%minute%/rapport.txt" wf "Nombre de joueurs connectés : %number of players% / %{_maxplayer}%" to "plugins/TPSCHECK/TPS/year_%year%/month_%month%/day_%day%/hour_%hour%/minute_%minute%/rapport.txt" wf "" to "plugins/TPSCHECK/TPS/year_%year%/month_%month%/day_%day%/hour_%hour%/minute_%minute%/rapport.txt" if {_tps} is between 0 and 10: wf "État : instable" to "plugins/TPSCHECK/TPS/year_%year%/month_%month%/day_%day%/hour_%hour%/minute_%minute%/rapport.txt" if {_tps} is between 11 and 14: wf "État : peu stable" to "plugins/TPSCHECK/TPS/year_%year%/month_%month%/day_%day%/hour_%hour%/minute_%minute%/rapport.txt" if {_tps} is between 15 and 18: wf "État : stable" to "plugins/TPSCHECK/TPS/year_%year%/month_%month%/day_%day%/hour_%hour%/minute_%minute%/rapport.txt" if {_tps} is between 19 and 20: wf "État : fluide" to "plugins/TPSCHECK/TPS/year_%year%/month_%month%/day_%day%/hour_%hour%/minute_%minute%/rapport.txt" log "Un rapport a ete creer | Location : plugins/TPSCHECK/TPS/year_%year%/month_%month%/day_%day%/hour_%hour%/minute_%minute%/rapport.txt" delete {_freememory} delete {_maxmemory} delete {_usememory} delete {_maxplayer} command /check [<text>]: trigger: if argument 1 is "on": difference between {command.%player%.lastuse} and now is smaller than a minute: player don't have permission "lag.check" message "&8[&cLag&8] &7L'auto vérification activée, elle s'effectuera toutes les cinq minutes." wait 10 tick execute console command "manuaddp %player% lag.check" player has permission "lag.check" message "&8[&cLag&8] &7L'auto vérification est déjà activée" if argument 1 is "off": difference between {command.%player%.lastuse} and now is smaller than a minute: player don't have permission "lag.check" message "&8[&cLag&8] &7L'auto vérification est déjà désactiver" player has permission "lag.check" message "&8[&cLag&8] &7L'auto vérification est désactivée" wait 10 tick execute console command "manudelp %player% lag.check" if argument 1 is "verification": set {ping.%player%} to player's ping set {_tps} to tps if sender is player: if {ping.%player%} is between 0 and 199: message "&9Votre ping : &a%{ping.%player%}% ms" if {ping.%player%} is between 200 and 499: message "&9Votre ping : &6%{ping.%player%}% ms" if {ping.%player%} is between 500 and 999: message "&9Votre ping : &c%{ping.%player%}% ms" if {ping.%player%} is greater than or equal to 1000: message "&9Votre ping : &4%{ping.%player%}% ms" if {_tps} is between 0 and 9,99: message "&9TPS : &4%{_tps}%" if {_tps} is between 10 and 13,99: message "&9TPS : &c%{_tps}%" if {_tps} is between 14 and 17,99: message "&9TPS : &6%{_tps}%" if {_tps} is greater than or equal to 18: message "&9TPS : &a%{_tps}%" command /lag: trigger: set {ping.%player%} to player's ping set {_tps} to tps message "&e&m-----------------------------------------------------" if sender is player: if {ping.%player%} is between 0 and 199: message "&9Votre ping : &a%{ping.%player%}% ms" if {ping.%player%} is between 200 and 499: message "&9Votre ping : &6%{ping.%player%}% ms" if {ping.%player%} is between 500 and 999: message "&9Votre ping : &c%{ping.%player%}% ms" if {ping.%player%} is greater than or equal to 1000: message "&9Votre ping : &4%{ping.%player%}% ms" message "&7Le ping indique le temps de réponse avec le serveur" if {_tps} is between 0 and 9,99: message "&9TPS : &4%{_tps}%" if {_tps} is between 10 and 13,99: message "&9TPS : &c%{_tps}%" if {_tps} is between 14 and 17,99: message "&9TPS : &6%{_tps}%" if {_tps} is greater than or equal to 18: message "&9TPS : &a%{_tps}%" message "&7Les TPS indiquent si le serveur est surchargé, &a20 = &bparfait" message "&e%now%" message "&e&m-----------------------------------------------------" Et voici les erreurs que ça m'affiche maintenant : [spoiler=Erreur] [18:23:38] [Client thread/INFO]: [CHAT] [skript] Reloading TPSCHECK.sk... [18:23:38] [Client thread/INFO]: [CHAT] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (TPSCHECK.sk, line 64: difference between {command.%player%.lastuse} and now is smaller than a minute:') [18:23:38] [Client thread/INFO]: [CHAT] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (TPSCHECK.sk, line 72: difference between {command.%player%.lastuse} and now is smaller than a minute:') [18:23:38] [Client thread/INFO]: [CHAT] List is missing 'and' or 'or', defaulting to 'and' (TPSCHECK.sk, line 13: if {_tps} is between 0 and 9,99:') [18:23:38] [Client thread/INFO]: [CHAT] List is missing 'and' or 'or', defaulting to 'and' (TPSCHECK.sk, line 15: if {_tps} is between 10 and 13,99:') [18:23:38] [Client thread/INFO]: [CHAT] List is missing 'and' or 'or', defaulting to 'and' (TPSCHECK.sk, line 17: if {_tps} is between 14 and 17,99:') [18:23:38] [Client thread/INFO]: [CHAT] 'permission "lag.check"' is not an item type (TPSCHECK.sk, line 25: player has permission "lag.check"') [18:23:38] [Client thread/INFO]: [CHAT] 'command: "/lag verification"' is not a text (TPSCHECK.sk, line 26: make player execute command: "/lag verification"') [18:23:38] [Client thread/INFO]: [CHAT] List is missing 'and' or 'or', defaulting to 'and' (TPSCHECK.sk, line 92: if {_tps} is between 0 and 9,99:') [18:23:39] [Client thread/INFO]: [CHAT] List is missing 'and' or 'or', defaulting to 'and' (TPSCHECK.sk, line 94: if {_tps} is between 10 and 13,99:') [18:23:39] [Client thread/INFO]: [CHAT] List is missing 'and' or 'or', defaulting to 'and' (TPSCHECK.sk, line 96: if {_tps} is between 14 and 17,99:') [18:23:39] [Client thread/INFO]: [CHAT] List is missing 'and' or 'or', defaulting to 'and' (TPSCHECK.sk, line 116: if {_tps} is between 0 and 9,99:') [18:23:39] [Client thread/INFO]: [CHAT] List is missing 'and' or 'or', defaulting to 'and' (TPSCHECK.sk, line 118: if {_tps} is between 10 and 13,99:') [18:23:39] [Client thread/INFO]: [CHAT] List is missing 'and' or 'or', defaulting to 'and' (TPSCHECK.sk, line 120: if {_tps} is between 14 and 17,99:') [18:23:39] [Client thread/INFO]: [CHAT] [skript] Encountered 2 errors while reloading TPSCHECK.sk! Ce qui ne marche pas et le "/check on" et "/check off" même quand j'ai la permission ou pas cela ne marche pas... Puis le /check verification toutes les 5 minutes (les 2 lignes après every 5 minutes: )
  3. Crazy

    Script ne marche pas

    [spoiler=Erreurs] [22:43:30] [Client thread/INFO]: [CHAT] [skript] Reloading all scripts... [22:43:31] [Client thread/INFO]: [CHAT] indentation error: expected 1 tab, but found 2 tabs (TPSCHECK.sk, line 26: make player execute command: "/lag verification"') [22:43:31] [Client thread/INFO]: [CHAT] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (TPSCHECK.sk, line 67: difference between {command.%player%.lastuse} and now is smaller than a minute:') [22:43:31] [Client thread/INFO]: [CHAT] indentation error: expected 3 tabs, but found 4 tabs (TPSCHECK.sk, line 69: message "&8[&cLag&8] &7L'auto vérification est déjà activée"') [22:43:31] [Client thread/INFO]: [CHAT] indentation error: expected 3 tabs, but found 4 tabs (TPSCHECK.sk, line 71: message "&8[&cLag&8] &7L'auto vérification activée, elle s'effectuera toutes les cinq minutes."') [22:43:31] [Client thread/INFO]: [CHAT] indentation error: expected 3 tabs, but found 4 tabs (TPSCHECK.sk, line 72: wait 2 seconds') [22:43:31] [Client thread/INFO]: [CHAT] indentation error: expected 3 tabs, but found 4 tabs (TPSCHECK.sk, line 73: execute console command "manuaddp %player% lag.check"') [22:43:31] [Client thread/INFO]: [CHAT] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (TPSCHECK.sk, line 75: difference between {command.%player%.lastuse} and now is smaller than a minute:') [22:43:31] [Client thread/INFO]: [CHAT] indentation error: expected 3 tabs, but found 4 tabs (TPSCHECK.sk, line 77: message "&8[&cLag&8] &7L'auto vérification est déjà désactiver"') [22:43:31] [Client thread/INFO]: [CHAT] indentation error: expected 3 tabs, but found 4 tabs (TPSCHECK.sk, line 79: message "&8[&cLag&8] &7L'auto vérification est désactivée"') [22:43:31] [Client thread/INFO]: [CHAT] 'permission "lag.check"' is not an item type (TPSCHECK.sk, line 25: player has permission "lag.check"') [22:43:31] [Client thread/INFO]: [CHAT] List is missing 'and' or 'or', defaulting to 'and' (TPSCHECK.sk, line 95: if {_tps} is between 0 and 9,99:') [22:43:31] [Client thread/INFO]: [CHAT] List is missing 'and' or 'or', defaulting to 'and' (TPSCHECK.sk, line 97: if {_tps} is between 10 and 13,99:') [22:43:31] [Client thread/INFO]: [CHAT] List is missing 'and' or 'or', defaulting to 'and' (TPSCHECK.sk, line 99: if {_tps} is between 14 and 17,99:') [22:43:31] [Client thread/INFO]: [CHAT] List is missing 'and' or 'or', defaulting to 'and' (TPSCHECK.sk, line 119: if {_tps} is between 0 and 9,99:') [22:43:31] [Client thread/INFO]: [CHAT] List is missing 'and' or 'or', defaulting to 'and' (TPSCHECK.sk, line 121: if {_tps} is between 10 and 13,99:') [22:43:31] [Client thread/INFO]: [CHAT] List is missing 'and' or 'or', defaulting to 'and' (TPSCHECK.sk, line 123: if {_tps} is between 14 and 17,99:') [22:43:32] [Client thread/INFO]: [CHAT] Loaded 1 script with a total of 2 triggers and 2 commands in 0.81 seconds [22:43:32] [Client thread/INFO]: [CHAT] [skript] Encountered 8 errors while reloading all scripts! Si j'ai modifier le script et à quel ligne il manque " : "
  4. Crazy

    Script ne marche pas

    Bonjour, j'aimerais être aider sur mon script qu'il ne fonctionne pas. Voici les erreurs quand je reload le script: [spoiler=Erreurs] [13:09:44] [Client thread/INFO]: [CHAT] [skript] Reloading all scripts... [13:09:44] [Client thread/INFO]: [CHAT] indentation error: expected 1 tab, but found 2 tabs (TPSCHECK.sk, line 26: make player execute command: "/lag verification"') [13:09:44] [Client thread/INFO]: [CHAT] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (TPSCHECK.sk, line 67: difference between {command.%player%.lastuse} and now is smaller than a minute:') [13:09:44] [Client thread/INFO]: [CHAT] indentation error: expected 3 tabs, but found 4 tabs (TPSCHECK.sk, line 69: message "&8[&cLag&8] &7L'auto vérification est déjà activée"') [13:09:44] [Client thread/INFO]: [CHAT] indentation error: expected 3 tabs, but found 4 tabs (TPSCHECK.sk, line 71: message "&8[&cLag&8] &7L'auto vérification activée, elle s'effectuera toutes les cinq minutes."') [13:09:44] [Client thread/INFO]: [CHAT] indentation error: expected 3 tabs, but found 4 tabs (TPSCHECK.sk, line 72: wait 2 seconds') [13:09:44] [Client thread/INFO]: [CHAT] indentation error: expected 3 tabs, but found 4 tabs (TPSCHECK.sk, line 73: execute console command "manuaddp %player% lag.check"') [13:09:44] [Client thread/INFO]: [CHAT] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (TPSCHECK.sk, line 75: difference between {command.%player%.lastuse} and now is smaller than a minute:') [13:09:44] [Client thread/INFO]: [CHAT] indentation error: expected 3 tabs, but found 4 tabs (TPSCHECK.sk, line 77: message "&8[&cLag&8] &7L'auto vérification est déjà désactiver"') [13:09:44] [Client thread/INFO]: [CHAT] indentation error: expected 3 tabs, but found 4 tabs (TPSCHECK.sk, line 79: message "&8[&cLag&8] &7L'auto vérification est désactivée"') [13:09:44] [Client thread/INFO]: [CHAT] 'permission "lag.check"' is not an item type (TPSCHECK.sk, line 25: player has permission "lag.check"') [13:09:44] [Client thread/INFO]: [CHAT] List is missing 'and' or 'or', defaulting to 'and' (TPSCHECK.sk, line 95: if {_tps} is between 0 and 9,99:') [13:09:44] [Client thread/INFO]: [CHAT] List is missing 'and' or 'or', defaulting to 'and' (TPSCHECK.sk, line 97: if {_tps} is between 10 and 13,99:') [13:09:44] [Client thread/INFO]: [CHAT] List is missing 'and' or 'or', defaulting to 'and' (TPSCHECK.sk, line 99: if {_tps} is between 14 and 17,99:') [13:09:44] [Client thread/INFO]: [CHAT] List is missing 'and' or 'or', defaulting to 'and' (TPSCHECK.sk, line 119: if {_tps} is between 0 and 9,99:') [13:09:44] [Client thread/INFO]: [CHAT] List is missing 'and' or 'or', defaulting to 'and' (TPSCHECK.sk, line 121: if {_tps} is between 10 and 13,99:') [13:09:44] [Client thread/INFO]: [CHAT] List is missing 'and' or 'or', defaulting to 'and' (TPSCHECK.sk, line 123: if {_tps} is between 14 and 17,99:') [13:09:44] [Client thread/INFO]: [CHAT] Loaded 1 script with a total of 2 triggers and 2 commands in 0.28 seconds [13:09:44] [Client thread/INFO]: [CHAT] [skript] Encountered 8 errors while reloading all scripts!
×
×
  • 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.