-
Ilość zawartości
248 -
Rejestracja
-
Ostatnia wizyta
-
Wygrane w rankingu
1
Treść opublikowana przez KrisSx
-
No ok, poprawilem to na co znalazlem tam odpowiedz, ale wciaz brakuje mi: "unexpected entry..." (tak jak wyzej)
-
64-38 - te wszystkie maja ten blad, dodatkowo zauwazylem kolejny blad: "Unexpected entry 'permission message: &cNie posiadasz odpowiedniej rangi!'. Check whether it's spelled correctly or remove it. (menu.sk, line 32: permission message: &cNie posiadasz odpowiedniej rangi!:')" (31 linijka to samo) I kolejny blad (wczesniej go tez nie bylo): "Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you dont want this line to start a section." linijki: 64-38, 32, 31
-
Nie wiem jak to napisac, ale czy probowales w miejsce tego bloku dac np stojak na zbroje, i to jemu ustawic hp?
-
Ten blad juz naprawilem, teraz jest inny :s "Can't understand this event:" Skrypt: (Przepraszam ze nie jest w kodzie, ale nie jestem na kompie a na telefonie takiej opcji nie widze, aha, jak ja to sprawdzam? Mam na telefonie pobranego klienta FTP i edytor tekstu (dobrze dziala, fajnie sie go używa) i na serwer wchodze przez Pickaxe chat i tylko sprawdzam czy sa bledy (narazie jest ich tylko 30 a bylo ponad 60 ) ---------------------------------------------------------------- command /menu: permission: menu.otworz trigger: open chest with 2 rows named "&4&lMenu" to player play raw sound "random.pop" at player with pitch 0.2 volume 10 wait 1 tick format slot 0 of player with 1 of bed named "&b&lSpawn" to close then run "spawn" format slot 1 of player with 1 of grass named "Teleport na dzialke" to close then run "plot home" format slot 2 of player with 1 of name tag named "&a&lPomoc" to close then run "pomoc" format slot 3 of player with 1 of gold ingot named "e&lVIP" to close then run "vip" format slot 4 of player with 1 of diamond named "&d&ls&e&lVIP" to close then run "svip" format slot 5 of player with 1 of emerald named "&f&lY&4&lT" to close then run "yt" format slot 6 of player with 1 of book named "&b&lRegulamin" to close then run "regulamin" format slot 7 of player with 1 of anvil named "&b&lNapraw przedmioty" to close then run "repair all" format slot 8 of player with 1 of paper named "&b&lGracze online" to close then run "list" format slot 9 of player with 1 of compass named "&b&lWarpy &a&l&m>" to close then run "warp" format slot 10 of player with 1 of nether portal named "&b&lDzialki" to close then run "warp dzialki" format slot 11 of player with 1 of nether portal named "&b&lTarg" to close then run "warp targ" format slot 12 of player with 1 of nether portal named "&b&lArena PvP" to close then run "warp pvp" format slot 13 of player with 1 of nether portal named "&b&lPortale do expowisk" to close then run "warp portale" format slot 14 of player with 1 of nether portal named "&b&lHefajstos" to close then run "warp hefajstos" format slot 15 of player with 1 of nether portal named "&b&lWaluty" to close then run "warp waluty" format slot 16 of player with 1 of nether portal named "&b&lKaplan" to close then run "warp kaplan" format slot 17 of player with 1 of nether portal named "&b&lArtefakty" to close then run "warp aftefakty" command /menuinfo: trigger: send "&4&lRpgMenu:" send "&4&lAutor: &b&lKrisSx" send "&4&lWersja: 1.0" command /admin: permission: menu.admin: permission message: &cNie posiadasz odpowiedniej rangi!: trigger: open chest with 3 rows named "&4&lMenu admina" to player play raw sound "random.pop" at player with pitch 0.2 volume 10 wait 1 tick: format slot 0 of player with 1 of bed named "&b&lSpawn" to close then run "spawn" format slot 1 of player with 1 of grass named "Teleport na dzialke" to close then run "plot home": format slot 2 of player with 1 of name tag named "&a&lPomoc" to close then run "pomoc": format slot 3 of player with 1 of gold ingot named "e&lVIP" to close then run "vip": format slot 4 of player with 1 of diamond named "&d&ls&e&lVIP" to close then run "svip": format slot 5 of player with 1 of emerald named "&f&lY&4&lT" to close then run "yt": format slot 6 of player with 1 of book named "&b&lRegulamin" to close then run "regulamin": format slot 7 of player with 1 of anvil named "&b&lNapraw przedmioty" to close then run "repair all": format slot 8 of player with 1 of paper named "&b&lGracze online" to close then run "list": format slot 9 of player with 1 of compass named "&b&lWarpy &a&l&m>" to close then run "warp": format slot 10 of player with 1 of portal named "&b&lDzialki" to close then run "warp dzialki": format slot 11 of player with 1 of portal named "&b&lTarg" to close then run "warp targ": format slot 12 of player with 1 of portal named "&b&lArena PvP" to close then run "warp pvp": format slot 13 of player with 1 of portal named "&b&lPortale do expowisk" to close then run "warp portale": format slot 14 of player with 1 of portal named "&b&lHefajstos" to close then run "warp hefajstos": format slot 15 of player with 1 of portal named "&b&lWaluty" to close then run "warp waluty": format slot 16 of player with 1 of portal named "&b&lKaplan" to close then run "warp kaplan": format slot 17 of player with 1 of portal named "&b&lArtefakty" to close then run "warp aftefakty": format slot 18 of player with 1 of magma cream named "&5&lAmulety" to close then run "amuletymenu": format slot 19 of player with 1 of compass named "&c&lKompas" to close then run "i 345 1": format slot 20 of player with 1 of wooden axe named "&c&lWand" to close then run "/wand": format slot 21 of player with 1 of diamond boots named "&c&lSpeed 10" to close then run "speed 10": format slot 22 of player with 1 of leather boots named "&c&lSpeed 1" to close then run "speed 1": format slot 23 of player with 1 of golden boots named "&c&lFly" to close then run "fly": format slot 24 of player with 1 of stone named "&c&lCreative" to close then run "gamemode 1": format slot 25 of player with 1 of grass named "&c&lSurvival" to close then run "gamemode 0": format slot 26 of player with 1 of log named "&c&lAdventure" to close then run "gamemode 2": format slot 27 of player with 1 of potion named "&c&lVanish" to close then run "vanish": command /amuletymenu: permission: amulety.admin permission message: &cNie posiadasz odpowiedniej rangi! trigger: open chest with 1 row named "&4&lMenu amuletow" to player play raw sound "random.pop" at player with pitch 0.2 volume 10 wait 1 tick format slot 0 of player with 1 of magma cream named "&7&lSlabe amulety" to close then run "amulety" format slot 1 of player with 1 of magma cream named "&5&lZwykle amulety" to close then run "amuletyadm" format slot 2 of player with 1 of magma cream named "8&lDemoniczne amulety" to close then run "demoamulety" format slot 3 of player with 1 of black glass named " " to close format slot 4 of player with 1 of black glass named " " to close format slot 5 of player with 1 of black glass named " " to close format slot 6 of player with 1 of black glass named " " to close format slot 7 of player with 1 of black glass named " " to close format slot 8 of player with 1 of arrow named "&c&lPowrot" to close then run "admin"
-
"invalid line - all code has to be put into triggers" Mam az 35 takich bledow w skrypcie na menu :l innych bledow nie mam. Pomoze ktos?
-
Wielkie dzieki, a co zrobic zeby ten dzwiek tylko gracz slyszal?
-
on load: set {sila} to true on rightclick: player's tool is magma cream of fortune 10 named "&5&lAmulet Sily": if {sila} is true: remove strength from player apply strength 2 to player for 30 seconds send "&4&l[&6&lAMULET&4&l] &7Uzyles &4Amuletu Sily" play raw sound "mob.blaze.hit" at all players with pitch 0.2 volume 10 set {sila} to false wait 90 seconds set {sila} to true if {sila} is false: send "&4&l[&6&lAMULET&4&l] &7Musisz jeszcze zaczekac..." Pomoze ktos? Niby wszystko dobrze z tym skryptem, 0 bledow, ladnie dziala, efekty sa, dzwiek jest, ale jeden problem: jezeli ja uzyje amuletu, to kolega po moim uzyciu musi czekac, tak jakby on tez uzyl (a tego nie zrobil) i jak ktos ma chwile, co zrobic zeby tylko gracz slyszal ten dzwiek z amuletu? ;D Pluginy: SkQuery, Skript
-
Problem juz sam rozwiazalem po kilku probach ;D do zamkniecia
-
#sila on load: set {sila} to true on rightclick: player's tool is slimeball named "&5Amulet Sily": if {sila} is true: apply strength 2 to player for 30 seconds set {sila} to false wait 90 seconds set {sila} to true #szybkosc on load: set {speed} to true on rightclick: player's tool is slimeball named "&5Amulet Szybkosci": if {speed} is true: apply speed 2 to player for 30 seconds set {speed} to false wait 90 seconds set {speed} to true #hp on load: set {hp} to true on rightclick: player's tool is slimeball named "&5Amulet Zycia": if {hp} is true: apply absorption 5 to player for 60 seconds set {hp} to false wait 120 seconds set {hp} to true #leczenie on load: set {heal} to true on rightclick: player's tool is slimeball named "&5Amulet Leczenia": if {heal} is true: apply instant health 10 to player for 1 seconds set {heal} to false wait 15 seconds set {heal} to true #odpornosc on load: set {odp} to true on rightclick: player's tool is slimeball named "&5Amulet Odpornosci": if {odp} is true: apply resistance 2 to player for 30 seconds set {odp} to false wait 90 seconds set {odp} to true #regeneracja on load: set {regen} to true on rightclick: player's tool is slimeball named "&5Amulet Regeneracji": if {regen} is true: apply regeneration 3 to player for 30 seconds set {regen} to false wait 90 seconds set {regen} to true #odp. na ogien on load: set {fire} to true on rightclick: player's tool is slimeball named "&5Amulet Odpornosci na Ogien": if {fire} is true: apply fire resistance 1 to player for 120 seconds set {fire} to false wait 150 seconds set {fire} to true #skok on load: set {skok} to true on rightclick: player's tool is slimeball named "&5Amulet Skoku": if {skok} is true: apply jump boost 2 to player for 30 seconds set {skok} to false wait 90 seconds set {skok} to true Co tu jest nie tak? Niby wszystko działa, ale gracze nie otrzymują efektów ;/
-
Ok wielkie dzieki ale zaczalem tworzyc kolejny skrypt na amulety, i znowu cos sie zepsulo (nie dzialaja efekty) #sila on load: set {sila} to true on rightclick: player's tool is slimeball named "&5Amulet Sily": if {sila} is true: apply strength 2 to player for 30 seconds set {sila} to false wait 90 seconds set {sila} to true #szybkosc on load: set {speed} to true on rightclick: player's tool is slimeball named "&5Amulet Szybkosci": if {speed} is true: apply speed 2 to player for 30 seconds set {speed} to false wait 90 seconds set {speed} to true #hp on load: set {hp} to true on rightclick: player's tool is slimeball named "&5Amulet Zycia": if {hp} is true: apply absorption 5 to player for 60 seconds set {hp} to false wait 120 seconds set {hp} to true #leczenie on load: set {heal} to true on rightclick: player's tool is slimeball named "&5Amulet Leczenia": if {heal} is true: apply instant health 10 to player for 1 seconds set {heal} to false wait 15 seconds set {heal} to true #odpornosc on load: set {odp} to true on rightclick: player's tool is slimeball named "&5Amulet Odpornosci": if {odp} is true: apply resistance 2 to player for 30 seconds set {odp} to false wait 90 seconds set {odp} to true #regeneracja on load: set {regen} to true on rightclick: player's tool is slimeball named "&5Amulet Regeneracji": if {regen} is true: apply regeneration 3 to player for 30 seconds set {regen} to false wait 90 seconds set {regen} to true #odp. na ogien on load: set {fire} to true on rightclick: player's tool is slimeball named "&5Amulet Odpornosci na Ogien": if {fire} is true: apply fire resistance 1 to player for 120 seconds set {fire} to false wait 150 seconds set {fire} to true #skok on load: set {skok} to true on rightclick: player's tool is slimeball named "&5Amulet Skoku": if {skok} is true: apply jump boost 2 to player for 30 seconds set {skok} to false wait 90 seconds set {skok} to true Spróbowałem też dać tylko jeden amulet do skryptu pojedyńczego, ale to nie działa ;/ Żadnych błędów nie pokazuje przy załadowaniu skryptu
-
Hej, co w tym skrypcie jest źle? variables: {kon.przywolany.%player%} = false command /Kon: permission: przywolaj.kon permission message: &cNie posiadasz odpowiedniej rangi! trigger: give a magma cream of fortune 10 named "&a&lPrzywolaj Konia" to the player on rightclick: player is holding magma cream of fortune 10 named "&a&lPrzywolaj Konia": if {kon.przywolany.%player%} = false: spawn 1 horse at location of player set the name of spawned entity to "%player%" make player ride spawned horse equip spawned horse with saddle equip spawned horse with iron horse armor effect spawned horse with 11 10 999999 set {kon.przywolany.%player%} to true send "&aPrzywolales swojego konia!" else if {kon.przywolany.%player%} = true: set {kon.przywolany.%player%} to false send "&cOdeslales swojego konia!" loop all horses: if name of horses contain "%player%": kill horses on death of horses: if victim's name contains "%player%": clear drops chciałbym aby koń który się zrespi miał efekt odporność 10 (na zawsze) albo regeneracje 5 (tez na zawsze) Błąd który wyskakuje: "Can't understand this condition/effect: effect spawned horse with 11 10 999999 (konik.sk, line:18: effect spawned horse with 11 10 999999') i jeszcze jedno: napisałby ktoś (albo podpowiedział) jak napisać skrypt na Amulety? (coś takiego że jak gracz trzymając ten amulet kliknie ppm dostaje dany efekt na jakiś czas, a samego amuletu można użyć co np. minute)
-
Ale jakie sektory? Ty robisz jaila? Jeśli tak to sie do mnie zgłoś na pw, chetnie pomoge bo sam jaila zrobilem
-
Ok, skoro juz mam lvle, teraz moze (jesli ktos ma czas) jakies umiejętności dla graczy (np uzyje zwoju (papieru) nazwanego jakos, i np na 5 sekund dostaje sile 3, albo wokol niego tak jakby ktos rzucił 4 potki krzywdy (taki atak obszarowy) czy cos)
-
Kolega juz mi ten skrypt napisal, zajęło mu to 2 minuty, mysle ze nie rozumiecie o co mi chodzi ;D A wiec: jesli gracz wbije 5lvl (xp, jest juz ustawiony xp (ten na pasku) z mobow), to taki gracz dostaje rangę 5lvl (/pex user nick group add 5lvl), dzieki czemu bede mogl zrobic regiony w world guard na entry-deny (w tych przejsciach miedzy expowiskami) i dodac jako membera g:5lvl Jak to wyglada od kolegi (mniej wiecej): If player has 5lvl execute console command: pex user (zmienna-gracz) group add 5lvl If player has 10lvl... A wy mi chcecie tu zrobic niewiadomo co a to takie proste bylo (ja jestem poczatkujacy jezeli chodzi o skrypty, dlatego tutaj poprosilem o pomoc :l)
-
Ok, co mi wystarczy: skrypt ktory dodaje graczowi rangę (np 5lvl) jeśli wbije 5lvl xp. Nic więcej. Nawet prefixu nie trzeba, bez tego tez będzie dobrze. Nie musi tez być cos takiego dla każdego lvl, wystarczy co 5 (5,10,15,20,25... 95)
-
Czemu mam przeczucie ze ty to sprawdzasz majac opa/* w pexie?
-
Chodź mi o cos takiego ze jeśli wbije 5lvl (na serwerze zaplanowane jest 99lvl max, ale wystarczy ze zobacze jak to powinno wyglądać i raczej dam rade sam zrobic na wyższe lvl), to może przejść na kolejne expowisko (to wystarczy jeśli dostanie rangę z dostępem do expowiska (zrobie region dodając ta grupę, wiec tu nic kombinowac nie trzeba), a region sam juz ogarne) i na chat posiada prefix ze swoim lvl Aha, na serwerze nie ma warpow/portali na expowisko, tylko jest jedna wielka mapa na której są expowiska poodzielane (mapa otoczona górami, i sa przejscia miedzy nimi na kolejne expowiska)
-
Hej, z kolegą zacząłem tworzyć serwer RPG i mamy problem z lvlami. Otóż nie mamy pojęcia jak ustawić aby gracz z danym lvl mógł wejść na expowisko. Zależy mi na tym, aby gracz kiedy wbije np 5 lvl (exp normalny) miał prefix z poziomem i uzyskiwał dostęp do dalszych map (może być ze otrzymuje rangę (pex), permisje już sam ogarne) Dziękuje jeśli ktoś zrobi
