-
Ilość zawartości
249 -
Rejestracja
-
Ostatnia wizyta
Treść opublikowana przez mati770ka
-
Przykład: on mine of stone: chance of 5%: if player can hold 1 diamond: add 1 diamond to player else: drop 1 diamond
-
on damage: victim is a endercrystal projectile is a arrow cancel event
-
Dzięki :D do zamknięcia //Kłódka ~Tropereks
-
no własnie tylko same koordynaty ale na tych kordach skrzyni nie ma
-
@up nie działa ;/
-
ale mi chodzi że skrzynki tam nie stawia
-
tak działają nawet dam ss http://scr.hu/36pg/tjhv6
-
Dlaczego ten kod nie działa niby wysyła wiadomość o kordach skrzynki ale jej tam nie stawia wspomnę że w komendzie ten kod poprawnie działa: every {@czas} seconds: set {_kor1} to random integer between {@Xmin} and {@Xmax} set {_kor2} to random integer between {@Ymin} and {@Ymax} set {_kor3} to random integer between {@Zmin} and {@Zmax} send "&c&l&m=============================================" to all players send "" to all players send " &e&lRandomowa Skrzynka" to all players send " &a&lX:%{_kor1}%&f&l, &a&lY:%{_kor2}%&f&l, &a&lZ:%{_kor3}%" to all players send "" to all players send "&c&l&m=============================================" to all players set block at location {_kor1}, {_kor2}, {_kor3} to chest add a random item out of {randomchest::*} to block at location {_kor1}, {_kor2}, {_kor3}
-
Do zamknięcia źle przeczytałem
-
Mam tutaj oto taki kod: every 6 seconds: loop all players: set {KorX} to random number between {@kXm} and {@kXmax} set {KorZ} to random number between {@kZm} and {@kZmax} set {KorY} to random number between {@kYm} and {@kYmax} set {spawngiant} to location at {KorX}, {KorY}, {KorZ} spawn 1 giant at location of {spawngiant} set max health of last spawned entity to {@hp} heal last spawned entity send "&a&l&m=============================================" to loop-player send "" to loop-player send " &e&lGiant Zostal Zrespiony" to loop-player send " &c&lKordy: &b&l%{spawngiant}%" to loop-player send "" to loop-player send "&a&l&m=============================================" to loop-playerProblem jest taki że nie wyświetla kordów pisze "<none>"
-
set name of last spawned entity to "nazwa"
-
Temat do zamknięcia
-
Dlaczego nie dodaje gracza do zmiennej
mati770ka odpowiedział(a) na mati770ka pytanie w Pytania i problemy
Też tak próbowałem ale teraz mi chodzi o to że ciągle pisze choć jestem w grze "Aktualnie nie grasz" Wysłane z mojego LG L5 II -
Dlaczego nie dodaje gracza do zmiennej
mati770ka odpowiedział(a) na mati770ka pytanie w Pytania i problemy
@up właśnie mi w tym nie działa komenda /wyjdz i /dołącz się buguje -
Dlaczego nie dodaje gracza do zmiennej
mati770ka odpowiedział(a) na mati770ka pytanie w Pytania i problemy
Teraz ten kod jest poprawny?: options: tag: &7[&cCastleWar&7] #Tag przed wiadomosciami odliczanie: 10 #ilosc sekund do rozpoczecia iloscgraczy: 2 #wymagana ilosc graczy do rozpoczeciacommand /CastleWar [<text>] [<text>] [<text>]: aliases: cw, castle trigger: if arg 1 is not set: send "&e&m=========={@tag}&e&m==========" send "" send " &c&m* &a/cw dolacz <arena> &c- &eDolacza do wybranej areny" send " &c&m* &a/cw wyjdz &c- &eWychodzi z areny" send " &c&m* &a/cw statystyki &c- &eSprawdza twoje statystyki" send " &c&m* &a/cw statystyki <gracz> &c- &eSprawdza statystyki podanego gracza" send " &c&m* &a/cw lobby <arena> &c- &eUstawia lobby dla wybranej areny" send " &c&m* &a/cw utworz <nazwa> &c- &eStwarza arene o podanej nazwie" send " &c&m* &a/cw usun <nazwa> &c- &eUsuwa podana arene" send " &c&m* &a/cw spawn <arena> czerwoni &c- &eUstawia spawn czerwonych" send " &c&m* &a/cw spawn <arena> niebiescy &c- &eUstawia spawn niebieskich" send "" send "&e&m=========={@tag}&e&m==========" if arg 1 is "utworz": if arg 2 is set: if {CastleWar::utworz::%arg 2%::*} is set: send "{@tag} &eArena &a%arg 2% &ejuz istnieje!" else: send "{@tag} &eArena &a%arg 2% &ezostala utworzona" set {CastleWar::utworz::%arg 2%::*} to true add arg 2 to {CastleWar.areny.all::*} set {CastleWar::swiat::%arg 2%::*} to player's world send "%{CastleWar::swiat::%arg 2%::*}%" else: send "{@tag} &ePodaj nazwe areny" if arg 1 is "usun": if arg 2 is set: if {CastleWar::utworz::%arg 2%::*} is set: send "{@tag} &eArena &a%arg 2% &ezostala usunieta!" clear {CastleWar::utworz::%arg 2%::*} clear {CastleWar::swiat::%arg 2%::*} clear {CastleWar::status.%arg 2%::*} clear {CastleWar::arena::%arg 2%::*} clear {CastleWar::ilosc::%arg 2%::*} clear {CastleWar::lobby::%arg 2%::*} else: send "{@tag} &eArena &a%arg 2% &enie istnieje" else: send "{@tag} &ePodaj nazwe areny" if arg 1 is "dolacz": if arg 2 is set: if {CastleWar::status::%arg 2%::*} is not set: set {CastleWar::status::%arg 2%::*} to false if {CastleWar::ilosc::%arg 2%::*} is not set: set {CastleWar::ilosc::%arg 2%::*} to 0 if {CastleWar::utworz::%arg 2%::*} is set: if {CastleWar::status::%arg 2%::*} is false: if {CastleWar::gracz::gra::%player%::*} is false: send "{@tag} &eDolaczyles do areny" add player to {CastleWar::gracze::%arg 2%::*} send "%{CastleWar::gracze::%arg 2%::*}%" add 1 to {CastleWar::ilosc::%arg 2%::*} set {CastleWar::gracz::gra::%player%::*} to true teleport player to {CastleWar::lobby::%arg 2%} send "{@tag} &eGracz &a%player% &edolaczyl do areny &c(&a%{CastleWar::ilosc::%arg 2%::*}%&e/&a2&c)" to all players in {CastleWar::swiat::%arg 2%::*} if {CastleWar::ilosc::%arg 2%::*} is bigger than or equal to {@iloscgraczy}: set {CastleWar::status::%arg 2%::*} to true set {_CastleWar.Licznik} to {@odliczanie}+1 loop {@odliczanie}+1 times: subtract 1 from {_CastleWar.Licznik} send "{@tag} &eStart areny za &a%{_CastleWar.Licznik}%" to all players in {CastleWar::swiat::%arg 2%::*} play raw sound "random.click" at {CastleWar::lobby::%arg 2%::*} with pitch 2 volume 5 wait 1 seconds send "{@tag} &eArena &a%arg 2% &ewystartowala" to all players in {CastleWar.swiat::%arg 2%} play raw sound "random.explode" at {CastleWar::lobby::%arg 2%::*} with pitch 1 volume 5 else: send "{@tag} &eJestes juz na arenie!" else: send "{@tag} &eArena juz wystartowala" else: send "{@tag} &eArena &a%arg 2% &enie istnieje" if arg 1 is "lobby": if arg 2 is set: if {CastleWar::utworz::%arg 2%::*} is set: set {CastleWar::lobby::%arg 2%::*} to player's location send "{@tag} &eUstawiles &aLobby &edla areny &a%arg 2%" else: send "{@tag} &eArena &a%arg 2% &enie istnieje" else: send "{@tag} &ePodaj nazwe areny" if arg 1 is "wyjdz": if {CastleWar::gracze::*} contains "%player%": send "wyszedles" to all players in player's world remove player from {CastleWar::gracze::*} else: send "{@tag} &eAktualnie nie grasz" -
Dlaczego nie dodaje gracza do zmiennej
mati770ka odpowiedział(a) na mati770ka pytanie w Pytania i problemy
To możesz poprawić ten skrypt bo ja już nie ogarniam :( options: tag: &7[&cCastleWar&7] #Tag przed wiadomosciami odliczanie: 10 #ilosc sekund do rozpoczecia iloscgraczy: 2 #wymagana ilosc graczy do rozpoczeciacommand /CastleWar [<text>] [<text>] [<text>]: aliases: cw, castle trigger: if arg 1 is not set: send "&e&m=========={@tag}&e&m==========" send "" send " &c&m* &a/cw dolacz <arena> &c- &eDolacza do wybranej areny" send " &c&m* &a/cw wyjdz &c- &eWychodzi z areny" send " &c&m* &a/cw statystyki &c- &eSprawdza twoje statystyki" send " &c&m* &a/cw statystyki <gracz> &c- &eSprawdza statystyki podanego gracza" send " &c&m* &a/cw lobby <arena> &c- &eUstawia lobby dla wybranej areny" send " &c&m* &a/cw utworz <nazwa> &c- &eStwarza arene o podanej nazwie" send " &c&m* &a/cw usun <nazwa> &c- &eUsuwa podana arene" send " &c&m* &a/cw spawn <arena> czerwoni &c- &eUstawia spawn czerwonych" send " &c&m* &a/cw spawn <arena> niebiescy &c- &eUstawia spawn niebieskich" send "" send "&e&m=========={@tag}&e&m==========" if arg 1 is "utworz": if arg 2 is set: if {CastleWar.utworz::%arg 2%} is set: send "{@tag} &eArena &a%arg 2% &ejuz istnieje!" else: send "{@tag} &eArena &a%arg 2% &ezostala utworzona" set {CastleWar.utworz::%arg 2%} to true add arg 2 to {CastleWar.areny.all::*} set {CastleWar.swiat::%arg 2%} to player's world send "%{CastleWar.swiat::%arg 2%}%" else: send "{@tag} &ePodaj nazwe areny" if arg 1 is "usun": if arg 2 is set: if {CastleWar.utworz::%arg 2%} is set: send "{@tag} &eArena &a%arg 2% &ezostala usunieta!" clear {CastleWar.utworz::%arg 2%} clear {CastleWar.swiat::%arg 2%} clear {CastleWar.status.%arg 2%} clear {CastleWar.arena::%arg 2%} clear {CastleWar.ilosc::%arg 2%} clear {CastleWar.lobby::%arg 2%} else: send "{@tag} &eArena &a%arg 2% &enie istnieje" else: send "{@tag} &ePodaj nazwe areny" if arg 1 is "dolacz": if arg 2 is set: if {CastleWar.status::%arg 2%} is not set: set {CastleWar.status::%arg 2%} to false if {CastleWar.ilosc::%arg 2%} is not set: set {CastleWar.ilosc::%arg 2%} to 0 if {CastleWar.utworz::%arg 2%} is set: if {CastleWar.status::%arg 2%} is false: if {CastleWar.gracz.gra::%player%} is false: send "{@tag} &eDolaczyles do areny" add executor to {CastleWar.gracze::%arg 2%::*} send "%{CastleWar.gracze::%arg 2%::*}%" add 1 to {CastleWar.ilosc::%arg 2%} set {CastleWar.gracz.gra::%player%} to true teleport player to {CastleWar.lobby::%arg 2%} send "{@tag} &eGracz &a%player% &edolaczyl do areny &c(&a%{CastleWar.ilosc::%arg 2%}%&e/&a2&c)" to all players in {CastleWar.swiat::%arg 2%} if {CastleWar.ilosc::%arg 2%} is bigger than or equal to {@iloscgraczy}: set {CastleWar.status::%arg 2%} to true set {_CastleWar.Licznik} to {@odliczanie}+1 loop {@odliczanie}+1 times: subtract 1 from {_CastleWar.Licznik} send "{@tag} &eStart areny za &a%{_CastleWar.Licznik}%" to all players in {CastleWar.swiat::%arg 2%} play raw sound "random.click" at {CastleWar.lobby::%arg 2%} with pitch 2 volume 5 wait 1 seconds send "{@tag} &eArena &a%arg 2% &ewystartowala" to all players in {CastleWar.swiat::%arg 2%} play raw sound "random.explode" at {CastleWar.lobby::%arg 2%} with pitch 1 volume 5 else: send "{@tag} &eJestes juz na arenie!" else: send "{@tag} &eArena juz wystartowala" else: send "{@tag} &eArena &a%arg 2% &enie istnieje" if arg 1 is "lobby": if arg 2 is set: if {CastleWar.utworz::%arg 2%} is set: set {CastleWar.lobby::%arg 2%} to player's location send "{@tag} &eUstawiles &aLobby &edla areny &a%arg 2%" else: send "{@tag} &eArena &a%arg 2% &enie istnieje" else: send "{@tag} &ePodaj nazwe areny" if arg 1 is "wyjdz": loop {CastleWar.gracze::*}: if loop-value contains "%name of player%": send "wyszedles" to all players in player's world remove player from {CastleWar.gracze::*} else: send "{@tag} &eAktualnie nie grasz" -
Dlaczego ten kod: send "{@tag} &eDolaczyles do areny" add player to {CastleWar.gracze::%arg 2%} send "%{CastleWar.arena::arg 2}%" add 1 to {CastleWar.ilosc::%arg 2%}nie chce dodawać gracza do tej zmiennej : add player to {CastleWar.gracze::%arg 2%} Gdy wpisuję komendę /cw dolacz <arena> wyskakuje coś takiego: http://scr.hu/36pg/4pepo
-
to teraz jak usunąć 1 z tego {CastleWar::arena::ilosc::%arg 2%} dla danej areny?
-
a to nie będzie tak że innych graczy którzy są w tej zmiennej tez usunie?
-
Dlaczego ten kod nie działa jak go inaczej zapisać: if arg 1 is "wyjdz": loop {CastleWar::arena::*}: if {CastleWar::arena::%loop-value%} contains "%player%": send "wyszedles" to all players in player's world remove player from {CastleWar::arena::%loop-value%}dodam jeszcze że przy dodawaniu dodaje graczy do zmiennych tak: add player to {CastleWar::arena::%arg 2%}add 1 to {CastleWar::arena::ilosc::%arg 2%}Chce żeby kasowało gracza z tych zmiennych po wyjściu
-
W jaki sposób to inaczej zapisać
mati770ka odpowiedział(a) na mati770ka pytanie w Pytania i problemy
@up no własnie ale jak tak daje to nie działa niby błędów nie ma ale nie wysyła -
Poprawi ktoś ten kod by działał odpowiednio by odliczał czas gdy jest 2 graczy i gracze nie mogli 2 razy wchodzić na arenę bo ja jakoś nie mogę sobie z tym poradzić ;-; if arg 1 is "dolacz": if arg 2 is set: if {CastleWar::utworz::%arg 2%} is set: if {CastleWar::status::%arg 2%} is false: if {CastleWar::gracz::gra::%player%} is false: if {CastleWar::arena::ilosc::%arg 2%} is smaller than 2: send "{@tag} &eDolaczyles do areny" add player to {CastleWar::arena::%arg 2%} add 1 to {CastleWar::arena::ilosc::%arg 2%} set {CastleWar::gracz::gra::%player%} to true send "{@tag} &eGracz &a%player% &edolaczyl do areny &c(&a%{CastleWar::arena::ilosc::%arg 2%}%&e/&a2&c)" to all players else: set {CastleWar::status::%arg 2%} to true else: send "{@tag} &eJestes juz na arenie!" else: send "3" to all players send "2" to all players send "1" to all players
-
W jaki sposób to inaczej zapisać
mati770ka odpowiedział(a) na mati770ka pytanie w Pytania i problemy
taki błąd teraz jest : http://scr.hu/36pg/aqr98 -
W jaki sposób to inaczej zapisać
mati770ka odpowiedział(a) na mati770ka pytanie w Pytania i problemy
nie działa piszę tylko do gracza "Dołączyłeś" a do innych nie wysyła
