Aller au contenu
Alexy

Probleme skript dans la console

Messages recommandés

Bonjour, je suis en train de faire un skript, mais j'ai un petit problème, il n'y a pas d'erreurs mais quand je clique sur un objet voulu, sa ne fait pas la commande.

 

Erreurs console:

 

[spoiler=Console error]

[23:58:22 ERROR]: #!#! [skript] Severe Error:

[23:58:22 ERROR]: #!#!

[23:58:22 ERROR]: #!#! If you're developing an add-on for Skript this likely means that you have done something wrong.

[23:58:22 ERROR]: #!#! If you're a server admin however please go to

Contenu masqué

    Réagissez ou répondez à ce message afin de consulter le contenu masqué.

[23:58:22 ERROR]: #!#! and check whether this error has already been reported.

[23:58:22 ERROR]: #!#! If not please create a new ticket with a meaningful title, copy & paste this whole error into it (or use paste service),

[23:58:22 ERROR]: #!#! and describe what you did before it happened and/or what you think caused the error.

[23:58:22 ERROR]: #!#! If you think that it's a trigger that's causing the error please post the trigger as well.

[23:58:22 ERROR]: #!#! By following this guide fixing the error should be easy and done fast.

[23:58:22 ERROR]: #!#!

[23:58:22 ERROR]: #!#! Stack trace:

[23:58:22 ERROR]: #!#! java.lang.IllegalArgumentException: Title cannot be longer than 32 characters

[23:58:22 ERROR]: #!#! at org.apache.commons.lang.Validate.isTrue(Validate.java:136)

[23:58:22 ERROR]: #!#! at org.bukkit.craftbukkit.v1_8_R3.inventory.CraftInventoryCustom$MinecraftInventory.<init>(CraftInventoryCustom.java:59)

[23:58:22 ERROR]: #!#! at org.bukkit.craftbukkit.v1_8_R3.inventory.CraftInventoryCustom.<init>(CraftInventoryCustom.java:32)

[23:58:22 ERROR]: #!#! at org.bukkit.craftbukkit.v1_8_R3.CraftServer.createInventory(CraftServer.java:1525)

[23:58:22 ERROR]: #!#! at org.bukkit.Bukkit.createInventory(Bukkit.java:938)

[23:58:22 ERROR]: #!#! at com.w00tmast3r.skquery.elements.expressions.ExprBlankInventories.get(ExprBlankInventories.java:36)

[23:58:22 ERROR]: #!#! at com.w00tmast3r.skquery.elements.expressions.ExprBlankInventories.get(ExprBlankInventories.java:14)

[23:58:22 ERROR]: #!#! at ch.njol.skript.lang.util.SimpleExpression.getArray(SimpleExpression.java:105)

[23:58:22 ERROR]: #!#! at ch.njol.skript.lang.util.SimpleExpression.getSingle(SimpleExpression.java:63)

[23:58:22 ERROR]: #!#! at ch.njol.skript.effects.EffOpenInventory.execute(EffOpenInventory.java:98)

[23:58:22 ERROR]: #!#! at ch.njol.skript.lang.Effect.run(Effect.java:54)

[23:58:22 ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:65)

[23:58:22 ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:93)

[23:58:22 ERROR]: #!#! at ch.njol.skript.effects.Delay$1.run(Delay.java:84)

[23:58:22 ERROR]: #!#! at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71)

[23:58:22 ERROR]: #!#! at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350)

[23:58:22 ERROR]: #!#! at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:723)

[23:58:22 ERROR]: #!#! at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374)

[23:58:22 ERROR]: #!#! at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654)

[23:58:22 ERROR]: #!#! at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557)

[23:58:22 ERROR]: #!#! at java.lang.Thread.run(Unknown Source)

[23:58:22 ERROR]: #!#!

[23:58:22 ERROR]: #!#! Version Information:

[23:58:22 ERROR]: #!#! Skript: 2.2-dev25

[23:58:22 ERROR]: #!#! Bukkit: 1.8.8-R0.1-SNAPSHOT

[23:58:22 ERROR]: #!#! Minecraft: 1.8.8

[23:58:22 ERROR]: #!#! Java: 1.8.0_131 (Java HotSpot 64-Bit Server VM 25.131-b11)

[23:58:22 ERROR]: #!#! OS: Windows 10 amd64 10.0

[23:58:22 ERROR]: #!#!

[23:58:22 ERROR]: #!#! Running CraftBukkit: false

[23:58:22 ERROR]: #!#!

[23:58:22 ERROR]: #!#! Current node: null

[23:58:22 ERROR]: #!#! Current item: open inventory to the player

[23:58:22 ERROR]: #!#!

[23:58:22 ERROR]: #!#! Thread: Server thread

[23:58:22 ERROR]: #!#!

[23:58:22 ERROR]: #!#! End of Error.

[23:58:22 ERROR]: #!#!

[23:58:22 ERROR]: #!#!

[23:58:22 ERROR]: #!#! [skript] Severe Error:

[23:58:22 ERROR]: #!#!

[23:58:22 ERROR]: #!#! If you're developing an add-on for Skript this likely means that you have done something wrong.

[23:58:22 ERROR]: #!#! If you're a server admin however please go to

Contenu masqué

    Réagissez ou répondez à ce message afin de consulter le contenu masqué.

[23:58:22 ERROR]: #!#! and check whether this error has already been reported.

[23:58:22 ERROR]: #!#! If not please create a new ticket with a meaningful title, copy & paste this whole error into it (or use paste service),

[23:58:22 ERROR]: #!#! and describe what you did before it happened and/or what you think caused the error.

[23:58:22 ERROR]: #!#! If you think that it's a trigger that's causing the error please post the trigger as well.

[23:58:22 ERROR]: #!#! By following this guide fixing the error should be easy and done fast.

[23:58:22 ERROR]: #!#!

[23:58:22 ERROR]: #!#! Stack trace:

[23:58:22 ERROR]: #!#! java.lang.IllegalArgumentException: Title cannot be longer than 32 characters

[23:58:22 ERROR]: #!#! at org.apache.commons.lang.Validate.isTrue(Validate.java:136)

[23:58:22 ERROR]: #!#! at org.bukkit.craftbukkit.v1_8_R3.inventory.CraftInventoryCustom$MinecraftInventory.<init>(CraftInventoryCustom.java:59)

[23:58:22 ERROR]: #!#! at org.bukkit.craftbukkit.v1_8_R3.inventory.CraftInventoryCustom.<init>(CraftInventoryCustom.java:32)

[23:58:22 ERROR]: #!#! at org.bukkit.craftbukkit.v1_8_R3.CraftServer.createInventory(CraftServer.java:1525)

[23:58:22 ERROR]: #!#! at org.bukkit.Bukkit.createInventory(Bukkit.java:938)

[23:58:22 ERROR]: #!#! at com.w00tmast3r.skquery.elements.expressions.ExprBlankInventories.get(ExprBlankInventories.java:36)

[23:58:22 ERROR]: #!#! at com.w00tmast3r.skquery.elements.expressions.ExprBlankInventories.get(ExprBlankInventories.java:14)

[23:58:22 ERROR]: #!#! at ch.njol.skript.lang.util.SimpleExpression.getArray(SimpleExpression.java:105)

[23:58:22 ERROR]: #!#! at ch.njol.skript.lang.util.SimpleExpression.getSingle(SimpleExpression.java:63)

[23:58:22 ERROR]: #!#! at ch.njol.skript.effects.EffOpenInventory.execute(EffOpenInventory.java:98)

[23:58:22 ERROR]: #!#! at ch.njol.skript.lang.Effect.run(Effect.java:54)

[23:58:22 ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:65)

[23:58:22 ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:93)

[23:58:22 ERROR]: #!#! at ch.njol.skript.effects.Delay$1.run(Delay.java:84)

[23:58:22 ERROR]: #!#! at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71)

[23:58:22 ERROR]: #!#! at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350)

[23:58:22 ERROR]: #!#! at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:723)

[23:58:22 ERROR]: #!#! at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374)

[23:58:22 ERROR]: #!#! at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654)

[23:58:22 ERROR]: #!#! at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557)

[23:58:22 ERROR]: #!#! at java.lang.Thread.run(Unknown Source)

[23:58:22 ERROR]: #!#!

[23:58:22 ERROR]: #!#! Version Information:

[23:58:22 ERROR]: #!#! Skript: 2.2-dev25

[23:58:22 ERROR]: #!#! Bukkit: 1.8.8-R0.1-SNAPSHOT

[23:58:22 ERROR]: #!#! Minecraft: 1.8.8

[23:58:22 ERROR]: #!#! Java: 1.8.0_131 (Java HotSpot 64-Bit Server VM 25.131-b11)

[23:58:22 ERROR]: #!#! OS: Windows 10 amd64 10.0

[23:58:22 ERROR]: #!#!

[23:58:22 ERROR]: #!#! Running CraftBukkit: false

[23:58:22 ERROR]: #!#!

[23:58:22 ERROR]: #!#! Current node: null

[23:58:22 ERROR]: #!#! Current item: open inventory to the player

[23:58:22 ERROR]: #!#!

[23:58:22 ERROR]: #!#! Thread: Server thread

[23:58:22 ERROR]: #!#!

[23:58:22 ERROR]: #!#! End of Error.

[23:58:22 ERROR]: #!#!

 

 

 

Le code du skript:

 

Contenu masqué

    Réagissez ou répondez à ce message afin de consulter le contenu masqué.

 

dans un autre gui, c'est fait en sorte que quand je clique sur un objet, sa m'execute /optinv le joueur.

 

J'ai fait un test en enlevant le format gui slot 8 of player et il n'y a pas d'erreur, or, dans mon skript j'en ai besoin. J'ai aussi essayé de faire avec un format slot mais la meme erreur.

 

Merci de votre aide !

Partager ce message


Lien à poster
Partager sur d’autres sites

Non mais @angelus76, tu me déçois !

Regarde les erreurs dans sa console, son problème vient de la taille du titre de son inventaire qui est trop long !

Tu peux mettre maximum 32 caractères, donc fait bien attention !

[spoiler=Ligne console à regarder.][23:58:22 ERROR]: #!#! Stack trace:

[23:58:22 ERROR]: #!#! java.lang.IllegalArgumentException: Title cannot be longer than 32 characters

 

Partager ce message


Lien à poster
Partager sur d’autres sites
Non mais @angelus76, tu me déçois !

Regarde les erreurs dans sa console, son problème vient de la taille du titre de son inventaire qui est trop long !

Tu peux mettre maximum 32 caractères, donc fait bien attention !

[spoiler=Ligne console à regarder.][23:58:22 ERROR]: #!#! Stack trace:

[23:58:22 ERROR]: #!#! java.lang.IllegalArgumentException: Title cannot be longer than 32 characters

Superr !! Merci beaucoup ! :3

Partager ce message


Lien à poster
Partager sur d’autres sites

×
×
  • 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.