Skocz do zawartości
  • 0

Problem ze skryptem


xNeleQx

Pytanie

nie dziala mi skrypt mam wszystkie dodatki:

Skript, SkQuery, WildSkript, SkRayFall, skDragon

bledy: https://imgur.com/a/6Jg4nSa

kod: https://code.skript.pl/L0OA6Bli

autor: @VIPEQ

Edytowane przez ThatsVylence
Nieaktywny

Poprawiam formatowanie na ciemnym stylu.

Odnośnik do komentarza
https://skript.pl/temat/27484-problem-ze-skryptem/
Udostępnij na innych stronach

Rekomendowane odpowiedzi

  • 0

@xNeleQx

Przykład:

        if {Ringo.blue.%player%} is false:
            format slot 13 of player with blue wool named "&1NIEBIESKIE RINGO" with lore "&7Status&8: &4&lOFF||&7Kliknij, aby &2&lwlaczyc&7." to close then run execute player command "/ringoniebieskie"
        if {Ringo.blue.%player%} is true:
            format slot 13 of player with blue wool named "&1NIEBIESKIE RINGO" with lore "&7Status&8: &2&lON||&7Kliknij, aby &4&lwylaczyc&7." to close then run execute player command "/ringoniebieskie"

Ten kod na górze jest zły i nie działający :v

a ten powinien działać:

        if {Ringo.blue.%player%} is false:
            format slot 13 of player with blue wool named "&1NIEBIESKIE RINGO" with lore "&7Status&8: &4&lOFF||&7Kliknij, aby &2&lwlaczyc&7." to close then run [make player execute command "/ringoniebieskie"]
        if {Ringo.blue.%player%} is true:
            format slot 13 of player with blue wool named "&1NIEBIESKIE RINGO" with lore "&7Status&8: &2&lON||&7Kliknij, aby &4&lwylaczyc&7." to close then run [make player execute command "/ringoniebieskie"]

Kod ma być z nawiasami ... tak btw nie usuwaj ich xd

Edytowane przez ThatsVylence
Nieaktywny

Wstawiam w CODE.

Odnośnik do komentarza
https://skript.pl/temat/27484-problem-ze-skryptem/#findComment-181594
Udostępnij na innych stronach

  • 0
W dniu 1.06.2018 o 12:45, JanushXD1 napisał:

@xNeleQx

Przykład:


        if {Ringo.blue.%player%} is false:
            format slot 13 of player with blue wool named "&1NIEBIESKIE RINGO" with lore "&7Status&8: &4&lOFF||&7Kliknij, aby &2&lwlaczyc&7." to close then run execute player command "/ringoniebieskie"
        if {Ringo.blue.%player%} is true:
            format slot 13 of player with blue wool named "&1NIEBIESKIE RINGO" with lore "&7Status&8: &2&lON||&7Kliknij, aby &4&lwylaczyc&7." to close then run execute player command "/ringoniebieskie"

Ten kod na górze jest zły i nie działający :v

a ten powinien działać:


        if {Ringo.blue.%player%} is false:
            format slot 13 of player with blue wool named "&1NIEBIESKIE RINGO" with lore "&7Status&8: &4&lOFF||&7Kliknij, aby &2&lwlaczyc&7." to close then run [make player execute command "/ringoniebieskie"]
        if {Ringo.blue.%player%} is true:
            format slot 13 of player with blue wool named "&1NIEBIESKIE RINGO" with lore "&7Status&8: &2&lON||&7Kliknij, aby &4&lwylaczyc&7." to close then run [make player execute command "/ringoniebieskie"]

 

 

,a twoj dodaje bledow ;/

Edytowane przez ThatsVylence
Odnośnik do komentarza
https://skript.pl/temat/27484-problem-ze-skryptem/#findComment-181598
Udostępnij na innych stronach

  • 0
8 godzin temu, xNeleQx napisał:

 

,a twoj dodaje bledow ;/

Nie miałeś błędów wtedy bo skrypt nie działał a masz dodatek skUtilities bo bez tego skrypt nie zadziała ...

 

8 godzin temu, Sh1ft_S napisał:

Jak to może nie działać ;-; https://code.skript.pl/z2WrHhiU

robisz same błędy ...

Edytowane przez JanushXD1
Odnośnik do komentarza
https://skript.pl/temat/27484-problem-ze-skryptem/#findComment-181600
Udostępnij na innych stronach

  • 0
W dniu 1.06.2018 o 12:47, Sh1ft_S napisał:

Jak to może nie działać ;-; https://code.skript.pl/z2WrHhiU

masz logi z consoli:

Spoiler

[12:49:40 INFO]: [Skript] Reloading ringo.sk...
[12:49:40 ERROR]: #!#!
[12:49:40 ERROR]: #!#! [Skript] Severe Error:
[12:49:40 ERROR]: #!#! Could not load ringo.sk
[12:49:40 ERROR]: #!#!
[12:49:40 ERROR]: #!#! If you're developing an add-on for Skript this likely means that you have done something wrong.
[12:49:40 ERROR]: #!#! If you're a server admin however please go to https://github.com/bensku/Skript/issues/
[12:49:40 ERROR]: #!#! and check whether this error has already been reported.
[12:49:40 ERROR]: #!#! If not please create a new ticket with a meaningful title, copy & paste this whole error into it (or use paste service),
[12:49:40 ERROR]: #!#! and describe what you did before it happened and/or what you think caused the error.
[12:49:40 ERROR]: #!#! If you think that it's a trigger that's causing the error please post the trigger as well.
[12:49:40 ERROR]: #!#! By following this guide fixing the error should be easy and done fast.
[12:49:40 ERROR]: #!#!
[12:49:40 ERROR]: #!#! Stack trace:
[12:49:40 ERROR]: #!#! java.lang.IllegalStateException: Cannot use classinfos until registration is over
[12:49:40 ERROR]: #!#!     at ch.njol.skript.registrations.Classes.checkAllowClassInfoInteraction(Classes.java:242)
[12:49:40 ERROR]: #!#!     at ch.njol.skript.registrations.Classes.getClassInfoFromUserInput(Classes.java:337)
[12:49:40 ERROR]: #!#!     at ch.njol.skript.ScriptLoader$2.run(ScriptLoader.java:415)
[12:49:40 ERROR]: #!#!     at ch.njol.skript.ScriptLoader$2.run(ScriptLoader.java:1)
[12:49:40 ERROR]: #!#!     at ch.njol.util.StringUtils.replaceAll(StringUtils.java:85)
[12:49:40 ERROR]: #!#!     at ch.njol.util.StringUtils.replaceAll(StringUtils.java:68)
[12:49:40 ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadScript(ScriptLoader.java:407)
[12:49:40 ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:271)
[12:49:40 ERROR]: #!#!     at ch.njol.skript.SkriptCommand.onCommand(SkriptCommand.java:167)
[12:49:40 ERROR]: #!#!     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
[12:49:40 ERROR]: #!#!     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:140)
[12:49:40 ERROR]: #!#!     at org.bukkit.craftbukkit.v1_8_R1.CraftServer.dispatchCommand(CraftServer.java:625)
[12:49:40 ERROR]: #!#!     at org.bukkit.craftbukkit.v1_8_R1.CraftServer.dispatchServerCommand(CraftServer.java:611)
[12:49:40 ERROR]: #!#!     at net.minecraft.server.v1_8_R1.DedicatedServer.aM(DedicatedServer.java:320)
[12:49:40 ERROR]: #!#!     at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:285)
[12:49:40 ERROR]: #!#!     at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:609)
[12:49:40 ERROR]: #!#!     at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:517)
[12:49:40 ERROR]: #!#!     at java.lang.Thread.run(Unknown Source)
[12:49:40 ERROR]: #!#!
[12:49:40 ERROR]: #!#! Version Information:
[12:49:40 ERROR]: #!#!   Skript: 2.2-dev19
[12:49:40 ERROR]: #!#!   Bukkit: 1.8-R0.1-SNAPSHOT
[12:49:40 ERROR]: #!#!   Minecraft: 1.8
[12:49:40 ERROR]: #!#!   Java: 1.8.0_171 (Java HotSpot(TM) 64-Bit Server VM 25.171-b11)
[12:49:40 ERROR]: #!#!   OS: Windows 10 amd64 10.0
[12:49:40 ERROR]: #!#!
[12:49:40 ERROR]: #!#! Running CraftBukkit: false
[12:49:40 ERROR]: #!#!
[12:49:40 ERROR]: #!#! Current node: {Ringo.blue.%player%}: false (ringo.sk, line 2)
[12:49:40 ERROR]: #!#! Current item: null
[12:49:40 ERROR]: #!#!
[12:49:40 ERROR]: #!#! Thread: Server thread
[12:49:40 ERROR]: #!#!
[12:49:40 ERROR]: #!#! End of Error.
[12:49:40 ERROR]: #!#!
[12:49:40 INFO]: [Skript] Successfully reloaded ringo.sk.

 

 

Edytowane przez ThatsVylence
Nieaktywny

Wstawiam w CODE i wrzucam w SPOILER.

Odnośnik do komentarza
https://skript.pl/temat/27484-problem-ze-skryptem/#findComment-181608
Udostępnij na innych stronach

  • 0
8 godzin temu, xNeleQx napisał:

u niego mi nie wyskoczyl ani jeden blad a u cb 14 wiec ;/

Dobra szkoda gadać... 

człowiek chcę pomóc a tu taki wał..

skrypt miał 0 błedów bo nie działał ...

 

8 godzin temu, Sh1ft_S napisał:

Przecież to jest to samo co ja mu wysyłałem ... :V

Odnośnik do komentarza
https://skript.pl/temat/27484-problem-ze-skryptem/#findComment-181609
Udostępnij na innych stronach

  • 0
W dniu 1.06.2018 o 12:50, xNeleQx napisał:

masz logi z consoli:

Spoiler


[12:49:40 INFO]: [Skript] Reloading ringo.sk...
[12:49:40 ERROR]: #!#!
[12:49:40 ERROR]: #!#! [Skript] Severe Error:
[12:49:40 ERROR]: #!#! Could not load ringo.sk
[12:49:40 ERROR]: #!#!
[12:49:40 ERROR]: #!#! If you're developing an add-on for Skript this likely means that you have done something wrong.
[12:49:40 ERROR]: #!#! If you're a server admin however please go to https://github.com/bensku/Skript/issues/
[12:49:40 ERROR]: #!#! and check whether this error has already been reported.
[12:49:40 ERROR]: #!#! If not please create a new ticket with a meaningful title, copy & paste this whole error into it (or use paste service),
[12:49:40 ERROR]: #!#! and describe what you did before it happened and/or what you think caused the error.
[12:49:40 ERROR]: #!#! If you think that it's a trigger that's causing the error please post the trigger as well.
[12:49:40 ERROR]: #!#! By following this guide fixing the error should be easy and done fast.
[12:49:40 ERROR]: #!#!
[12:49:40 ERROR]: #!#! Stack trace:
[12:49:40 ERROR]: #!#! java.lang.IllegalStateException: Cannot use classinfos until registration is over
[12:49:40 ERROR]: #!#!     at ch.njol.skript.registrations.Classes.checkAllowClassInfoInteraction(Classes.java:242)
[12:49:40 ERROR]: #!#!     at ch.njol.skript.registrations.Classes.getClassInfoFromUserInput(Classes.java:337)
[12:49:40 ERROR]: #!#!     at ch.njol.skript.ScriptLoader$2.run(ScriptLoader.java:415)
[12:49:40 ERROR]: #!#!     at ch.njol.skript.ScriptLoader$2.run(ScriptLoader.java:1)
[12:49:40 ERROR]: #!#!     at ch.njol.util.StringUtils.replaceAll(StringUtils.java:85)
[12:49:40 ERROR]: #!#!     at ch.njol.util.StringUtils.replaceAll(StringUtils.java:68)
[12:49:40 ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadScript(ScriptLoader.java:407)
[12:49:40 ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:271)
[12:49:40 ERROR]: #!#!     at ch.njol.skript.SkriptCommand.onCommand(SkriptCommand.java:167)
[12:49:40 ERROR]: #!#!     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
[12:49:40 ERROR]: #!#!     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:140)
[12:49:40 ERROR]: #!#!     at org.bukkit.craftbukkit.v1_8_R1.CraftServer.dispatchCommand(CraftServer.java:625)
[12:49:40 ERROR]: #!#!     at org.bukkit.craftbukkit.v1_8_R1.CraftServer.dispatchServerCommand(CraftServer.java:611)
[12:49:40 ERROR]: #!#!     at net.minecraft.server.v1_8_R1.DedicatedServer.aM(DedicatedServer.java:320)
[12:49:40 ERROR]: #!#!     at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:285)
[12:49:40 ERROR]: #!#!     at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:609)
[12:49:40 ERROR]: #!#!     at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:517)
[12:49:40 ERROR]: #!#!     at java.lang.Thread.run(Unknown Source)
[12:49:40 ERROR]: #!#!
[12:49:40 ERROR]: #!#! Version Information:
[12:49:40 ERROR]: #!#!   Skript: 2.2-dev19
[12:49:40 ERROR]: #!#!   Bukkit: 1.8-R0.1-SNAPSHOT
[12:49:40 ERROR]: #!#!   Minecraft: 1.8
[12:49:40 ERROR]: #!#!   Java: 1.8.0_171 (Java HotSpot(TM) 64-Bit Server VM 25.171-b11)
[12:49:40 ERROR]: #!#!   OS: Windows 10 amd64 10.0
[12:49:40 ERROR]: #!#!
[12:49:40 ERROR]: #!#! Running CraftBukkit: false
[12:49:40 ERROR]: #!#!
[12:49:40 ERROR]: #!#! Current node: {Ringo.blue.%player%}: false (ringo.sk, line 2)
[12:49:40 ERROR]: #!#! Current item: null
[12:49:40 ERROR]: #!#!
[12:49:40 ERROR]: #!#! Thread: Server thread
[12:49:40 ERROR]: #!#!
[12:49:40 ERROR]: #!#! End of Error.
[12:49:40 ERROR]: #!#!
[12:49:40 INFO]: [Skript] Successfully reloaded ringo.sk.

 

 

Mówie ci że nie masz dodatku ...

 

W dniu 1.06.2018 o 12:51, xNeleQx napisał:

ale pacz ze twoj mial miliony bledow XD

Qurwa dodatek trzeba mieć co ci napisałem ...

 

A dobra bawcie się sami ..

Edytowane przez ThatsVylence
Odnośnik do komentarza
https://skript.pl/temat/27484-problem-ze-skryptem/#findComment-181612
Udostępnij na innych stronach

  • 0
1 minutę temu, LjayPL789 napisał:

@xNeleQx, ten błąd co posiadasz, nic nie oznacza.

Jeżeli masz blędy w konsoli, musisz zainstalować silnik na 1.8.8.

I pobrać *najnowsza* wersję pluginu "skDragon".

Typie, umiesz czytać? Problem rozwiązany, dać Ci screena z msg?

Odnośnik do komentarza
https://skript.pl/temat/27484-problem-ze-skryptem/#findComment-182188
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...