Skocz do zawartości
  • 0

Skrypt na ulepszenie swojej rangi


Pytanie

tak jak w temacie... napisałem skrypt na ulepszenie swojej rangi... i mi wyskakuje z 42 błędów jak przeładowuje skrypt ( i niedziała... )

pomoże ktoś? i mi poprawi skrypt, z góry dziękuję

options:
    guiulepsz: &9&lUlepsz
    prefix: &9&lUlepsz
    7: &7
    arrow: &8»
variables:
    {ulepsz_ranga::%player%} = 999
command /ulepsz [<text>]:
 {obecna_ranga::%player%} is 991:
    trigger:
        wait 0.1 second
        close player's inventory
        open chest with 1 rows named "{@guiulepsz}" to player
        loop 9 times:
        set player's current inventory's slot loop-number -1 to gray glass pane named "{@7} "
        set player's current inventory's slot 3 to ("MHF_Present1" parsed as offline player)'s skull named "&3Ulepsz" with lore "{@7} ||{@7} Wyglad po ulepszeniu:||&7GRACZ &6-> &a[VIP] %player% ||{@arrow} &eKliknij, aby ulepszyc swoja range!||{@7} "
        set player's current inventory's slot 5 to ("MHF_Present2" parsed as offline player)'s skull named "&3Kup" with lore "{@7} ||{@arrow} &7Kliknij, aby otworzyc menu kupowania rang&8!||{@7} "
	else:
 {obecna_ranga::%player%} is 993:
		wait 0.1 second
        close player's inventory
        open chest with 1 rows named "{@guiulepsz}" to player
        loop 9 times:
        set player's current inventory's slot loop-number -1 to gray glass pane named "{@7} "
        set player's current inventory's slot 3 to ("MHF_Present1" parsed as offline player)'s skull named "&3Ulepsz" with lore "{@7} ||{@7} Wyglad po ulepszeniu:||&a[VIP] {@arrow} &a[VIP&c+] %player% ||{@arrow} &eKliknij, aby ulepszyc swoja range!||{@7} "
        set player's current inventory's slot 5 to ("MHF_Present2" parsed as offline player)'s skull named "&3Kup" with lore "{@7} ||{@arrow} &7Kliknij, aby otworzyc menu kupowania rang&8!||{@7} "

nie wiem czy na pewno... ale chyba źle ustawiłem to wszystko....

Edytowane przez Wojciu
Odnośnik do komentarza
https://skript.pl/temat/40222-skrypt-na-ulepszenie-swojej-rangi/
Udostępnij na innych stronach

10 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

 

6768.png

 

btw nwm czm ale skript mi wywala

każda wersja

nwm czm, ale chyba mi jakiś skrypt wywala...

gdy wpisuję /sk reload BlinksUlepsz.sk

dalsza część błędów skryptu w konsoli

 

link:

Dk3Sb07.png

 

jeszcze dalsza część...

nl8MBO8.png

 

mogę też dodać logi servera.... z all błędami...

Edytowane przez Wojciu
Wojciu

Łączę posty, następnym razem proszę użyć opcji edytuj post i nie spamować bezsensownie, a screeny/zdjęcia wrzucać na np. https://imgur.com/ , a nie jakieś randomowe hostingi.

Notatka dodana przez Wojciu

Odnośnik do komentarza
https://skript.pl/temat/40222-skrypt-na-ulepszenie-swojej-rangi/#findComment-251435
Udostępnij na innych stronach

  • 0

już mam

 

zaraz wyślę zdj

 

[17:14:29] [Server thread/INFO]: [0;37;22m[[0;33;22mSkript[0;37;22m][m Reloading [0;33;22mBlinksUlepsz.sk[m...[m
[17:14:29] [Server thread/ERROR]: indentation error: expected 2 spaces, but found 4 spaces (BlinksUlepsz.sk, line 10: trigger:')
[17:14:29] [Server thread/ERROR]: indentation error: expected 2 spaces, but found 8 spaces (BlinksUlepsz.sk, line 11: wait 0.1 second')
[17:14:29] [Server thread/ERROR]: indentation error: expected 2 spaces, but found 8 spaces (BlinksUlepsz.sk, line 12: close player's inventory')
[17:14:29] [Server thread/ERROR]: indentation error: expected 2 spaces, but found 8 spaces (BlinksUlepsz.sk, line 13: open chest with 1 rows named "{@guiulepsz}" to player')
[17:14:29] [Server thread/ERROR]: indentation error: expected 2 spaces, but found 8 spaces (BlinksUlepsz.sk, line 14: loop 9 times:')
[17:14:29] [Server thread/ERROR]: indentation error: expected 2 spaces, but found 8 spaces (BlinksUlepsz.sk, line 15: set player's current inventory's slot loop-number -1 to gray glass pane named "{@7} "')
[17:14:29] [Server thread/ERROR]: indentation error: expected 2 spaces, but found 8 spaces (BlinksUlepsz.sk, line 16: set player's current inventory's slot 3 to ("MHF_Present1" parsed as offline player)'s skull named "&3Ulepsz" with lore "{@7} ||{@7} Wyglad po ulepszeniu:||&7GRACZ &6-> &a[VIP] %player% ||{@arrow} &eKliknij, aby ulepszyc swoja range!||{@7} "')
[17:14:29] [Server thread/ERROR]: indentation error: expected 2 spaces, but found 8 spaces (BlinksUlepsz.sk, line 17: set player's current inventory's slot 5 to ("MHF_Present2" parsed as offline player)'s skull named "&3Kup" with lore "{@7} ||{@arrow} &7Kliknij, aby otworzyc menu kupowania rang&8!||{@7} "')
[17:14:29] [Server thread/ERROR]: indentation error: expected 2 spaces, but found 1 tab (BlinksUlepsz.sk, line 18: else:')
[17:14:29] [Server thread/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. (BlinksUlepsz.sk, line 9: {obecna_ranga::%player%} is 991:')
[17:14:29] [Server thread/ERROR]: indentation error: expected 2 spaces, but found 2 tabs (BlinksUlepsz.sk, line 20: wait 0.1 second')
[17:14:29] [Server thread/ERROR]: indentation error: expected 2 spaces, but found 8 spaces (BlinksUlepsz.sk, line 21: close player's inventory')
[17:14:29] [Server thread/ERROR]: indentation error: expected 2 spaces, but found 8 spaces (BlinksUlepsz.sk, line 22: open chest with 1 rows named "{@guiulepsz}" to player')
[17:14:29] [Server thread/ERROR]: indentation error: expected 2 spaces, but found 8 spaces (BlinksUlepsz.sk, line 23: loop 9 times:')
[17:14:29] [Server thread/ERROR]: indentation error: expected 2 spaces, but found 8 spaces (BlinksUlepsz.sk, line 24: set player's current inventory's slot loop-number -1 to gray glass pane named "{@7} "')
[17:14:29] [Server thread/ERROR]: indentation error: expected 2 spaces, but found 8 spaces (BlinksUlepsz.sk, line 25: set player's current inventory's slot 3 to ("MHF_Present1" parsed as offline player)'s skull named "&3Ulepsz" with lore "{@7} ||{@7} Wyglad po ulepszeniu:||&a[VIP] {@arrow} &a[VIP&c+] %player% ||{@arrow} &eKliknij, aby ulepszyc swoja range!||{@7} "')
[17:14:29] [Server thread/ERROR]: indentation error: expected 2 spaces, but found 8 spaces (BlinksUlepsz.sk, line 26: set player's current inventory's slot 5 to ("MHF_Present2" parsed as offline player)'s skull named "&3Kup" with lore "{@7} ||{@arrow} &7Kliknij, aby otworzyc menu kupowania rang&8!||{@7} "')
[17:14:29] [Server thread/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. (BlinksUlepsz.sk, line 19: {obecna_ranga::%player%} is 993:')
[17:14:29] [Server thread/ERROR]: indentation error: expected 4 spaces, but found 1 tab (BlinksUlepsz.sk, line 30: stop')
[17:14:29] [Server thread/ERROR]: indentation error: expected 4 spaces, but found 1 tab (BlinksUlepsz.sk, line 33: stop')
[17:14:29] [Server thread/ERROR]: indentation error: expected 4 spaces, but found 1 tab (BlinksUlepsz.sk, line 36: stop')
[17:14:29] [Server thread/ERROR]: indentation error: expected 4 spaces, but found 1 tab (BlinksUlepsz.sk, line 39: stop')
[17:14:29] [Server thread/ERROR]: indentation error: expected 4 spaces, but found 1 tab (BlinksUlepsz.sk, line 42: stop')
[17:14:29] [Server thread/ERROR]: indentation error: expected 4 spaces, but found 1 tab (BlinksUlepsz.sk, line 45: stop')
[17:14:29] [Server thread/ERROR]: indentation error: expected 4 spaces, but found 1 tab (BlinksUlepsz.sk, line 48: stop')
[17:14:29] [Server thread/ERROR]: indentation error: expected 4 spaces, but found 1 tab (BlinksUlepsz.sk, line 51: stop')
[17:14:29] [Server thread/ERROR]: indentation error: expected 4 spaces, but found 1 tab (BlinksUlepsz.sk, line 54: stop')
[17:14:29] [Server thread/ERROR]: indentation error: expected 4 spaces, but found 1 tab (BlinksUlepsz.sk, line 57: stop')
[17:14:29] [Server thread/ERROR]: indentation error: expected 4 spaces, but found 1 tab (BlinksUlepsz.sk, line 60: stop')
[17:14:29] [Server thread/ERROR]: indentation error: expected 4 spaces, but found 1 tab (BlinksUlepsz.sk, line 63: stop')
[17:14:29] [Server thread/ERROR]: indentation error: expected 4 spaces, but found 1 tab (BlinksUlepsz.sk, line 66: stop')
[17:14:29] [Server thread/ERROR]: indentation error: expected 4 spaces, but found 1 tab (BlinksUlepsz.sk, line 69: stop')
[17:14:29] [Server thread/ERROR]: indentation error: expected 4 spaces, but found 1 tab (BlinksUlepsz.sk, line 72: stop')
[17:14:29] [Server thread/ERROR]: Required entry 'trigger' is missing in 'command /ulepsz [<text>]' (BlinksUlepsz.sk, starting at line 8) (BlinksUlepsz.sk, line 8: command /ulepsz [<text>]:')
[17:14:29] [Server thread/ERROR]: Unexpected entry '{obecna_ranga::%player%} is 991'. Check whether it's spelled correctly or remove it. (BlinksUlepsz.sk, line 9: {obecna_ranga::%player%} is 991:')
[17:14:29] [Server thread/ERROR]: Unexpected entry '{obecna_ranga::%player%} is 993'. Check whether it's spelled correctly or remove it. (BlinksUlepsz.sk, line 19: {obecna_ranga::%player%} is 993:')
[17:14:29] [Server thread/INFO]: [0;37;22m[[0;33;22mSkript[0;37;22m][m [0;31;22mEncountered 34 errors while reloading [0;33;22mBlinksUlepsz.sk[m![m

log z konsoli po przeładowaniu skryptu

 

aa, już wiem.... *mniej więcej*

 

[17:31:31] [Server thread/INFO]: [0;37;22m[[0;33;22mSkript[0;37;22m][m Reloading [0;33;22mBlinksUlepsz.sk[m...[m
[17:31:31] [Server thread/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. (BlinksUlepsz.sk, line 10: trigger:')
[17:31:31] [Server thread/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. (BlinksUlepsz.sk, line 14: loop 9 times:')
[17:31:31] [Server thread/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. (BlinksUlepsz.sk, line 18: else:')
[17:31:31] [Server thread/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. (BlinksUlepsz.sk, line 23: loop 9 times:')
[17:31:31] [Server thread/ERROR]: indentation error: expected 4 spaces, but found 3 spaces (BlinksUlepsz.sk, line 29: stop')
[17:31:31] [Server thread/ERROR]: Required entry 'trigger' is missing in 'command /ulepsz [<text>]' (BlinksUlepsz.sk, starting at line 8) (BlinksUlepsz.sk, line 8: command /ulepsz [<text>]:')
[17:31:31] [Server thread/ERROR]: Unexpected entry '{obecna_ranga::%player%} is 991'. Check whether it's spelled correctly or remove it. (BlinksUlepsz.sk, line 9: {obecna_ranga::%player%} is 991:')
[17:31:31] [Server thread/ERROR]: Unexpected entry '{obecna_ranga::%player%} is 993'. Check whether it's spelled correctly or remove it. (BlinksUlepsz.sk, line 19: {obecna_ranga::%player%} is 993:')
[17:31:31] [Server thread/INFO]: [0;37;22m[[0;33;22mSkript[0;37;22m][m [0;31;22mEncountered 4 errors while reloading [0;33;22mBlinksUlepsz.sk[m![m

dobra już wiem.... teraz lece naprawić wszystkie skrypty... 

a co oznacza to:

[17:31:31] [Server thread/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. (BlinksUlepsz.sk, line 10: trigger:')
[17:31:31] [Server thread/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. (BlinksUlepsz.sk, line 14: loop 9 times:')
[17:31:31] [Server thread/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. (BlinksUlepsz.sk, line 18: else:')
[17:31:31] [Server thread/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. (BlinksUlepsz.sk, line 23: loop 9 times:')

?

options:
    guiulepsz: &9&lUlepsz
    prefix: &9&lUlepsz
    7: &7
    arrow: &8»
variables:
    {ulepsz_ranga::%player%} = 999
command /ulepsz:
    trigger:
	  if player has permission "nte.gracz":
        open chest with 1 rows named "&9&lUlepsz" to player
        wait 2 tick
		set player's current inventory's slot 3 to ("MHF_Present1" parsed as offline player)'s skull named "&3Ulepsz" with lore "{@7} ||{@7} Wyglad po ulepszeniu:||&7GRACZ &6-> &a[VIP] %player% ||{@arrow} &eKliknij, aby ulepszyc swoja range!||{@7} "
        set player's current inventory's slot 5 to ("MHF_Present2" parsed as offline player)'s skull named "&3Kup" with lore "{@7} ||{@arrow} &7Kliknij, aby otworzyc menu kupowania rang&8!||{@7} "	
on inventory click:
 if inventory name of current inventory of player is "&9&lUlepsz":
  cancel event
  if clicked slot is 3:
   execute player command "yculepsz vip"
   close player's inventory
  if clicked slot is 5:
   execute player command "ycsklep"
   close player's inventory

em... nawet to nie działa.... pomoże ktoś?

ss konsoli:

https://imgur.com/a/7oM9qVA

Edytowane przez MaTrIS
Wojciu

Łączę

Notatka dodana przez Wojciu

Odnośnik do komentarza
https://skript.pl/temat/40222-skrypt-na-ulepszenie-swojej-rangi/#findComment-251502
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ę...