Filiperys 2 Opublikowano 28 października 2020 Udostępnij Opublikowano 28 października 2020 Co tu jest nie tak? Cytuj Odnośnik do komentarza https://skript.pl/temat/42339-jestem-nowy-mysterybox/ Udostępnij na innych stronach Więcej opcji udostępniania...
0 Kormic 1951 Opublikowano 28 października 2020 Udostępnij Opublikowano 28 października 2020 Godzinę temu, Filiperys napisał: Co tu jest nie tak? A co ma być nie tak? Jedyne w czym widzę problem, to w twoim pytaniu. Nic nie wyjaśnia, nic nie mówi. Cytuj Odnośnik do komentarza https://skript.pl/temat/42339-jestem-nowy-mysterybox/#findComment-265400 Udostępnij na innych stronach Więcej opcji udostępniania...
0 Filiperys 2 Opublikowano 28 października 2020 Autor Udostępnij Opublikowano 28 października 2020 Teraz, Kormic napisał: A co ma być nie tak? Jedyne w czym widzę problem, to w twoim pytaniu. Nic nie wyjaśnia, nic nie mówi. Że mi błąd wywala [08:14:33] [Render thread/INFO]: [CHAT] indentation error: expected 12 spaces, but found 16 spaces (mysterybox.sk, line 27: send "&cNie masz uprawnien!" to player') [08:14:33] [Render thread/INFO]: [CHAT] 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. (mysterybox.sk, line 26: else:') [08:14:33] [Render thread/INFO]: [CHAT] the 1st argument can't have anything added to it (mysterybox.sk, line 23: add {item} to arg-1') [08:14:33] [Render thread/INFO]: [CHAT] Can't understand this condition/effect: set event-pozycja to air (mysterybox.sk, line 30: set event-pozycja to air') [08:14:33] [Render thread/INFO]: [CHAT] Can't understand this condition/effect: drop ("%random element out of {mysterybox::*}%" parsed as item) at event-pozycja (mysterybox.sk, line 31: drop ("%random element out of {mysterybox::*}%" parsed as item) at event-pozycja') [08:14:33] [Render thread/INFO]: [CHAT] [Skript] Encountered 4 errors while parsing mysterybox.sk! Cytuj Odnośnik do komentarza https://skript.pl/temat/42339-jestem-nowy-mysterybox/#findComment-265401 Udostępnij na innych stronach Więcej opcji udostępniania...
0 Helios1993 333 Opublikowano 28 października 2020 Udostępnij Opublikowano 28 października 2020 (edytowane) on load: set {item} to polished diorite named "&cMystery Box" clear {mysterybox::*} add diamond to {mysterybox::*} add emerald to {mysterybox::*} add 3 of iron ingot to {mysterybox::*} add 32 of birch planks to {mysterybox::*} add 3 of iron ingot to {mysterybox::*} add 32 of cooked beef to {mysterybox::*} add leather chestplate to {mysterybox::*} # Możecie sobie dodać więcej rzeczy # add 1 of iron ingot to {mysterybox::*} # 1 - sztuki # iron ingot - nazwa itemu command /mystery-box [<player=%player%>]: permission: skript.mysterybox trigger: add {item} to arg-1 on place: if player's tool is {item}: set event-block to air drop (random element out of {mysterybox::*}) at event-block send "&7Otworzyles mystery-boxa!" to player Edytowane 28 października 2020 przez Helios1993 PanMaruda 1 Cytuj Odnośnik do komentarza https://skript.pl/temat/42339-jestem-nowy-mysterybox/#findComment-265403 Udostępnij na innych stronach Więcej opcji udostępniania...
0 PanMaruda 624 Opublikowano 28 października 2020 Udostępnij Opublikowano 28 października 2020 4 minuty temu, Filiperys napisał: Że mi błąd wywala [08:14:33] [Render thread/INFO]: [CHAT] indentation error: expected 12 spaces, but found 16 spaces (mysterybox.sk, line 27: send "&cNie masz uprawnien!" to player') [08:14:33] [Render thread/INFO]: [CHAT] 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. (mysterybox.sk, line 26: else:') [08:14:33] [Render thread/INFO]: [CHAT] the 1st argument can't have anything added to it (mysterybox.sk, line 23: add {item} to arg-1') [08:14:33] [Render thread/INFO]: [CHAT] Can't understand this condition/effect: set event-pozycja to air (mysterybox.sk, line 30: set event-pozycja to air') [08:14:33] [Render thread/INFO]: [CHAT] Can't understand this condition/effect: drop ("%random element out of {mysterybox::*}%" parsed as item) at event-pozycja (mysterybox.sk, line 31: drop ("%random element out of {mysterybox::*}%" parsed as item) at event-pozycja') [08:14:33] [Render thread/INFO]: [CHAT] [Skript] Encountered 4 errors while parsing mysterybox.sk! *łeołeołeo łeołeołeo* pogotowie tłumaczeniowe już jedzie, spokojnie, proszę się nie ruszać - zaraz przetłumaczymy dla pana ten strasznie skomplikowany język angielski: [CHAT] indentation error: expected 12 spaces, but found 16 spaces (mysterybox.sk, line 27: send "&cNie masz uprawnien!" to player') jak sama treść wskazuje - w linijce 27 skrypt oczekuje 12 spacji wcięcia, a z wykrył 6 spacji wcięcia [CHAT] 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. (mysterybox.sk, line 26: else:') jak sama treść wskazuje, wstawiłeś else bez podania jego zawartości [CHAT] the 1st argument can't have anything added to it (mysterybox.sk, line 23: add {item} to arg-1') jak sama treść wskazuje - do argumentu pierwszego nie można nic dodawać Can't understand this condition/effect: set event-pozycja to air (mysterybox.sk, line 30: set event-pozycja to air') jak sama treść wskazuje: linijka "set event-pozycja to air" nie jest zgodna z jakąkolwiek składnią warunków/efektów Can't understand this condition/effect: drop ("%random element out of {mysterybox::*}%" parsed as item) at event-pozycja (mysterybox.sk, line 31: drop ("%random element out of {mysterybox::*}%" parsed as item) at event-pozycja') jak sama treść wskazuje: linijka "drop ("%random element out of {mysterybox::*}%" parsed as item) at event-pozycja" nie jest zgodna z jakąkolwiek składnią warunków/efektów *łeołeołeo łeołeołeo* pogotowie tłumaczeniowe odjeżdża na tle zachodzącego księżyca Cytuj Odnośnik do komentarza https://skript.pl/temat/42339-jestem-nowy-mysterybox/#findComment-265404 Udostępnij na innych stronach Więcej opcji udostępniania...
0 Kormic 1951 Opublikowano 28 października 2020 Udostępnij Opublikowano 28 października 2020 9 minut temu, Filiperys napisał: Że mi błąd wywala [08:14:33] [Render thread/INFO]: [CHAT] indentation error: expected 12 spaces, but found 16 spaces (mysterybox.sk, line 27: send "&cNie masz uprawnien!" to player') [08:14:33] [Render thread/INFO]: [CHAT] 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. (mysterybox.sk, line 26: else:') [08:14:33] [Render thread/INFO]: [CHAT] the 1st argument can't have anything added to it (mysterybox.sk, line 23: add {item} to arg-1') [08:14:33] [Render thread/INFO]: [CHAT] Can't understand this condition/effect: set event-pozycja to air (mysterybox.sk, line 30: set event-pozycja to air') [08:14:33] [Render thread/INFO]: [CHAT] Can't understand this condition/effect: drop ("%random element out of {mysterybox::*}%" parsed as item) at event-pozycja (mysterybox.sk, line 31: drop ("%random element out of {mysterybox::*}%" parsed as item) at event-pozycja') [08:14:33] [Render thread/INFO]: [CHAT] [Skript] Encountered 4 errors while parsing mysterybox.sk! Powiem tak, w skrypcie masz błąd wcięcia (źle wytabowane), dodatkowo nie rozumiem dlaczego masz w tym skrypcie jako typ argumentu 'offline player'. Jak potencjalnemu graczowi offline chcesz dać tego MysteryBoxa? W linijce nr 23 jeżeli chcesz dać graczowi MysteryBoxa, użyj "give {item} to arg-1's inventory". 'event-pozycja' mnie rozbawiło, czym to ma być? Zamień to na event-block i po problemie. Dodam na koniec, że bez podstawowej znajomości języka angielskiego ze Skriptem ani rusz. 4 minuty temu, PanMaruda napisał: *łeołeołeo łeołeołeo* pogotowie tłumaczeniowe już jedzie, spokojnie, proszę się nie ruszać - zaraz przetłumaczymy dla pana ten strasznie skomplikowany język angielski: Trzeba jeszcze straży pożarnej, aby zgasić gniew skriptera, który wylewa go na ten biedny skrypt i głowi się dlaczegoż to nie działa. Cytuj Odnośnik do komentarza https://skript.pl/temat/42339-jestem-nowy-mysterybox/#findComment-265405 Udostępnij na innych stronach Więcej opcji udostępniania...
Pytanie
Filiperys 2
Co tu jest nie tak?
Odnośnik do komentarza
https://skript.pl/temat/42339-jestem-nowy-mysterybox/Udostępnij na innych stronach
5 odpowiedzi na to pytanie
Rekomendowane odpowiedzi
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ą.