Aller au contenu
  • 0

[SkRayFall] Erreur scoreboard "edit score id"


Question

Posté(e)

Bonjour, j'ai un problème avec mon scoreboard.

Je n'ai aucune erreur lors du reload du skript par contre : Voici ce qui apparaît dans la console lorsque j'actualise mon scoreboard.

[16:13:05 ERROR]: #!#! [Skript] Severe Error:
[16:13:05 ERROR]: #!#!
[16:13:05 ERROR]: #!#! If you're developing an add-on for Skript this likely means that you have done something wrong.
[16:13:05 ERROR]: #!#! If you're a server admin however please go to http://dev.bukkit.org/server-mods/skript/tickets/
[16:13:05 ERROR]: #!#! and check whether this error has already been reported.
[16:13:05 ERROR]: #!#! If not please create a new ticket with a meaningful title, copy & paste this whole error into it,
[16:13:05 ERROR]: #!#! and describe what you did before it happened and/or what you think caused the error.
[16:13:05 ERROR]: #!#! If you think that it's a trigger that's causing the error please post the trigger as well.
[16:13:05 ERROR]: #!#! By following this guide fixing the error should be easy and done fast.
[16:13:05 ERROR]: #!#!
[16:13:05 ERROR]: #!#! Stack trace:
[16:13:05 ERROR]: #!#! java.lang.IllegalArgumentException: Entry cannot be longer than 40 characters!
[16:13:05 ERROR]: #!#!     at org.bukkit.craftbukkit.v1_8_R3.scoreboard.CraftObjective.getScore(CraftObjective.java:96)
[16:13:05 ERROR]: #!#!     at net.rayfall.eyesniper2.skrayfall.scoreboard.IdScoreBoardManager.updateSingleScore(IdScoreBoardManager.java:110)
[16:13:05 ERROR]: #!#!     at net.rayfall.eyesniper2.skrayfall.scoreboard.EffEditIdScore.execute(EffEditIdScore.java:44)
[16:13:05 ERROR]: #!#!     at ch.njol.skript.lang.Effect.run(Effect.java:50)
[16:13:05 ERROR]: #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:63)
[16:13:05 ERROR]: #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:91)
[16:13:05 ERROR]: #!#!     at ch.njol.skript.effects.Delay$1.run(Delay.java:85)
[16:13:05 ERROR]: #!#!     at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71)
[16:13:05 ERROR]: #!#!     at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350)
[16:13:05 ERROR]: #!#!     at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:723)
[16:13:05 ERROR]: #!#!     at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374)
[16:13:05 ERROR]: #!#!     at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654)
[16:13:05 ERROR]: #!#!     at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557)
[16:13:05 ERROR]: #!#!     at java.lang.Thread.run(Unknown Source)
[16:13:05 ERROR]: #!#!
[16:13:05 ERROR]: #!#! Version Information:
[16:13:05 ERROR]: #!#!   Skript: 2.1.2
[16:13:05 ERROR]: #!#!   Bukkit: 1.8.8-R0.1-SNAPSHOT
[16:13:05 ERROR]: #!#!   Minecraft: 1.8.8
[16:13:05 ERROR]: #!#!   Java: 1.8.0_211
[16:13:05 ERROR]: #!#!
[16:13:05 ERROR]: #!#! Running CraftBukkit: false
[16:13:05 ERROR]: #!#!
[16:13:05 ERROR]: #!#! Current node: null
[16:13:05 ERROR]: #!#! Current item: null
[16:13:05 ERROR]: #!#!
[16:13:05 ERROR]: #!#! Thread: Server thread
[16:13:05 ERROR]: #!#!
[16:13:05 ERROR]: #!#! End of Error.
[16:13:05 ERROR]: #!#!
>

 

Voici mon code :

on join:
	wait 20 tick
	wipe player's sidebar
	wait 3 tick
	set name of sidebar of player to "   &b&lCruise&d&lMC   "
	set score "&1                  " in sidebar of player to 10
	set score "  &7&l➥ &f&lServeur" in sidebar of player to 9
	set score "&2                  " in sidebar of player to 8
	set id based score "&7Connectés en tout : &f%amount of all players%" in sidebar of player to 7 with id "online"
	set id based score "&7Ping : &f%player's ping%" in sidebar of player to 6 with id "ping.%player's uuid%"
	set score "&3                  " in sidebar of player to 5
	set score "  &e&l➥ &6&l%player%" in sidebar of player to 4
	set score "&4                  " in sidebar of player to 3
	set id based score "&2→ &aRang : &e%{rank.%player's uuid%}%" in sidebar of player to 2 with id "rank.%player's uuid%"
	set id based score "&5→ &dTokens : &cSOON" in sidebar of player to 1 with id "token.%player's uuid%"
	set score "&5                  " in sidebar of player to 0

every 5 seconds:
	loop all players:
		if loop-player is in "hub":
			set {_p} to loop-player
			set {_puuid} to {_p}'s uuid
			wait 5 tick
			edit score id "online" to "&7Connectés en tout : &f%amount of all players%" and 7
			edit score id "ping.%{_puuid}%" to "&7Ping : &f%{_puuid}%" and 6
			edit score id "rank.%{_puuid}%" to "&2 &aRang : &e%{rank.%{_puuid}%}%" and 2
			edit score id "token.%{_puuid}%" to "&5 &dTokens : &cSOON" and 1
		if loop-player is in "combo":
			set {_p} to loop-player
			set {_puuid} to {_p}'s uuid
			set {_amount} to amount of players in world "combo"
			wait 5 tick
			edit score id "online.combo" to "&7Connectés en Combo : &f%{_amount}%" and 7
			edit score id "ping.%{_puuid}%" to "&7Ping : &f%{_puuid}%" and 6
			edit score id "rank.%{_puuid}%" to "&2 &aRang : &e%{rank.%{_puuid}%}%" and 2
			edit score id "coin.combo.%{_puuid}%" to "&5 &dCoins Combo : &cSOON" and 1
		if loop-player is in "Skypvp":
			set {_p} to loop-player
			set {_puuid} to {_p}'s uuid
			set {_amount} to amount of players in world "Skypvp"
			wait 5 tick
			edit score id "online.skypvp" to "&7Connectés en SkyPvp : &f%{_amount}%" and 7
			edit score id "ping.%{_puuid}%" to "&7Ping : &f%{_puuid}%" and 6
			edit score id "rank.%{_puuid}%" to "&2 &aRang : &e%{rank.%{_puuid}%}%" and 2
			edit score id "coin.skypvp.%{_puuid}%" to "&5 &dCoins SkyPvp : &cSOON" and 1

on world change:
	wait 5 tick
	if player is in "combo":
		wipe player's sidebar
		wait 3 tick
		set {_amount} to amount of players in world "combo"
		set name of sidebar of player to "   &e&lComboFFA   "
		set score "&1                  " in sidebar of player to 10
		set score "  &7&l &f&lMini-jeu" in sidebar of player to 9
		set score "&2                  " in sidebar of player to 8
		set id based score "&7Connectés en Combo : &f%{_amount}%" in sidebar of player to 7 with id "online.combo"
		set id based score "&7Ping : &f%player's ping%" in sidebar of player to 6 with id "ping.%player's uuid%"
		set score "&3                  " in sidebar of player to 5
		set score "  &e&l &6&l%player%" in sidebar of player to 4
		set score "&4                  " in sidebar of player to 3
		set id based score "&2 &aRang : &e%{rank.%player's uuid%}%" in sidebar of player to 2 with id "rank.%player's uuid%"
		set id based score "&5 &dCoins Combo : &cSOON" in sidebar of player to 1 with id "coin.combo.%player's uuid%"
		set score "&5                  " in sidebar of player to 0
	if player is in "hub":
		wipe player's sidebar
		wait 3 tick
		set name of sidebar of player to "   &b&lCruise&d&lMC   "
		set score "&1                  " in sidebar of player to 10
		set score "  &7&l➥ &f&lServeur" in sidebar of player to 9
		set score "&2                  " in sidebar of player to 8
		set id based score "&7Connectés en tout : &f%amount of all players%" in sidebar of player to 7 with id "online"
		set id based score "&7Ping : &f%player's ping%" in sidebar of player to 6 with id "ping.%player's uuid%"
		set score "&3                  " in sidebar of player to 5
		set score "  &e&l➥ &6&l%player%" in sidebar of player to 4
		set score "&4                  " in sidebar of player to 3
		set id based score "&2→ &aRang : &e%{rank.%player's uuid%}%" in sidebar of player to 2 with id "rank.%player's uuid%"
		set id based score "&5→ &dTokens : &cSOON" in sidebar of player to 1 with id "token.%player's uuid%"
		set score "&5                  " in sidebar of player to 0
	if player is in "Skypvp":
		wipe player's sidebar
		wait 3 tick
		set {_amount} to amount of players in world "Skypvp"
		set name of sidebar of player to "   &a&lSkyPvp   "
		set score "&1                  " in sidebar of player to 10
		set score "  &7&l➥ &f&lMini-jeu" in sidebar of player to 9
		set score "&2                  " in sidebar of player to 8
		set id based score "&7Connectés en SkyPvp : &f%{_amount}%" in sidebar of player to 7 with id "online.combo"
		set id based score "&7Ping : &f%player's ping%" in sidebar of player to 6 with id "ping.%player's uuid%"
		set score "&3                  " in sidebar of player to 5
		set score "  &e&l➥ &6&l%player%" in sidebar of player to 4
		set score "&4                  " in sidebar of player to 3
		set id based score "&2→ &aRang : &e%{rank.%player's uuid%}%" in sidebar of player to 2 with id "rank.%player's uuid%"
		set id based score "&5→ &dCoins SkyPvp : &cSOON" in sidebar of player to 1 with id "coin.combo.%player's uuid%"
		set score "&5                  " in sidebar of player to 0

 

Cordialement,

12 réponses à cette question

Messages recommandés

  • 0
Posté(e)

Salut,

Le problème semble venir de quelque chose dépassant 40 caractères (

Entry cannot be longer than 40 characters!)

Par exemple ceci 

set name of sidebar of player to "   &b&lCruise&d&lMC   "

un espace = 1 caractère.

  • 0
Posté(e)
Il y a 4 heures, KneaXy a dit :

Gros, commence par utiliser la version dev27

T'es en 1.8.8, Skript 2.1.2 est 100% obsolète ... Je t'envoie un lien sur Discord ou ici, peu importe, mais prend la dev27 issou

T'as bien skRayFall à jour aussi ? (Pas tip top le every + loop all)

Si utiliser la version dev27 résous mon problème alors go discord $-$

  • 0
Posté(e)

Cela ne résous rien et en plus elle bug chez moi, des codes ne marchent plus.

Je repasse donc sous l'ancienne version et vous demande a nouveau votre aide.

  • 0
Posté(e)
Il y a 13 heures, KneaXy a dit :

Y'a la v9b aussi 😄

Aussi, mais de mon côté j'observe pas mal de problèmes de performance sur mes serveurs, donc je recommande plutôt la V8 =P

  • 0
Posté(e)
Il y a 7 heures, KneaXy a dit :

Tristesse, moi on m'a dit que la v9b ou les versions "fixes-v??" sont des versions en manque de fonctionnalités, malgré que ça soit très stable

ça dépend de ce que tu veux ^^' j'ai eu la fixV8 pendant trèèès longtemps, j'ai du passer sur la dev25 uniquement parce que je suis passé sous paperspigot (car en effet, la V8 ou V9 ne supporte pas paper)

  • 0
Posté(e)

Bonjour,

L'auteur est inactif depuis plus de 7 jours. Je lock.

Merci de me contacter en message privé si tu souhaites rouvrir le topic.

Cordialement,

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.