Skocz do zawartości
  • 0

Skrypt na bojki


Tomsonjek

Pytanie

Pisze z prośbą o pomoc bo próbuje wgrać taki skrypt na serwer ale mi wyskakuje tak błąd w konsoli 

Spoiler

[12:55:42] [Server thread/ERROR]: Can't understand this condition/effect: register new shaped recipe for 24 named "&8» &aSandFarmer" using 12, 12, 12, 12, 327, 12, 12, 12, 12 (bojki.sk, line 3: register new shaped recipe for 24 named "&8» &aSandFarmer" using 12, 12, 12, 12, 327, 12, 12, 12, 12')

[12:55:42] [Server thread/WARN]: Using an ID instead of an alias is discouraged and will likely not be supported in future versions of Skript anymore. Please replace '24' with e.g. 'sand stone'. (bojki.sk, line 5: on place of 24:')

[12:55:42] [Server thread/WARN]: Using an ID instead of an alias is discouraged and will likely not be supported in future versions of Skript anymore. Please replace '24' with e.g. 'sand stone'. (bojki.sk, line 6: if player's tool is 24 named "&8» &aSandFarmer":')

[12:55:42] [Server thread/ERROR]: Can't understand this condition/effect: register new shaped recipe for 121 named "&8» &aBoyFarmer" using 49, 49, 49, 49, 327, 49, 49, 49, 49 (bojki.sk, line 16: register new shaped recipe for 121 named "&8» &aBoyFarmer" using 49, 49, 49, 49, 327, 49, 49, 49, 49')

[12:55:42] [Server thread/WARN]: Using an ID instead of an alias is discouraged and will likely not be supported in future versions of Skript anymore. Please replace '120' with e.g. 'ender portal frame'. (bojki.sk, line 18: on place of 120:')

[12:55:42] [Server thread/WARN]: Using an ID instead of an alias is discouraged and will likely not be supported in future versions of Skript anymore. Please replace '120' with e.g. 'ender portal frame'. (bojki.sk, line 19: if player's tool is 120 named "&8» &aBoyFarmer":')

[12:55:42] [Server thread/ERROR]: Can't understand this condition/effect: register new shaped recipe for 120 named "&8» &aAutomatyczny Kopacz Fosy" using 1, 1, 1, 1, 278, 1, 1, 1, 1 (bojki.sk, line 27: register new shaped recipe for 120 named "&8» &aAutomatyczny Kopacz Fosy" using 1, 1, 1, 1, 278, 1, 1, 1, 1')

[12:55:42] [Server thread/WARN]: Using an ID instead of an alias is discouraged and will likely not be supported in future versions of Skript anymore. Please replace '129' with e.g. 'emerald ore'. (bojki.sk, line 29: on place of 129:')

[12:55:42] [Server thread/WARN]: Using an ID instead of an alias is discouraged and will likely not be supported in future versions of Skript anymore. Please replace '129' with e.g. 'emerald ore'. (bojki.sk, line 30: if player's tool is 129 named "&8» &aAutomatyczny Kopacz Fosy":')

[12:55:42] [Server thread/INFO]: [Skript] Encountered 3 errors while reloading bojki.sk!



 

#SandFarmer
on script load:
    register new shaped recipe for 24 named "&8» &aSandFarmer" using 12, 12, 12, 12, 327, 12, 12, 12, 12
 
on place of 24:
    if player's tool is 24 named "&8» &aSandFarmer":
        loop blocks under event-block:
            if loop-block is bedrock:
                stop
            set loop-block to sand
 
 
 
#BoyFarmer    
on script load:
    register new shaped recipe for 121 named "&8» &aBoyFarmer" using 49, 49, 49, 49, 327, 49, 49, 49, 49
 
on place of 120:
    if player's tool is 120 named "&8» &aBoyFarmer":
        loop blocks under event-block:
            if loop-block is bedrock:
                stop
            set loop-block to obsidian
 
#KopaczFosy
on script load:
        register new shaped recipe for 120 named "&8» &aAutomatyczny Kopacz Fosy" using 1, 1, 1, 1, 278, 1, 1, 1, 1
 
on place of 129:
    if player's tool is 129 named "&8» &aAutomatyczny Kopacz Fosy":
        loop blocks under event-block:
            if loop-block is bedrock:
                stop
            set loop-block to air

 

Edytowane przez xNightPower_
Nieaktywny

Umieszczam kod w code, błędy w spoilerze.

Odnośnik do komentarza
https://skript.pl/temat/44234-skrypt-na-bojki/
Udostępnij na innych stronach

1 odpowiedź na to pytanie

Rekomendowane odpowiedzi

  • 0
2 minuty temu, Tomsonjek napisał:

Pisze z prośbą o pomoc bo próbuje wgrać taki skrypt na serwer ale mi wyskakuje tak błąd w konsoli 

Zamień ID na aliasy, masz napisane przecież w błędzie co należy zrobić.

Przykładowo: Zamiast pisać '12', masz napisać 'sand'.

EDIT:

Upewnij się również, że posiadasz SkQuery, którego wersja nie jest niższa niż 3.6.2.

Edytowane przez Kormic
Odnośnik do komentarza
https://skript.pl/temat/44234-skrypt-na-bojki/#findComment-277404
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ę...