Aller au contenu
  • 0

sidebar de SkRayFall ne marche pas...


Question

Posté(e)

Version : skript : dev34

Version serveur : 1.12

Addons : Skellett(dernière version) et SkRayfall(dernière version) et SkQuery (et bien d'autres mais seul ces deux là peuvent agir sur la sidebar...)

 

Bonjour, peut importe la syntaxe que j'utilise pour la sidebar avec Skrayfall, je continue d'avoir un message d'internale error qui m'est donner lors que j’exécute la commande l'activant.

Voici la syntaxe que je met par exemple :

set name of sidebar of {_p} to "test"

Et voici les erreurs de la console.

17:12:16 CONSOLE: ERROR]: #!#! We could not identify which of those are specially related, so this might also be Skript issue.
17:12:16 CONSOLE: ERROR]: #!#! You should try disabling those plugins one by one, trying to find which one causes it.
17:12:16 CONSOLE: ERROR]: #!#! If the error doesn't disappear even after disabling all listed plugins, it is probably Skript issue.
17:12:16 CONSOLE: ERROR]: #!#! In that case, you will be given instruction on how should you report it.
17:12:16 CONSOLE: ERROR]: #!#! On the other hand, if the error disappears when disabling some plugin, report it to author of that plugin.
17:12:16 CONSOLE: ERROR]: #!#! Only if the author tells you to do so, report it as Skript issue (url below)
17:12:16 CONSOLE: ERROR]: #!#! Issue tracker: https://github.com/bensku/Skript/issues (only if you know what you're doing!)
17:12:16 CONSOLE: ERROR]: #!#!
17:12:16 CONSOLE: ERROR]: #!#! Stack trace:
17:12:16 CONSOLE: ERROR]: #!#! java.lang.IllegalStateException: trigger for function is not available
17:12:16 CONSOLE: ERROR]: #!#! at ch.njol.skript.lang.function.ScriptFunction.execute(ScriptFunction.java:80)
17:12:16 CONSOLE: ERROR]: #!#! at ch.njol.skript.lang.function.Function.execute(Function.java:112)
17:12:16 CONSOLE: ERROR]: #!#! at ch.njol.skript.lang.function.FunctionReference.execute(FunctionReference.java:193)
17:12:16 CONSOLE: ERROR]: #!#! at ch.njol.skript.lang.function.EffFunctionCall.execute(EffFunctionCall.java:53)
17:12:16 CONSOLE: ERROR]: #!#! at ch.njol.skript.lang.Effect.run(Effect.java:52)
17:12:16 CONSOLE: ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:61)
17:12:16 CONSOLE: ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:89)
17:12:16 CONSOLE: ERROR]: #!#! at ch.njol.skript.lang.Trigger.execute(Trigger.java:55)
17:12:16 CONSOLE: ERROR]: #!#! at ch.njol.skript.command.ScriptCommand.execute2(ScriptCommand.java:279)
17:12:16 CONSOLE: ERROR]: #!#! at ch.njol.skript.command.ScriptCommand.execute(ScriptCommand.java:236)
17:12:16 CONSOLE: ERROR]: #!#! at ch.njol.skript.command.Commands.handleCommand(Commands.java:255)
17:12:16 CONSOLE: ERROR]: #!#! at ch.njol.skript.command.Commands$1.onPlayerCommand(Commands.java:170)
17:12:16 CONSOLE: ERROR]: #!#! at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
17:12:16 CONSOLE: ERROR]: #!#! at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
17:12:16 CONSOLE: ERROR]: #!#! at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
17:12:16 CONSOLE: ERROR]: #!#! at java.lang.reflect.Method.invoke(Method.java:497)
17:12:16 CONSOLE: ERROR]: #!#! at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302)
17:12:16 CONSOLE: ERROR]: #!#! at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
17:12:16 CONSOLE: ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:499)
17:12:16 CONSOLE: ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:484)
17:12:16 CONSOLE: ERROR]: #!#! at net.minecraft.server.v1_12_R1.PlayerConnection.handleCommand(PlayerConnection.java:1377)
17:12:16 CONSOLE: ERROR]: #!#! at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1220)
17:12:16 CONSOLE: ERROR]: #!#! at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:45)
17:12:16 CONSOLE: ERROR]: #!#! at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:1)
17:12:16 CONSOLE: ERROR]: #!#! at net.minecraft.server.v1_12_R1.PlayerConnectionUtils$1.run(SourceFile:13)
17:12:16 CONSOLE: ERROR]: #!#! at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
17:12:16 CONSOLE: ERROR]: #!#! at java.util.concurrent.FutureTask.run(FutureTask.java:266)
17:12:16 CONSOLE: ERROR]: #!#! at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46)
17:12:16 CONSOLE: ERROR]: #!#! at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:747)
17:12:16 CONSOLE: ERROR]: #!#! at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:405)
17:12:16 CONSOLE: ERROR]: #!#! at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:678)
17:12:16 CONSOLE: ERROR]: #!#! at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:576)
17:12:16 CONSOLE: ERROR]: #!#! at java.lang.Thread.run(Thread.java:745)
17:12:17 CONSOLE: ERROR]: #!#!
17:12:17 CONSOLE: ERROR]: #!#! Version Information:
17:12:17 CONSOLE: ERROR]: #!#! Skript: 2.2-dev34 (latest)
17:12:17 CONSOLE: ERROR]: #!#! Bukkit: 1.12-R0.1-SNAPSHOT
17:12:17 CONSOLE: ERROR]: #!#! Minecraft: 1.12
17:12:17 CONSOLE: ERROR]: #!#! Java: 1.8.0_45-internal (OpenJDK 64-Bit Server VM 25.45-b02)
17:12:17 CONSOLE: ERROR]: #!#! OS: Linux amd64 3.19.0-22-generic
17:12:17 CONSOLE: ERROR]: #!#!
17:12:17 CONSOLE: ERROR]: #!#! Server platform: Spigot
17:12:17 CONSOLE: ERROR]: #!#!
17:12:17 CONSOLE: ERROR]: #!#! Current node: null
17:12:17 CONSOLE: ERROR]: #!#! Current item: groupscoreboard(the player)
17:12:17 CONSOLE: ERROR]: #!#! Thread: Server thread
17:12:17 CONSOLE: ERROR]: #!#!
17:12:17 CONSOLE: ERROR]: #!#! Language: english
17:12:17 CONSOLE: ERROR]: #!#! Link parse mode: DISABLED
17:12:17 CONSOLE: ERROR]: #!#!
17:12:17 CONSOLE: ERROR]: #!#! End of Error.
17:12:17 CONSOLE: ERROR]: #!#!

 

J'ai aussi essayé de désactiver la stylishbar de Skellett car ça pouvait peut être provenir d'un conflict entre les deux mais ça ne change rien....

Et j'ai absolument rien compris au sidebar skellett...

 

 

EDIT : Bon finalement je passe sur les scoreboard de skellett qui sont enfaîte plus complexe mais bien mieux et j'ai enfin trouvé une bonne explication ici : https://forums.skunity.com/threads/how-to-make-every-player-got-own-sidebar.345/

11 réponses à cette question

Messages recommandés

  • 0
Posté(e)

Bonjour,

 

D'après le rapport d'erreur, c'est le {_p} qui est en tord.

Puis-je avoir le skript s'il te plait ?

  • 0
Posté(e)
Bonjour,

 

D'après le rapport d'erreur, c'est le {_p} qui est en tord.

Puis-je avoir le skript s'il te plait ?

 

ça ne vient pas de là car j'ai fais des test et même un code de type ne marche pas :

command /aa:
   trigger:
       send "hey" to player

       set name of sidebar of player to "test"

  • 0
Posté(e)

Eh bien après une petite recherche sur la doc de SkUnity, le problème vient de l'utilisateur puisqu'il faut, pour nommer une sidebar, lui attribuer au moins un score. A toi de vérifier mais se serait plus simple d'avoir le code en entier...

  • 0
Posté(e)
Eh bien après une petite recherche sur la doc de SkUnity, le problème vient de l'utilisateur puisqu'il faut, pour nommer une sidebar, lui attribuer au moins un score. A toi de vérifier mais se serait plus simple d'avoir le code en entier...

La je teste avec juste une commande dans mon script et ça marche pas...

Si tu donnes un nom à un scoreboard, faut quand même qu'il y ait quelque chose dedans

J'ai essayé en deffinissant avant un truc à l'intérieur mais tjr pas ex :

 

command /aa:
   trigger:
       send "hey" to player
       set score "test" in sidebar of player to 1
       set name of sidebar of player to "test"

 

EDIT : Bon finalement je passe sur les scoreboard de skellett qui sont enfaîte plus complexe mais bien mieux et j'ai enfin trouvé une bonne explication ici : https://forums.skunity.com/threads/how-to-make-every-player-got-own-sidebar.345/

  • 0
Posté(e)

every 4 seconds:
   loop all players:
       if world of loop-player is "world":
           set {_h} to loop-player
           wipe {_h}'s sidebar
           set name of sidebar of {_h} to "HUB"
           set score "&fcc" in sidebar of {_h} to 16
           set score "  &7Nombre de joueur : %number of all players%" in sidebar of {_h} to 15

Normalement il marche, j'ai un autre sinon

  • 0
Posté(e)
every 4 seconds:
   loop all players:
       if world of loop-player is "world":
           set {_h} to loop-player
           wipe {_h}'s sidebar
           set name of sidebar of {_h} to "HUB"
           set score "&fcc" in sidebar of {_h} to 16
           set score "  &7Nombre de joueur : %number of all players%" in sidebar of {_h} to 15

Normalement il marche, j'ai un autre sinon

 

:confused:o_O

  • 0
Posté(e)
every 4 seconds:
   loop all players:
       if world of loop-player is "world":
           set {_h} to loop-player
           wipe {_h}'s sidebar
           set name of sidebar of {_h} to "HUB"
           set score "&fcc" in sidebar of {_h} to 16
           set score "  &7Nombre de joueur : %number of all players%" in sidebar of {_h} to 15

Normalement il marche, j'ai un autre sinon

Non ça marche pas, j'ai les mêmes erreurs... le problême vient de skrayfall ou d'un plugin pas des syntaxe?

De toute façon je suis passé à Skellett car les scoreboard sont bien plus complet...

Invité
Ce sujet ne peut plus recevoir de nouvelles réponses.
×
×
  • 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.