Skocz do zawartości

piesio98

Użytkownik
  • Ilość zawartości

    93
  • Rejestracja

  • Ostatnia wizyta

Informacje

  • Płeć
    Mężczyzna

Ostatnie wizyty

1 070 wyświetleń profilu

Osiągnięcia piesio98

  1. Nie działa... ;pppppp wywala błąd przy kliknięciu Could not pass event InventoryClickEvent to SkQuery v3.22.1org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot.jar:git-Spigot-1649] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-1649] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:514) [spigot.jar:git-Spigot-1649] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:499) [spigot.jar:git-Spigot-1649] at net.minecraft.server.v1_7_R4.PlayerConnection.a(PlayerConnection.java:1477) [spigot.jar:git-Spigot-1649] at net.minecraft.server.v1_7_R4.PacketPlayInWindowClick.a(PacketPlayInWindowClick.java:15) [spigot.jar:git-Spigot-1649] at net.minecraft.server.v1_7_R4.PacketPlayInWindowClick.handle(PacketPlayInWindowClick.java:65) [spigot.jar:git-Spigot-1649] at net.minecraft.server.v1_7_R4.NetworkManager.a(NetworkManager.java:186) [spigot.jar:git-Spigot-1649] at net.minecraft.server.v1_7_R4.ServerConnection.c(ServerConnection.java:81) [spigot.jar:git-Spigot-1649] at net.minecraft.server.v1_7_R4.MinecraftServer.v(MinecraftServer.java:734) [spigot.jar:git-Spigot-1649] at net.minecraft.server.v1_7_R4.DedicatedServer.v(DedicatedServer.java:289) [spigot.jar:git-Spigot-1649] at net.minecraft.server.v1_7_R4.MinecraftServer.u(MinecraftServer.java:584) [spigot.jar:git-Spigot-1649] at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:490) [spigot.jar:git-Spigot-1649] at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628) [spigot.jar:git-Spigot-1649]Caused by: ch.njol.skript.SkriptAPIException: UnparsedLiterals must be converted before use at ch.njol.skript.lang.UnparsedLiteral.invalidAccessException(UnparsedLiteral.java:275) ~[?:?] at ch.njol.skript.lang.UnparsedLiteral.getAll(UnparsedLiteral.java:285) ~[?:?] at ch.njol.skript.lang.ExpressionList.getAll(ExpressionList.java:117) ~[?:?] at net.dzikoysk.wildskript.collections.functions.elements.EffFunction.execute(EffFunction.java:17) ~[?:?] at ch.njol.skript.lang.Effect.run(Effect.java:50) ~[?:?] at com.w00tmast3r.skquery.skript.LambdaEffect.walk(LambdaEffect.java:35) ~[?:?] at com.w00tmast3r.skquery.util.custom.menus.v2_.SlotRule.run(SlotRule.java:30) ~[?:?] at com.w00tmast3r.skquery.util.custom.menus.v2_.FormattedSlotManager.onClick(FormattedSlotManager.java:66) ~[?:?] at sun.reflect.GeneratedMethodAccessor98.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_25] at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_25] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:298) ~[spigot.jar:git-Spigot-1649] ... 13 more + błędy w kodzie trzeba było dodać "of" np. give {_d} of dirt to {_g} Method "wymiana" {ilosc and gracz}: set {_d} to arg{1}; set {_g} to arg{2}; set {_c} to {_d}*64 if {_g} has {_c} of cobblestone: remove {_c} of cobblestone from {_g}'s inventory give {_d} of dirt to {_g} send "&3Pomy�lnie wymieni�e� &6%{_c}% cobbla &3na &6%{_d}% dirtu&3." to {_g} else: send "&cNie masz wystarczaj�cej ilo�� cobbla!" to {_g} command /Wymiana: trigger: open chest with 6 rows to player wait 2 ticks format slot 0 of player with 1 of dirt named "&3 64 Cobblestone &6-> &31 Dirt" with lore "||||&6>> &3Kliknij aby wymieni� &6<<" to run [function "wymiana" {1 and player};] format slot 1 of player with 5 of dirt named "&3 320 Cobblestone &6-> &35 Dirta" with lore "||||&6>> &3Kliknij aby wymieni� &6<<" to run [function "wymiana" {5 and player};]
  2. rzeczywiście za długie nazwy ale teraz mi wywala błąd w konsolce z skquery z eventem inventoryclickevent .... i chyba jest to problem lambdy Could not pass event InventoryClickEvent to SkQuery v3.22.1org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot.jar:git-Spigot-1649] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-1649] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:514) [spigot.jar:git-Spigot-1649] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:499) [spigot.jar:git-Spigot-1649] at net.minecraft.server.v1_7_R4.PlayerConnection.a(PlayerConnection.java:1477) [spigot.jar:git-Spigot-1649] at net.minecraft.server.v1_7_R4.PacketPlayInWindowClick.a(PacketPlayInWindowClick.java:15) [spigot.jar:git-Spigot-1649] at net.minecraft.server.v1_7_R4.PacketPlayInWindowClick.handle(PacketPlayInWindowClick.java:65) [spigot.jar:git-Spigot-1649] at net.minecraft.server.v1_7_R4.NetworkManager.a(NetworkManager.java:186) [spigot.jar:git-Spigot-1649] at net.minecraft.server.v1_7_R4.ServerConnection.c(ServerConnection.java:81) [spigot.jar:git-Spigot-1649] at net.minecraft.server.v1_7_R4.MinecraftServer.v(MinecraftServer.java:734) [spigot.jar:git-Spigot-1649] at net.minecraft.server.v1_7_R4.DedicatedServer.v(DedicatedServer.java:289) [spigot.jar:git-Spigot-1649] at net.minecraft.server.v1_7_R4.MinecraftServer.u(MinecraftServer.java:584) [spigot.jar:git-Spigot-1649] at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:490) [spigot.jar:git-Spigot-1649] at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628) [spigot.jar:git-Spigot-1649]Caused by: ch.njol.skript.SkriptAPIException: UnparsedLiterals must be converted before use - TO JeST POWÓD ? at ch.njol.skript.lang.UnparsedLiteral.invalidAccessException(UnparsedLiteral.java:275) ~[?:?] at ch.njol.skript.lang.UnparsedLiteral.getAll(UnparsedLiteral.java:285) ~[?:?] at ch.njol.skript.lang.ExpressionList.getAll(ExpressionList.java:117) ~[?:?] at net.dzikoysk.wildskript.collections.functions.elements.EffFunction.execute(EffFunction.java:17) ~[?:?] at ch.njol.skript.lang.Effect.run(Effect.java:50) ~[?:?] at com.w00tmast3r.skquery.skript.LambdaEffect.walk(LambdaEffect.java:35) ~[?:?] at com.w00tmast3r.skquery.util.custom.menus.v2_.SlotRule.run(SlotRule.java:30) ~[?:?] at com.w00tmast3r.skquery.util.custom.menus.v2_.FormattedSlotManager.onClick(FormattedSlotManager.java:66) ~[?:?] at sun.reflect.GeneratedMethodAccessor98.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_25] at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_25] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:298) ~[spigot.jar:git-Spigot-1649] ... 13 more
  3. mam takie coś... 0 błędów podczas reloadu ale podczas wykonania komendy wywala blad w konsolce i error, zapewne źle zapisałem coś w funkcjach bo wildskrypt tak wywala jak coś jest źle ;ppppp Method "ilosc" {ilosc and gracz}: set {_p} to arg{2}; set {sklep::ilosc::%{_p}%} to arg{1}; open chest with 3 rows named "&3&lSklep &b| &3&lTryb: &6%{sklep::ilosc}%&3 sztuk | &cWybierz typ itemow..." to {_p} wait 2 ticks format slot 1 of {_p} with {sklep::ilosc} of bricks named "Bloki budowlane" with lore "&8Bloki typu: piasek, szklo,|| kamien, iii takie tam ;p" to close then run [function "budowlanka" {player}] format slot 17 of {_p} with 1 of dirt named "Powrot" to close then run "/sklep"Method "budowlanka" {gracz}: set {_p} to arg{1}; open chest with 6 rows named "&3&lSklep &b| &3&lTryb: &6%{sklep::ilosc}%&3 sztuk | &9&lBudowlanka" to {_p} wait 2 ticks format slot 17 of {_p} with 1 of dirt named "Powrot" to close then run "/sklep"command /sklep: trigger: open chest with 1 rows named "&3&lSklep- &2wybierz ilosc jaka chcesz aby byla dostepna w sklepie" to player wait 2 ticks format slot 0 of player with 1 of name tag named "&2Sprzedaz i kupno w ilosci &61" to close then run [function "ilosc" {1 and player}] format slot 2 of player with 5 name tag named "&2Sprzedaz i kupno w ilosci &65" to close then run [function "ilosc" {5 and player}] format slot 3 of player with 10 of name tag named "&2Sprzedaz i kupno w ilosci &610" to close then run [function "ilosc" {10 and player}] format slot 4 of player with 15 of name tag named "&2Sprzedaz i kupno w ilosci &615" to close then run [function "ilosc" {15 and player}] format slot 5 of player with 20 of name tag named "&2Sprzedaz i kupno w ilosci &620" to close then run [function "ilosc" {20 and player}] format slot 6 of player with 32 of name tag named "&2Sprzedaz i kupno w ilosci &632" to close then run [function "ilosc" {32 and player}] format slot 7 of player with 40 of name tag named "&2Sprzedaz i kupno w ilosci &640" to close then run [function "ilosc" {40 and player}] format slot 8 of player with 64 of name tag named "&2Sprzedaz i kupno w ilosci &664" to close then run [function "ilosc" {64 and player}]
  4. on entering of region "it": if {icgraon.%player%} is true: broadcast "&7[&eIceTower&7] &6Arena 1 &7Wygral %player%" loop {it::*} teleport loop-value to {icmainlobby} set {icgraon.%loop-value%} to false set {iton} to false wait 0.1 second clear {it::*}nie wiem co masz w {it::*} ale chyba liste graczy ;p
  5. Po wpisaniu komendy daje mi te 2 itemy luk i siekiere ale enchantuje tylko luk arg 1 is "daj": set {_nr} to number of {nazwy.zestaw::*} loop {_nr} times: loop {oitc::zestaw::liczba::%{nazwy.zestaw::%{_nr}%}%::*}: set {_name} to {oitc::zestaw::%{nazwy.zestaw::%{_nr}%}%::%loop-value%::3} set {_item} to {oitc::zestaw::%{nazwy.zestaw::%{_nr}%}%::%loop-value%::2} parsed as item set {_ilosc} to {oitc::zestaw::%{nazwy.zestaw::%{_nr}%}%::%loop-value%::1} parsed as integer set {_enchanty::*} to {oitc::zestaw::%{nazwy.zestaw::%{_nr}%}%::%loop-value%::4} split at " and " wait 1 tick set {_ile} to number of {_enchanty::*} loop {_ile} times: add 1 to {_n} set {_enchant::%{_n}%} to {_enchanty::%{_n}%} parsed as enchantment type give player {_ilosc} of {_item} named "%{oitc::zestaw::%{nazwy.zestaw::%{_nr}%}%::%loop-value%::3}%" wait 2 ticks loop all items in player's inventory: if name of loop-item is "%{_name}%": wait 1 tick loop {_ile} times: add 1 to {_as} enchant loop-item with {_enchant::%{_as}%} wait 3 ticks stop loop else: send "2"on script load: if folder "plugins/oitc" doesn't exists: send "Nie odnaleziono folderu oitc!" to console send "Tworzenie nowego..." to console create folder "plugins/oitc" send "Folder oitc zostal pomyslnie utworzony!" to console if file "plugins/oitc/config.yml" doesn't exists: send "Nie znaleziono pliku ""config.yml""!" to console send "Tworzenie..." to console create file "plugins/oitc/config.yml" wf "tag: '&a[OITC]'" to "plugins/oitc/config.yml" wf "Nazwy zestawow:" to "plugins/oitc/config.yml" wf "- gracz" to "plugins/oitc/config.yml" wf "zestawy:" to "plugins/oitc/config.yml" wf " gracz:" to "plugins/oitc/config.yml" wf " - '1||bow||&3&lOne &b&lShot&3&l One &c&lKill||punch 5 and power 10'" to "plugins/oitc/config.yml" wf " - '1||iron axe||&2&lLamacz kosci||sharpness 1'" to "plugins/oitc/config.yml" set {oitc::tag} to single value "Tag" get of "plugins/oitc/config.yml" set {nazwy.zestaw::*} to value list "Nazwy zestawow" get of "plugins/oitc/config.yml" set {_l} to number of {nazwy.zestaw::*} delete {oitc::zestaw::*} loop {_l} times: set {_numer} to loop-number set {_oitc::zestaw::%{nazwy.zestaw::%{_numer}%}%::*} to value list "zestawy.%{nazwy.zestaw::%{_numer}%}%" get of "plugins/oitc/config.yml" loop {_oitc::zestaw::%{nazwy.zestaw::%{_numer}%}%::*}: add 1 to {_n} set {oitc::zestaw::%{nazwy.zestaw::%{_numer}%}%::%{_n}%::*} to {_oitc::zestaw::%{nazwy.zestaw::%{_numer}%}%::%{_n}%} split at "||" #broadcast "%{oitc::zestaw::%{nazwy.zestaw::%{_numer}%}%::%{_n}%::*}%" add {_n} to {oitc::zestaw::liczba::%{nazwy.zestaw::%{_numer}%}%::*}
  6. piesio98

    wildskript yml

    on script load: if folder "plugins/oitc" doesn't exists: send "Nie odnaleziono folderu oitc!" to console send "Tworzenie nowego..." to console create folder "plugins/oitc" send "Folder oitc zostal pomyslnie utworzony!" to console if file "plugins/oitc/config.yml" doesn't exists: send "Nie znaleziono pliku ""config.yml""!" to console send "Tworzenie..." to console create file "plugins/oitc/config.yml" wf "tag: '&a[OITC]'" to "plugins/oitc/config.yml" wf "zestawy:" to "plugins/oitc/config.yml" wf " gracz:" to "plugins/oitc/config.yml" wf " - '1,bow|n|&3&lOne &b&lShot&3&l One &c&lKill|en|punch 5 and power 10'" to "plugins/oitc/config.yml" wf " - '1,iron axe|en|sharpness 1'" to "plugins/oitc/config.yml" set {oitc::tag} to single value "Tag" get of "plugins/oitc/config.yml" set {oitc::zestawy::*} to value list "zestawy/gracz" get of "plugins/oitc/config.yml"1. Bez błędów ale po sprawdzeniu zawartości {oitc::zestawy::*} pokazuje <none> 2. i chce aby z czytywało wszystkie zestawy do 1 i potem odczytywać z {oitc::zestawy::nazwa_zestawu}
  7. Wiecie jak odczytać nazwe gracza z głowy ? bo skript widzi to jako "player head" i nie wiem jak ma to sprawdzać
  8. Próbuje zrobić sklep z głowami, lecz gdy skrypt ma sprawdzać czy gracz posiada taką głowę nie widzi jej Cały kod jest poprawny ( 0 błędów w skrypt) on sign change: line 1 is "[HeadDrop]": player has permission "drophead.admin": line 2 is set: set {_l3} to line 3 parsed as integer if {_l3} is integer: set {_l2} to line 2 set {_l4} to line 3 set line 1 to "&3&lGlowa Admina" set line 2 to "&b&l%{_l2}%" set line 3 to "&8sprzedaj za" set line 4 to "&a&l%{_l4}%$" send "&a&lPomyslnie stworzono sklep" else: send "&cW 3 linijce ma byc ilosc kasy np. ""12345"" " else: send "&cLinia 2 to nick gracza, z duzymi literami" else: send "&cTylko administracja"on click on sign: line 1 is "&3&lGlowa Admina": set {_glowa} to line 2 parsed as text replace "&b&l" with "" in {_glowa} set {_kasa} to line 4 replace all "$" with "" in {_kasa} if player has 1 of {_glowa}'s skull: remove 1 of {_glowa}'s skull from player's inventory execute console command "eco give %player% %{_kasa}%" send "&2Sprzedales glowe &6{_glowa}&2i otrzymales &6 %{_kasa}%$ " else: send "&cNie posiadasz takiej glowy %{_glowa}%"
  9. piesio98

    Solo na pvp

    Poszukuję skryptu na 1vs1, na 1 arene, bez zmienienia equ ;x. prosty na wyzwanie.
  10. piesio98

    [1.8] WildSkript

    no to w takim razie szkoda... bo by mi się przydał na 1.5.2 ;pp
  11. piesio98

    [1.8] WildSkript

    błąd na 1.5.2 Horse jump event, tak samo z skquery 17:15:47 [sEVERE] Error occurred while enabling WildSkript v1.8 (Is it up to date?)java.lang.NoClassDefFoundError: org/bukkit/event/entity/HorseJumpEvent at net.dzikoysk.wildskript.register.Events.registerEvents(Events.java:123) at net.dzikoysk.wildskript.register.Register.register(Register.java:10) at net.dzikoysk.wildskript.WildSkript.onEnable(WildSkript.java:66) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:382) at org.bukkit.craftbukkit.v1_5_R3.CraftServer.loadPlugin(CraftServer.java:284) at org.bukkit.craftbukkit.v1_5_R3.CraftServer.enablePlugins(CraftServer.java:266) at net.minecraft.server.v1_5_R3.MinecraftServer.j(MinecraftServer.java:310) at net.minecraft.server.v1_5_R3.MinecraftServer.e(MinecraftServer.java:289) at net.minecraft.server.v1_5_R3.MinecraftServer.a(MinecraftServer.java:249) at net.minecraft.server.v1_5_R3.DedicatedServer.init(DedicatedServer.java:160) at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:388) at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573)Caused by: java.lang.ClassNotFoundException: org.bukkit.event.entity.HorseJumpEvent at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:70) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 14 more
  12. Zmień if {arena.start.%arg 2%} is falsena if {arena.start.%arg 2%} is not seta set {arena.start.%arg 2%} to falsena delete {arena.start.%arg 2%}
  13. 1. Jak dodać lub usunąć coś z listy mam info: - '1 pytanie' - '2 pytanie'a chcę dodać 3 info: - '1 pytanie' - '2 pytanie' - '3 pytanie'i teraz 1 pytanie usunąć. 2. Mam zestaw: 1: nazwa: '2' cos: - '1cos' - '2cos' 2: nazwa: '2' cos: - '1cos' - '2cos'i jak odczytać zestaw 2 bo 1 to: set {lista::*} to value list "zestaw.1.cos" get of "lokalizacja"a w tym drugim już nie działa ( "zestaw.2.cos" )
  14. Nie, chodzi mi o zapis kolejnej rzeczy do listy
×
×
  • Dodaj nową pozycję...