Aller au contenu

__STEED__

Membre
  • Compteur de contenus

    21
  • Inscription

  • Dernière visite

  • Crédits

    42 [Faire un don]

Réputation sur la communauté

1 Neutre

À propos de __STEED__

  • Rang
    Intérresé

Visiteurs récents du profil

1220 visualisations du profil
  1. please aidez moi j'en ai besoins et je trouve toujour pas de solutions..
  2. Version de Minecraft : 1.12.2 Version de Skript : 2.2-dev36 Addons utilisés: Skbee 1.9.1, Skellett 1.9.8, Skent 2.1.0, Sk-Perm 2.3.0, SkQuery-Lime 4.1.1, skRayFall 1.9.21, skript-json 1.1.1, skript-mirror 2.0.0-SNAPSHOT, skript-yaml 1.3.2, skUnity 1.2 et TuSke 1.8.3-PikachuPatch-v3 Type du skript : menu gui modération Description du script : Salut à tous ! J'espère que vous allez bien, perso, moi ça va. Je viens ici pour avoir de l'aide car dans mon code de menu de modération, j'arrive pas à mettre l'ID d'un block. J'ai essayé de mettre 160:8, 160.8, 160,8, 0160:8, etc... mais j'ai toujours la même erreur. (Voir le screen ci-dessous) J'ai essayé de mettre simplement 160 mais même là, j'avais la même erreur. Donc j'aimerais savoir c'est quoi qui casse un peu les reins. Est'ce que c'est un addond qui gène/manque, un truc mal écrit ou une variable différente en 1.12.2. Voilà mon code: command /mod [<offlineplayer>]: permission: mod.cm permission message: &cTu es pas de la modération de MineLife ! trigger: if arg 1 is not set: send "&cMet un pseudo svp!" to player if arg 1 is set: execute player command "/mod2 %arg 1%" command /mod2 [<offlineplayer>]: permission: mod.cm permission message: &cTu es pas de la modération de MineLife ! trigger: wait 2 ticks open chest with 3 rows named "&6&lSanctions &7>> &c&l%arg 1%" to player wait 1 ticks format slot 1 of player with 160:8 named "" to be unstealable command /modtban [<offlineplayer>]: permission: tban.cm permission message: &cTu es pas de la modération de MineLife ! trigger: wait 2 ticks open chest with 6 rows named "&6Ban temporaire &7>> &c&l%arg 1%" to player wait 1 ticks format slot 8 of player with arrow named "&aRetour" to close then run [make player execute command "/mod %arg 1%"] format slot 3 of player with bedrock named "&cBannissement temporaire" with lore "&aSelectionné" to close then run [make player execute command "/modtban %arg 1%"] format slot 4 of player with green clay named "&cMute" to close then run [make player execute command "/modmute %arg 1%"] format slot 5 of player with green clay named "&cKick" to close then run [make player execute command "/modkick %arg 1%"] format slot 6 of player with yellow clay named "&cWarn" to close then run [make player execute command "/modwarn %arg 1%"] format slot 2 of player with red clay named "&cBannissement à vie" to close then run [make player execute command "/modban %arg 1%"] format slot 18 of player with red clay named "&eManda d'expulsion de la ville" with lore "" and "&cRaison: &7..." and "&6Ce manda vous permet d'expulser le joueur de la ville temporairement." and "" and "&7Rendu: &4[&cGouvernement&4]&7: &e..." to close then run [make player execute command "/tempban %arg 1% ..."] format slot 19 of player with red clay named "&eManda d'expulsion de la ville" with lore "" and "&cRaison: &7..." and "&6Ce manda vous permet d'expulser le joueur de la ville temporairement." and "" and "&7Rendu: &4[&cGouvernement&4]&7: &e..." to close then run [make player execute command "/tempban %arg 1% ..."] format slot 20 of player with red clay named "&eManda d'expulsion de la ville" with lore "" and "&cRaison: &7..." and "&6Ce manda vous permet d'expulser le joueur de la ville temporairement." and "" and "&7Rendu: &4[&cGouvernement&4]&7: &e..." to close then run [make player execute command "/tempban %arg 1% ..."] format slot 21 of player with red clay named "&eManda d'expulsion de la ville" with lore "" and "&cRaison: &7..." and "&6Ce manda vous permet d'expulser le joueur de la ville temporairement." and "" and "&7Rendu: &4[&cGouvernement&4]&7: &e..." to close then run [make player execute command "/tempban %arg 1% ..."] format slot 22 of player with red clay named "&eManda d'expulsion de la ville" with lore "" and "&cRaison: &7..." and "&6Ce manda vous permet d'expulser le joueur de la ville temporairement." and "" and "&7Rendu: &4[&cGouvernement&4]&7: &e..." to close then run [make player execute command "/tempban %arg 1% ..."] PS: En temps normal ça marche mais ça fait fait environs 1an - 1an et demi que j'ai pas dev en skript x} je suis un peu rouillé.. Merci de votre réponse d'avance ! - __STEED__
  3. options: hdv: &d&l[HDV]&r on script load: wait 3 ticks broadcast "&7&o&m====[&r &d&lHDV &7&o&m]====&r" broadcast "&7Dev: &6iReyZe" broadcast "&7Ver: &61.0" broadcast "&7Date: &629&7/&608&7/&617" broadcast "&7&o&m====[&r &d&lHDV &7&o&m]====&r" function buy(p: player, p2: text, t: text): set {_uuid} to uuid of {_p} if {coins.%{_uuid}%} >= {hdv.prix::%{_t}%}: give {hdv.item::%{_t}%} to {_p} remove {hdv.prix::%{_t}%} from {coins.%{_uuid}%} set {_uuid2} to uuid of {hdv.name::%{_t}%} add {hdv.prix::%{_t}%} to {coins.%{_uuid2}%} message "{@hdv} vous avez acheter %{hdv.item::%{_t}%}% pour &6%{hdv.prix::%{_t}%}% &e&lCoins" to {_p} message "{@hdv} votre item a été vendu pour &6%{hdv.prix::%{_t}%}% &e&lCoins" to {hdv.name::%{_t}%} delete {hdv.name::%{_t}%} delete {hdv.item::%{_t}%} delete {hdv.prix::%{_t}%} else: message "{@hdv} vous n'avez pas assez de coins pour acheter cet item !" to {_p} function venteperso(p: player): set {_slot} to 0 set {_id} to 1 open virtual chest inventory with size 6 named "&9» &d&lVOS VENTES" to {_p} # Blanc make a gui slot 36 of {_p} with stained glass pane:0 named " " to do nothing make a gui slot 38 of {_p} with stained glass pane:0 named " " to do nothing make a gui slot 40 of {_p} with stained glass pane:0 named " " to do nothing make a gui slot 42 of {_p} with stained glass pane:0 named " " to do nothing make a gui slot 44 of {_p} with stained glass pane:0 named " " to do nothing # Cyan make a gui slot 37 of {_p} with stained glass pane:9 named " " to do nothing make a gui slot 39 of {_p} with stained glass pane:9 named " " to do nothing make a gui slot 41 of {_p} with stained glass pane:9 named " " to do nothing make a gui slot 43 of {_p} with stained glass pane:9 named " " to do nothing make a gui slot 49 of {_p} with sunflower named "&eRefresh" to run function venteperso({_p}) make a gui slot 48 of {_p} with paper named "&7Retour HDV" to run function guihdv({_p}, 0) loop {hdv.name::*}: if loop-value is "%{_p}%": make a gui slot {_slot} of {_p} with {hdv.item::%loop-value%} with lore "&7ID: &6%{_id}%||&7Prix: &6%{hdv.prix::%loop-value%}% &e&lCoins||&7Vendeur: &6%{hdv.name::%loop-value%}%||||&aClick pour retiré l'item" to close then run function remove({_p}, "%loop-value%") add 1 to {_slot} add 1 to {_id} function remove(p: player, t: text): if {hdv.name::%{_t}%} is "%{_p}%": give {hdv.item::%{_t}%} to {_p} message "{@hdv} votre item a été retiré de la vente !" to {_p} delete {hdv.name::%{_t}%} delete {hdv.item::%{_t}%} delete {hdv.prix::%{_t}%} else: message "{@hdv} &cvous n'êtes pas propriétaire de cet item" to {_p} function guihdv(p: player, page: number): set {_startpage} to {_page}*36 set {_i} to 1 set {_slot} to 0 set {_id} to 1 open virtual chest inventory with size 6 named "&9» &d&lHDV &a&l##%{_page}%" to {_p} # Blanc make a gui slot 36 of {_p} with stained glass pane:0 named " " to do nothing make a gui slot 38 of {_p} with stained glass pane:0 named " " to do nothing make a gui slot 40 of {_p} with stained glass pane:0 named " " to do nothing make a gui slot 42 of {_p} with stained glass pane:0 named " " to do nothing make a gui slot 44 of {_p} with stained glass pane:0 named " " to do nothing # Cyan make a gui slot 37 of {_p} with stained glass pane:9 named " " to do nothing make a gui slot 39 of {_p} with stained glass pane:9 named " " to do nothing make a gui slot 41 of {_p} with stained glass pane:9 named " " to do nothing make a gui slot 43 of {_p} with stained glass pane:9 named " " to do nothing if {_page} = 0: make a gui slot 48 of {_p} with paper named "&7<--" to do nothing else: make a gui slot 48 of {_p} with paper named "&7<--" to run function guihdv({_p}, ({_page} - 1)) make a gui slot 49 of {_p} with sunflower named "&eRefresh" to run function guihdv({_p}, {_page}) make a gui slot 50 of {_p} with paper named "&7-->" to run function guihdv({_p}, ({_page} + 1)) make a gui slot 45 of {_p} with book named "&eVos ventes" to run function venteperso({_p}) wait 1 ticks loop {hdv.item::*}: if loop-value parsed as a number > {_startpage}: if {hdv.name::%loop-value%} is "%{_p}%": make a gui slot {_slot} of {_p} with {hdv.item::%loop-value%} with lore "&7ID: &6%{_id}%||&7Prix: &6%{hdv.prix::%loop-value%}% &e&lCoins||&7Vendeur: &6%{hdv.name::%loop-value%}%||||&aClick pour retiré l'item" to close then run function remove({_p}, "%loop-value%") add 1 to {_slot} add 1 to {_id} else: make a gui slot {_slot} of {_p} with {hdv.item::%loop-value%} with lore "&7ID: &6%{_id}%||&7Prix: &6%{hdv.prix::%loop-value%}% &e&lCoins||&7Vendeur: &6%{hdv.name::%loop-value%}%" to close then run function buy({_p}, "%{hdv.name::%loop-value%}%", "%loop-value%") add 1 to {_slot} add 1 to {_id} if {_slot} = (36*{_i}): exit loop command /sell [<text>] [<text>]: trigger: if arg 1 is set: if arg 1 is "create": if arg 2 is set: if arg 2 parsed as a number is a number: if tool of player is not air: add tool of player to {hdv.item::*} add arg 2 parsed as a number to {hdv.prix::*} add player to {hdv.name::*} wait 1 ticks remove tool of player from player's inventory message "{@hdv} item mit en vente !" else: message "{@hdv} &cvous devez avoir une item dans la main !" else: message "{@hdv} &7- &6/sell &7<&acreate&7> &7<&aprix&7>" else: message "{@hdv} &7- &6/sell &7<&acreate&7> &7<&aprix&7>" else: message "{@hdv} &7- &6/sell &7<&acreate&7> &7<&aprix&7>" command /hdv: trigger: guihdv(player, 0)
  4. Pour le /menu, effectivement le nom était trop long. Mais pour le /hdv, toujours les 3 même erreurs...
  5. Bah maintenant j'ai une autre erreur qui est apparue.. >menu [18:54:17 ERROR]: #!#! [18:54:17 ERROR]: #!#! [Skript] Severe Error: [18:54:17 ERROR]: #!#! [18:54:17 ERROR]: #!#! If you're developing an add-on for Skript this likely means that you have done something wrong. [18:54:17 ERROR]: #!#! If you're a server admin however please go to [Contenu masqué] [18:54:17 ERROR]: #!#! and check whether this error has already been reported. [18:54:17 ERROR]: #!#! If not please create a new ticket with a meaningful title, copy & paste this whole error into it (or use paste service), [18:54:17 ERROR]: #!#! and describe what you did before it happened and/or what you think caused the error. [18:54:17 ERROR]: #!#! If you think that it's a trigger that's causing the error please post the trigger as well. [18:54:17 ERROR]: #!#! By following this guide fixing the error should be easy and done fast. [18:54:17 ERROR]: #!#! [18:54:17 ERROR]: #!#! Stack trace: [18:54:17 ERROR]: #!#! java.lang.IllegalArgumentException: Title cannot be longer than 32 characters [18:54:17 ERROR]: #!#! at org.apache.commons.lang.Validate.isTrue(Validate.java:136) [18:54:17 ERROR]: #!#! at org.bukkit.craftbukkit.v1_8_R3.inventory.CraftInventoryCustom$MinecraftInventory.<init>(CraftInventoryCustom.java:59) [18:54:17 ERROR]: #!#! at org.bukkit.craftbukkit.v1_8_R3.inventory.CraftInventoryCustom.<init>(CraftInventoryCustom.java:32) [18:54:17 ERROR]: #!#! at org.bukkit.craftbukkit.v1_8_R3.CraftServer.createInventory(CraftServer.java:1525) [18:54:17 ERROR]: #!#! at org.bukkit.Bukkit.createInventory(Bukkit.java:938) [18:54:17 ERROR]: #!#! at com.w00tmast3r.skquery.elements.expressions.ExprBlankInventories.get(ExprBlankInventories.java:36) [18:54:17 ERROR]: #!#! at com.w00tmast3r.skquery.elements.expressions.ExprBlankInventories.get(ExprBlankInventories.java:14) [18:54:17 ERROR]: #!#! at ch.njol.skript.lang.util.SimpleExpression.getArray(SimpleExpression.java:105) [18:54:17 ERROR]: #!#! at ch.njol.skript.lang.util.SimpleExpression.getSingle(SimpleExpression.java:63) [18:54:17 ERROR]: #!#! at ch.njol.skript.effects.EffOpenInventory.execute(EffOpenInventory.java:98) [18:54:17 ERROR]: #!#! at ch.njol.skript.lang.Effect.run(Effect.java:54) [18:54:17 ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:65) [18:54:17 ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:93) [18:54:17 ERROR]: #!#! at ch.njol.skript.lang.Trigger.execute(Trigger.java:53) [18:54:17 ERROR]: #!#! at ch.njol.skript.command.ScriptCommand.execute2(ScriptCommand.java:222) [18:54:17 ERROR]: #!#! at ch.njol.skript.command.ScriptCommand.execute(ScriptCommand.java:184) [18:54:17 ERROR]: #!#! at ch.njol.skript.command.Commands.handleCommand(Commands.java:270) [18:54:17 ERROR]: #!#! at ch.njol.skript.command.Commands$1.onServerCommand(Commands.java:181) [18:54:17 ERROR]: #!#! at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [18:54:17 ERROR]: #!#! at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [18:54:17 ERROR]: #!#! at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [18:54:17 ERROR]: #!#! at java.lang.reflect.Method.invoke(Unknown Source) [18:54:17 ERROR]: #!#! at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) [18:54:17 ERROR]: #!#! at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [18:54:17 ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [18:54:17 ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [18:54:17 ERROR]: #!#! at net.minecraft.server.v1_8_R3.DedicatedServer.aO(DedicatedServer.java:407) [18:54:17 ERROR]: #!#! at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:375) [18:54:17 ERROR]: #!#! at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [18:54:17 ERROR]: #!#! at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [18:54:17 ERROR]: #!#! at java.lang.Thread.run(Unknown Source) [18:54:17 ERROR]: #!#! [18:54:17 ERROR]: #!#! Version Information: [18:54:17 ERROR]: #!#! Skript: 2.2-dev25 [18:54:17 ERROR]: #!#! Bukkit: 1.8.8-R0.1-SNAPSHOT [18:54:17 ERROR]: #!#! Minecraft: 1.8.8 [18:54:17 ERROR]: #!#! Java: 1.8.0_281 (Java HotSpot(TM) 64-Bit Server VM 25.281-b09) [18:54:17 ERROR]: #!#! OS: Windows 10 amd64 10.0 [18:54:17 ERROR]: #!#! [18:54:17 ERROR]: #!#! Running CraftBukkit: false [18:54:17 ERROR]: #!#! [18:54:17 ERROR]: #!#! Current node: null [18:54:17 ERROR]: #!#! Current item: open inventory to the player [18:54:17 ERROR]: #!#! [18:54:17 ERROR]: #!#! Thread: Server thread [18:54:17 ERROR]: #!#! [18:54:17 ERROR]: #!#! End of Error. [18:54:17 ERROR]: #!#! [18:54:17 INFO]: An internal error occurred while attempting to perform this command. [18:54:17 INFO]: Unknown command. Type "/help" for help.
  6. Même chose. Changement de version du plugins, des add-ons, etc, rien.. toujours les 3 même erreurs.
  7. Même erreurs en changeant Index par Value...
  8. Version de Minecraft : 1.8.8 Version de Skript : 2.5.2 Addons utilisés: FunkySK, MundoSK, Skellett-Legacy, skLib, SkQuery-Lime, SkRayFall, SkUnity, SkUtilities, TuSke, Umbaska et WildSkript Type du skript : Je demande simplement s'il y a un add-on pour ce qui est expliqué plus bas ou juste si c'est une erreur de codage. Description du script : Salutations à vous. Je viens ici pour savoir c'est quoi le problème avec les 2 lignes ci-dessous. Voir s'il y a un add-on que j'ai oublié ou que mon code soit mal fait. Voici les erreurs que je viens d'avoir: (loop-index) make a gui slot {_slot} of {_p} with {hdv.item::%loop-index%} with lore "&7ID: &6%{_id}%||&7Prix: &6%{hdv.prix::%loop-index%}% &e&lCoins||&7Vendeur: &6%{hdv.name::%loop-index%}%||||&aClick pour retiré l'item" to close then run function remove({_p}, "%loop-index%") & make a gui slot {_slot} of {_p} with {hdv.item::%loop-index%} with lore "&7ID: &6%{_id}%||&7Prix: &6%{hdv.prix::%loop-index%}% &e&lCoins||&7Vendeur: &6%{hdv.name::%loop-index%}%" to close then run function buy({_p}, "%{hdv.name::%loop-index%}%", "%loop-index%") Merci de votre réponse d'avance !
  9. Topic résolu ! Merci à toi !
  10. Version de Minecraft : 1.8.8 Version de Skript : 2.1.2 Addons utilisés: Tous Type du skript : Ecrivez ici le type de skript souhaité Description du script : Salutation. Je viens ici afin de savoir pourquoi j'ai cette erreur dans mon skript: 'guardian' is not entity type (serveur.sk, line 1: on death of guardian:') on death of guardian: clear drops drop 1 fish Merci de m'aider car depuis 2h je suis dessus et j'en peux plus x] Bonne continuation !
  11. @Zaphear Merci pour ton aide et oui je pense que ce sera plus rapide et plus simple. PS: Merci à tout ceux qui m'ont quand même aidé en skript. Je garde le code au cas ou le plugin bug ou autre. Topic résolu !
  12. __STEED__

    Factions

    @zarco70 Normalement, quand tu ouvre une nouvelle discussion, tu as un parfait exemple tout fait pour toi... Faut juste changer les informations et faire une description. Donc si tu es pas capable de suivre l'exemple, ne t'étonne pas que tout le monde te dise de faire mieux.... Sûr ce, je suis d'Accord avec les autres et bonne continuation à toi. PS: /!\ Suit l'exemple donné au début /!\
  13. J'ai trouvé pour creuser le chunk 16x16 blocks mais j'arrive pas à mettre les resources dans le coffre... Le code: on right click with glass: wait 1 tick remove 1 of the tool of player from the inventory of player set {_loc} to location of player set {_loc1} to location of player set {_loc2} to location of player set {_loc3} to location of player set {_loc4} to location of player loop blocks within chunk of {_loc3}: if loop-block isn't chest or diamond ore or emerald ore or gold ore or iron ore or bedrock: set block at location of loop-block to air loop blocks within chunk of {_loc2}: if loop-block isn't chest or diamond ore or emerald ore or gold ore or iron ore or bedrock: set block at location of loop-block to air loop blocks within chunk of {_loc1}: if loop-block isn't chest or diamond ore or emerald ore or gold ore or iron ore or bedrock: set block at location of loop-block to air loop blocks within chunk of {_loc4}: if loop-block isn't chest or diamond ore or emerald ore or gold ore or iron ore or bedrock: set block at location of loop-block to air Bon.,.. par contre, c'est le code de test donc c'est pour ça que c'est un block de verre ^^'
  14. Il me semble que c'Est loop blocks et pas loop all blocks... faut voir
×
×
  • 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.