Sol Reklam
Sağ Reklam

Çözüldü 1.8 Boss skript

Durum
Mesaj gönderimine kapalı.
M

Merhan

Ziyaretçi
Merhabalar fotoğrafta görülen hatayı <none> hatasını alıyorum nasıl düzeltebilirim?

1634148834386.png


Hatayı aldığım kod ;

JavaScript:
on death of zombie:
    attacker is a player
    victim is a zombie
    if victim's name is "{@zombikral}":
        clear drops
        execute console command "give %attacker% diamondhelmet 1 named:&cBOSS lore:&r unbreaking:5 protection:5"
        execute console command "give %attacker% diamondchestplate 1 named:&cBOSS lore:&r unbreaking:5 protection:5"
        execute console command "give %attacker% diamondleggings 1 named:&cBOSS lore:&r unbreaking:5 protection:5"
        execute console command "give %attacker% diamondboots 1 named:&cBOSS lore:&r unbreaking:5 protection:5"
        broadcast ""
        loop {vurus::*}:
            set {vurus2} to {vurus::%loop-index%}
            if {vurus::%loop-index%} is greater than {vurus2}:
                set {vurus2} to {vurus::%loop-index%}
                set {vuruscu} to loop-index
            else:
                if {vurus::%loop-index%} is {vurus2}:
                    set {vurus2} to {vurus::%loop-index%}
        broadcast "&7En çok vuruş yapan kişi&8: &b%{vuruscu}%&8(&e%{vurus2}% Vuruş&8)"
        loop all players:
            set {vurus::%loop-player%} to 0
        delete {zombikral.hayatta}
 

ReMaKeR

Odunlara Vur Vur Vur!

Discord:

shiodomemiuna

Katılım
3 Haziran 2015
Mesajlar
47
Elmaslar
16
Puanlar
13.475
Minecraft
SpaceForTime
Merhabalar fotoğrafta görülen hatayı <none> hatasını alıyorum nasıl düzeltebilirim?

Eki Görüntüle 189220

Hatayı aldığım kod ;

JavaScript:
on death of zombie:
    attacker is a player
    victim is a zombie
    if victim's name is "{@zombikral}":
        clear drops
        execute console command "give %attacker% diamondhelmet 1 named:&cBOSS lore:&r unbreaking:5 protection:5"
        execute console command "give %attacker% diamondchestplate 1 named:&cBOSS lore:&r unbreaking:5 protection:5"
        execute console command "give %attacker% diamondleggings 1 named:&cBOSS lore:&r unbreaking:5 protection:5"
        execute console command "give %attacker% diamondboots 1 named:&cBOSS lore:&r unbreaking:5 protection:5"
        broadcast ""
        loop {vurus::*}:
            set {vurus2} to {vurus::%loop-index%}
            if {vurus::%loop-index%} is greater than {vurus2}:
                set {vurus2} to {vurus::%loop-index%}
                set {vuruscu} to loop-index
            else:
                if {vurus::%loop-index%} is {vurus2}:
                    set {vurus2} to {vurus::%loop-index%}
        broadcast "&7En çok vuruş yapan kişi&8: &b%{vuruscu}%&8(&e%{vurus2}% Vuruş&8)"
        loop all players:
            set {vurus::%loop-player%} to 0
        delete {zombikral.hayatta}

Bu "{@zombikral}" ismine sahip olan zombiye vurulunca "{vurus::%player%}" in de ayarlanması gerekiyor, ben o kodda onu göremedim.
 
M

Merhan

Ziyaretçi
Bu "{@zombikral}" ismine sahip olan zombiye vurulunca "{vurus::%player%}" in de ayarlanması gerekiyor, ben o kodda onu göremedim.
kusura bakmayın baya bir önceden yapmıştım şuanda skript yapmayı unuttum rica etsem yapıp atabilirmisiniz?
 

ReMaKeR

Odunlara Vur Vur Vur!

Discord:

shiodomemiuna

Katılım
3 Haziran 2015
Mesajlar
47
Elmaslar
16
Puanlar
13.475
Minecraft
SpaceForTime
kusura bakmayın baya bir önceden yapmıştım şuanda skript yapmayı unuttum rica etsem yapıp atabilirmisiniz?

PHP:
death of zombie:
    attacker is a player
    victim's name is "{@zombikral}":
        clear drops
        give a diamond helmet with unbreaking 5 and protection 5 named "&cBOSS" with lore "&r" to attacker
        give a diamond chestplate with unbreaking 5 and protection 5 named "&cBOSS" with lore "&r" to attacker
        give a diamond leggings with unbreaking 5 and protection 5 named "&cBOSS" with lore "&r" to attacker
        give a diamond boots with unbreaking 5 and protection 5 named "&cBOSS" with lore "&r" to attacker
        broadcast ""
        loop {vurus::*}:
            set {vurus2} to {vurus::%loop-index%}
            if {vurus::%loop-index%} is greater than {vurus2}:
                set {vurus2} to {vurus::%loop-index%}
                set {vuruscu} to loop-index
            else:
                if {vurus::%loop-index%} is {vurus2}:
                    set {vurus2} to {vurus::%loop-index%}
        broadcast "&7En çok vuruş yapan kişi&8: &b%{vuruscu}%&8(&e%{vurus2}% Vuruş&8)"
        loop all players:
            set {vurus::%loop-player%} to 0
        delete {zombikral.hayatta}
        
damage of zombie:
    attacker is a player
    victim's name is "{@zombikral}":
        add 1 to {vurus::%attacker%}

Denemedim, hata olabilir. Ve kodun birkaç eksik kısmı var diye bir şey ekleyemedim. :/
 

FourTis

Bir Kömür Göründü Kaptanım!
Katılım
10 Eylül 2019
Mesajlar
109
Elmaslar
26
Puanlar
6.625
Kod:
        loop {vurus::*}:
            set {vurus2} to {vurus::%loop-index%}
            if {vurus::%loop-index%} is greater than {vurus2}:
                set {vurus2} to {vurus::%loop-index%}
                set {vuruscu} to loop-index
            else:
                if {vurus::%loop-index%} is {vurus2}:
                    set {vurus2} to {vurus::%loop-index%}

Bu kısımı şunun ile değiştirip denermisin
Kod:
        set {vurus2} to 0
        loop {vurus::*}:
            if {vurus::%loop-index%} is greater than {vurus2}:
                set {vurus2} to {vurus::%loop-index%}
                set {vuruscu} to loop-index
 
M

Merhan

Ziyaretçi
PHP:
death of zombie:
    attacker is a player
    victim's name is "{@zombikral}":
        clear drops
        give a diamond helmet with unbreaking 5 and protection 5 named "&cBOSS" with lore "&r" to attacker
        give a diamond chestplate with unbreaking 5 and protection 5 named "&cBOSS" with lore "&r" to attacker
        give a diamond leggings with unbreaking 5 and protection 5 named "&cBOSS" with lore "&r" to attacker
        give a diamond boots with unbreaking 5 and protection 5 named "&cBOSS" with lore "&r" to attacker
        broadcast ""
        loop {vurus::*}:
            set {vurus2} to {vurus::%loop-index%}
            if {vurus::%loop-index%} is greater than {vurus2}:
                set {vurus2} to {vurus::%loop-index%}
                set {vuruscu} to loop-index
            else:
                if {vurus::%loop-index%} is {vurus2}:
                    set {vurus2} to {vurus::%loop-index%}
        broadcast "&7En çok vuruş yapan kişi&8: &b%{vuruscu}%&8(&e%{vurus2}% Vuruş&8)"
        loop all players:
            set {vurus::%loop-player%} to 0
        delete {zombikral.hayatta}
       
damage of zombie:
    attacker is a player
    victim's name is "{@zombikral}":
        add 1 to {vurus::%attacker%}

Denemedim, hata olabilir. Ve kodun birkaç eksik kısmı var diye bir şey ekleyemedim. :/
Kod:
        loop {vurus::*}:
            set {vurus2} to {vurus::%loop-index%}
            if {vurus::%loop-index%} is greater than {vurus2}:
                set {vurus2} to {vurus::%loop-index%}
                set {vuruscu} to loop-index
            else:
                if {vurus::%loop-index%} is {vurus2}:
                    set {vurus2} to {vurus::%loop-index%}

Bu kısımı şunun ile değiştirip denermisin
Kod:
        set {vurus2} to 0
        loop {vurus::*}:
            if {vurus::%loop-index%} is greater than {vurus2}:
                set {vurus2} to {vurus::%loop-index%}
                set {vuruscu} to loop-index
İkinizede teşekkürlerimi sunuyorum bana zaman ayırıp yardım ettiğiniz için sorunum çözüldü iyi günler.
 
Durum
Mesaj gönderimine kapalı.
Neden altınlarını Discord sunucumuzda kazmıyorsun? TIKLA VE KATIL!
Yukarı