Skocz do zawartości
  • 0

Naprawienie skryptu na craftingi


Crystal_PL

Pytanie

Kod:

on script load:
    register new shaped recipe for 121 named "&8[&e&LAUTOMATYCZNY SANDFARMER&8]" using sand, sand, sand, sand, 327, sand, sand, sand, sand
   
on place of 121:
        if player's tool is 121 named "&8[&e&LAUTOMATYCZNY SANDFARMER&8]":
                loop blocks under event-block:
                        if loop-block is bedrock:
                                stop
                        if loop-block is stone:
                                stop
                        set loop-block to sand
           
on script load:
    register new shaped recipe for 120 named "&8[&1&LAUTOMATYCZNY BOYFARMER&8]" using 49, 49, 49, 49, 327, 49, 49, 49, 49
   
on place of 120:
        if player's tool is 120 named "&8[&1&LAUTOMATYCZNY BOYFARMER&8]":
                loop blocks under event-block:
                        if loop-block is bedrock:
                                stop
                        if loop-block is stone:
                                stop
                        set loop-block to obsidian
   
on script load:
    register new shaped recipe for 19 named "&8[&7&LKOPACZ FOSY&8]" using 49, 49, 49, 49, 264, 49, 49, 49, 49
   
on place of 19:
        if player's tool is 19 named "&8[&7&LKOPACZ FOSY&8]":
                loop blocks under event-block:
                        if loop-block is bedrock:
                                stop
                        wait 1.0 second
                        set loop-block to air
   
on script load:
    register new shaped recipe for 130 using 49, 49, 49, 49, 368, 49, 49, 49, 49

 

 

Błędy:


[16:30:33] [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 '327' with e.g. 'lava bucket'. (crafty.sk, line 2: register new shaped recipe for 121 named "&8[&e&LAUTOMATYCZNY SANDFARMER&8]" using sand, sand, sand, sand, 327, sand, sand, sand, sand')
[16:30:33] [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 '121' with e.g. 'ender stone'. (crafty.sk, line 2: register new shaped recipe for 121 named "&8[&e&LAUTOMATYCZNY SANDFARMER&8]" using sand, sand, sand, sand, 327, sand, sand, sand, sand')
[16:30:33] [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 '121' with e.g. 'ender stone'. (crafty.sk, line 4: on place of 121:')
[16:30:33] [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 '121' with e.g. 'ender stone'. (crafty.sk, line 5: if player's tool is 121 named "&8[&e&LAUTOMATYCZNY SANDFARMER&8]":')
[16:30:33] [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 '49' with e.g. 'obsidian'. (crafty.sk, line 14: register new shaped recipe for 120 named "&8[&1&LAUTOMATYCZNY BOYFARMER&8]" using 49, 49, 49, 49, 327, 49, 49, 49, 49')
[16:30:33] [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 '49' with e.g. 'obsidian'. (crafty.sk, line 14: register new shaped recipe for 120 named "&8[&1&LAUTOMATYCZNY BOYFARMER&8]" using 49, 49, 49, 49, 327, 49, 49, 49, 49')
[16:30:33] [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 '49' with e.g. 'obsidian'. (crafty.sk, line 14: register new shaped recipe for 120 named "&8[&1&LAUTOMATYCZNY BOYFARMER&8]" using 49, 49, 49, 49, 327, 49, 49, 49, 49')
[16:30:33] [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 '49' with e.g. 'obsidian'. (crafty.sk, line 14: register new shaped recipe for 120 named "&8[&1&LAUTOMATYCZNY BOYFARMER&8]" using 49, 49, 49, 49, 327, 49, 49, 49, 49')
[16:30:33] [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 '327' with e.g. 'lava bucket'. (crafty.sk, line 14: register new shaped recipe for 120 named "&8[&1&LAUTOMATYCZNY BOYFARMER&8]" using 49, 49, 49, 49, 327, 49, 49, 49, 49')
[16:30:33] [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 '49' with e.g. 'obsidian'. (crafty.sk, line 14: register new shaped recipe for 120 named "&8[&1&LAUTOMATYCZNY BOYFARMER&8]" using 49, 49, 49, 49, 327, 49, 49, 49, 49')
[16:30:33] [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 '49' with e.g. 'obsidian'. (crafty.sk, line 14: register new shaped recipe for 120 named "&8[&1&LAUTOMATYCZNY BOYFARMER&8]" using 49, 49, 49, 49, 327, 49, 49, 49, 49')
[16:30:33] [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 '49' with e.g. 'obsidian'. (crafty.sk, line 14: register new shaped recipe for 120 named "&8[&1&LAUTOMATYCZNY BOYFARMER&8]" using 49, 49, 49, 49, 327, 49, 49, 49, 49')
[16:30:33] [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 '49' with e.g. 'obsidian'. (crafty.sk, line 14: register new shaped recipe for 120 named "&8[&1&LAUTOMATYCZNY BOYFARMER&8]" using 49, 49, 49, 49, 327, 49, 49, 49, 49')
[16:30:33] [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'. (crafty.sk, line 14: register new shaped recipe for 120 named "&8[&1&LAUTOMATYCZNY BOYFARMER&8]" using 49, 49, 49, 49, 327, 49, 49, 49, 49')
[16:30:33] [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'. (crafty.sk, line 16: on place of 120:')
[16:30:33] [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'. (crafty.sk, line 17: if player's tool is 120 named "&8[&1&LAUTOMATYCZNY BOYFARMER&8]":')
[16:30:33] [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 '49' with e.g. 'obsidian'. (crafty.sk, line 26: register new shaped recipe for 19 named "&8[&7&LKOPACZ FOSY&8]" using 49, 49, 49, 49, 264, 49, 49, 49, 49')
[16:30:33] [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 '49' with e.g. 'obsidian'. (crafty.sk, line 26: register new shaped recipe for 19 named "&8[&7&LKOPACZ FOSY&8]" using 49, 49, 49, 49, 264, 49, 49, 49, 49')
[16:30:33] [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 '49' with e.g. 'obsidian'. (crafty.sk, line 26: register new shaped recipe for 19 named "&8[&7&LKOPACZ FOSY&8]" using 49, 49, 49, 49, 264, 49, 49, 49, 49')
[16:30:33] [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 '49' with e.g. 'obsidian'. (crafty.sk, line 26: register new shaped recipe for 19 named "&8[&7&LKOPACZ FOSY&8]" using 49, 49, 49, 49, 264, 49, 49, 49, 49')
[16:30:33] [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 '264' with e.g. 'diamond'. (crafty.sk, line 26: register new shaped recipe for 19 named "&8[&7&LKOPACZ FOSY&8]" using 49, 49, 49, 49, 264, 49, 49, 49, 49')
[16:30:33] [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 '49' with e.g. 'obsidian'. (crafty.sk, line 26: register new shaped recipe for 19 named "&8[&7&LKOPACZ FOSY&8]" using 49, 49, 49, 49, 264, 49, 49, 49, 49')
[16:30:33] [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 '49' with e.g. 'obsidian'. (crafty.sk, line 26: register new shaped recipe for 19 named "&8[&7&LKOPACZ FOSY&8]" using 49, 49, 49, 49, 264, 49, 49, 49, 49')
[16:30:33] [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 '49' with e.g. 'obsidian'. (crafty.sk, line 26: register new shaped recipe for 19 named "&8[&7&LKOPACZ FOSY&8]" using 49, 49, 49, 49, 264, 49, 49, 49, 49')
[16:30:33] [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 '49' with e.g. 'obsidian'. (crafty.sk, line 26: register new shaped recipe for 19 named "&8[&7&LKOPACZ FOSY&8]" using 49, 49, 49, 49, 264, 49, 49, 49, 49')
[16:30:33] [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 '19' with e.g. 'sponge'. (crafty.sk, line 26: register new shaped recipe for 19 named "&8[&7&LKOPACZ FOSY&8]" using 49, 49, 49, 49, 264, 49, 49, 49, 49')
[16:30:33] [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 '19' with e.g. 'sponge'. (crafty.sk, line 28: on place of 19:')
[16:30:33] [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 '19' with e.g. 'sponge'. (crafty.sk, line 29: if player's tool is 19 named "&8[&7&LKOPACZ FOSY&8]":')
[16:30:33] [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 '49' with e.g. 'obsidian'. (crafty.sk, line 37: register new shaped recipe for 130 using 49, 49, 49, 49, 368, 49, 49, 49, 49')
[16:30:33] [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 '49' with e.g. 'obsidian'. (crafty.sk, line 37: register new shaped recipe for 130 using 49, 49, 49, 49, 368, 49, 49, 49, 49')
[16:30:33] [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 '49' with e.g. 'obsidian'. (crafty.sk, line 37: register new shaped recipe for 130 using 49, 49, 49, 49, 368, 49, 49, 49, 49')
[16:30:33] [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 '49' with e.g. 'obsidian'. (crafty.sk, line 37: register new shaped recipe for 130 using 49, 49, 49, 49, 368, 49, 49, 49, 49')
[16:30:33] [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 '368' with e.g. 'ender pearl'. (crafty.sk, line 37: register new shaped recipe for 130 using 49, 49, 49, 49, 368, 49, 49, 49, 49')
[16:30:33] [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 '49' with e.g. 'obsidian'. (crafty.sk, line 37: register new shaped recipe for 130 using 49, 49, 49, 49, 368, 49, 49, 49, 49')
[16:30:33] [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 '49' with e.g. 'obsidian'. (crafty.sk, line 37: register new shaped recipe for 130 using 49, 49, 49, 49, 368, 49, 49, 49, 49')
[16:30:33] [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 '49' with e.g. 'obsidian'. (crafty.sk, line 37: register new shaped recipe for 130 using 49, 49, 49, 49, 368, 49, 49, 49, 49')
[16:30:33] [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 '49' with e.g. 'obsidian'. (crafty.sk, line 37: register new shaped recipe for 130 using 49, 49, 49, 49, 368, 49, 49, 49, 49')
[16:30:33] [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 '130' with e.g. 'ender chest'. (crafty.sk, line 37: register new shaped recipe for 130 using 49, 49, 49, 49, 368, 49, 49, 49, 49')
[16:30:33] [Server thread/INFO]: [0;37;22m[[0;33;22mSkript[0;37;22m][m Successfully reloaded [0;33;22mcrafty.sk[m.[m
 

[16:30:33] [Server thread/INFO]: [0;37;22m[[0;33;22mSkript[0;37;22m][m Reloading [0;33;22mcrafty.sk[m...[m

//Tak długie teksty umieszczaj w spojlerach ~bvcz

 

Odnośnik do komentarza
Udostępnij na innych stronach

3 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

I jeszcze proszę o naprawienie tego skryptu: 

variables:
pierozek::items::* = 0
 
on right click with dragon egg named "&bPierozek":
    if size of {pierozek::items::*} is less than 5:
        cancel event
        send "&cPierozek tymczasowo niedostepny z braku przedmiotow" to player
        send "&cPoinformuj o tym administratora!" to player
    else:
        set {_item} to a random element of {pierozek::items::*}
        if player's tool is air:
            give {_item} to player
            send "&aWylosowales &b%{_item}%&a!" to player
        else:
            drop "%{_item}%" at player
            send "&aWylosowales &b%{_item}%&a!" to player
            send "&aWypadl on na ziemie, poniewaz nie masz miejsca w EQ ;)" to player
 
# Komendy
 
command /pierozki [<text="pomoc">] [<items>]:
    permission: pierozki.admin
    trigger:
        argument 1 is not "pomoc", "add" or "remove":
            send "&4Blad: &cNieznana komenda, lub zla nazwa item'u !"
            stop
        argument 1 is "pomoc":
            send " &1######## &e&L Pierozki &1########"
            send "&c» &3/Pierozki add nazwaitemu &8- Dodaje item do dropu!&6"
            send "&c» &3/Pierozki remove nazwaitemu &8- Usuwa item z dropu!"
            send "&c» &3/Pierozki pomoc &8- Pokazuje wszystkie komendy!&6"
            send "&c» &3/Pierozkidaj <ilosc>&8 Dostajesz pierozki! (Ilosc co 5)"
            send "&c» &3/Pierozkiall &8- Daje wszystkim graczom Pierozka!&6 "
            send "&c» &3Lista item'ow z dropu:&6 %{pierozeklose::*}%"
            send " &1######## &e&L Pierozki &1########"
            stop
        if arg 1 is "add":
            if player's tool is air:
                send "&cMusisz trzymac item w rece!" to player
            else:
                if {pierozek::items::*} contains player's tool:
                    send "&cTen item juz znajduje sie na liscie!" to player
                else:
                    set {_item} to player's tool
                    add {_item} to {pierozek::items::*}
                    send "&aDodano &b%player's tool% &ado listy!" to player
        argument 1 is "remove":
            if argument 2 is not set:
                send "&4Blad:&cMusisz wpisac nazwe przedmiotu!"
            else:
                remove argument 2 from {pierozeklose::*}
                send "&cUsunieto ' %arg 2% ' z dropu!"
 
command /pierozkidaj [<text>]:
    permission: pierozki.me
    permission message: Nie masz dostepu do tej komendy!
    trigger:
        if arg 1 is "5":
            send "&6» &9Dostales &a5 &cPierozkow!"
            give 5 Dragon Egg named "&6&lPierozek"to player
        if arg 1 is "10":
            send "&6» &9Dostales &a10 &cPierozkow!"
            give 10 Dragon Egg named "&6&lPierozek"to player
        if arg 1 is "15":
            send "&6» &9Dostales &a15 &cPierozkow!"
            give 15 Dragon Egg named "&6&lPierozek"to player
        if arg 1 is "20":
            send "&6» &9Dostales &a20 &cPierozkow!"
            give 20 Dragon Egg named "&6&lPierozek"to player
        if arg 1 is "25":
            send "&6» &9Dostales &a25 &cPierozkow!"
            give 25 Dragon Egg named "&6&lPierozek"to player
        if arg 1 is "30":
            send "&6» &9Dostales &a30 &cPierozkow!"
            give 30 Dragon Egg named "&6&lPierozek"to player
        if arg 1 is "35":
            send "&6» &9Dostales &a35 &cPierozkow!"
            give 35 Dragon Egg named "&6&lPierozek"to player
        if arg 1 is "40":
            send "&6» &9Dostales &a40 &cPierozkow!"
            give 40 Dragon Egg named "&6&lPierozek"to player
        if arg 1 is "45":
            send "&6» &9Dostales &a45 &cPierozkow!"
            give 45 Dragon Egg named "&6&lPierozek"to player
        if arg 1 is "50":
            send "&6» &9Dostales &a50 &cPierozkow!"
            give 50 Dragon Egg named "&6&lPierozek"to player
        if arg 1 is "55":
            send "&6» &9Dostales &a55 &cPierozkow!"
            give 55 Dragon Egg named "&6&lPierozek"to player
        if arg 1 is "60":
            send "&6» &9Dostales &a60 &cPierozkow!"
            give 60 Dragon Egg named "&6&lPierozek"to player
        if arg 1 is "64":
            send "&6» &9Dostales &a64 &cPierozkow!"
            give Dragon Egg named "&6&lPierozek"to player
command /pierozkiall:
    permission: pierozkiall.me
    permission message: Nie masz dostepu do tej komendy!
    trigger:
        loop all players:
            give Dragon Egg named "&6&lPierozek" to players
            send "&6» &9Dostales &aPierozka od Admina!"



			
		
Odnośnik do komentarza
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ę...