Skocz do zawartości
  • 0

Nie ustawia zbroi


rysiek21
 Udostępnij

Pytanie

Robię skrypt przywracający itemy do EQ ale mam problem. Nie ustawia mi zbroi. Nie mam żadnych errorów. Próbowałem używać broadcast aby sprawdzić czy ustawia mi do tych zmiennych itemy i ustawia ale nie chce ich wczytać.

Kod:

set {inv.%player%.helmet} to skutil yaml value "%player%.inventory.p1.helmet" from file "plugins/ServerSettings/inventory.yml"
set {inv.%player%.chest} to skutil yaml value "%player%.inventory.p1.chest" from file "plugins/ServerSettings/inventory.yml"
set {inv.%player%.legs} to skutil yaml value "%player%.inventory.p1.legs" from file "plugins/ServerSettings/inventory.yml"
set {inv.%player%.feet} to skutil yaml value "%player%.inventory.p1.feet" from file "plugins/ServerSettings/inventory.yml"
set the helmet of player to {inv.%player%.helmet}
set the chestplate of player to {inv.%player%.chest}
set the leggings of player to {inv.%player%.legs}
set the boots of player to {inv.%player%.feet}

 

bvcz

Kod wstawiam w odpowiednie znaczniki

Notatka dodana przez bvcz

Odnośnik do komentarza
Udostępnij na innych stronach

4 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
1 godzinę temu, rysiek21 napisał:

Robię skrypt przywracający itemy do EQ ale mam problem. Nie ustawia mi zbroi. Nie mam żadnych errorów. Próbowałem używać broadcast aby sprawdzić czy ustawia mi do tych zmiennych itemy i ustawia ale nie chce ich wczytać.

Kod:


set {inv.%player%.helmet} to skutil yaml value "%player%.inventory.p1.helmet" from file "plugins/ServerSettings/inventory.yml"
set {inv.%player%.chest} to skutil yaml value "%player%.inventory.p1.chest" from file "plugins/ServerSettings/inventory.yml"
set {inv.%player%.legs} to skutil yaml value "%player%.inventory.p1.legs" from file "plugins/ServerSettings/inventory.yml"
set {inv.%player%.feet} to skutil yaml value "%player%.inventory.p1.feet" from file "plugins/ServerSettings/inventory.yml"
set the helmet of player to {inv.%player%.helmet}
set the chestplate of player to {inv.%player%.chest}
set the leggings of player to {inv.%player%.legs}
set the boots of player to {inv.%player%.feet}

 

Mam podobny błąd u siebie

Po prostu przerzuca tekst całkowicie i skrypt jakby go nie odczytuje. Również czekam na rozwiązanie.

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
17 godzin temu, LuckyPotato napisał:

set yaml value %string% from file %string% to inventory of %player%

set inventory of %player% to yaml value %string% from file %string%

 

@LuckyPotato Mi to nie działa nie wiem czy coś źle piszę czy nie mam jakiegoś rozszerzenia ale mam errory

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

 Udostępnij

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...