Aller au contenu

Classement

Contenu populaire

Affichage du contenu avec la meilleure réputation le 20/04/2019 dans Messages

  1. C'est ce que je lui disais haha ! Il me semble que c'est réglé, à voir
    1 point
  2. Les subs d'skQuery. Mais il me semble qu'ils ne sont plus supportés, enfin d'après les docs
    1 point
  3. Salut, La façon la plus courte de faire ça est de passer par une fonction. Ça te prendra donc seulement 2 lignes dans tes commandes ! function commandDelay(player: player): set {_playeruuid} to uuid of {_player} if {delay.priority.%{_playeruuid}%} is not set: set {delay.priority.%{_playeruuid}%} to "normal" if {delay.priority.%{_playeruuid}%} is "normal": set {delay.priority.%{_playeruuid}%.time} to 5 seconds stop if {delay.priority.%{_playeruuid}%} is "above": set {delay.priority.%{_playeruuid}%.time} to 4 seconds stop if {delay.priority.%{_playeruuid}%} is "high": set {delay.priority.%{_playeruuid}%.time} to 3 seconds stop if {delay.priority.%{_playeruuid}%} is "veryhigh": set {delay.priority.%{_playeruuid}%.time} to 2 seconds stop if {delay.priority.%{_playeruuid}%} is "ultrahigh": set {delay.priority.%{_playeruuid}%.time} to 1 second stop command /tacommande: trigger: commandDelay(player) wait {delay.priority.%uuid of player%.time} send "Youpi, ça marche ! §8(%{delay.priority.%uuid of player%.time}%)" to player Attention: La fonction doit être définie avant son utilisation ! Je te conseil de mettre tes fonctions en haut de ton script. EDIT: Je suis passé par des variables, je me suis un peu égaré de ta demande en essayant mon script, à toi de le modifier pour qu'il te corresponde ! 😃 ~ Ethnae
    1 point
  4. Version: 1.12.2 Addons skript: TuSKe, SkRayFall, SkQuery, Skelett, MundoSK Versionn skript: Dev37c Erreur dans la console: [19:07:19] [Server thread/INFO] []: -------------------------------------------- [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! [Skript] Severe Error: [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! Something went horribly wrong with Skript. [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! This issue is NOT your fault! You probably can't fix it yourself, either. [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! It looks like you are using some plugin(s) that alter how Skript works (addons). [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! Here is full list of them: [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! skRayFall (http://sk.rayfall.net/) TuSKe (github.com/Tuke-Nuke/TuSKe) MundoSK (https://forums.skunity.com/resources/mundosk.69/) Skellett (https://forums.skunity.com/resources/skellett-the-addon-with-a-beast-name.24/) SkQuery [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! We could not identify which of those are specially related, so this might also be Skript issue. [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! You should try disabling those plugins one by one, trying to find which one causes it. [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! If the error doesn't disappear even after disabling all listed plugins, it is probably Skript issue. [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! In that case, you will be given instruction on how should you report it. [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! On the other hand, if the error disappears when disabling some plugin, report it to author of that plugin. [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! Only if the author tells you to do so, report it as Skript issue (url below) [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! Issue tracker: https://github.com/SkriptLang/Skript/issues (only if you know what you're doing!) [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! Stack trace: [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! java.lang.NullPointerException [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! at com.gmail.thelimeglass.Expressions.ExprNearbyEntities.get(ExprNearbyEntities.java:61) [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! at com.gmail.thelimeglass.Expressions.ExprNearbyEntities.get(ExprNearbyEntities.java:1) [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! at ch.njol.skript.lang.util.SimpleExpression.getArray(SimpleExpression.java:102) [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! at ch.njol.skript.lang.util.SimpleExpression.iterator(SimpleExpression.java:314) [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! at ch.njol.skript.lang.Loop.walk(Loop.java:79) [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:89) [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! at ch.njol.skript.lang.Trigger.execute(Trigger.java:55) [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! at ch.njol.skript.lang.function.ScriptFunction.execute(ScriptFunction.java:93) [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! at ch.njol.skript.lang.function.Function.execute(Function.java:119) [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! at ch.njol.skript.lang.function.FunctionReference.execute(FunctionReference.java:204) [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! at ch.njol.skript.lang.function.EffFunctionCall.execute(EffFunctionCall.java:53) [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! at ch.njol.skript.lang.Effect.run(Effect.java:52) [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:61) [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:89) [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! at ch.njol.skript.effects.Delay$1.run(Delay.java:109) [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:80) [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:361) [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:663) [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:385) [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:614) [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:505) [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! at java.lang.Thread.run(Thread.java:745) [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! Version Information: [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! Skript: 2.2-dev37c [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! Bukkit: 1.12.2-R0.1-SNAPSHOT [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! Minecraft: 1.12.2 [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! Java: 1.8.0_72 (Java HotSpot(TM) 64-Bit Server VM 25.72-b15) [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! OS: Linux amd64 4.9.0-0.bpo.6-amd64 [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! Server platform: Spigot [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! Current node: null [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! Current item: loop [skellett] [(the|all)] [of] [the] [nearby] entit(y|ies) (within|in) [a] radius [of] %number%[(,| and) %number%(,| and) %number%] (within|around|near) %location% [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! Current trigger: function bg_resetarena (simple event) (BG.sk, line -1) [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! Thread: Server thread [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! Language: english [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! Link parse mode: DISABLED [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! End of Error. [19:07:19] [Server thread/ERROR] [Minecraft]: #!#! Bonjour j'ai un problème (une erreur) dans ma console consernant skript est je voudrait savoir comment régler cette erreur.
    0 point
×
×
  • 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.