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łąd z pluginem skript.


Rekomendowane odpowiedzi

Opublikowano

Cześć!

To znowu ja i moje problemy :D

W ostatnim moim temacie napisałem że mam problem z mycommand ale go "wywalilem" i wstawiłem plugin Skript.

Na początku wszystko działało elegancko ale gdy wstawilem kilka innych skriptów to one nie działały oto one:

 

1:

 command /rangi:
    trigger:
        send    "&2&lRangi na serwerze &6&lPolishCraft!"
        send "&3&lVip:"
        send "&6&lKoszt: 12 zl"
        send "&9&lKomendy:"
        send "&4&l/fly: latanie"
        send "&7&l/kit Vip Diaxsowe eq i itemy"
        send "&7&lTani sklep/strefa vip"
        send "&4&lKup vipa /kupvip"
        send "&8&l=============================="
        send "&5&lMegaVip:"
        send "&6&lKoszt: 15 zl"
        send "&9&lKomendy:"
        send "&2&lTe same co vip"
        send "&8&lKolorowe pisanie na czcie"
        send "&8&li tabliczkach"
        send "&2&lTani sklep/strefa MegaVip"
        send "&4&lKup MegaVipa /kupmegavip"
        send "7&l=============================="
        send "&2&lMoD"
        send "&6&lKoszt 20 zl"  
        send "&9&lKomendy:"
        send "&f&l/gamemode 1"
        send "&4&lKup MoD /kupmod"
        send "&7&l==============================="
        send "&4&lAdmin:"
        send "&6&lKoszt 30 zl z VAT"
        send "&9&lKomendy:"
        send "&2&lWszystkie komendy"
        send "&4&lKup admina /kupadmin"
        send "&0&l=============================="

2:

 command /kupvipa:
    trigger:
        send "&7&lWyslij sms o tresci:"
        send "&2&lHPAY.ENCH9"
        send "&4&lNa numer:"
        send "&2&l7955"
        send "&9&lWejc na strone:"
        send "&4&lhttps://www.enderchest.pl/b/6200/"
        send "&8&lI wpisz kod ;)"

3:

command /kupmegavip:
    trigger:
        send "&7&lWyslij sms o tresci:"
        send "&2&lHPAY.ENCH11"
        send "&4&lNa numer:"
        send "&2&l91155"
        send "&9&lWejc na strone:"
        send "&4&lhttps://www.enderchest.pl/b/6236/"
        send "&8&lI wpisz kod ;)"

I one nie działają czemu? Zapisane jest w .sk

 

Opublikowano

Konslola cos wyskakuje ?


Moze to ?
Zmien

command /rangi:
        trigger:
             send "&2&lRangi na serwerze &6&lPolishCraft!"

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

Zapraszam do kontaktu.

 

Opublikowano

Prosze : http://pastebin.com/9vi5aWBP

tylko teraz komendy bedą takie

/kup vipa

/kup megavipa

1 skript jest dobrze napisany dlatego go niepoprawiłem.

Potrzebujesz pomocy


 - Dodaj mnie do swojego tematu @uzo77


 Może jestem w stanie ci pomóc moje skype : uzo7771

Opublikowano

oto logi z konsoli

[18:39:38] [Server thread/ERROR]: [Skript] Can't understand this condition/effect: Nie mozesz przeteleportowac sie do {homes.%player%.location} (homes.sk, line 22: Nie mozesz przeteleportowac sie do {homes.%player%.location}')
[18:39:39] [Server thread/ERROR]: [Skript] indentation error: expected 0 tabs, but found 1 space (rangi.sk, line 1: command /rangi:')
[18:39:39] [Server thread/ERROR]: [Skript] indentation error: expected 0 tabs, but found 4 spaces (rangi.sk, line 2: trigger:')
[18:39:39] [Server thread/ERROR]: [Skript] indentation error: expected 0 tabs, but found 8 spaces (rangi.sk, line 3: send    "&2&lRangi na serwerze &6&lPolishCraft!"')
[18:39:39] [Server thread/ERROR]: [Skript] indentation error: expected 0 tabs, but found 8 spaces (rangi.sk, line 4: send "&3&lVip:"')
[18:39:39] [Server thread/ERROR]: [Skript] indentation error: expected 0 tabs, but found 8 spaces (rangi.sk, line 5: send "&6&lKoszt: 12 zl"')
[18:39:39] [Server thread/ERROR]: [Skript] indentation error: expected 0 tabs, but found 8 spaces (rangi.sk, line 6: send "&9&lKomendy:"')
[18:39:39] [Server thread/ERROR]: [Skript] indentation error: expected 0 tabs, but found 8 spaces (rangi.sk, line 7: send "&4&l/fly: latanie"')
[18:39:39] [Server thread/ERROR]: [Skript] indentation error: expected 0 tabs, but found 8 spaces (rangi.sk, line 8: send "&7&l/kit Vip Diaxsowe eq i itemy"')
[18:39:39] [Server thread/ERROR]: [Skript] indentation error: expected 0 tabs, but found 8 spaces (rangi.sk, line 9: send "&7&lTani sklep/strefa vip"')
[18:39:39] [Server thread/ERROR]: [Skript] indentation error: expected 0 tabs, but found 8 spaces (rangi.sk, line 10: send "&4&lKup vipa /kupvip"')
[18:39:39] [Server thread/ERROR]: [Skript] indentation error: expected 0 tabs, but found 8 spaces (rangi.sk, line 11: send "&8&l=============================="')
[18:39:39] [Server thread/ERROR]: [Skript] indentation error: expected 0 tabs, but found 8 spaces (rangi.sk, line 12: send "&5&lMegaVip:"')
[18:39:39] [Server thread/ERROR]: [Skript] indentation error: expected 0 tabs, but found 8 spaces (rangi.sk, line 13: send "&6&lKoszt: 15 zl"')
[18:39:39] [Server thread/ERROR]: [Skript] indentation error: expected 0 tabs, but found 8 spaces (rangi.sk, line 14: send "&9&lKomendy:"')
[18:39:39] [Server thread/ERROR]: [Skript] indentation error: expected 0 tabs, but found 8 spaces (rangi.sk, line 15: send "&2&lTe same co vip"')
[18:39:39] [Server thread/ERROR]: [Skript] indentation error: expected 0 tabs, but found 8 spaces (rangi.sk, line 16: send "&8&lKolorowe pisanie na czcie"')
[18:39:39] [Server thread/ERROR]: [Skript] indentation error: expected 0 tabs, but found 8 spaces (rangi.sk, line 17: send "&8&li tabliczkach"')
[18:39:39] [Server thread/ERROR]: [Skript] indentation error: expected 0 tabs, but found 8 spaces (rangi.sk, line 18: send "&2&lTani sklep/strefa MegaVip"')
[18:39:39] [Server thread/ERROR]: [Skript] indentation error: expected 0 tabs, but found 8 spaces (rangi.sk, line 19: send "&4&lKup MegaVipa /kupmegavip"')
[18:39:39] [Server thread/ERROR]: [Skript] indentation error: expected 0 tabs, but found 8 spaces (rangi.sk, line 20: send "7&l=============================="')
[18:39:39] [Server thread/ERROR]: [Skript] indentation error: expected 0 tabs, but found 8 spaces (rangi.sk, line 21: send "&2&lMoD"')
[18:39:39] [Server thread/ERROR]: [Skript] indentation error: expected 0 tabs, but found 8 spaces (rangi.sk, line 22: send "&6&lKoszt 20 zl"')
[18:39:39] [Server thread/ERROR]: [Skript] indentation error: expected 0 tabs, but found 8 spaces (rangi.sk, line 23: send "&9&lKomendy:"')
[18:39:39] [Server thread/ERROR]: [Skript] indentation error: expected 0 tabs, but found 8 spaces (rangi.sk, line 24: send "&f&l/gamemode 1"')
[18:39:39] [Server thread/ERROR]: [Skript] indentation error: expected 0 tabs, but found 8 spaces (rangi.sk, line 25: send "&4&lKup MoD /kupmod"')
[18:39:39] [Server thread/ERROR]: [Skript] indentation error: expected 0 tabs, but found 8 spaces (rangi.sk, line 26: send "&7&l==============================="')
[18:39:39] [Server thread/ERROR]: [Skript] indentation error: expected 0 tabs, but found 8 spaces (rangi.sk, line 27: send "&4&lAdmin:"')
[18:39:39] [Server thread/ERROR]: [Skript] indentation error: expected 0 tabs, but found 8 spaces (rangi.sk, line 28: send "&6&lKoszt 30 zl z VAT"')
[18:39:39] [Server thread/ERROR]: [Skript] indentation error: expected 0 tabs, but found 8 spaces (rangi.sk, line 29: send "&9&lKomendy:"')
[18:39:39] [Server thread/ERROR]: [Skript] indentation error: expected 0 tabs, but found 8 spaces (rangi.sk, line 30: send "&2&lWszystkie komendy"')
[18:39:39] [Server thread/ERROR]: [Skript] indentation error: expected 0 tabs, but found 8 spaces (rangi.sk, line 31: send "&4&lKup admina /kupadmin"')
[18:39:39] [Server thread/ERROR]: [Skript] indentation error: expected 0 tabs, but found 8 spaces (rangi.sk, line 32: send "&0&l=============================="')
[18:39:39] [Server thread/ERROR]: [Skript] indentation error: expected 0 tabs, but found 1 space (vip.sk, line 1: command /kupvipa:')
[18:39:39] [Server thread/ERROR]: [Skript] indentation error: expected 0 tabs, but found 4 spaces (vip.sk, line 2: trigger:')
[18:39:39] [Server thread/ERROR]: [Skript] indentation error: expected 0 tabs, but found 8 spaces (vip.sk, line 3: send "&7&lWyslij sms o tresci:"')
[18:39:39] [Server thread/ERROR]: [Skript] indentation error: expected 0 tabs, but found 8 spaces (vip.sk, line 4: send "&2&lHPAY.ENCH9"')
[18:39:39] [Server thread/ERROR]: [Skript] indentation error: expected 0 tabs, but found 8 spaces (vip.sk, line 5: send "&4&lNa numer:"')
[18:39:39] [Server thread/ERROR]: [Skript] indentation error: expected 0 tabs, but found 8 spaces (vip.sk, line 6: send "&2&l7955"')
[18:39:39] [Server thread/ERROR]: [Skript] indentation error: expected 0 tabs, but found 8 spaces (vip.sk, line 7: send "&9&lWejc na strone:"')
[18:39:39] [Server thread/ERROR]: [Skript] indentation error: expected 0 tabs, but found 8 spaces (vip.sk, line 8: send "&4&lhttps://www.enderchest.pl/b/6200/"')
[18:39:39] [Server thread/ERROR]: [Skript] indentation error: expected 0 tabs, but found 8 spaces (vip.sk, line 9: send "&8&lI wpisz kod ;)"')
Opublikowano

Za kazda komenda dodaj 

stop

oczywiscie po enterze CHYBA zadziala nie daje pewnosci.

 

@Edit

 

A jak nie to na koncu samym

//nie umieszczamy reklam w sygnaturach

Opublikowano

używaj tabów nie spacji ;) Angielski nie boli..

 

 

[18:39:39] [Server thread/ERROR]: [Skript] indentation error: expected 0 tabs, but found 8 spaces (vip.sk, line 9: send "&8&lI wpisz kod ;)"')

 

 

 

używaj tabów jest lepiej niż bawienie się w spacje :D

Opublikowano

używaj tabów nie spacji ;) Angielski nie boli..

 

 

[18:39:39] [Server thread/ERROR]: [Skript] indentation error: expected 0 tabs, but found 8 spaces (vip.sk, line 9: send "&8&lI wpisz kod ;)"')

 

 

 

używaj tabów jest lepiej niż bawienie się w spacje :D

Niema teraz logów error w konsoli

:( nie wiem co robić :(

Opublikowano

@ElitarnyPL10 Jak masz odstęp pomiędzy "ścianą", a kodem:

        send "&6&lKoszt: 15 zl"

To używaj TAB a nie spacji, czyli usuń tą przerwę i kliknij tab, i tak przy każdej linijce.

1 tab = 4 spacje

Czyli w tym wypadku musisz użyć 2x tab

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...