Skocz do zawartości

LubieRPG

Użytkownik
  • Ilość zawartości

    63
  • Rejestracja

  • Ostatnia wizyta

Ostatnie wizyty

Blok z ostatnimi odwiedzającymi dany profil jest wyłączony i nie jest wyświetlany użytkownikom.

Osiągnięcia LubieRPG

Początkujący III

Początkujący III (4/13)

0

Reputacja

  1. Chodzi mi o to, czy lepiej mieć wszystko w jednym "every 1 second" czy mieć ich kilka
  2. LubieRPG

    Pytanie

    Siema, mam pytanie nurtujące mnie od pewnego czasu, czy "every 1 second: loop all players" jest tak samo optymalne niż 20 razy napisanie tego samego? Przykład, żeby lepiej zrozumieć: Czy ta opcja: every 1 second: loop all players: send "siema" to loop-player give loop-player 1 diamond named "&aTest" strike lightning at loop-player Działa tak samo czy bardziej optymalnie niż: every 1 second: loop all players: send "siema" to loop-player every 1 second: loop all players: give loop-player 1 diamond named "&aTest" every 1 second: loop all players: strike lightning at loop-player Z góry poprosiłbym mały argument bo bardzo mnie to ciekawi
  3. LubieRPG

    Lagi

    12 GB RAM i7-7700k 5.0 GHz
  4. LubieRPG

    Lagi

    Witam, przychodzę z tematem trochę innym niż skrypty, ale nie mam gdzie indziej szukać pomocy. Mianowicie co 5-10 minut na moim serwerze pojawiają się jedno-dwusekundowe lagi. Co 10 minut w konsoli widzę coś takiego: [INFO] BungeeCord [INFO] 22 Moje ustawienia bukkit.yml ticks-per: animal-spawns: 400 monster-spawns: 1 autosave: 0 Z góry dzięki za pomoc!
  5. Witam, mam problem, jakiś typ na Nukerze wbija mi na serwa z czym generuje ogromną liczbę cpsów, mam plugin kickujący za CPS'y jednak w tym czasie zdąży wywalić osoby w taki sposób, że kicka ich z serwa, ale wciąż ich postacie są na serwerze. Zna ktoś jakiegoś fixa/zabezpieczenie/skrypt czy coś na to? Ewentualnie czy xProtector temu zapobiega?
  6. LubieRPG

    Mute

    Siema, mam problem, skrypt ogólnie działa, ale w powodzie muta mogę wpisywać tylko 1 słowo, oto kod: command /mute [<text>] [<text>] [<text>]: permission: admin.mute trigger: set {_gracz} to arg 1 parsed as offlineplayer set {_powod} to arg 2 parsed as text set {_czas} to arg 3 parsed as timespan if {_gracz} is set: if {_powod} is set: if {_czas} is set: broadcast "" broadcast "&6&lMUTE &b> &8%{_gracz}% &czostal zmutowany na &8%{_czas}% &cprzez &8%player% &cza &8%{_powod}%&c!" broadcast "" set {zmutowanie.set::%{_gracz}%} to {_zmutowany} set {zmutowanie.now::%{_gracz}%} to now else: send "&6&lMUTE &b> &cPodaj jednostke czasu! &8(&fseconds&8/&fminutes&8/&fdays&8/&fmonths&8)" else: send "&6&lMUTE &b> &cPodaj powod!" else: send "&6&lMUTE &b> &cPodaj nick gracza, ktorego chcesz zmutowac!"
  7. LubieRPG

    Portal

    Siema, wie ktoś jak to naprawić, że jak (czasami, ale dość rzadko) wejdzie się w portal to obraca o 180 stopni? Z góry dzięki za pomoc. Spigot 1.8.8 Multiverse Portals Config: wand: 271 useonmove: true portalsdefaulttonether: false enforceportalaccess: true portalcooldown: 0 clearonremove: false teleportvehicles: true framematerials: [] version: 2.7
  8. LubieRPG

    Kasa

    wciąż to samo
  9. LubieRPG

    Kasa

    Paper Spigot 1.8.8 Skript 2.2 Fixes v8b Siema, wytłumaczy mi ktoś czemu nie dodaje mi kasy kiedy klikam PPM na czek? Oto kod: variables: {kasa::%player%} = 0 command /kasa: trigger: send "Kasa: %{kasa::%player%}%$" command /wyplac [<integer>]: trigger: set {_number} to arg 1 if {kasa::%player%} is more than or equal to {_number}: if {_number} is more than or equal to 1: remove {_number} from {kasa::%player%} add {_number} to {kasa::%arg-1%} give 1 paper named "Czek na kase" with lore "Wartosc: %{_number}%$" to player on rightclick: if player's tool is paper: if name of player's tool is "Czek na kase": set {_lore1} to 1st line of the tool's lore replace all "Wartosc:" and "$" and " " with "" in {_lore1} set {_lore1} to {_lore1} parsed as integer add {_lore1} to {kasa::%player%} remove 1 of tool from tool stop Z góry dzięki za pomoc!
  10. LubieRPG

    Bonusy do seta

    Siema, posiadam taki skrypt na bonusy do seta zależne od prota: every 3 seconds: loop all players: #-----------------------------BUTY------------------------# set {rpg_buty::%loop-player%} to enchant level of protection of loop-player's boots if {rpg_buty::%loop-player%} is higher than 9: if {rpg_buty::%loop-player%} is smaller than 20: remove speed from loop-player apply speed 1 to loop-player for 3.1 second if {rpg_buty::%loop-player%} is higher than 19: if {rpg_buty::%loop-player%} is smaller than 30: remove speed from loop-player apply speed 1 to loop-player for 3.1 second if {rpg_buty::%loop-player%} is higher than 29: if {rpg_buty::%loop-player%} is smaller than 40: remove speed from loop-player apply speed 2 to loop-player for 3.1 second if {rpg_buty::%loop-player%} is higher than 39: if {rpg_buty::%loop-player%} is smaller than 50: remove speed from loop-player apply speed 3 to loop-player for 3.1 second if {rpg_buty::%loop-player%} is higher than 49: if {rpg_buty::%loop-player%} is smaller than 60: remove speed from loop-player apply speed 3 to loop-player for 3.1 second if {rpg_buty::%loop-player%} is higher than 59: if {rpg_buty::%loop-player%} is smaller than 70: remove speed from loop-player apply speed 4 to loop-player for 3.1 second if {rpg_buty::%loop-player%} is higher than 69: if {rpg_buty::%loop-player%} is smaller than 80: remove speed from loop-player apply speed 4 to loop-player for 3.1 second if {rpg_buty::%loop-player%} is higher than 79: if {rpg_buty::%loop-player%} is smaller than 90: remove speed from loop-player apply speed 5 to loop-player for 3.1 second if {rpg_buty::%loop-player%} is higher than 89: if {rpg_buty::%loop-player%} is smaller than 100: remove speed from loop-player apply speed 5 to loop-player for 3.1 second if {rpg_buty::%loop-player%} is higher than 99: if {rpg_buty::%loop-player%} is smaller than 110: remove speed from loop-player apply speed 6 to loop-player for 3.1 second if {rpg_buty::%loop-player%} is higher than 109: remove speed from loop-player apply speed 7 to loop-player for 3.1 second #---------------------------HELM---------------------------# set {rpg_helm::%loop-player%} to enchant level of protection of loop-player's helmet if {rpg_helm::%loop-player%} is higher than 9: if {rpg_helm::%loop-player%} is smaller than 20: remove jump boost from loop-player apply jump boost 1 to loop-player for 3.1 second if {rpg_helm::%loop-player%} is higher than 19: if {rpg_helm::%loop-player%} is smaller than 30: remove jump boost from loop-player apply jump boost 1 to loop-player for 3.1 second if {rpg_helm::%loop-player%} is higher than 29: if {rpg_helm::%loop-player%} is smaller than 40: remove jump boost from loop-player apply jump boost 2 to loop-player for 3.1 second if {rpg_helm::%loop-player%} is higher than 39: if {rpg_helm::%loop-player%} is smaller than 50: remove jump boost from loop-player apply jump boost 3 to loop-player for 3.1 second if {rpg_helm::%loop-player%} is higher than 49: if {rpg_helm::%loop-player%} is smaller than 60: remove jump boost from loop-player apply jump boost 3 to loop-player for 3.1 second if {rpg_helm::%loop-player%} is higher than 59: if {rpg_helm::%loop-player%} is smaller than 70: remove jump boost from loop-player apply jump boost 4 to loop-player for 3.1 second if {rpg_helm::%loop-player%} is higher than 69: if {rpg_helm::%loop-player%} is smaller than 80: remove jump boost from loop-player apply jump boost 4 to loop-player for 3.1 second if {rpg_helm::%loop-player%} is higher than 79: if {rpg_helm::%loop-player%} is smaller than 90: remove jump boost from loop-player apply jump boost 5 to loop-player for 3.1 second if {rpg_helm::%loop-player%} is higher than 89: if {rpg_helm::%loop-player%} is smaller than 100: remove jump boost from loop-player apply jump boost 5 to loop-player for 3.1 second if {rpg_helm::%loop-player%} is higher than 99: if {rpg_helm::%loop-player%} is smaller than 110: remove jump boost from loop-player apply jump boost 6 to loop-player for 3.1 second if {rpg_helm::%loop-player%} is higher than 109: remove jump boost from loop-player apply jump boost 7 to loop-player for 3.1 second #-----------------------SPODNIE--------------------------# set {rpg_spodnie::%loop-player%} to enchant level of protection of loop-player's leggings if {rpg_spodnie::%loop-player%} is higher than 9: if {rpg_spodnie::%loop-player%} is smaller than 20: heal the loop-player by 1 if {rpg_spodnie::%loop-player%} is higher than 19: if {rpg_spodnie::%loop-player%} is smaller than 30: heal the loop-player by 2 if {rpg_spodnie::%loop-player%} is higher than 29: if {rpg_spodnie::%loop-player%} is smaller than 40: heal the loop-player by 3 if {rpg_spodnie::%loop-player%} is higher than 39: if {rpg_spodnie::%loop-player%} is smaller than 50: heal the loop-player by 4 if {rpg_spodnie::%loop-player%} is higher than 49: if {rpg_spodnie::%loop-player%} is smaller than 60: heal the loop-player by 5 if {rpg_spodnie::%loop-player%} is higher than 59: if {rpg_spodnie::%loop-player%} is smaller than 70: heal the loop-player by 6 if {rpg_spodnie::%loop-player%} is higher than 69: if {rpg_spodnie::%loop-player%} is smaller than 80: heal the loop-player by 7 if {rpg_spodnie::%loop-player%} is higher than 79: if {rpg_spodnie::%loop-player%} is smaller than 90: heal the loop-player by 8 if {rpg_spodnie::%loop-player%} is higher than 89: if {rpg_spodnie::%loop-player%} is smaller than 100: heal the loop-player by 9 if {rpg_spodnie::%loop-player%} is higher than 99: if {rpg_spodnie::%loop-player%} is smaller than 110: heal the loop-player by 10 if {rpg_spodnie::%loop-player%} is higher than 109: heal the loop-player by 11 #---------------KLATA----------------------------------# set {rpg_klata::%loop-player%} to enchant level of protection of loop-player's chestplate if {rpg_klata::%loop-player%} is 0: set the maximum health of the loop-player to 10 if {rpg_klata::%loop-player%} is higher than 9: if {rpg_klata::%loop-player%} is smaller than 20: remove damage resistance from loop-player apply damage resistance 1 to loop-player for 3.1 second set the maximum health of the loop-player to 12 if {rpg_klata::%loop-player%} is higher than 19: if {rpg_klata::%loop-player%} is smaller than 30: remove damage resistance from loop-player apply damage resistance 1 to loop-player for 3.1 second set the maximum health of the loop-player to 14 if {rpg_klata::%loop-player%} is higher than 29: if {rpg_klata::%loop-player%} is smaller than 40: remove damage resistance from loop-player apply damage resistance 2 to loop-player for 3.1 second set the maximum health of the loop-player to 16 if {rpg_klata::%loop-player%} is higher than 39: if {rpg_klata::%loop-player%} is smaller than 50: remove damage resistance from loop-player apply damage resistance 3 to loop-player for 3.1 second set the maximum health of the loop-player to 18 if {rpg_klata::%loop-player%} is higher than 49: if {rpg_klata::%loop-player%} is smaller than 60: remove damage resistance from loop-player apply damage resistance 4 to loop-player for 3.1 second set the maximum health of the loop-player to 20 if {rpg_klata::%loop-player%} is higher than 59: if {rpg_klata::%loop-player%} is smaller than 70: remove damage resistance from loop-player apply damage resistance 4 to loop-player for 3.1 second set the maximum health of the loop-player to 25 if {rpg_klata::%loop-player%} is higher than 69: if {rpg_klata::%loop-player%} is smaller than 80: remove damage resistance from loop-player apply damage resistance 4 to loop-player for 3.1 second set the maximum health of the loop-player to 30 if {rpg_klata::%loop-player%} is higher than 79: if {rpg_klata::%loop-player%} is smaller than 90: remove damage resistance from loop-player apply damage resistance 4 to loop-player for 3.1 second set the maximum health of the loop-player to 40 if {rpg_klata::%loop-player%} is higher than 89: if {rpg_klata::%loop-player%} is smaller than 100: remove damage resistance from loop-player apply damage resistance 4 to loop-player for 3.1 second set the maximum health of the loop-player to 50 if {rpg_klata::%loop-player%} is higher than 99: if {rpg_klata::%loop-player%} is smaller than 110: remove damage resistance from loop-player apply damage resistance 4 to loop-player for 3.1 second set the maximum health of the loop-player to 60 if {rpg_klata::%loop-player%} is higher than 109: remove damage resistance from loop-player apply damage resistance 4 to loop-player for 3.1 second set the maximum health of the loop-player to 70 Problem jest taki, że "remove (efekt) from loop-player" działa tak, że jeżeli na trybie Creative mam otwarty ekwipunek i jakiś item trzymam w powietrzu to mi go usuwa. Wie ktoś jak to naprawić?
  11. To nic nie zmienia bo po kliknięciu PPM na potke ta zmienna zmienia się na true i nic to nie daje a co do wywalenie serwera to jest "on join" które ustawia działanie na false
  12. Witam, mam taki skrypt na miksturę siły na RPG: on rightclick: if player's tool is water bottle named "&6&lMikstura Sily" with lore "&aObrazenia: &c+100%%||&aDzialanie: &c5 minut": cancel event if {potadmgdzialanie::%player%} is false: if {potadmg100::%player%} is false: remove 1 water bottle named "&6&lMikstura Sily" with lore "&aObrazenia: &c+100%%||&aDzialanie: &c5 minut" from player set {potadmgdzialanie::%player%} to true set {potadmg100::%player%} to true send "&6Pomyslnie wypiles miksture sily!" to player play raw sound "random.drink" at player with pitch 1 volume 10 wait 5 minutes send "&cCzas mikstury sily skonczyl sie!" to player set {potadmgdzialanie::%player%} to false set {potadmg100::%player%} to false else: send "&cTen efekt jest uzyty!" stop else: send "&cTen efekt jest uzyty!" stop on join: set {potadmgdzialanie::%player%} to false set {potadmg100::%player%} to false on quit: set {potadmgdzialanie::%player%} to false set {potadmg100::%player%} to false on death: set {potadmgdzialanie::%player%} to false set {potadmg100::%player%} to false on damage: if {potadmgdzialanie::%attacker%} is true: if {potadmg100::%attacker%} is true: set damage to damage*2 Problem polega w tym, że jeżeli osoba umrze to efekt potki z niej schodzi, jednakże jeżeli po śmierci użyje jej ponownie to efekt zniknie po 5 minutach od użycia potki. Przykład: Jeżeli osoba cały czas np. przez 10 minut będzie umierała co 15 sekund, to po użyciu potki zamiast przez 5 minut będzie działała 15 sekund Ciężko mi to wytłumaczyć, ale myślę, że jest w miarę jasno. Z góry dziękuję za pomoc w problemie! Lepszy przykład: Godzina 15:05:00 - Gracz1 używa potki Godzina 15:07:00 - Gracz1 umiera i ponownie używa potki Godzina 15:10:00 - Potka dobiega końca i względem ostatniego użycia działała 3 minuty
  13. LubieRPG

    Tabowanie

    dzięki, akurat korzystam z notepada
  14. LubieRPG

    Tabowanie

    Siema, zna ktoś jakiś szybszy sposób niż ręczne tabowanie np. 100 linijek? Chodzi o taką sytuację kiedy skrypt jest poprawnie napisany i wyskakuje error np. 8 spaces = 2 tabs. Z góry dzięki
  15. LubieRPG

    Topka #2

    czyli jak to zrobić bo średnio ogarniam Okej dzięki
×
×
  • Dodaj nową pozycję...