Aller au contenu

IceGame

Membre
  • Compteur de contenus

    29
  • Inscription

  • Dernière visite

Messages posté(e)s par IceGame

  1. Le 30/05/2020 à 21:21, Kilterra a dit :

    Bonsoir,
    J'ai plusieurs choses à expliquer sur ton code, certaines résoudront sûrement ton problème, d'autre t'aideront pour la suite.

    Premièrement, ta liste {clan::*} ne contiens aucune valeurs. En fait elle contient juste des listes donc si tu parcours toutes les valeurs de {clan::*} en fait tu n'en parcours aucune, ce qui fais que ton programme ne fonctionne pas. Pour pallier à ce problème, je te conseille de mettre dans une nouvelle liste par exemple {clanName::*} tout les noms de clans.

    Ensuite, tu utilises beaucoup les variables à point. Je te les déconseilles fortement sauf pour certaines situations, passe plutôt par des variables listes. Par exemple : {defineclanname.%player%} pourrais devenir {defineclanname::%player%}. C'est beaucoup plus simple et plus optimisé si tu souhaite par exemple parcourir tout les joueurs qui sont en train de créer un clan.

    Enfin, la façon dont tu vérifie si un clan existe déjà à quelques failles, je m'explique tu parcours tout les joueurs actuellement en ligne, cependant, si un joueur A par exemple créé un clan qui n'a nommé "test". Lorsqu'il se déconnecte, un autre joueur, le joueur B, décide de créer un clan avec le même nom. Ton code va donc parcourir tout les joueurs connectés, mais A n'est pas connecté, donc il ne détectera pas que le clan existe déjà, et il y aura donc 2 clan avec le même nom. Pour pallier à ce problème, tu pourrai utiliser le premier point et regarder si le nom est déjà dans la liste, si c'est le cas, alors le clan existe déjà, sinon le clan peut être créer maintenant.

    Bien cordialement
    Kilterra
     

    Merciii c'est bon ca fonctionne j'ai bien créé une liste {clanname::*} et ca a régler mon problème

  2. Il y a 23 heures, Kilterra a dit :

    Salut,

    Comment est défini ta variable liste {clan::*} ?

    Elle est définie lors de la création d'un clan 

    on chat:
    	if {defineclanname.%player%}:	
    		set {clanname.%player%} to message
    		cancel event
    		if {clanname.%player%} != "!":
    			loop all players:
    				if loop-player is not player:
    					if {clanname.%loop-player%} = {clanname.%player%}:
    						send "{@tag}: &cDésolé mais ce nom est déjà pris !"
    						send "{@tag}: &cEssayez-en un différent"
    						delete {clanname.%player%}
    						stop
    			if length of {clanname.%player%} > 20:
    				send "{@tag}: &cLe nom de clan : &6%{clanname.%player%}% &cest trop long !"
    				send "&aVeuillez &2écrire &ale nom de votre futur clan !"
    				stop
    			delete {defineclanname.%player%}
    			set {_p.%player%} to player's name
    			add {_p.%player%} to {clan::%{clanname.%player%}%::*}
    			set {isowner.%player%} to true
    			broadcast "{@tag}: &6%player% &avient de créer le clan &e%{clanname.%player%}% &a!"
    		else:
    			send "{@tag}: &aVous avez bien annulé la création du clan !"
    			delete {defineclanname.%player%}
    			delete {clanname.%player%}

     

  3. Version de Minecraft : 1.9.4
    Version de Skript : 24.1

    Type du skript : Classement de clan

    Description du script :

    Bonjour,  j'ai fais un skript de clan et j'aimerais y ajouter un classement selon chaque clan, Chaque personne des clans se voit attribué des points avec la commande /setplayerpoint seulement voila:

    lorsque je loop ma double liste "clan::nom du clan::joueurs" pour additioner les points des joueurs rien ne se fait, aucune erreur dans la console et aucune durant le sk reload voici le Skript 

    command /initclassement:
    	trigger:
    		delete {point.clan::*}
    
    command /setplayerpoint <player> <integer>:
    	trigger:
    		send "Le nombre de point est passé de %{point.clan::%arg-1%}% à"
    		set {point.clan::%arg-1%} to arg-2
    		send "%{point.clan::%arg-1%}%"
    
    
    
    
    command /joueurclass:
    	trigger:
    		set {_5p} to "Personne" 
    		set {_4p} to "Personne" 
    		set {_3p} to "Personne" 
    		set {_2p} to "Personne" 
    		set {_1p} to "Personne" 
    		set {_5} to 0
    		set {_4} to 0
    		set {_3} to 0
    		set {_2} to 0
    		set {_1} to 0
    		loop {point.joueur::*}:
    			if {point.joueur::%loop-index%} > {_1}:
    				set {_5} to {_4}
    				set {_5p} to {_4p}
    				set {_4} to {_3}
    				set {_4p} to {_3p}
    				set {_3} to {_2}
    				set {_3p} to {_2p}
    				set {_2} to {_1}
    				set {_2p} to {_1p}
    				set {_1} to loop-value
    				set {_1p} to loop-index
    			else if {point.joueur::%loop-index%} > {_2}:	
    				set {_5} to {_4}
    				set {_5p} to {_4p}
    				set {_4} to {_3}
    				set {_4p} to {_3p}
    				set {_3} to {_2}
    				set {_3p} to {_2p}
    				set {_2} to loop-value
    				set {_2p} to loop-index
    			else if {point.joueur::%loop-index%} > {_3}:
    				set {_5} to {_4}
    				set {_5p} to {_4p}
    				set {_4} to {_3}
    				set {_4p} to {_3p}
    				set {_3} to loop-value
    				set {_3p} to loop-index
    			else if {point.joueur::%loop-index%} > {_4}:
    				set {_5} to {_4}
    				set {_5p} to {_4p}
    				set {_4} to loop-value
    				set {_4p} to loop-index
    			else if {point.joueur::%loop-index%} > {_5}:
    				set {_5} to loop-value
    				set {_5p} to loop-index
    		set {_5p} to player from {_5p} 
    		set {_4p} to player from {_4p}
    		set {_3p} to player from {_3p}
    		set {_2p} to player from {_2p}
    		set {_1p} to player from {_1p}
    		message "&aClassement par &ePoint &a: "
    		message "   &b1 ➽ &6%{_1p}% - &c%{_1}%"
    		message "   &b2 ➽ &6%{_2p}% - &c%{_2}%"
    		message "   &b3 ➽ &6%{_3p}% - &c%{_3}%"
    		message "   &b4 ➽ &6%{_4p}% - &c%{_4}%"
    		message "   &b5 ➽ &6%{_5p}% - &c%{_5}%"
    
    
    command /clanclass:
    	trigger:
    		loop {clan::*}:
    			loop {clan::%loop-value%::*}:
    				loop {point.joueur.%loop-value-2%::*}:
    					set {point.clan::%loop-value-1%} to {point.clan::%loop-value-1%} + loop-value-3 
    					set {_5p} to "Personne"
    					set {_4p} to "Personne"
    					set {_3p} to "Personne"
    					set {_2p} to "Personne"
    					set {_1p} to "Personne"
    					set {_5} to 0
    					set {_4} to 0
    					set {_3} to 0
    					set {_2} to 0
    					set {_1} to 0
    					loop {point.clan::*}:
    						if {point.clan::%loop-index-1%} > {_1}:
    							set {_5} to {_4}
    							set {_5p} to {_4p}
    							set {_4} to {_3}
    							set {_4p} to {_3p}
    							set {_3} to {_2}
    							set {_3p} to {_2p}
    							set {_2} to {_1}
    							set {_2p} to {_1p}
    							set {_1} to loop-value-1
    							set {_1p} to loop-index-1
    						else if {point.clan::%loop-index-1%} > {_2}:	
    							set {_5} to {_4}
    							set {_5p} to {_4p}
    							set {_4} to {_3}
    							set {_4p} to {_3p}
    							set {_3} to {_2}
    							set {_3p} to {_2p}
    							set {_2} to loop-value-1
    							set {_2p} to loop-index-1
    						else if {point.clan::%loop-index-1%} > {_3}:
    							set {_5} to {_4}
    							set {_5p} to {_4p}
    							set {_4} to {_3}
    							set {_4p} to {_3p}
    							set {_3} to loop-value-1
    							set {_3p} to loop-index-1
    						else if {point.clan::%loop-index-1%} > {_4}:
    							set {_5} to {_4}
    							set {_5p} to {_4p}
    							set {_4} to loop-value-1
    							set {_4p} to loop-index-1
    						else if {point.clan::%loop-index-1%} > {_5}:
    							set {_5} to loop-value-1
    							set {_5p} to loop-index-1
    					send "&aClassement par &epoint &a: " to player
    					send "   &b1 ➽ &6%{_1p}% - &c%{_1}%" to player
    					send "   &b2 ➽ &6%{_2p}% - &c%{_2}%" to player
    					send "   &b3 ➽ &6%{_3p}% - &c%{_3}%" to player
    					send "   &b4 ➽ &6%{_4p}% - &c%{_4}%" to player
    					send "   &b5 ➽ &6%{_5p}% - &c%{_5}%" to player
  4. Version de Minecraft : 1.9.4

    Version de Skript : 2.4.1

    Addons utilisés: Skquery

    Bonjour, j'ai juste une questions:

    Je me demandais si il était possible de créer des  particuels de cassages de blocs, je ne trouve pas le nom de la particule j'ai essayé 

    loop all players:
    	show 1000 "breaking_item_icon" particles at location of player for loop-players offset by 1, 0.4, 1

    mais ca fait apparaitre des particules de coup critiques

  5. Bonjour ça marche enfin et effectivement Romitou et KneaXy avait raisons c'était un addons qui ne fonctionnais pas correctement : sKrayFall. Merci à vous  

  6. à l’instant, KneaXy a dit :

    Pourquoi utiliser la 1.9 et pas la 1.9.4 (qui est la dernière version de la 1.9 jcrois)

    C'est moi ou tu as Bukkit et non Spigot ?

    j'ai bien spigot et j'utilise maintenant la 1.9.4 aprés réfléxion effectivement

     

  7. Il y a 3 heures, Lou' a dit :

    Ok, remet toi en 2.4.1

    Essaie de changer la ligne 11 dans Ankaria.sk par :

    
    set {warp.class} to player's location

    pff ca m'énerve ca m'as ensuite dit qu'il manquait aliases-english.sk je l'"ai téléchargé et ca me remet la meme erreur

    
    [21:26:31] [Server thread/ERROR]: #!#! 
    [21:26:31] [Server thread/ERROR]: #!#! [Skript] Severe Error:
    [21:26:31] [Server thread/ERROR]: #!#! Could not load Ankaria.sk
    [21:26:31] [Server thread/ERROR]: #!#! 
    [21:26:31] [Server thread/ERROR]: #!#! Something went horribly wrong with Skript.
    [21:26:31] [Server thread/ERROR]: #!#! This issue is NOT your fault! You probably can't fix it yourself, either.
    [21:26:31] [Server thread/ERROR]: #!#! Your Minecraft version or server software appears to be unsupported by Skript (bensku's version).
    [21:26:31] [Server thread/ERROR]: #!#! Currently only supported servers are Spigot and its forks for Minecraft 1.9 or newer.
    [21:26:31] [Server thread/ERROR]: #!#! Other versions might work, but since you're getting this error message something is NOT working,
    [21:26:31] [Server thread/ERROR]: #!#! nor it will work, unless you switch to supported platform.
    [21:26:31] [Server thread/ERROR]: #!#! Issue tracker: https://github.com/SkriptLang/Skript/issues (only if you know what you're doing!)
    [21:26:31] [Server thread/ERROR]: #!#! 
    [21:26:31] [Server thread/ERROR]: #!#! Stack trace:
    [21:26:31] [Server thread/ERROR]: #!#! ch.njol.skript.SkriptAPIException: No class info found for worldborder
    [21:26:31] [Server thread/ERROR]: #!#!     at ch.njol.skript.registrations.Classes.getClassInfo(Classes.java:263)
    [21:26:31] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.createExprInfo(SkriptParser.java:1804)
    [21:26:31] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.getExprInfo(SkriptParser.java:1771)
    [21:26:31] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1519)
    [21:26:31] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:225)
    [21:26:31] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:180)
    [21:26:31] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parseSingleExpr(SkriptParser.java:495)
    [21:26:31] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parseExpression(SkriptParser.java:814)
    [21:26:31] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1535)
    [21:26:31] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1531)
    [21:26:31] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:225)
    [21:26:31] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:180)
    [21:26:31] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.Statement.parse(Statement.java:59)
    [21:26:31] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:972)
    [21:26:31] [Server thread/ERROR]: #!#!     at ch.njol.skript.command.Commands.loadCommand(Commands.java:500)
    [21:26:31] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadScript(ScriptLoader.java:621)
    [21:26:31] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.lambda$1(ScriptLoader.java:389)
    [21:26:31] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:401)
    [21:26:31] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.lambda$0(ScriptLoader.java:331)
    [21:26:31] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:361)
    [21:26:31] [Server thread/ERROR]: #!#!     at ch.njol.skript.Skript.reload(Skript.java:786)
    [21:26:31] [Server thread/ERROR]: #!#!     at ch.njol.skript.SkriptCommand.onCommand(SkriptCommand.java:154)
    [21:26:31] [Server thread/ERROR]: #!#!     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
    [21:26:31] [Server thread/ERROR]: #!#!     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141)
    [21:26:31] [Server thread/ERROR]: #!#!     at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:641)
    [21:26:31] [Server thread/ERROR]: #!#!     at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchServerCommand(CraftServer.java:627)
    [21:26:31] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_8_R3.DedicatedServer.aO(DedicatedServer.java:412)
    [21:26:31] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:375)
    [21:26:31] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654)
    [21:26:31] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557)
    [21:26:31] [Server thread/ERROR]: #!#!     at java.lang.Thread.run(Thread.java:748)
    [21:26:31] [Server thread/ERROR]: #!#! 
    [21:26:31] [Server thread/ERROR]: #!#! Version Information:
    [21:26:31] [Server thread/ERROR]: #!#!   Skript: 2.2-dev36 (custom version)
    [21:26:31] [Server thread/ERROR]: #!#!   Bukkit: 1.8.8-R0.1-SNAPSHOT
    [21:26:31] [Server thread/ERROR]: #!#!   Minecraft: 1.8.8
    [21:26:31] [Server thread/ERROR]: #!#!   Java: 1.8.0_202 (Java HotSpot(TM) 64-Bit Server VM 25.202-b08)
    [21:26:31] [Server thread/ERROR]: #!#!   OS: Linux amd64 4.9.0-12-amd64
    [21:26:31] [Server thread/ERROR]: #!#! 
    [21:26:31] [Server thread/ERROR]: #!#! Server platform: Spigot
    [21:26:31] [Server thread/ERROR]: #!#! 
    [21:26:31] [Server thread/ERROR]: #!#! Current node: set {warp.class} to player's location (Ankaria.sk, line 11)
    [21:26:31] [Server thread/ERROR]: #!#! Current item: null
    [21:26:31] [Server thread/ERROR]: #!#! 
    [21:26:31] [Server thread/ERROR]: #!#! Thread: Server thread
    [21:26:31] [Server thread/ERROR]: #!#! 
    [21:26:31] [Server thread/ERROR]: #!#! Language: english
    [21:26:31] [Server thread/ERROR]: #!#! Link parse mode: DISABLED
    [21:26:31] [Server thread/ERROR]: #!#! 
    [21:26:31] [Server thread/ERROR]: #!#! End of Error.

     

     

  8. Version de Minecraft : 1.9
    Version de Skript : 2.4.1

    Addons utilisés: Tuske, skRayFall, skQuery,...

     

    Description du script :

    Bonjour, j'explqiue mon problème,  je n'arrive pas a installer skript sur mon serveur, a chaque fois que j'installe un add-on je recoit une erreur et le reload me dit qu'il n'y as aucun triggers ni commands. Malgré des longues recherches je n'ai trouvé aucune réponse. Voici l'erreur :

    [11:49:12] [Server thread/ERROR]: #!#! 
    [11:49:12] [Server thread/ERROR]: #!#! [Skript] Severe Error:
    [11:49:12] [Server thread/ERROR]: #!#! Could not load Ankaria.sk
    [11:49:12] [Server thread/ERROR]: #!#! 
    [11:49:12] [Server thread/ERROR]: #!#! Something went horribly wrong with Skript.
    [11:49:12] [Server thread/ERROR]: #!#! This issue is NOT your fault! You probably can't fix it yourself, either.
    [11:49:12] [Server thread/ERROR]: #!#! It looks like you are using some plugin(s) that alter how Skript works (addons).
    [11:49:12] [Server thread/ERROR]: #!#! Here is full list of them:
    [11:49:12] [Server thread/ERROR]: #!#! skRayFall (https://sk.rayfall.net/) TuSKe (github.com/Tuke-Nuke/TuSKe) SkQuery Factions (www.prosavage.net) 
    [11:49:12] [Server thread/ERROR]: #!#! We could not identify which of those are specially related, so this might also be Skript issue.
    [11:49:12] [Server thread/ERROR]: #!#! You should try disabling those plugins one by one, trying to find which one causes it.
    [11:49:12] [Server thread/ERROR]: #!#! If the error doesn't disappear even after disabling all listed plugins, it is probably Skript issue.
    [11:49:12] [Server thread/ERROR]: #!#! In that case, you will be given instruction on how should you report it.
    [11:49:12] [Server thread/ERROR]: #!#! On the other hand, if the error disappears when disabling some plugin, report it to author of that plugin.
    [11:49:12] [Server thread/ERROR]: #!#! Only if the author tells you to do so, report it to Skript's issue tracker.
    [11:49:12] [Server thread/ERROR]: #!#! 
    [11:49:12] [Server thread/ERROR]: #!#! Stack trace:
    [11:49:12] [Server thread/ERROR]: #!#! java.lang.IllegalStateException: Cannot use classinfos until registration is over
    [11:49:12] [Server thread/ERROR]: #!#!     at ch.njol.skript.registrations.Classes.checkAllowClassInfoInteraction(Classes.java:241)
    [11:49:12] [Server thread/ERROR]: #!#!     at ch.njol.skript.registrations.Classes.getClassInfos(Classes.java:246)
    [11:49:12] [Server thread/ERROR]: #!#!     at ch.njol.skript.registrations.Classes.parseSimple(Classes.java:415)
    [11:49:12] [Server thread/ERROR]: #!#!     at ch.njol.skript.registrations.Classes.parse(Classes.java:450)
    [11:49:12] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parseSingleExpr(SkriptParser.java:365)
    [11:49:12] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parseExpression(SkriptParser.java:641)
    [11:49:12] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parseExpression(SkriptParser.java:828)
    [11:49:12] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1569)
    [11:49:12] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1565)
    [11:49:12] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:224)
    [11:49:12] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:179)
    [11:49:12] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.Statement.parse(Statement.java:59)
    [11:49:12] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:1006)
    [11:49:12] [Server thread/ERROR]: #!#!     at ch.njol.skript.command.Commands.loadCommand(Commands.java:490)
    [11:49:12] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadScript(ScriptLoader.java:651)
    [11:49:12] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.lambda$1(ScriptLoader.java:409)
    [11:49:12] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:428)
    [11:49:12] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.lambda$0(ScriptLoader.java:347)
    [11:49:12] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:380)
    [11:49:12] [Server thread/ERROR]: #!#!     at ch.njol.skript.Skript.reload(Skript.java:917)
    [11:49:12] [Server thread/ERROR]: #!#!     at ch.njol.skript.SkriptCommand.onCommand(SkriptCommand.java:156)
    [11:49:12] [Server thread/ERROR]: #!#!     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
    [11:49:12] [Server thread/ERROR]: #!#!     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141)
    [11:49:12] [Server thread/ERROR]: #!#!     at org.bukkit.craftbukkit.v1_9_R1.CraftServer.dispatchCommand(CraftServer.java:645)
    [11:49:12] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_9_R1.PlayerConnection.handleCommand(PlayerConnection.java:1350)
    [11:49:12] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_9_R1.PlayerConnection.a(PlayerConnection.java:1185)
    [11:49:12] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_9_R1.PacketPlayInChat.a(PacketPlayInChat.java:45)
    [11:49:12] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_9_R1.PacketPlayInChat.a(PacketPlayInChat.java:1)
    [11:49:12] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_9_R1.PlayerConnectionUtils$1.run(SourceFile:13)
    [11:49:12] [Server thread/ERROR]: #!#!     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    [11:49:12] [Server thread/ERROR]: #!#!     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    [11:49:12] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_9_R1.SystemUtils.a(SourceFile:45)
    [11:49:12] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_9_R1.MinecraftServer.D(MinecraftServer.java:721)
    [11:49:12] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_9_R1.DedicatedServer.D(DedicatedServer.java:400)
    [11:49:12] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_9_R1.MinecraftServer.C(MinecraftServer.java:660)
    [11:49:12] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java:559)
    [11:49:12] [Server thread/ERROR]: #!#!     at java.lang.Thread.run(Thread.java:748)
    [11:49:12] [Server thread/ERROR]: #!#! 
    [11:49:12] [Server thread/ERROR]: #!#! Version Information:
    [11:49:12] [Server thread/ERROR]: #!#!   Skript: 2.4.1 (latest)
    [11:49:12] [Server thread/ERROR]: #!#!     Flavor: skriptlang-github
    [11:49:12] [Server thread/ERROR]: #!#!     Date: 2019-12-22
    [11:49:12] [Server thread/ERROR]: #!#!   Bukkit: 1.9-R0.1-SNAPSHOT
    [11:49:12] [Server thread/ERROR]: #!#!   Minecraft: 1.9
    [11:49:12] [Server thread/ERROR]: #!#!   Java: 1.8.0_202 (Java HotSpot(TM) 64-Bit Server VM 25.202-b08)
    [11:49:12] [Server thread/ERROR]: #!#!   OS: Linux amd64 4.9.0-12-amd64
    [11:49:12] [Server thread/ERROR]: #!#! 
    [11:49:12] [Server thread/ERROR]: #!#! Server platform: Spigot
    [11:49:12] [Server thread/ERROR]: #!#! 
    [11:49:12] [Server thread/ERROR]: #!#! Current node: set {warp.class} to location of player (Ankaria.sk, line 11)
    [11:49:12] [Server thread/ERROR]: #!#! Current item: null
    [11:49:12] [Server thread/ERROR]: #!#! 
    [11:49:12] [Server thread/ERROR]: #!#! Thread: Server thread
    [11:49:12] [Server thread/ERROR]: #!#! 
    [11:49:12] [Server thread/ERROR]: #!#! Language: english
    [11:49:12] [Server thread/ERROR]: #!#! Link parse mode: DISABLED
    [11:49:12] [Server thread/ERROR]: #!#! 
    [11:49:12] [Server thread/ERROR]: #!#! End of Error.

     

  9. Version de Minecraft : 1.9.4
    Version de Skript : 2.4.1

    Addons utilisés: Tous

    Type du skript : Effets

    Description du script :

    Bonjour,  j'avais juste une question. Je me demandais si il etait possible de donner des effets de potions "personnalisés" aux joueurs. En gros donner +0.25% de speed ou autre.

  10. Bonjour, j'aimerais savoir si il est possible d'utiliser une ligne d'un panneau comme expressions

    send "%line-2%" to player

    comme ici car quand je le fait cette erreur apparait

     Can't understand this expression: line-2 (duel.sk, line 4: set {new.arena} to "%line-2%"')

     

  11. Version de Minecraft : 1.14.5
    Version de Skript : 2.4

    Type du skript : Backpack

    Description du script :

    Bonjour, j'ai créé un skript de back pack mais celui-ci ne fonctionne pas sur mon serveur 1.14 alors qu'il fonction en 1.9 en interne. Aucune erreur lors du load seulement les items que l'on met dans le backpack disparraissent 

    on right click with a chest:
    	if name of player's tool is "&3BackPack":
    		cancel event
    		set {bp.%player%.colonne} to 3
    		open chest with {bp.%player%.colonne} rows named "&3BackPack" to player
    		wait 3 ticks
    		loop {bp::%player%::*}:
    			add loop-value to current inventory of player 
    		set {bp.%player%.statue} to true
    		stop
    
    on inventory close:
    	if inventory name of player's current inventory is "&3BackPack":
    		set {case.%player%} to {bp.%player%.colonne} * 9 
    		if {bp.%player%.statue} is true: 
    			clear {bp::%player%::*}
    		loop {case.%player%} times:
    			set {bp::%player%::%loop-number - 1%} to slot "%loop-number - 1%" parsed as an integer of current inventory of player
    		set {bp.%player%.statue} to false
    		delete {case.%player%}
    		stop

     

  12. [Skript] Severe Error:
    [15:22:29 ERROR]: #!#! Could not load Spawn.sk
    [15:22:29 ERROR]: #!#!
    [15:22:29 ERROR]: #!#! Something went horribly wrong with Skript.
    [15:22:29 ERROR]: #!#! This issue is NOT your fault! You probably can't fix it yourself, either.
    [15:22:29 ERROR]: #!#! It looks like you are using some plugin(s) that alter how Skript works (addons).
    [15:22:29 ERROR]: #!#! Here is full list of them:
    [15:22:29 ERROR]: #!#! skRayFall (https://sk.rayfall.net/) Skellett (https://forums.skunity.com/resources/skellett.24/) SkQuery
    [15:22:29 ERROR]: #!#! We could not identify which of those are specially related, so this might also be Skript issue.
    [15:22:29 ERROR]: #!#! You should try disabling those plugins one by one, trying to find which one causes it.
    [15:22:29 ERROR]: #!#! If the error doesn't disappear even after disabling all listed plugins, it is probably Skript issue.
    [15:22:29 ERROR]: #!#! In that case, you will be given instruction on how should you report it.
    [15:22:29 ERROR]: #!#! On the other hand, if the error disappears when disabling some plugin, report it to author of that plugin.
    [15:22:29 ERROR]: #!#! Only if the author tells you to do so, report it to Skript's issue tracker.
    [15:22:29 ERROR]: #!#!
    [15:22:29 ERROR]: #!#! Stack trace:
    [15:22:29 ERROR]: #!#! ch.njol.skript.SkriptAPIException: No class info found for moxdata
    [15:22:29 ERROR]: #!#!     at ch.njol.skript.registrations.Classes.getClassInfo(Classes.java:263)
    [15:22:29 ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.createExprInfo(SkriptParser.java:1838)
    [15:22:29 ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.getExprInfo(SkriptParser.java:1805)
    [15:22:29 ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1553)
    [15:22:29 ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:224)
    [15:22:29 ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:179)
    [15:22:29 ERROR]: #!#!     at ch.njol.skript.lang.Condition.parse(Condition.java:81)
    [15:22:29 ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:1086)
    [15:22:29 ERROR]: #!#!     at ch.njol.skript.command.Commands.loadCommand(Commands.java:490)
    [15:22:29 ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadScript(ScriptLoader.java:651)
    [15:22:29 ERROR]: #!#!     at ch.njol.skript.ScriptLoader.lambda$1(ScriptLoader.java:409)
    [15:22:29 ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:428)
    [15:22:29 ERROR]: #!#!     at ch.njol.skript.ScriptLoader.lambda$0(ScriptLoader.java:347)
    [15:22:29 ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:380)
    [15:22:29 ERROR]: #!#!     at ch.njol.skript.Skript$2.run(Skript.java:534)
    [15:22:29 ERROR]: #!#!     at org.bukkit.craftbukkit.v1_9_R2.scheduler.CraftTask.run(CraftTask.java:71)
    [15:22:29 ERROR]: #!#!     at org.bukkit.craftbukkit.v1_9_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350)
    [15:22:29 ERROR]: #!#!     at net.minecraft.server.v1_9_R2.MinecraftServer.D(MinecraftServer.java:734)
    [15:22:29 ERROR]: #!#!     at net.minecraft.server.v1_9_R2.DedicatedServer.D(DedicatedServer.java:399)
    [15:22:29 ERROR]: #!#!     at net.minecraft.server.v1_9_R2.MinecraftServer.C(MinecraftServer.java:665)
    [15:22:29 ERROR]: #!#!     at net.minecraft.server.v1_9_R2.MinecraftServer.run(MinecraftServer.java:564)
    [15:22:29 ERROR]: #!#!     at java.lang.Thread.run(Unknown Source)
    [15:22:29 ERROR]: #!#!
    [15:22:29 ERROR]: #!#! Version Information:
    [15:22:29 ERROR]: #!#!   Skript: 2.4.1 (latest)
    [15:22:29 ERROR]: #!#!     Flavor: skriptlang-github
    [15:22:29 ERROR]: #!#!     Date: 2019-12-22
    [15:22:29 ERROR]: #!#!   Bukkit: 1.9.4-R0.1-SNAPSHOT
    [15:22:29 ERROR]: #!#!   Minecraft: 1.9.4
    [15:22:29 ERROR]: #!#!   Java: 1.8.0_241 (Java HotSpot(TM) 64-Bit Server VM 25.241-b07)
    [15:22:29 ERROR]: #!#!   OS: Windows 10 amd64 10.0
    [15:22:29 ERROR]: #!#!
    [15:22:29 ERROR]: #!#! Server platform: Spigot
    [15:22:29 ERROR]: #!#!
    [15:22:29 ERROR]: #!#! Current node: if {rank.%player%} is 6: (Spawn.sk, line 3)
    [15:22:29 ERROR]: #!#! Current item: null
    [15:22:29 ERROR]: #!#!
    [15:22:29 ERROR]: #!#! Thread: Server thread
    [15:22:29 ERROR]: #!#!
    [15:22:29 ERROR]: #!#! Language: english
    [15:22:29 ERROR]: #!#! Link parse mode: DISABLED
    [15:22:29 ERROR]: #!#!
    [15:22:29 ERROR]: #!#! End of Error.

    Attendez il y a encore la même erreur c'est en fait a chaque fois que je rajoute un add-on a skript

    voici l'erreur qui se lance a chaque skript différent 

     

  13. command /rank [<player>] [<text>]:
        trigger:
            if player is op:
                if arg 1 is not set:
                    send "&c[Synatxe]: /rank <player> <grade>" to player
                    stop
                if arg 1 is set:
                    if arg 2 is not set:
                        send "&c[Synatxe]: /rank <player> <grade>" to player
                        stop
                    if arg 2 is "Fondateur" or "Fonda":
                        set {rank.%arg-1%} to 6
                        set {prefix.%arg-1%} to "&4Fondateur"
                        send "%arg-1% est devenu &4Fondateur" to player
                        send "Tu es devenu &4Fondateur" to arg 1
                        broadcast "%arg-1% est devenu &4Fondateur"
                    if arg 2 is "Admin" or "Administrateur":
                        set {rank.%arg-1%} to 5
                        set {prefix.%arg-1%} to "&cAdministrateur"
                        send "%arg-1% est devenu &cAdministrateur" to player
                        send "Tu es devenu &cAdministrateur" to arg 1
                        broadcast "%arg-1% est devenu &cAdministrateur"
                    if arg 2 is "Modo" or "moderateur":
                        set {rank.%arg-1%} to 4
                        set {prefix.%arg-1%} to "&1Moderateur"
                        send "%arg-1% est devenu &1moderateur" to player
                        send "Tu es devenu &1moderateur" to arg 1
                        broadcast "%arg-1% est devenu &1moderateur"
                    if arg 2 is "helpeur":
                        set {rank.%arg-1%} to 3
                        set {prefix.%arg-1%} to "&dHelpeur"
                        send "%arg-1% est devenu &dhelpeur" to player
                        send "Tu es devenu &dhelpeur" to arg 1
                        broadcast "%arg-1% est devenu dhelpeur"
                    if arg 2 is "vip":
                        set {rank.%arg-1%} to 2
                        set {prefix.%arg-1%} to "&eVIP"
                        send "%arg-1% est devenu &eVIP" to player
                        send "Tu es devenu &eVIP" to arg 1
                        broadcast "%arg-1% est devenu &eVIP"
                    if arg 2 is "joueur" or "player":
                        set {rank.%arg-1%} to 1
                        set {prefix.%arg-1%} to "&7Joueur"
                        send "%arg-1% est devenu &7Joueur" to player
                        send "Tu es devenu &7Joueur" to arg 1
                        broadcast "%arg-1% est devenu &7Joueur"
    

     

    Je te donne ceci je t'invite a le regarder et a t'en inspirer. c'est mon skript pour les Grades

     

     

     

     

  14. Version de Minecraft : 1.9.4
    Version de Skript : 2.4.1

    Description du script :

    Bonjour, j'ai un problème mes skripts ne réalisent plus rien depuis que je suis passé à Skript 2.4.1. Quand je reload, cela reconnait tout mes skript mais me dit qu'il n'y a aucune commande ou triggers ce qui n'est pas le cas

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