Skocz do zawartości
  • 0

Problem ze skryptem! POMOCY!!!


DirectMC
 Udostępnij

Pytanie

Witam!
Mam taki problem. Robię obiecany skrypt tylko mam maly problem, a jestem tak jakby troche początkujący :v

 

[18:17:37] [Server thread/ERROR]: There's no block in a periodical event (test.sk, line 62: set event-block to {@mat1}')[18:17:37] [Server thread/ERROR]: '0.3' is not a time span (test.sk, line 63: wait {@czasglass}')[18:17:37] [Server thread/ERROR]: There's no block in a periodical event (test.sk, line 64: set event-block to {@mat2}')[18:17:37] [Server thread/ERROR]: '0.3' is not a time span (test.sk, line 65: wait {@czasglass}')[18:17:37] [Server thread/ERROR]: There's no block in a periodical event (test.sk, line 66: set event-block to {@mat3}')[18:17:37] [Server thread/ERROR]: '0.3' is not a time span (test.sk, line 67: wait {@czasglass}')[18:17:37] [Server thread/ERROR]: There's no block in a periodical event (test.sk, line 68: set event-block to {@mat4}')[18:17:37] [Server thread/ERROR]: '0.3' is not a time span (test.sk, line 69: wait {@czasglass}')[18:17:37] [Server thread/ERROR]: There's no block in a periodical event (test.sk, line 70: set event-block to {@mat5}')[18:17:37] [Server thread/ERROR]: '0.3' is not a time span (test.sk, line 71: wait {@czasglass}')[18:17:37] [Server thread/ERROR]: There's no block in a periodical event (test.sk, line 77: set event-block to {@mat11}')[18:17:37] [Server thread/ERROR]: '0.3' is not a time span (test.sk, line 78: wait {@czasglass}')[18:17:37] [Server thread/ERROR]: There's no block in a periodical event (test.sk, line 79: set event-block to {@mat12}')[18:17:37] [Server thread/ERROR]: '0.3' is not a time span (test.sk, line 80: wait {@czasglass}')[18:17:37] [Server thread/ERROR]: There's no block in a periodical event (test.sk, line 81: set event-block to {@mat13}')[18:17:37] [Server thread/ERROR]: '0.3' is not a time span (test.sk, line 82: wait {@czasglass}')[18:17:37] [Server thread/ERROR]: There's no block in a periodical event (test.sk, line 83: set event-block to {@mat14}')[18:17:37] [Server thread/ERROR]: '0.3' is not a time span (test.sk, line 84: wait {@czasglass}')[18:17:37] [Server thread/ERROR]: There's no block in a periodical event (test.sk, line 85: set event-block to {@mat15}')[18:17:37] [Server thread/ERROR]: '0.3' is not a time span (test.sk, line 86: wait {@czasglass}')[18:17:37] [Server thread/ERROR]: There's no block in a periodical event (test.sk, line 92: set event-block to {@mat6}')[18:17:37] [Server thread/ERROR]: '1' is not a time span (test.sk, line 93: wait {@czaswool}')[18:17:37] [Server thread/ERROR]: There's no block in a periodical event (test.sk, line 94: set event-block to {@mat7}')[18:17:37] [Server thread/ERROR]: '1' is not a time span (test.sk, line 95: wait {@czaswool}')[18:17:37] [Server thread/ERROR]: There's no block in a periodical event (test.sk, line 96: set event-block to {@mat8}')[18:17:37] [Server thread/ERROR]: '1' is not a time span (test.sk, line 97: wait {@czaswool}')[18:17:37] [Server thread/ERROR]: There's no block in a periodical event (test.sk, line 98: set event-block to {@mat9}')[18:17:37] [Server thread/ERROR]: '1' is not a time span (test.sk, line 99: wait {@czaswool}')[18:17:37] [Server thread/ERROR]: There's no block in a periodical event (test.sk, line 100: set event-block to {@mat10}')[18:17:37] [Server thread/ERROR]: '1' is not a time span (test.sk, line 101: wait {@czaswool}')

/
|
Moje errorki ;)


 

options:	mat1: red glass	mat2: green glass	mat3: yellow glass	mat4: blue glass	mat5: orange glass	mat6: red wool	mat7: green wool	mat8: yellow wool	mat9: blue wool	mat10: orange wool	mat11: red stained glass	mat12: green stained glass	mat13: yellow stained glass	mat14: blue stained glass	mat15: orange stained glass	czasglass: 0.3	czaswool: 1				on leftclick on glass pane:		set {_xpos1} to event-blockon leftclick on glass:		set {_xpos2} to event-block		on leftclick on wool:		set {_xpos3} to event-blockcommand /dekoracja:		trigger:				send "&c-- -- -- -- -- -- -- -- -- -- -- -- -- --"				send "&a               Dekoracja"				send "&c-- -- -- -- -- -- -- -- -- -- -- -- -- --"				send "&7/dekwelna - Daje welne dekoracyjna"				send "&7/dekszyba - Daje szybe dekoracyjna"				send "&7/dekszkloblock - Daje szklo dekoracyjne"command /dekwelna:		trigger:				give player 1 red wool named "&cWelna Dekoracyjna"command /dekszyba:		trigger:				give player 1 glass pane named "Szyba Dekoracyjna"command /dekszkloblock:		trigger:				give player 1 glass named "Szklo Dekoracyjne"																				every 2 tick:		if {_xpos1} is set:				if {_xpos3} is glass pane:						set event-block to {@mat1}						wait {@czasglass}						set event-block to {@mat2}						wait {@czasglass}						set event-block to {@mat3}						wait {@czasglass}						set event-block to {@mat4}						wait {@czasglass}						set event-block to {@mat5}						wait {@czasglass}every 2 tick:		if {_xpos2} is set:				if {_xpos2} is glass:						set event-block to {@mat11}						wait {@czasglass}						set event-block to {@mat12}						wait {@czasglass}						set event-block to {@mat13}						wait {@czasglass}						set event-block to {@mat14}						wait {@czasglass}						set event-block to {@mat15}						wait {@czasglass}				every 2 tick:		if {_xpos3} is set:				if {_xpos3} is wool:						set event-block to {@mat6}						wait {@czaswool}						set event-block to {@mat7}						wait {@czaswool}						set event-block to {@mat8}						wait {@czaswool}						set event-block to {@mat9}						wait {@czaswool}						set event-block to {@mat10}						wait {@czaswool}

/
|

Kodzik :)

Proszę o pomoc (Jestem trochę zielony xd) 


#EDIT
Z czasem juz sobie poradziłem!

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

5 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

Teraz mam taki problem, że nie ogarniam.
Wszystko już poprawiłem (0 errorów)
Ale napisana czynność nie wykonuje się!

 

KOD:

#Ustawienia - Mozesz konfigurowaćoptions:	mat1: red glass	mat2: green glass	mat3: yellow glass	mat4: blue glass	mat5: orange glass	mat6: red wool	mat7: green wool	mat8: yellow wool	mat9: blue wool	mat10: orange wool	mat11: red stained glass	mat12: green stained glass	mat13: yellow stained glass	mat14: blue stained glass	mat15: orange stained glass	mat16: redstone torch	mat17: torch	czasglass: 0.3 seconds	czaswool: 1 seconds	czastorch: 0.1 secondsvariables:	{welna.%player%} = 0	{szklo.%player%} = 0	{szyba.%player%} = 0			#Kod - Jezeli sie nie znasz, NIC NIE RUSZAJ!	on place glass pane:		set {_xpos1} to event-block		send "&7Ustawiles pozycje! Wpisz </dekon szyba>, aby wlaczyc dekoracje"on place glass:		set {_xpos2} to event-block		send "&7Ustawiles pozycje! Wpisz </dekon szklo>, aby wlaczyc dekoracje"		on place red wool:		set {_xpos3} to event-block		send "&7Ustawiles pozycje! Wpisz </dekon welna>, aby wlaczyc dekoracje"on place redstone torch:		set {_xpos4} to event-block		send "&7Ustawiles pozycje! Wpisz </dekon torch>, aby wlaczyc dekoracje"command /dekoracja:		trigger:				send "&c-- -- -- -- -- -- -- -- -- -- -- -- -- --"				send "&a               Dekoracja"				send "&c-- -- -- -- -- -- -- -- -- -- -- -- -- --"				send "&7/dekwelna - Daje welne dekoracyjna"				send "&7/dekszyba - Daje szybe dekoracyjna"				send "&7/dekszklo - Daje szklo dekoracyjne"				send "&7/dektorch - Daje swieczke dekoracyjna"				send "&7/dekon (rodzaj) - Wlacza dekoracje"				send "&7/dekoff (rodzaj) - Wylacza dekoracje"command /dekwelna:		trigger:				give player 1 red wool named "&cWelna Dekoracyjna"command /dekszyba:		trigger:				give player 1 glass pane named "&fSzyba Dekoracyjna"command /dekszklo:		trigger:				give player 1 glass named "&fSzklo Dekoracyjne"command /dektorch:		trigger:				give player 1 redstone torch named "&4Swieczka Dekoracyjna"command /dekon [<text>]:		trigger:				if arg 1 is not set:						send "&7Wpisz rodzaj bloku! (welna, szklo, szyba, torch)"				if arg 1 is "welna":						set {%arg 1%.%{_xpos3}%} to 1						send "&7Wlaczyles dekoracje na block %arg 1%!"						stop				if arg 1 is "szyba":						set {%arg 1%.%{_xpos1}%} to 1						send "&7Wlaczyles dekoracje na block %arg 1%!"						stop				if arg 1 is "szklo":						set {%arg 1%.%{_xpos2}%} to 1						send "&7Wlaczyles dekoracje na block %arg 1%!"						stop				if arg 1 is "torch":						set {%arg 1%.%{_xpos4}%} to 1						send "&7Wlaczyles dekoracje na block %arg 1%!"						stopcommand /dekoff [<text>]:		trigger:				if arg 1 is not set:						send "&7Wpisz rodzaj bloku! (welna, szklo, szyba, torch)"				if arg 1 is "welna":						set {%arg 1%.%{_xpos3}%} to 0						send "&7Wylaczyles dekoracje na block %arg 1%!"						stop				if arg 1 is "szyba":						set {%arg 1%.%{_xpos1}%} to 0						send "&7Wylaczyles dekoracje na block %arg 1%!"						stop				if arg 1 is "szklo":						set {%arg 1%.%{_xpos2}%} to 0						send "&7Wylaczyles dekoracje na block %arg 1%!"						stop				if arg 1 is "torch":						set {%arg 1%.%{_xpos4}%} to 0						send "&7Wylaczyles dekoracje na block %arg 1%!"						stop									every 0.5 second:		if {torch.%{_xpos4}%} is 1:				loop all blocks:						if {_xpos4} is set:								if block at {_xpos4} is redstone torch:										set block at {_xpos4} to {@mat16}										wait {@czastorch}										set block at {_xpos4} to {@mat17}										wait {@czastorch}												every 2 seconds:		if {szyba.%{_xpos1}%} is 1:				loop all blocks:						if {_xpos1} is set:								if block at {_xpos1} is glass pane:										set block at {_xpos1} to {@mat1}										wait {@czasglass}										set block at {_xpos1} to {@mat2}										wait {@czasglass}										set block at {_xpos1} to {@mat3}										wait {@czasglass}										set block at {_xpos1} to {@mat4}										wait {@czasglass}										set block at {_xpos1} to {@mat5}										wait {@czasglass}every 2 seconds:		if {szklo.%{_xpos2}%} is 1:				loop all blocks:						if {_xpos2} is set:								if block at {_xpos2} is glass:										set block at {_xpos1} to {@mat11}										wait {@czasglass}										set block at {_xpos1} to {@mat12}										wait {@czasglass}										set block at {_xpos1} to {@mat13}										wait {@czasglass}										set block at {_xpos1} to {@mat14}										wait {@czasglass}										set block at {_xpos1} to {@mat15}										wait {@czasglass}				every 5 seconds:		if {welna.%{_xpos3}%} is 1:				loop all blocks:						if {_xpos3} is set:								if block at {_xpos3} is wool:										set block at {_xpos1} to {@mat6}										wait {@czaswool}										set block at {_xpos1} to {@mat7}										wait {@czaswool}										set block at {_xpos1} to {@mat8}										wait {@czaswool}										set block at {_xpos1} to {@mat9}										wait {@czaswool}										set block at {_xpos1} to {@mat10}										wait {@czaswool}
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ę...