Aller au contenu

__STEED__

Membre
  • Compteur de contenus

    19
  • Inscription

  • Dernière visite

  • Crédits

    38 [Faire un don]

Réputation sur la communauté

1 Neutre

À propos de __STEED__

  • Rang
    Intérresé

Visiteurs récents du profil

601 visualisations du profil
  1. 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)
  2. Pour le /menu, effectivement le nom était trop long. Mais pour le /hdv, toujours les 3 même erreurs...
  3. 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.
  4. Même chose. Changement de version du plugins, des add-ons, etc, rien.. toujours les 3 même erreurs.
  5. Même erreurs en changeant Index par Value...
  6. 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 !
  7. Topic résolu ! Merci à toi !
  8. 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 !
  9. @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 !
  10. __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 /!\
  11. 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 ^^'
  12. Il me semble que c'Est loop blocks et pas loop all blocks... faut voir
  13. Es-ce que tu peux me faire voir le code afin que j'essaye de voir avec mes petites bases en skript ? (je promais rien niveau aide x} )
  14. Xamez, Oui pour miner instantanément. Et si c'est plus simple pour avoir toutes les ressources sauf les minerais qui resterons en place dans le chunk, mieux vaut le faire en virtuel. xd_Rekt Jai la 2.1 en 1.8.8 mais j'ai viaversion qui me permet d'avoir le serveur disponible de la 1.8 à la 1.15.1 il me semble.
×
×
  • 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.