Skocz do zawartości

MrGoraj

Użytkownik
  • Ilość zawartości

    111
  • Rejestracja

  • Ostatnia wizyta

Treść opublikowana przez MrGoraj

  1. MrGoraj

    Tablist

    Sprawdzałem na obu wersjach i na żadnych nic się nie zmieniło pod dodaniu zmiennej w config
  2. MrGoraj

    ScoreBoard

    Działa dzięki
  3. MrGoraj

    ScoreBoard

    Witam mam problem ze zrobieniem statystyk w ScoreBoard przez skript wydaje mi się że zrobiłem wszystko jak w poradniku Kod: every 200 ticks: loop all players: display board named "&6Statystyki" to loop-player make score "&aZabicia" in board of loop-player to {zabojstwa::%player%} make score "&aZgony" in board of loop-player to {smierci::%player%) move display of loop-player to "sidebar W załączniku dodaje 3 błędy:
  4. MrGoraj

    Tablist

    1.7-1.8 Wysłane z mojego Szajsunga
  5. MrGoraj

    Tablist

    Ostatnio próbowałem wprowadzić na serwer zmienioną tablistę w skript z tego tematu: Jednak pod czas konfiguracji pojawił się pewien problem. Mianowicie pomimo dodania zmiennych w config i odświeżenia skryptu na serwerze dalej jest klasyczna tablista zamiast zmienionej ;d Więc mógłby mi ktoś powiedzieć jak poprawnie skonfigurować ten skrypt?
  6. MrGoraj

    Rangi na czacie

    Dzięki za pomoc
  7. MrGoraj

    Rangi na czacie

    Witam mam problem ze sktyptem który do pewnego czasu chodził dobrze jednak teraz zauważyłem że gracze mają ciągle rangi rekrut zamiast wyższych Kod: https://code.skript.pl/UbtDnXpo/ //Kod w spoilerze ~Derpy
  8. MrGoraj

    Pętle

    Chodzi mi o skrypt który po naciśnięciu pewnej rzeczy PPM uleczy najbliższych graczy a ten wykonuje czynność jak tylko gracz podejdzie na jakiś dystans
  9. MrGoraj

    Pętle

    słowo po "radius" uznaje za świat a z racji że go nie wykrywa to wywala error zatem pewnie będzie sytuacja jak wyżej
  10. MrGoraj

    Pętle

    Wyskakuje error " "radius 10" is not a world"
  11. MrGoraj

    Pętle

    Witam mam pytanie czy da się zapętlić graczy na danym obszarze/najbliższych graczy? jeśli tak to jak można to zrobić
  12. MrGoraj

    Serie

    Witam pisze ponieważ mam problem z seriami mianowicie po zabiciu gracza wysyła powiadomienie tylko do 1 DW (1 kill) ale w statach przydziela poprawnie dodatkowo po wpisaniu komendy /statystyki wyświetla wyzerowane staty ale po wpisaniu /statystyki <nick> pokazuje poprawnie oprócz największej serii bo tam zawsze jest 0 oraz nie zeruje serii po wyjściu/zginięciu Kod: http://pastebin.com/raw/6ZHb32ba
  13. Poradziłem sobie sam z tym problemem proszę o zamknięcie
  14. MrGoraj

    Rangi na czacie

    Witam mógłby mi ktoś napisać skrypt który by dawał rangi na czacie zależnie od wielkości zmiennej (wraz z inną ilością gracz dostaje inna range)
  15. Witam mam problem ze skryptem który dodaje rangi na czacie. Mianowicie drużyna blue dostaje generała pomimo faktu że ma 0 DW (zatem powinien dostać rangę rekrut) a gracze z red w ogóle nie mogą pisać. Zatem prosiłbym o pomoc Czat: http://pastebin.com/TVYb3CNF Być może nawala coś po stronie przydzielania drużyn również zatem zamieszczam i do nich kod: Drużyny: http://pastebin.com/xDBA6vVb
  16. Witam pomógłby ktoś z pewnym losowaniem? Mianowicie chce aby skrypt sprawdził pewną zmienną i zależnie od tego jaką ma wartość skrypt teleportował by gracza w jedno z 3 miejsc zapisanych w innej zmiennej
  17. Poradziłem sobie z problemem sam dziękuje za pomoc i proszę o zamknięcie
  18. Witam mam problem ze skryptem na rangi mianowicie wszystkie rangi działają jak należy oprócz gracza dokładniej rzecz mówiąc jak przydzieliło mnie go drużyny red (team 2) to nick koloruje mi na niebiesko zamiast na czerwono natomiast w przypadku drużyny blue (team 1) gracz pisze domyślnym czatem mc (bez rangi i kolorów) Edit: Po drugim wejściu na serwer w drużynie red (team 2) również czat staje się domyślny Ps: Jakby ktoś miał jakiś pomysł i chęci to może mógłby mi napisać jak poprawić optymalizacje kodu? Kod:http://pastebin.com/6Z4f2fnk
  19. Temat do zamknięcia
  20. MrGoraj

    Serie zabójstw

    Temat do zamknięcia
  21. MrGoraj

    Segregacja list

    Witam chciałbym się zapytać jak napisać skrypt który po wpisaniu /list pokaze posegregowana listę graczy Gracze: VIP: Administracja:
  22. MrGoraj

    Serie zabójstw

    Witam mam problem ze skryptem na serie zabójstw otóż błędów nie pokazuje ale największa seria zabójstw zawsze wynosi 0 a po zabiciu pierwszego gracza ma się 0 DW po drugim zabiciu 2 DW po trzecim 4 DW a powinno dawać za pierwszy kill 1 DW za drugi 2 DW za trzeci 3 DW za czwarty 4 DW za piąty 5 DW za szósty 10 DW za siódmy 15 DW... #=========## STATY ##=========# Variables: {zabojstwa.%player%} = 0 {smierci.%player%) = 0 {seria.%player%} = 0 {DW.%player%} = 0 {najwiekszaseria.%player%} = 0on death of player: attacker is a player victim is a player add 1 to {zabojstwa.%attacker%} add 1 to {seria.%attacker%} add 1 to {smierci.%victim%} send "Zostales zabity przez %attacker%" if {seria.%player%} > {najwiekszaseria.%player%}: set {najwiekszaseria.%player%} to {seria.%player%}command /statystyki [<offlineplayer&gt]: aliases: staty usage: &7Poprawne uzycie tej komenty to &9/staty [Nick] trigger: if arg 1 is set: send "&c&l------------------------------" send "&7Statystyki Gracza&9: %argument 1%" send "&7Ilosc Zabojstw&9: %{zabojstwa.%argument 1%}%" send "&7Ilosc Zgonow&9: %{smierci.%argument 1%}%" send "&7Najwieksza seria zabojstw&9: %{najwiekszaseria.%argument 1%}%" send "&aAktualna seria zabojstw: %{seria.%argument 1%}%" send "Ilosc DW: %{DW.%argument 1%}%" send "&c&l------------------------------" if arg 1 is not set: send "&c&l------------------------------" send "&7Statystyki Gracza&9: %player%" send "&7Ilosc Zabojstw&9: %{zabojstwa.%player%}%" send "&7Ilosc Zgonow&9: %{smierci.%player%}%" send "&7Najwieksza seria zabojstw&9: %{najwiekszaseria.%player%}%" send "&aAktualna seria zabojstw: %{seria.%player%}%" send "Ilosc DW: %{DW.%player%}%" send "&c&l------------------------------" #=========## SERIE ##=========#on death of player: if {seria.%attacker%} is larger than 1: add 1 to {DW.%attacker%} send "Zabiles %victim% i dostales 1 DW" to attacker if {seria.%attacker%} is larger than 2: add 2 to {DW.%attacker%} send "Zabiles %victim% i dostales 2 DW" to attacker if {seria.%attacker%} is larger than 3: add 3 to {DW.%attacker%} send "Zabiles %victim% i dostales 3 DW" to attacker if {seria.%attacker%} is larger than 4: add 4 to {DW.%attacker%} send "Zabiles %victim% i dostales 4 DW" to attacker if {seria.%attacker%} is larger than 5: add 5 to {DW.%attacker%} send "Zabiles %victim% i dostales 5 DW" to attacker if {seria.%attacker%} is larger than 6: add 10 to {DW.%attacker%} send "Zabiles %victim% i dostales 10 DW" to attacker if {seria.%attacker%} is larger than 7: add 15 to {DW.%attacker%} send "Zabiles %victim% i dostales 15 DW" to attacker if {seria.%attacker%} is larger than 8: add 20 to {DW.%attacker%} send "Zabiles %victim% i dostales 20 DW" to attacker if {seria.%attacker%} is larger than 9: add 25 to {DW.%attacker%} send "Zabiles %victim% i dostales 25 DW" to attacker if {seria.%attacker%} is larger than 10: add 30 to {DW.%attacker%} send "Zabiles %victim% i dostales 30 DW" to attacker if {seria.%attacker%} is larger than 11: add 35 to {DW.%attacker%} send "Zabiles %victim% i dostales 35 DW" to attacker if {seria.%attacker%} is larger than 12: add 40 to {DW.%attacker%} send "Zabiles %victim% i dostales 40 DW" to attacker if {seria.%attacker%} is larger than 13: add 45 to {DW.%attacker%} send "Zabiles %victim% i dostales 45 DW" to attacker if {seria.%attacker%} is greater than or equal to 14: add 50 to {DW.%attacker%} send "Zabiles %victim% i dostales 50 DW" to attackeron join: set {seria.%player%} to 0 #=========## RANGI ##=========# On chat: if {DW.%player%} is greater than or equal to 0: Cancel event broadcast "[Rekrut] %player% : %colored message%" if {DW.%player%} is greater than or equal to 11: Cancel event broadcast "[Szeregowy pierwszej klasy] %player% : %colored message%" if {DW.%player%} is greater than or equal to 25: Cancel event broadcast "[Mlodszy szeregowy] %player% : %colored message%" if {DW.%player%} is greater than or equal to 50: Cancel event broadcast "[Starszy Szeregowy] %player% : %colored message%" if {DW.%player%} is greater than or equal to 100: Cancel event broadcast "[Sierzant] %player% : %colored message%" if {DW.%player%} is greater than or equal to 200: Cancel event broadcast "[Starszy sierzant] %player% : %colored message%" if {DW.%player%} is greater than or equal to 350: Cancel event broadcast "[Sierzant sztabowy] %player% : %colored message%" if {DW.%player%} is greater than or equal to 500: Cancel event broadcast "[Glowny sierzant] %player% : %colored message%" if {DW.%player%} is greater than or equal to 750: Cancel event broadcast "[Pierwszy sierzant] %player% : %colored message%" if {DW.%player%} is greater than or equal to 1000: Cancel event broadcast "[Sierzant glowny sztabowy] %player% : %colored message%" if {DW.%player%} is greater than or equal to 1400: Cancel event broadcast "[Sierzant major] %player% : %colored message%" if {DW.%player%} is greater than or equal to 2000: Cancel event broadcast "[Podchorazy] %player% : %colored message%" if {DW.%player%} is greater than or equal to 3000: Cancel event broadcast "[Chorazy] %player% : %colored message%" if {DW.%player%} is greater than or equal to 4500: Cancel event broadcast "[Starszy Chorazy] %player% : %colored message%" if {DW.%player%} is greater than or equal to 6500: Cancel event broadcast "[Kapral] %player% : %colored message%" if {DW.%player%} is greater than or equal to 9000: Cancel event broadcast "[Mlodszy Porucznik] %player% : %colored message%" if {DW.%player%} is greater than or equal to 13000: Cancel event broadcast "[Podporucznik] %player% : %colored message%" if {DW.%player%} is greater than or equal to 18000: Cancel event broadcast "[Porucznik] %player% : %colored message%" if {DW.%player%} is greater than or equal to 24000: Cancel event broadcast "[Starszy Porucznik] %player% : %colored message%" if {DW.%player%} is greater than or equal to 31000: Cancel event broadcast "[Kapitan] %player% : %colored message%" if {DW.%player%} is greater than or equal to 39000: Cancel event broadcast "[Major] %player% : %colored message%" if {DW.%player%} is greater than or equal to 48000: Cancel event broadcast "[Podpulkownik] %player% : %colored message%" if {DW.%player%} is greater than or equal to 58000: Cancel event broadcast "[Pulkownik] %player% : %colored message%" if {DW.%player%} is greater than or equal to 69000: Cancel event broadcast "[Szef korpusu] %player% : %colored message%" if {DW.%player%} is greater than or equal to 81000: Cancel event broadcast "[General] %player% : %colored message%" if {DW.%player%} is greater than or equal to 86000: Cancel event broadcast "[General major] %player% : %colored message%" if {DW.%player%} is greater than or equal to 1000000: Cancel event broadcast "[Weteran] %player% : %colored message%"command /rangi: trigger: send "Rekrut:" send "poziomy: 0-10" send "Szeregowy pierwszej klasy:" send "poziomy: '11-25" send "Mlodszy szeregowy:" send "poziomy: '26-50" send "Starszy Szeregowy:" send "poziomy: '51-100" send "Sierzant:" send "poziomy: '101-200" send "Starszy sierzant:" send "poziomy: '201-350" send "Sierzant sztabowy:" send "poziomy: '351-500" send "Glowny sierzant:" send "poziomy: '501-750" send "Pierwszy sierzant:" send "poziomy: '751-1000" send "Sierzant glowny sztabowy:" send "poziomy: '1001-1400" send "Sierzant major:" send "poziomy: '1401-2000" send "Podchorazy:" send "poziomy: '2001-3000" send "Chorazy:" send "poziomy: '3001-4500" send "Starszy Chorazy:" send "poziomy: '4501-6500" send "Kapral:" send "poziomy: '6501-9000" send "Podporucznik:" send "poziomy: '9001-13000" send "Mlodszy Porucznik:" send "poziomy: '13001-18000" send "Porucznik:" send "poziomy: '18001-24000" send "Starszy Porucznik:" send "poziomy: '24001-31000" send "Kapitan:" send "poziomy: '31001-39000" send "Major:" send "poziomy: '39001-48000" send "Podpulkownik:" send "poziomy: '48001-58000" send "Pulkownik:" send "poziomy: '58001-69000" send "Szef korpusu:" send "poziomy: '69001-81000" send "General:" send "poziomy: '81001-86000" send "General major:" send "poziomy: '86001-90000" send "Weteran:" send "poziomy: '90001-1000000"
  23. [11:51:37 ERROR]: 'protection 1' is not an item stack (klasy.sk, line 95: Equip player with all golden armour of protection 1')
  24. Witam jak zrobić żeby po wpisaniu komendy została nałożona złota zbroja z enchantem prot 1?
  25. command /zmianamapy: trigger: if {mapka} is not between 1 and 4: set {mapka} to 1 stop else: if {mapka} is equal to 1: set {mapka} to 2 broadcast "Zmiana mapy na 2" stop if {mapka} is equal to 2: set {mapka} to 3 broadcast "Zmiana mapy na 3" stop if {mapka} is equal to 3: set {mapka} to 4 broadcast "Zmiana mapy na 4" stop if {mapka} is equal to 4: set {mapka} to 1 broadcast "Zmiana mapy na 1" stopcommand /mapa: trigger: if {mapka} is 1: teleport player to {mapa1} if {mapka} is 2: teleport player to {mapa2} if {mapka} is 3: teleport player to {mapa3} if {mapka} is 4: teleport player to {mapa4} command /ustaw [<number&gt]: trigger: if arg 1 is not set: message "Usage: /ustaw <1-4>" stop if arg 1 is equal to 1: set {mapa1} to location of player message "Ustawiono 1" stop if arg 1 is equal to 2: set {mapa2} to location of player message "Ustawiono 2" stop if arg 1 is equal to 3: set {mapa3} to location of player message "Ustawiono 3" stop if arg 1 is equal to 4: set {mapa4} to location of player message "Ustawiono 4" stop
×
×
  • Dodaj nową pozycję...