Skocz do zawartości
  • 0

Problem z GUI


gitara17

Pytanie

Więc tak: Dzisiaj napisałem na szybko skrypt na gui:

aliases:
    puste = 160:7

command /klasa:
    trigger:
        if player has permission "gymwar.klasa":
            open chest with 3 rows named "&b&lKlasy" to player
            wait 1 tick
            format slot 1 with 1 of puste named "" to be unsteable
            format slot 2 with 1 of puste named "" to be unsteable
            format slot 3 with 1 of puste named "" to be unsteable
            format slot 4 with 1 of puste named "" to be unsteable
            format slot 5 with 1 of puste named "" to be unsteable
            format slot 6 with 1 of puste named "" to be unsteable
            format slot 7 with 1 of puste named "" to be unsteable
            format slot 8 with 1 of puste named "" to be unsteable
            format slot 9 with 1 of puste named "" to be unsteable
            format slot 10 with 1 of puste named "" to be unsteable
            format slot 11 with 1 of puste named "" to be unsteable
            format slot 12 with 1 of puste named "" to be unsteable
            format slot 13 with 1 of minecraft:bow named "&a&lKlasa: &bLucznik %nl% %nl% &6&lCena: &c&l5000$ %nl% &6&lOpis: &8Lucznik posiada luk. %nl% &8Potrafi strzelac. %nl% &8Ma kolcze eq, lecz nie posiada miecza. %nl% %nl% &c> &7Kliknij aby kupic!" to close then run [kuplucznik %player%]
            format slot 14 with 1 of minecraft:diamond_sword named "&a&lKlasa: &bRycerz %nl% %nl% &6&lCena: &c&l7000$ %nl% &6&lOpis: &8Rycerz posiada zlote eq. %nl% Jego miecz ma czar zakletego ognia, ale jest drewniany. %nl% Lepiej mu nie podskakuj! %nl% %nl% &c> &7Kliknij aby kupic!" to close then run [kuprycerz %player%]
            format slot 15 with 1 of minecraft:fire_charge named "&a&lKlasa: &bMag ognia %nl% %nl% &6&lCena: &c&l6000$ %nl% &6&lOpis: &8Mag ognia posiada wyjątkową zdolnosc %nl% miotania kulami ognia. %nl% Prócz tego ma żelazny miecz %nl% oraz żelazne eq. %nl% Lepiej uważaj na niego, bo jak Cie strzeli... %nl% %nl% &c> &7Kliknij aby kupic!" to close then run [kupmag %player%]
            format slot 16 with 1 of puste named "" to be unsteable
            format slot 17 with 1 of puste named "" to be unsteable
            format slot 18 with 1 of puste named "" to be unsteable
            format slot 19 with 1 of puste named "" to be unsteable
            format slot 20 with 1 of puste named "" to be unsteable
            format slot 21 with 1 of puste named "" to be unsteable
            format slot 22 with 1 of puste named "" to be unsteable
            format slot 23 with 1 of puste named "" to be unsteable
            format slot 24 with 1 of puste named "" to be unsteable
            format slot 25 with 1 of puste named "" to be unsteable
            format slot 26 with 1 of puste named "" to be unsteable
            format slot 27 with 1 of puste named "" to be unsteable
        else:
            send "&c> &7Nie masz dostepu do tej komendy!"

 

--------------------------------------

Nie działa mam SkQuery i takie błędy wyskakują:

--------------------------------------

[16:11:52] [Server thread/ERROR]: [Skript] 'format slot 1 with 1' is not a number (klasy.sk, line 9: format slot 1 with 1 of puste named ""')
[16:11:52] [Server thread/ERROR]: [Skript] 'format slot 2 with 1' is not a number (klasy.sk, line 10: format slot 2 with 1 of puste named ""')
[16:11:52] [Server thread/ERROR]: [Skript] 'format slot 3 with 1' is not a number (klasy.sk, line 11: format slot 3 with 1 of puste named ""')
[16:11:52] [Server thread/ERROR]: [Skript] 'format slot 4 with 1' is not a number (klasy.sk, line 12: format slot 4 with 1 of puste named ""')
[16:11:52] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 13: format slot 5 with 1 of puste named "" to be unsteable')
[16:11:52] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 14: format slot 6 with 1 of puste named "" to be unsteable')
[16:11:52] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 15: format slot 7 with 1 of puste named "" to be unsteable')
[16:11:52] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 16: format slot 8 with 1 of puste named "" to be unsteable')
[16:11:52] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 17: format slot 9 with 1 of puste named "" to be unsteable')
[16:11:52] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 18: format slot 10 with 1 of puste named "" to be unsteable')
[16:11:52] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 19: format slot 11 with 1 of puste named "" to be unsteable')
[16:11:52] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 20: format slot 12 with 1 of puste named "" to be unsteable')
[16:11:52] [Server thread/ERROR]: [Skript] '"&a&lKlasa: &bLucznik %nl% %nl% &6&lCena: &c&l5000$ %nl% &6&lOpis: &8Lucznik posiada luk. %nl% &8Potrafi strzelac. %nl% &8Ma kolcze eq, lecz nie posiada miecza. %nl% %nl% &c> &7Kliknij aby kupic!" to close then run [kuplucznik %player%]' is not a text (klasy.sk, line 21: format slot 13 with 1 of minecraft:bow named "&a&lKlasa: &bLucznik %nl% %nl% &6&lCena: &c&l5000$ %nl% &6&lOpis: &8Lucznik posiada luk. %nl% &8Potrafi strzelac. %nl% &8Ma kolcze eq, lecz nie posiada miecza. %nl% %nl% &c> &7Kliknij aby kupic!" to close then run [kuplucznik %player%]')
[16:11:52] [Server thread/ERROR]: [Skript] '"&a&lKlasa: &bRycerz %nl% %nl% &6&lCena: &c&l7000$ %nl% &6&lOpis: &8Rycerz posiada zlote eq. %nl% Jego miecz ma czar zakletego ognia, ale jest drewniany. %nl% Lepiej mu nie podskakuj! %nl% %nl% &c> &7Kliknij aby kupic!" to close then run [kuprycerz %player%]' is not a text (klasy.sk, line 22: format slot 14 with 1 of minecraft:diamond_sword named "&a&lKlasa: &bRycerz %nl% %nl% &6&lCena: &c&l7000$ %nl% &6&lOpis: &8Rycerz posiada zlote eq. %nl% Jego miecz ma czar zakletego ognia, ale jest drewniany. %nl% Lepiej mu nie podskakuj! %nl% %nl% &c> &7Kliknij aby kupic!" to close then run [kuprycerz %player%]')
[16:11:52] [Server thread/ERROR]: [Skript] '"&a&lKlasa: &bMag ognia %nl% %nl% &6&lCena: &c&l6000$ %nl% &6&lOpis: &8Mag ognia posiada wyjątkową zdolnosc %nl% miotania kulami ognia. %nl% Prócz tego ma żelazny miecz %nl% oraz żelazne eq. %nl% Lepiej uważaj na niego, bo jak Cie strzeli... %nl% %nl% &c> &7Kliknij aby kupic!" to close then run [kupmag %player%]' is not a text (klasy.sk, line 23: format slot 15 with 1 of minecraft:fire_charge named "&a&lKlasa: &bMag ognia %nl% %nl% &6&lCena: &c&l6000$ %nl% &6&lOpis: &8Mag ognia posiada wyjątkową zdolnosc %nl% miotania kulami ognia. %nl% Prócz tego ma żelazny miecz %nl% oraz żelazne eq. %nl% Lepiej uważaj na niego, bo jak Cie strzeli... %nl% %nl% &c> &7Kliknij aby kupic!" to close then run [kupmag %player%]')
[16:11:52] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 24: format slot 16 with 1 of puste named "" to be unsteable')
[16:11:52] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 25: format slot 17 with 1 of puste named "" to be unsteable')
[16:11:52] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 26: format slot 18 with 1 of puste named "" to be unsteable')
[16:11:52] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 27: format slot 19 with 1 of puste named "" to be unsteable')
[16:11:52] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 28: format slot 20 with 1 of puste named "" to be unsteable')
[16:11:52] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 29: format slot 21 with 1 of puste named "" to be unsteable')
[16:11:52] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 30: format slot 22 with 1 of puste named "" to be unsteable')
[16:11:52] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 31: format slot 23 with 1 of puste named "" to be unsteable')
[16:11:52] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 32: format slot 24 with 1 of puste named "" to be unsteable')
[16:11:52] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 33: format slot 25 with 1 of puste named "" to be unsteable')
[16:11:53] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 34: format slot 26 with 1 of puste named "" to be unsteable')
[16:11:53] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 35: format slot 27 with 1 of puste named "" to be unsteable')

===================

POMÓŻCIE!!! HELP!!!! PLS!!!

Odnośnik do komentarza
Udostępnij na innych stronach

17 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
1 minutę temu, herro napisał:

 

Nie zauważyłem twojego postu, po co zaśmiecasz wątek tekstami "Ja już mu pomogłem", jest to całkowicie zbędne. Ogólnie to zauważyłem iż parę osób 'bije się o like' nawet się na ten temat nie wypowiadam.

WildSkript? A nie czasem skQuery?

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
2 godziny temu, HeezQ napisał:

"format slot 1 of player with 1 of {@puste} named "" to be unsteable"

{@} oznacza się optionsy, nie aliasy.

-----------

A tak ogólnie to dziękuję wszystkim za chęci, lecz problem dalej ten sam. Zainstalowałem WildSkript i ten sam błąd.

Edytowane przez gitara17
Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

Niestety nie mogę podesłać błędów, lecz jesli dobrze widziałem dotyczyły tego kawałka:

            format slot 13 with 1 of minecraft:bow named "&a&lKlasa: &bLucznik %nl% %nl% &6&lCena: &c&l5000$ %nl% &6&lOpis: &8Lucznik posiada luk. %nl% &8Potrafi strzelac. %nl% &8Ma kolcze eq, lecz nie posiada miecza. %nl% %nl% &c> &7Kliknij aby kupic!" to close then run [kuplucznik %player%]
            format slot 14 with 1 of minecraft:diamond_sword named "&a&lKlasa: &bRycerz %nl% %nl% &6&lCena: &c&l7000$ %nl% &6&lOpis: &8Rycerz posiada zlote eq. %nl% Jego miecz ma czar zakletego ognia, ale jest drewniany. %nl% Lepiej mu nie podskakuj! %nl% %nl% &c> &7Kliknij aby kupic!" to close then run [kuprycerz %player%]
            format slot 15 with 1 of minecraft:fire_charge named "&a&lKlasa: &bMag ognia %nl% %nl% &6&lCena: &c&l6000$ %nl% &6&lOpis: &8Mag ognia posiada wyjątkową zdolnosc %nl% miotania kulami ognia. %nl% Prócz tego ma żelazny miecz %nl% oraz żelazne eq. %nl% Lepiej uważaj na niego, bo jak Cie strzeli... %nl% %nl% &c> &7Kliknij aby kupic!" to close then run [kupmag %player%]

i tym razem że te "to close then run..." is not a text.

Edytowane przez gitara17
Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
35 minut temu, gitara17 napisał:

Niestety nie mogę podesłać błędów, lecz jesli dobrze widziałem dotyczyły tego kawałka:

            format slot 13 with 1 of minecraft:bow named "&a&lKlasa: &bLucznik %nl% %nl% &6&lCena: &c&l5000$ %nl% &6&lOpis: &8Lucznik posiada luk. %nl% &8Potrafi strzelac. %nl% &8Ma kolcze eq, lecz nie posiada miecza. %nl% %nl% &c> &7Kliknij aby kupic!" to close then run [kuplucznik %player%]
            format slot 14 with 1 of minecraft:diamond_sword named "&a&lKlasa: &bRycerz %nl% %nl% &6&lCena: &c&l7000$ %nl% &6&lOpis: &8Rycerz posiada zlote eq. %nl% Jego miecz ma czar zakletego ognia, ale jest drewniany. %nl% Lepiej mu nie podskakuj! %nl% %nl% &c> &7Kliknij aby kupic!" to close then run [kuprycerz %player%]
            format slot 15 with 1 of minecraft:fire_charge named "&a&lKlasa: &bMag ognia %nl% %nl% &6&lCena: &c&l6000$ %nl% &6&lOpis: &8Mag ognia posiada wyjątkową zdolnosc %nl% miotania kulami ognia. %nl% Prócz tego ma żelazny miecz %nl% oraz żelazne eq. %nl% Lepiej uważaj na niego, bo jak Cie strzeli... %nl% %nl% &c> &7Kliknij aby kupic!" to close then run [kupmag %player%]

i tym razem że te "to close then run..." is not a text.

Czytasz w ogóle co piszemy?

 

49 minut temu, Norbi napisał:

Nie określiłeś komu masz to sformatować

poprawione:


format slot 1 of player with 1 of puste named "" to be unstealable

 

 

48 minut temu, KrejzolekPRO napisał:

przy tych magach itp. to


to close then run [execute player command "kuprycerz %player%"]

 

 

41 minut temu, Norbi napisał:

minecraft:bow
minecraft:diamond_sword
minecraft:fire_charge

ma być bez minecraft:.

Poprawne nazwy:
bow, diamond sword i firecharge.

I jak chcesz nowe linijki w lore to użyj || zamiast %nl%

 

Odnośnik do komentarza
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ę...