Skocz do zawartości
  • 0

empty configuration section, identation error i inne...


mateuszeqq13212
 Udostępnij

Pytanie

Cześć. Napisałem mały skrypt, lecz on nie działa pomoże ktoś ? Zarejestruj się lub zaloguj, aby zobaczyć ukrytą treść!
@mateuszeqq13212 1. Zła nazwa tematu, 2. Jest ten temat po coś!

 

Spoiler

 

Spoiler

Błędy:

2017-07-04 23:30:05 [INFO] [Skript] Reloading itemy.sk...
2017-07-04 23:30:05 [WARNING] 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. (itemy.sk, line 1: 'opitions:')
2017-07-04 23:30:05 [SEVERE] indentation error: expected 2 tabs, but found '__->->' [-> = tab, _ = space, ? = other whitespace] (itemy.sk, line 10: 'send "&8[&cMc&4PvP&8] &7Nie masz odpowiednich przedmiotow aby zalozyc gildie! Wpisz /itemy gracz aby zobaczyc potrzebne Ci itemy." to player')
2017-07-04 23:30:05 [SEVERE] indentation error: expected 0 tabs, but found 1 tab (itemy.sk, line 15: 'if {itemy.g.%player%} is false:')
2017-07-04 23:30:05 [SEVERE] indentation error: expected 0 tabs, but found 2 tabs (itemy.sk, line 16: 'canel event')
2017-07-04 23:30:05 [SEVERE] indentation error: expected 0 tabs, but found 2 tabs (itemy.sk, line 17: 'stop')
2017-07-04 23:30:05 [SEVERE] indentation error: expected 0 tabs, but found 1 tab (itemy.sk, line 20: 'if {itemy.g.%player%} is true:')
2017-07-04 23:30:05 [SEVERE] indentation error: expected 0 tabs, but found 2 tabs (itemy.sk, line 21: 'uncanel event')
2017-07-04 23:30:05 [SEVERE] indentation error: expected 3 tabs, but found '__->->->' [-> = tab, _ = space, ? = other whitespace] (itemy.sk, line 61: 'send "&8[&cMc&4PvP&8] &7Nie masz odpowiednich przedmiotow aby zalozyc gildie! Wpisz /itemy vip aby zobaczyc potrzebne Ci itemy." to player')
2017-07-04 23:30:05 [SEVERE] can't understand this event: 'opitions' (itemy.sk, line 1: 'opitions:')
2017-07-04 23:30:05 [SEVERE] invalid line - all code has to be put into triggers (itemy.sk, line 2: '� � {itemy.g.%player%} = false')
2017-07-04 23:30:05 [SEVERE] Unexpected entry 'else'. Check whether it's spelled correctly or remove it. (itemy.sk, line 9: 'else:')
2017-07-04 23:30:06 [SEVERE] '64 tnt and 64 stone and 64 diamond 64 iron ingot 64 gold ingot and 64 emerald ingot' is not an item type (itemy.sk, line 6: 'if player has 64 tnt and 64 stone and 64 diamond 64 iron ingot 64 gold ingot and 64 emerald ingot:')
2017-07-04 23:30:06 [SEVERE] invalid line - all code has to be put into triggers (itemy.sk, line 14: 'on command "/f create "')
2017-07-04 23:30:06 [SEVERE] invalid line - all code has to be put into triggers (itemy.sk, line 19: 'on command "/f create "')
2017-07-04 23:30:06 [SEVERE] '32 tnt and 32 stone and 32 diamond 32 iron ingot 32 gold ingot and 32 emerald ingot' is not an item type (itemy.sk, line 56: 'if player has 32 tnt and 32 stone and 32 diamond 32 iron ingot 32 gold ingot and 32 emerald ingot:')
2017-07-04 23:30:06 [SEVERE] 'else' has to be placed just after an 'if' or 'else if' section (itemy.sk, line 60: 'else:')
2017-07-04 23:30:06 [INFO] [Skript] Encountered 15 errors while reloading itemy.sk!
Edytowane przez PoweredDragon
Odnośnik do komentarza
Udostępnij na innych stronach

4 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

Linia 01 - "Opitions" pisze się "Options" (+ to co wpisałeś w options powinno być w "variables:")
Linia 9 i 10 - Dodaj po jednym tabie
Linia 10 - Masz taby i spacje
Linia 14 i 19 - Nie ma dwu kropka na końcu
Linia 16 - Pisze się "cancel event"
Linia 21 - Nie ma czegoś takiego
Linia 24 - Zamień "set {itemy.g} to false" na "set {itemy.g.%player%} to false" (Jest to nie potrzebne jeżeli zrobisz to w variables)
Linia 61 - Taby i spacje

Emerald to emerald a nie emerald ingot

 

Wypisałem ci błędy, teraz je sobie popraw ( ͡° ͜ʖ ͡°)

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
4 godziny temu, Bananowiec napisał:

Zarejestruj się lub zaloguj, aby zobaczyć ukrytą treść!

Nie działa.

 

6 godzin temu, MegaLegoTom napisał:

Linia 01 - "Opitions" pisze się "Options" (+ to co wpisałeś w options powinno być w "variables:")
Linia 9 i 10 - Dodaj po jednym tabie
Linia 10 - Masz taby i spacje
Linia 14 i 19 - Nie ma dwu kropka na końcu
Linia 16 - Pisze się "cancel event"
Linia 21 - Nie ma czegoś takiego
Linia 24 - Zamień "set {itemy.g} to false" na "set {itemy.g.%player%} to false" (Jest to nie potrzebne jeżeli zrobisz to w variables)
Linia 61 - Taby i spacje

Emerald to emerald a nie emerald ingot

 

Wypisałem ci błędy, teraz je sobie popraw ( ͡° ͜ʖ ͡°)

Poprawiłem lecz dalej są błędy.

Spoiler
2017-07-05 16:10:44 [INFO] [Skript] Reloading itemy.sk...
2017-07-05 16:10:44 [WARNING] 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. (itemy.sk, line 1: 'variables:')
2017-07-05 16:10:44 [WARNING] 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. (itemy.sk, line 9: 'else:')
2017-07-05 16:10:44 [WARNING] 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. (itemy.sk, line 20: 'if {itemy.g.%player%} is true:')
2017-07-05 16:10:44 [SEVERE] invalid line - all code has to be put into triggers (itemy.sk, line 2: '� � {itemy.g.%player%} = false')
2017-07-05 16:10:44 [SEVERE] 'else' has to be placed just after an 'if' or 'else if' section (itemy.sk, line 9: 'else:')
2017-07-05 16:10:44 [INFO] [Skript] Encountered 2 errors while reloading itemy.sk!

 

Odnośnik do komentarza
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
 Udostępnij

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

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