Skocz do zawartości
  • 0

Prośba o przetestowanie skryptu


Pytanie

Czy może ktoś przetestować ten skrypt czy nie ma errorów itp ponieważ nie mam dostępu do mojego serwera z góry dzięki

https://code.skript.pl/v37T0QO1

Nicku

Zmieniam nazwę tematu na bardziej pasującą do pytania.

Notatka dodana przez Nicku

Odnośnik do komentarza
https://skript.pl/temat/27633-pro%C5%9Bba-o-przetestowanie-skryptu/
Udostępnij na innych stronach

5 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
[19:45:30 INFO]: [Skript] Reloading asd.sk...
[19:45:30 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (asd.sk, line 110: if player's tool is chest named "&7[&aC&ba&cs&de&7]":')
[19:45:30 ERROR]: indentation error: expected 0 spaces, but found 4 spaces (asd.sk, line 204: permission: {@pex}')
[19:45:30 ERROR]: indentation error: expected 0 spaces, but found 4 spaces (asd.sk, line 205: permission message: {@wdpex}')
[19:45:30 ERROR]: indentation error: expected 0 spaces, but found 4 spaces (asd.sk, line 206: trigger:')
[19:45:30 ERROR]: indentation error: expected 0 spaces, but found 8 spaces (asd.sk, line 207: open chest with 3 rows named ""&aC&ba&cs&de to player')
[19:45:30 ERROR]: indentation error: expected 0 spaces, but found 8 spaces (asd.sk, line 208: format slot 0 of player with 1 of 160:7 named "" to be unstealable')
[19:45:30 ERROR]: indentation error: expected 0 spaces, but found 8 spaces (asd.sk, line 209: format slot 1 of player with 1 of 160:7 named "" to be unstealable')
[19:45:30 ERROR]: indentation error: expected 0 spaces, but found 8 spaces (asd.sk, line 210: format slot 2 of player with 1 of 160:7 named "" to be unstealable')
[19:45:30 ERROR]: indentation error: expected 0 spaces, but found 8 spaces (asd.sk, line 211: format slot 3 of player with 1 of 160:7 named "" to be unstealable')
[19:45:30 ERROR]: indentation error: expected 0 spaces, but found 8 spaces (asd.sk, line 212: format slot 4 of player with 1 of 160:7 named "" to be unstealable')
[19:45:30 ERROR]: indentation error: expected 0 spaces, but found 8 spaces (asd.sk, line 213: format slot 5 of player with 1 of 160:7 named "" to be unstealable')
[19:45:30 ERROR]: indentation error: expected 0 spaces, but found 8 spaces (asd.sk, line 214: format slot 6 of player with 1 of 160:7 named "" to be unstealable')
[19:45:30 ERROR]: indentation error: expected 0 spaces, but found 8 spaces (asd.sk, line 215: format slot 7 of player with 1 of 160:7 named "" to be unstealable')
[19:45:30 ERROR]: indentation error: expected 0 spaces, but found 8 spaces (asd.sk, line 216: format slot 8 of player with 1 of 160:7 named "" to be unstealable')
[19:45:30 ERROR]: indentation error: expected 0 spaces, but found 8 spaces (asd.sk, line 217: format slot 9 of player with 1 of 160:7 named "" to be unstealable')
[19:45:30 ERROR]: indentation error: expected 0 spaces, but found 8 spaces (asd.sk, line 218: format slot 10 of player with 1 of 160:7 named "" to be unstealable')
[19:45:30 ERROR]: indentation error: expected 0 spaces, but found 8 spaces (asd.sk, line 219: format slot 11 of player with 1 of 160:7 named "" to be unstealable')
[19:45:30 ERROR]: indentation error: expected 0 spaces, but found 8 spaces (asd.sk, line 220: format slot 15 of player with 1 of 160:7 named "" to be unstealable')
[19:45:30 ERROR]: indentation error: expected 0 spaces, but found 8 spaces (asd.sk, line 221: format slot 16 of player with 1 of 160:7 named "" to be unstealable')
[19:45:30 ERROR]: indentation error: expected 0 spaces, but found 8 spaces (asd.sk, line 222: format slot 17 of player with 1 of 160:7 named "" to be unstealable')
[19:45:30 ERROR]: indentation error: expected 0 spaces, but found 8 spaces (asd.sk, line 223: format slot 18 of player with 1 of 160:7 named "" to be unstealable')
[19:45:30 ERROR]: indentation error: expected 0 spaces, but found 8 spaces (asd.sk, line 224: format slot 19 of player with 1 of 160:7 named "" to be unstealable')
[19:45:30 ERROR]: indentation error: expected 0 spaces, but found 8 spaces (asd.sk, line 225: format slot 20 of player with 1 of 160:7 named "" to be unstealable')
[19:45:30 ERROR]: indentation error: expected 0 spaces, but found 8 spaces (asd.sk, line 226: format slot 21 of player with 1 of 160:7 named "" to be unstealable')
[19:45:30 ERROR]: indentation error: expected 0 spaces, but found 8 spaces (asd.sk, line 227: format slot 22 of player with 1 of 160:7 named "" to be unstealable')
[19:45:30 ERROR]: indentation error: expected 0 spaces, but found 8 spaces (asd.sk, line 228: format slot 23 of player with 1 of 160:7 named "" to be unstealable')
[19:45:30 ERROR]: indentation error: expected 0 spaces, but found 8 spaces (asd.sk, line 229: format slot 24 of player with 1 of 160:7 named "" to be unstealable')
[19:45:30 ERROR]: indentation error: expected 0 spaces, but found 8 spaces (asd.sk, line 230: format slot 25 of player with 1 of 160:7 named "" to be unstealable')
[19:45:30 ERROR]: indentation error: expected 0 spaces, but found 8 spaces (asd.sk, line 231: format slot 26 of player with 1 of 160:7 named "" to be unstealable')
[19:45:30 ERROR]: indentation error: expected 0 spaces, but found 8 spaces (asd.sk, line 232: format slot 12 of player with 1 of case named "&cGive &eAll" with lore "&dDaje wszystkim gracz╣ jednego &aC&ba&cs&de" to run [execute player command "/caseall 1"]')
[19:45:30 ERROR]: indentation error: expected 0 spaces, but found 8 spaces (asd.sk, line 233: format slot 14 of player with 1 of case named "&cGive &aYou" with lore "&dDaje tobie jednego &aC&ba&cs&de" to run [execute player command "/give chest 1 name:"&7[&aC&ba&cs&de&7]" to player"]')
[19:45:30 ERROR]: 'perlile x&d16' is not an entry (like 'name : value') (asd.sk, line 25: perlile x&d16')
[19:45:30 ERROR]: Can't compare a slot with an inventory (asd.sk, line 40: if player's tool is chest named "&7[&aC&ba&cs&de&7]":')
[19:45:30 ERROR]: Invalid amount of [optional brackets] (asd.sk, line 193: command /caseall [<text>:')
[19:45:30 ERROR]: invalid line - all code has to be put into triggers (asd.sk, line 203: command /case [<text}>]')
[19:45:30 INFO]: [Skript] Encountered 34 errors while reloading asd.sk!

 

Edytowane przez nicku1
Nicku

Wrzucam w kod.

Notatka dodana przez Nicku

Odnośnik do komentarza
https://skript.pl/temat/27633-pro%C5%9Bba-o-przetestowanie-skryptu/#findComment-182851
Udostępnij na innych stronach

  • 0

[19:45:30 ERROR]: 'perlile x&d16' is not an entry (like 'name : value') (asd.sk, line 25: perlile x&d16')
[19:45:30 ERROR]: Can't compare a slot with an inventory (asd.sk, line 40: if player's tool is chest named "&7[&aC&ba&cs&de&7]":')
[19:45:30 ERROR]: Invalid amount of [optional brackets] (asd.sk, line 193: command /caseall [<text>:')

[19:45:30 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (asd.sk, line 110: if player's tool is chest named "&7[&aC&ba&cs&de&7]":')

 

^ takie błędy są.

Z tego 3ci to nie zamknięty nawias kwadratowy.

 

on place of chest:
    if player is holding chest:
        if player's tool is chest named "&7[&aC&ba&cs&de&7]"

^ tak naprawiasz błąd nr 2 w swoim skripcie

Edytowane przez Mrkogutmrkgt
Odnośnik do komentarza
https://skript.pl/temat/27633-pro%C5%9Bba-o-przetestowanie-skryptu/#findComment-182887
Udostępnij na innych stronach

Dołącz do dyskusji

Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.

Nieaktywny
Odpowiedz na pytanie...

×   Wklejono zawartość z formatowaniem.   Usuń formatowanie

  Dozwolonych jest tylko 75 emoji.

×   Odnośnik został automatycznie osadzony.   Przywróć wyświetlanie jako odnośnik

×   Przywrócono poprzednią zawartość.   Wyczyść edytor

×   Nie możesz bezpośrednio wkleić grafiki. Dodaj lub załącz grafiki z adresu URL.

  • Ostatnio przeglądający   0 użytkowników

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