Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

[Problem] Błędy w skrypcie.


Rekomendowane odpowiedzi

Opublikowano

Skrypt.

Console

[21:53:56] [server thread/ERROR]: [skript] Can't understand this condition/effect: Recipe.new{ {_nazwa} } (cobblex.sk, line 36: Recipe.new{ {_nazwa} }')
[21:53:56] [server thread/ERROR]: [skript] Can't understand this condition/effect: {_nazwa}.Recipe.registerIngredient{1, 64 Cobblestone} (cobblex.sk, line 37: {_nazwa}.Recipe.registerIngredient{1, 64 Cobblestone}')
[21:53:56] [server thread/ERROR]: [skript] Can't understand this condition/effect: {_nazwa}.Recipe.registerIngredient{2, 64 Cobblestone} (cobblex.sk, line 38: {_nazwa}.Recipe.registerIngredient{2, 64 Cobblestone}')
[21:53:56] [server thread/ERROR]: [skript] Can't understand this condition/effect: {_nazwa}.Recipe.registerIngredient{3, 64 Cobblestone} (cobblex.sk, line 39: {_nazwa}.Recipe.registerIngredient{3, 64 Cobblestone}')
[21:53:56] [server thread/ERROR]: [skript] Can't understand this condition/effect: {_nazwa}.Recipe.registerIngredient{4, 64 Cobblestone} (cobblex.sk, line 40: {_nazwa}.Recipe.registerIngredient{4, 64 Cobblestone}')
[21:53:56] [server thread/ERROR]: [skript] Can't understand this condition/effect: {_nazwa}.Recipe.registerIngredient{5, 64 Cobblestone} (cobblex.sk, line 41: {_nazwa}.Recipe.registerIngredient{5, 64 Cobblestone}')
[21:53:56] [server thread/ERROR]: [skript] Can't understand this condition/effect: {_nazwa}.Recipe.registerIngredient{6, 64 Cobblestone} (cobblex.sk, line 42: {_nazwa}.Recipe.registerIngredient{6, 64 Cobblestone}')
[21:53:56] [server thread/ERROR]: [skript] Can't understand this condition/effect: {_nazwa}.Recipe.registerIngredient{7, 64 Cobblestone} (cobblex.sk, line 43: {_nazwa}.Recipe.registerIngredient{7, 64 Cobblestone}')
[21:53:56] [server thread/ERROR]: [skript] Can't understand this condition/effect: {_nazwa}.Recipe.registerIngredient{8, 64 Cobblestone} (cobblex.sk, line 44: {_nazwa}.Recipe.registerIngredient{8, 64 Cobblestone}')
[21:53:56] [server thread/ERROR]: [skript] Can't understand this condition/effect: {_nazwa}.Recipe.registerIngredient{9, 64 Cobblestone} (cobblex.sk, line 45: {_nazwa}.Recipe.registerIngredient{9, 64 Cobblestone}')
[21:53:56] [server thread/ERROR]: [skript] Can't understand this condition/effect: {_nazwa}.Recipe.registerResult{1 Sponge of Unbreaking 10 named "&2CobbleX"} (cobblex.sk, line 46: {_nazwa}.Recipe.registerResult{1 Sponge of Unbreaking 10 named "&2CobbleX"}')
[21:53:56] [server thread/ERROR]: [skript] Can't understand this condition/effect: {_nazwa}.Recipe.register (cobblex.sk, line 47: {_nazwa}.Recipe.register')
[21:53:56] [server thread/ERROR]: [skript] Can't understand this condition/effect: Recipe.new{ {_nazwa2} } (cobblex.sk, line 49: Recipe.new{ {_nazwa2} }')
[21:53:56] [server thread/ERROR]: [skript] Can't understand this condition/effect: {_nazwa2}.Recipe.registerIngredient{2, 1 Block of Gold} (cobblex.sk, line 50: {_nazwa2}.Recipe.registerIngredient{2, 1 Block of Gold}')
[21:53:56] [server thread/ERROR]: [skript] Can't understand this condition/effect: {_nazwa2}.Recipe.registerIngredient{5, 1 Block of Gold} (cobblex.sk, line 51: {_nazwa2}.Recipe.registerIngredient{5, 1 Block of Gold}')
[21:53:56] [server thread/ERROR]: [skript] Can't understand this condition/effect: {_nazwa2}.Recipe.registerIngredient{8, 1 Stick} (cobblex.sk, line 52: {_nazwa2}.Recipe.registerIngredient{8, 1 Stick}')
[21:53:56] [server thread/ERROR]: [skript] Can't understand this condition/effect: {_nazwa2}.Recipe.registerResult{1 Stick of Unbreaking 10 named "&6Rozdzka TP na spawn"} (cobblex.sk, line 53: {_nazwa2}.Recipe.registerResult{1 Stick of Unbreaking 10 named "&6Rozdzka TP na spawn"}')
[21:53:56] [server thread/ERROR]: [skript] Can't understand this condition/effect: {_nazwa2}.Recipe.register (cobblex.sk, line 54: {_nazwa2}.Recipe.register')
[21:53:57] [server thread/ERROR]: [skript] The percent sign is used for expressions (e.g. %player%). To insert a '%' type it twice: %%. (drop.sk, line 40: send " &6ďż˝ &7Aby zobaczyc % szans na drop wpisz &6/drop&7!"')
[21:53:57] [server thread/ERROR]: [skript] The percent sign is used for expressions (e.g. %player%). To insert a '%' type it twice: %%. (drop.sk, line 46: send " &6ďż˝ &7Aby zobaczyc % szans na drop wpisz &6/drop&7!"')
[21:53:57] [server thread/ERROR]: [skript] The percent sign is used for expressions (e.g. %player%). To insert a '%' type it twice: %%. (drop.sk, line 52: send " &6ďż˝ &7Aby zobaczyc % szans na drop wpisz &6/drop&7!"')
[21:53:57] [server thread/ERROR]: [skript] The percent sign is used for expressions (e.g. %player%). To insert a '%' type it twice: %%. (drop.sk, line 58: send " &6ďż˝ &7Aby zobaczyc % szans na drop wpisz &6/drop&7!"')
[21:53:57] [server thread/INFO]: [skript] Loaded 4 scripts with a total of 14 triggers and 5 commands in 1.26 seconds
[21:53:57] [server thread/INFO]: [skript] Finished loading.

 

A o to config :

on load:
    set {_nazwa} to "&2CobbleX"
    Recipe.new{ {_nazwa} }
    {_nazwa}.Recipe.registerIngredient{1, 64 Cobblestone}
    {_nazwa}.Recipe.registerIngredient{2, 64 Cobblestone}
    {_nazwa}.Recipe.registerIngredient{3, 64 Cobblestone}
    {_nazwa}.Recipe.registerIngredient{4, 64 Cobblestone}
    {_nazwa}.Recipe.registerIngredient{5, 64 Cobblestone}
    {_nazwa}.Recipe.registerIngredient{6, 64 Cobblestone}
    {_nazwa}.Recipe.registerIngredient{7, 64 Cobblestone}
    {_nazwa}.Recipe.registerIngredient{8, 64 Cobblestone}
    {_nazwa}.Recipe.registerIngredient{9, 64 Cobblestone}
    {_nazwa}.Recipe.registerResult{1 Sponge of Unbreaking 10 named "&2CobbleX"}
    {_nazwa}.Recipe.register
    set {_nazwa2} to "&6Rozdzka TP na spawn"
    Recipe.new{ {_nazwa2} }
    {_nazwa2}.Recipe.registerIngredient{2, 1 Block of Gold}
    {_nazwa2}.Recipe.registerIngredient{5, 1 Block of Gold}
    {_nazwa2}.Recipe.registerIngredient{8, 1 Stick}
    {_nazwa2}.Recipe.registerResult{1 Stick of Unbreaking 10 named "&6Rozdzka TP na spawn"}
    {_nazwa2}.Recipe.register
options:
 

Masz pomysł  na stronę internetową, lecz brak ci doświadczenia? 

Zapraszam do kontaktu.

 

Opublikowano

A użyłeś spacji czy tabulatorów w skrypcie?

 

I jakim programem pisałeś go (jeżeli notatnikiem to się nie dziwie - on jakoś rozwala skrypty)?

"Los nagradza przygotowanych"

 

(Liberator 2)

Opublikowano

A użyłeś spacji czy tabulatorów w skrypcie?

 

I jakim programem pisałeś go (jeżeli notatnikiem to się nie dziwie - on jakoś rozwala skrypty)?

Nie pisalem to jest goscia skrypt

Masz pomysł  na stronę internetową, lecz brak ci doświadczenia? 

Zapraszam do kontaktu.

 

Opublikowano

Ok juz sobie poradzilem. A ogarniasz moze pisanie skryptow ?

Masz pomysł  na stronę internetową, lecz brak ci doświadczenia? 

Zapraszam do kontaktu.

 

Opublikowano

Skrypty to ja pisałem chwile (napisałem chyba z 2).

 

Wole pisać pluginy - mniej zasobów używają (tu każdy ma inne zdanie, a są dowody i na to, że są bardziej i na to, że są mniej oszczędne) i mają dużo większe funkcje).

"Los nagradza przygotowanych"

 

(Liberator 2)

Opublikowano

Jeśli chodzi o pisanie skryptów to ja mogę coś zdziałać :D nie mówię że napisze każdy skrypt ale coś niecoś umiem :) 

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...