Çözüldü Hataları çözemiyorum!

  • Konuyu Başlatan Konuyu Başlatan Uniquiex
  • Başlangıç tarihi Başlangıç tarihi
  • Görüntüleme 1.115
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Uniquiex

Bir Kömür Göründü Kaptanım!
Katılım
7 Ocak 2018
Mesajlar
138
Elmaslar
35
Puan
13.420
Yaş
23
Konum
Rize
Minecraft
Uniquiex

Discord:

Uniquiex

Merhaba altta kod içerisinde verdiğim hataları bir türlü çözemiyorum variable'leri %içine alınca da hata veriyor (sunucu 1.8.9) WildSkript - SkQuery - WolvSK - SKRayFall yüklü

Kod:
to {mob-spawn}' is not an entity type (wither.sk, line 255: teleport loop player to {mob-spawn}')
'2 is "1"' is not a type (skript.sk, line 141: if arg-2 is "1":')
'{asama2-sure} seconds' is not a time span (skript.sk, line 249: wait {asama2-sure} seconds')
There's no loop that matches 'loop-player' (skript.sk, line 295: if {witheroldurme::%loop-player%} is equal to 5:')
'{item-adet} {item-esya}' is not an entity type (skript.sk, line 307: give {item-adet} {item-esya} to {mobolduren}')
 
Kodu paylaşabilir misiniz?
 
1585484971576.png


1585485034156.png
 
1585485202533.png

Gönderi otomatik olarak birleştirildi:

if arg-2 is "1" kısmının hatalı olma sebebi sanırım arg-2 nin integer olması. "1" kısmındaki tırnak işaretlerini kaldırırsanız düzelecektir.
o Düzeldi. teşekkürler diğerleri hakkında bir ley söyleyebilir misiniz mesela loop kısmına
 
1585485933155.png


1585485901544.png

Gönderi otomatik olarak birleştirildi:

Kod:
                loop {withergirenler::*}:
                    if {witheroldurme::%loop-player%} is equal to 1:
                        give %{1oldurme-adet}% %{normal-wither-item}% to loop player
                        give %{2oldurme-adet}% %{6normal-wither-item2}% to loop player
                        give %{3oldurme-adet}% %{normal-wither-item3}% to loop player
                    if {witheroldurme::%loop-player%} is equal to 2:
                        execute console command "give %loop-player% %{normal-wither-item}% %{2oldurme-adet}%"
                        give %{2oldurme-adet}% %{normal-wither-item2}% to loop player
                        give %{2oldurme-adet}% %{normal-wither-item3}% to loop player
                        if {witheroldurme::%loop-player%} is equal to 3:
                        give %{3oldurme-adet}% {normal-wither-item} to loop player
                        give %{3oldurme-adet} {normal-wither-item2} to loop player
                        give %{3oldurme-adet} {normal-wither-item3} to loop player
                    if {witheroldurme::%loop-player%} is equal to 4:
                        give {4oldurme-adet} {normal-wither-item} to loop player
                        give {4oldurme-adet} {normal-wither-item2} to loop player
                        give {4oldurme-adet} {normal-wither-item3} to loop player
                    if {witheroldurme::%loop-player%} is equal to 5:
                        give {5oldurme-adet} {normal-wither-item} to loop player
                        give {5oldurme-adet} {normal-wither-item2} to loop player
                        give {5oldurme-adet} {normal-wither-item3} to loop player
                    if {witheroldurme::%loop-player%} is equal to 6:
                        give {6oldurme-adet} {normal-wither-item} to loop player
                        give {6oldurme-adet} {normal-wither-item2} to loop player
                        give {6oldurme-adet} {normal-wither-item3} to loop player
                    if {witheroldurme::%loop-player%} is equal to 7:
                        give {7oldurme-adet} {5normal-wither-item} to loop player
                        give {7oldurme-adet} {normal-wither-item2} to loop player
                        give {7oldurme-adet} {normal-wither-item3} to loop player
                give {asama2-ozelwither-adet} {asama2-ozelwither-item} to {asama2ozelolduren}
                
#
                wait {asama-ara-sure} seconds

Alın Hata veren kısımlar
 

Ekli dosyalar

  • 1585485855770.png
    1585485855770.png
    5,7 KB · Görüntüleme: 69
Give li kısımlarda adetlerin yanına of gelmesi lazım diye biliyorum. 15 of diamond gibi
 
Kod:
                loop {withergirenler::*}:
                    if {witheroldurme::%loop-player%} is equal to 1:
                        give %{1oldurme-adet}% %{normal-wither-item}% to loop player
                        give %{2oldurme-adet}% %{6normal-wither-item2}% to loop player
                        give %{3oldurme-adet}% %{normal-wither-item3}% to loop player
                    if {witheroldurme::%loop-player%} is equal to 2:
                        execute console command "give %loop-player% %{normal-wither-item}% %{2oldurme-adet}%"
                        give %{2oldurme-adet}% %{normal-wither-item2}% to loop player
                        give %{2oldurme-adet}% %{normal-wither-item3}% to loop player
                        if {witheroldurme::%loop-player%} is equal to 3:
                        give %{3oldurme-adet}% {normal-wither-item} to loop player
                        give %{3oldurme-adet} {normal-wither-item2} to loop player
                        give %{3oldurme-adet} {normal-wither-item3} to loop player
                    if {witheroldurme::%loop-player%} is equal to 4:
                        give {4oldurme-adet} {normal-wither-item} to loop player
                        give {4oldurme-adet} {normal-wither-item2} to loop player
                        give {4oldurme-adet} {normal-wither-item3} to loop player
                    if {witheroldurme::%loop-player%} is equal to 5:
                        give {5oldurme-adet} {normal-wither-item} to loop player
                        give {5oldurme-adet} {normal-wither-item2} to loop player
                        give {5oldurme-adet} {normal-wither-item3} to loop player
                    if {witheroldurme::%loop-player%} is equal to 6:
                        give {6oldurme-adet} {normal-wither-item} to loop player
                        give {6oldurme-adet} {normal-wither-item2} to loop player
                        give {6oldurme-adet} {normal-wither-item3} to loop player
                    if {witheroldurme::%loop-player%} is equal to 7:
                        give {7oldurme-adet} {5normal-wither-item} to loop player
                        give {7oldurme-adet} {normal-wither-item2} to loop player
                        give {7oldurme-adet} {normal-wither-item3} to loop player
                give {asama2-ozelwither-adet} {asama2-ozelwither-item} to {asama2ozelolduren}
                
#
                wait {asama-ara-sure} seconds

Alın Hata veren kısımlar
Gönderi otomatik olarak birleştirildi:

loop kısımları hata veriyor.
 
1585487532158.png

%'ler ne olmuş öyle
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Hala Discord sunucumuza katılmadın mı?

Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!

Şimdi Katıl
Üst