Skocz do zawartości
  • 0

Głowy


creepek

Pytanie

Witam,

Ostatnio natrafiłem na ten skrypt :D

Chciałbym go mieć ale...

On mi nie działa wywala w konsoli 18 errorów :(

Spoiler

[11:35:36 INFO]: [Skript] Reloading glowy.sk...
[11:35:36 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. (glowy.sk, line 1: ??o n   r i g h t   c l i c k   o n   b o n e :')
[11:35:36 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. (glowy.sk, line 3: l o o p   a l l   p l a y e r s :')
[11:35:36 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. (glowy.sk, line 21: i f   { _ s t r o n a }   p a r s e d   a s   n u m b e r   < =   { _ s t r o n y } :')
[11:35:36 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. (glowy.sk, line 29: l o o p   { _ g r a c z e : : * } :')
[11:35:36 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. (glowy.sk, line 33: i f   { _ s l o t }   i s   b e t w e e n   { _ m i n }   a n d   { _ m a x } :')
[11:35:36 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. (glowy.sk, line 35: i f   { _ s l o t }   < =   { _ n u m } :')
[11:35:36 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. (glowy.sk, line 37: i f   { _ s l o t }   i s   n o t   2 2 :')
[11:35:36 ERROR]: can't understand this event: '??o n   r i g h t   c l i c k   o n   b o n e ' (glowy.sk, line 1: ??o n   r i g h t   c l i c k   o n   b o n e :')
[11:35:36 ERROR]: can't understand this event: 'l o o p   a l l   p l a y e r s ' (glowy.sk, line 3: l o o p   a l l   p l a y e r s :')
[11:35:36 ERROR]: invalid line - all code has to be put into triggers (glowy.sk, line 5: a d d   l o o p - p l a y e r   t o   { _ g r a c z e : : * }')
[11:35:36 ERROR]: invalid line - all code has to be put into triggers (glowy.sk, line 7: w a i t   t i c k')
[11:35:36 ERROR]: invalid line - all code has to be put into triggers (glowy.sk, line 11: s e t   { _ s t r o n y }   t o   r o u n d e d   u p   ( s i z e   o f   { _ g r a c z e : : * } )   / 2 6')
[11:35:36 ERROR]: invalid line - all code has to be put into triggers (glowy.sk, line 15: s e t   { _ s t r o n a }   t o   1')
[11:35:36 ERROR]: invalid line - all code has to be put into triggers (glowy.sk, line 17: o p e n   c h e s t   w i t h   3   r o w s   n a m e d   " & 4 & n & l G r a c z e "   t o   { _ g }')
[11:35:36 ERROR]: invalid line - all code has to be put into triggers (glowy.sk, line 19: w a i t   2   t i c k s')
[11:35:36 ERROR]: can't understand this event: 'i f   { _ s t r o n a }   p a r s e d   a s   n u m b e r   < =   { _ s t r o n y } ' (glowy.sk, line 21: i f   { _ s t r o n a }   p a r s e d   a s   n u m b e r   < =   { _ s t r o n y } :')
[11:35:36 ERROR]: invalid line - all code has to be put into triggers (glowy.sk, line 23: s e t   { _ m a x }   t o   { _ s t r o n a }   p a r s e d   a s   n u m b e r * 2 6')
[11:35:36 ERROR]: invalid line - all code has to be put into triggers (glowy.sk, line 25: s e t   { _ m i n }   t o   { _ m a x }   -   2 6')
[11:35:36 ERROR]: invalid line - all code has to be put into triggers (glowy.sk, line 27: s e t   { _ n u m }   t o   s i z e   o f   { _ a r e n y : : * }')
[11:35:36 ERROR]: can't understand this event: 'l o o p   { _ g r a c z e : : * } ' (glowy.sk, line 29: l o o p   { _ g r a c z e : : * } :')
[11:35:36 ERROR]: invalid line - all code has to be put into triggers (glowy.sk, line 31: a d d   1   t o   { _ s l o t }')
[11:35:36 ERROR]: can't understand this event: 'i f   { _ s l o t }   i s   b e t w e e n   { _ m i n }   a n d   { _ m a x } ' (glowy.sk, line 33: i f   { _ s l o t }   i s   b e t w e e n   { _ m i n }   a n d   { _ m a x } :')
[11:35:36 ERROR]: can't understand this event: 'i f   { _ s l o t }   < =   { _ n u m } ' (glowy.sk, line 35: i f   { _ s l o t }   < =   { _ n u m } :')
[11:35:37 ERROR]: can't understand this event: 'i f   { _ s l o t }   i s   n o t   2 2 ' (glowy.sk, line 37: i f   { _ s l o t }   i s   n o t   2 2 :')
[11:35:37 ERROR]: invalid line - all code has to be put into triggers (glowy.sk, line 39: f o r m a t   s l o t   { _ s l o t } - 1   o f   p l a y e r   w i t h   1   o f   l o o p - v a l u e ' s   h e a d   o f   e n c h a n t i n g   n a m e d   " & a & l % l o o p - v a l u e % "   w i t h   l o r e   " K l i k n i j   a b y   s i e   t p ' n a c "   t o   c l o s e   t h e n   r u n   " s u d o   % p l a y e r %   t p   % p l a y e r %   % l o o p - v a l u e % "')
[11:35:37 INFO]: [Skript] Encountered 18 errors while reloading glowy.sk!

Więc proszę o pomoc :D

Dziękuję :]

Odnośnik do komentarza
https://skript.pl/temat/15667-g%C5%82owy/
Udostępnij na innych stronach

11 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
on right click:
	if player's tool is bone:
		open chest with 3 rows named "&cGracze" to player
		wait 1 ticks
		set {_liczba} to 0
		loop all players:
			if "%loop-player%" is not "%player%":
				set player's current inventory's slot {_liczba} to skull of loop-player named "&e&l%loop-player%"
				add 1 to {_liczba}

command /cozrobicztymgraczemasuigborgns [<player>]:
	trigger:
		wait 2 ticks
		open chest with 1 row named "&2PANEL GRACZA &e&l%arg 1% " to player
		wait 2 ticks
		format slot 0 of player with paper named "&aTeleportuj sie do &e&l%arg 1%" to close then run [execute player command "tp %player% %arg 1%"]

on inventory click:
	if "%inventory name of player's current inventory%" is "&cGracze":
		if slot is smaller than 0:
			stop
		if player's current inventory's slot slot is not air:
			cancel event
			execute player command "cozrobicztymgraczemasuigborgns %uncoloured name of player's current inventory's slot slot%"
		stop

Powinno dzialac.

Odnośnik do komentarza
https://skript.pl/temat/15667-g%C5%82owy/#findComment-107266
Udostępnij na innych stronach

  • 0
5 minut temu, SirGeorge napisał:

on right click:
	if player's tool is bone:
		open chest with 3 rows named "&cGracze" to player
		wait 1 ticks
		set {_liczba} to 0
		loop all players:
			if "%loop-player%" is not "%player%":
				set player's current inventory's slot {_liczba} to skull of loop-player named "&e&l%loop-player%"
				add 1 to {_liczba}

command /cozrobicztymgraczemasuigborgns [<player>]:
	trigger:
		wait 2 ticks
		open chest with 1 row named "&2PANEL GRACZA &e&l%arg 1% " to player
		wait 2 ticks
		format slot 0 of player with paper named "&aTeleportuj sie do &e&l%arg 1%" to close then run [execute player command "tp %player% %arg 1%"]

on inventory click:
	if "%inventory name of player's current inventory%" is "&cGracze":
		if slot is smaller than 0:
			stop
		if player's current inventory's slot slot is not air:
			cancel event
			execute player command "cozrobicztymgraczemasuigborgns %uncoloured name of player's current inventory's slot slot%"
		stop

Powinno dzialac.

Wywala 23 errory D:

Spoiler

[12:17:24 INFO]: [Skript] Reloading glowy.sk...
[12:17:24 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. (glowy.sk, line 1: ??o n   r i g h t   c l i c k :')
[12:17:24 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. (glowy.sk, line 3: i f   p l a y e r ' s   t o o l   i s   b o n e :')
[12:17:24 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. (glowy.sk, line 11: l o o p   a l l   p l a y e r s :')
[12:17:24 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. (glowy.sk, line 13: i f   " % l o o p - p l a y e r % "   i s   n o t   " % p l a y e r % " :')
[12:17:24 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. (glowy.sk, line 21: c o m m a n d   / c o z r o b i c z t y m g r a c z e m a s u i g b o r g n s   [ < p l a y e r > ] :')
[12:17:24 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. (glowy.sk, line 23: t r i g g e r :')
[12:17:24 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. (glowy.sk, line 35: o n   i n v e n t o r y   c l i c k :')
[12:17:24 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. (glowy.sk, line 37: i f   " % i n v e n t o r y   n a m e   o f   p l a y e r ' s   c u r r e n t   i n v e n t o r y % "   i s   " & c G r a c z e " :')
[12:17:24 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. (glowy.sk, line 39: i f   s l o t   i s   s m a l l e r   t h a n   0 :')
[12:17:24 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. (glowy.sk, line 43: i f   p l a y e r ' s   c u r r e n t   i n v e n t o r y ' s   s l o t   s l o t   i s   n o t   a i r :')
[12:17:24 ERROR]: can't understand this event: '??o n   r i g h t   c l i c k ' (glowy.sk, line 1: ??o n   r i g h t   c l i c k :')
[12:17:24 ERROR]: can't understand this event: 'i f   p l a y e r ' s   t o o l   i s   b o n e ' (glowy.sk, line 3: i f   p l a y e r ' s   t o o l   i s   b o n e :')
[12:17:24 ERROR]: invalid line - all code has to be put into triggers (glowy.sk, line 5: o p e n   c h e s t   w i t h   3   r o w s   n a m e d   " & c G r a c z e "   t o   p l a y e r')
[12:17:24 ERROR]: invalid line - all code has to be put into triggers (glowy.sk, line 7: w a i t   1   t i c k s')
[12:17:24 ERROR]: invalid line - all code has to be put into triggers (glowy.sk, line 9: s e t   { _ l i c z b a }   t o   0')
[12:17:24 ERROR]: can't understand this event: 'l o o p   a l l   p l a y e r s ' (glowy.sk, line 11: l o o p   a l l   p l a y e r s :')
[12:17:24 ERROR]: can't understand this event: 'i f   " % l o o p - p l a y e r % "   i s   n o t   " % p l a y e r % " ' (glowy.sk, line 13: i f   " % l o o p - p l a y e r % "   i s   n o t   " % p l a y e r % " :')
[12:17:24 ERROR]: invalid line - all code has to be put into triggers (glowy.sk, line 15: s e t   p l a y e r ' s   c u r r e n t   i n v e n t o r y ' s   s l o t   { _ l i c z b a }   t o   s k u l l   o f   l o o p - p l a y e r   n a m e d   " & e & l % l o o p - p l a y e r % "')
[12:17:24 ERROR]: invalid line - all code has to be put into triggers (glowy.sk, line 17: a d d   1   t o   { _ l i c z b a }')
[12:17:24 ERROR]: can't understand this event: 'c o m m a n d   / c o z r o b i c z t y m g r a c z e m a s u i g b o r g n s   [ < p l a y e r > ] ' (glowy.sk, line 21: c o m m a n d   / c o z r o b i c z t y m g r a c z e m a s u i g b o r g n s   [ < p l a y e r > ] :')
[12:17:24 ERROR]: can't understand this event: 't r i g g e r ' (glowy.sk, line 23: t r i g g e r :')
[12:17:24 ERROR]: invalid line - all code has to be put into triggers (glowy.sk, line 25: w a i t   2   t i c k s')
[12:17:24 ERROR]: invalid line - all code has to be put into triggers (glowy.sk, line 27: o p e n   c h e s t   w i t h   1   r o w   n a m e d   " & 2 P A N E L   G R A C Z A   & e & l % a r g   1 %   "   t o   p l a y e r')
[12:17:24 ERROR]: invalid line - all code has to be put into triggers (glowy.sk, line 29: w a i t   2   t i c k s')
[12:17:24 ERROR]: invalid line - all code has to be put into triggers (glowy.sk, line 31: f o r m a t   s l o t   0   o f   p l a y e r   w i t h   p a p e r   n a m e d   " & a T e l e p o r t u j   s i e   d o   & e & l % a r g   1 % "   t o   c l o s e   t h e n   r u n   [ e x e c u t e   p l a y e r   c o m m a n d   " t p   % p l a y e r %   % a r g   1 % " ]')
[12:17:24 ERROR]: can't understand this event: 'o n   i n v e n t o r y   c l i c k ' (glowy.sk, line 35: o n   i n v e n t o r y   c l i c k :')
[12:17:24 ERROR]: can't understand this event: 'i f   " % i n v e n t o r y   n a m e   o f   p l a y e r ' s   c u r r e n t   i n v e n t o r y % "   i s   " & c G r a c z e " ' (glowy.sk, line 37: i f   " % i n v e n t o r y   n a m e   o f   p l a y e r ' s   c u r r e n t   i n v e n t o r y % "   i s   " & c G r a c z e " :')
[12:17:24 ERROR]: can't understand this event: 'i f   s l o t   i s   s m a l l e r   t h a n   0 ' (glowy.sk, line 39: i f   s l o t   i s   s m a l l e r   t h a n   0 :')
[12:17:24 ERROR]: invalid line - all code has to be put into triggers (glowy.sk, line 41: s t o p')
[12:17:24 ERROR]: can't understand this event: 'i f   p l a y e r ' s   c u r r e n t   i n v e n t o r y ' s   s l o t   s l o t   i s   n o t   a i r ' (glowy.sk, line 43: i f   p l a y e r ' s   c u r r e n t   i n v e n t o r y ' s   s l o t   s l o t   i s   n o t   a i r :')
[12:17:24 ERROR]: invalid line - all code has to be put into triggers (glowy.sk, line 45: c a n c e l   e v e n t')
[12:17:24 ERROR]: invalid line - all code has to be put into triggers (glowy.sk, line 47: e x e c u t e   p l a y e r   c o m m a n d   " c o z r o b i c z t y m g r a c z e m a s u i g b o r g n s   % u n c o l o u r e d   n a m e   o f   p l a y e r ' s   c u r r e n t   i n v e n t o r y ' s   s l o t   s l o t % "')
[12:17:24 ERROR]: invalid line - all code has to be put into triggers (glowy.sk, line 49: s t o p')
[12:17:24 INFO]: [Skript] Encountered 23 errors while reloading glowy.sk!

 

Odnośnik do komentarza
https://skript.pl/temat/15667-g%C5%82owy/#findComment-107267
Udostępnij na innych stronach

  • 0
2 minuty temu, wiktorelex napisał:

SkQuerty mam ale WildSkript nie

To pobierz go stąd: http://republicansensei.com/

Na localhoście z SkQuery i WildSkriptem całość przeładowuje się bez żadnego błędu.

Odnośnik do komentarza
https://skript.pl/temat/15667-g%C5%82owy/#findComment-107270
Udostępnij na innych stronach

  • 0
2 minuty temu, xVendrome napisał:

To pobierz go stąd: http://republicansensei.com/

Na localhoście z SkQuery i WildSkriptem całość przeładowuje się bez żadnego błędu.

No wgrałem i dalej te nieszczęsne ERRORY

Odnośnik do komentarza
https://skript.pl/temat/15667-g%C5%82owy/#findComment-107271
Udostępnij na innych stronach

  • 0
3 minuty temu, SirGeorge napisał:

No to pewnie SkQuery masz ze starsza wersja, badz skript, pobierz najnowsze wersje u mnie dziala bez problemu

Zainstalowałem skript 1.7-1.8 bo mam spigota 1.7-1.8 z tej strony

I nie działa :(

Edytowane przez wiktorelex
Odnośnik do komentarza
https://skript.pl/temat/15667-g%C5%82owy/#findComment-107273
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ę...