Çözüldü Oto. Build Skripti

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Enes Kazan

Somon Balığı Selam Vermeye Geldi
Katılım
24 Temmuz 2017
Mesajlar
11
Elmaslar
0
Puan
6.230
Yaş
23
Merhaba arkadaşlar.
Bir skript hazırladım fakat hata veriyor bildigim, buldugum bütün "arguments" leri denedim fakat yine hata verdi yine en az hatayı "<block>" da verdi 1 error sadece ama o error skripti çalıştırmıyor.

Kod:
[14:02:41 INFO]: [Skript] Reloading buildstili1.sk...
[14:02:41 WARN]: 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 don't want this line to start a section. (buildstili1.sk, line 5: trigger:')
[14:02:41 ERROR]: can't use block as argument of a command (buildstili1.sk, line 1: command /build <block>:')
[14:02:41 INFO]: [Skript] Encountered 1 error while reloading buildstili1.sk!

Kod:
command /build1 <block>:
    permission: build.fastercraft
    permission message: &4&lIznin yok dostum.
    usage: /build1 <blok/bloklar>
    trigger:
    send "&e&lSayın &5&l%player%, Build1 stili 3 saniye içinde başlatılıyor." to player
    send "&a&lBuild1 stili toplam 10 adımdan oluşuyor." to player
    wait 1 seconds
    send "&e&lLUTFEN OLDUGUNUZ YERDE DURUNUZ" to player
    send "&e&lLUTFEN OLDUGUNUZ YERDE DURUNUZ" to player
    wait 2 seconds
    execute player command "//hcyl %arg 1% 15 2"
    send to player "&b&lAdım 1 Tamamlandı."
    wait 1 seconds
    execute player command "/up 1"
    execute player command "//hcyl %arg 1% 14 2"
    send to player "&b&lAdım 2 Tamamlandı."
    wait 1 seconds
    execute player command "/up 1"
    execute player command "//hcyl %arg 1% 13 2"
    send to player "&b&lAdım 3 Tamamlandı."
    wait 1 seconds
    execute player command "/up 1"
    execute player command "//hcyl %arg 1% 12 2"
    send to player "&b&lAdım 4 Tamamlandı."
    wait 1 seconds
    execute player command "/up 1"
    execute player command "//hcyl %arg 1% 11 2"
    send to player "&b&lAdım 5 Tamamlandı."
    wait 1 seconds
    execute player command "/up 1"
    execute player command "//hcyl %arg 1% 10 2"
    send to player "&b&lAdım 6 Tamamlandı."
    wait 1 seconds
    execute player command "/up 1"
    execute player command "//hcyl %arg 1% 9 2"
    send to player "&b&lAdım 7 Tamamlandı."
    wait 1 seconds
    execute player command "/up 1"
    execute player command "//hcyl %arg 1% 8 2"
    send to player "&b&lAdım 8 Tamamlandı."
    wait 1 seconds
    execute player command "/up 1"
    execute player command "//hcyl %arg 1% 7 2"
    send to player "&b&lAdım 9 Tamamlandı."
    wait 1 seconds
    execute player command "/up 1"
    execute player command "//hcyl %arg 1% 6 2"
    send to player "&b&lAdım 10 Tamamlandı."
    wait 2 seconds
    send "&d&lBütün adımlar başarıyla tamamlandı." to player
    send "&d&lBuild1 stili inşa edildi." to player
Not: Boşlukları verdiği hatalara göre ayarladım.[DOUBLEPOST=1501846054,1501845005][/DOUBLEPOST]@smt287 @DjuitieTR @ForestEdge @R3tro
 
Dostum <block> diye bir argument yok ki? <block> yerine <text> yazabilirsin.
 
Dostum <block> diye bir argument yok ki? <block> yerine <text> yazabilirsin.
İnternette gördüm
Değerli ziyaretçimiz, içeriği görebilmek için şimdi giriş yapın veya kayıt olun.
.
Kod:
block - Dirt, sand, cobblestone. Any type of block alias or ID will work here +
[DOUBLEPOST=1501848687,1501848633][/DOUBLEPOST]
Dostum <block> diye bir argument yok ki? <block> yerine <text> yazabilirsin.
İnternette gördüm
Değerli ziyaretçimiz, içeriği görebilmek için şimdi giriş yapın veya kayıt olun.
.
Kod:
block - Dirt, sand, cobblestone. Any type of block alias or ID will work here +
Güzel SKRIPT'e Benziyor Bir İnceliyim.
Paylaşmazsanız sevinirim.
 
trigger: den sonra bütün satırların başına 1 tab atın
hata düzelicektir
 
Bunu dene,

PHP:
command /build1 <material>:
    permission: build.fastercraft
    permission message: &4&lIznin yok dostum.
    usage: /build1 <blok/bloklar>
    trigger:
        send "&e&lSayın &5&l%player%, Build1 stili 3 saniye içinde başlatılıyor." to player
        send "&a&lBuild1 stili toplam 10 adımdan oluşuyor." to player
        wait 1 seconds
        send "&e&lLUTFEN OLDUGUNUZ YERDE DURUNUZ" to player
        send "&e&lLUTFEN OLDUGUNUZ YERDE DURUNUZ" to player
        wait 2 seconds
        execute player command "//hcyl %arg 1% 15 2"
        send to player "&b&lAdım 1 Tamamlandı."
        wait 1 seconds
        execute player command "/up 1"
        execute player command "//hcyl %arg 1% 14 2"
        send to player "&b&lAdım 2 Tamamlandı."
        wait 1 seconds
        execute player command "/up 1"
        execute player command "//hcyl %arg 1% 13 2"
        send to player "&b&lAdım 3 Tamamlandı."
        wait 1 seconds
        execute player command "/up 1"
        execute player command "//hcyl %arg 1% 12 2"
        send to player "&b&lAdım 4 Tamamlandı."
        wait 1 seconds
        execute player command "/up 1"
        execute player command "//hcyl %arg 1% 11 2"
        send to player "&b&lAdım 5 Tamamlandı."
        wait 1 seconds
        execute player command "/up 1"
        execute player command "//hcyl %arg 1% 10 2"
        send to player "&b&lAdım 6 Tamamlandı."
        wait 1 seconds
        execute player command "/up 1"
        execute player command "//hcyl %arg 1% 9 2"
        send to player "&b&lAdım 7 Tamamlandı."
        wait 1 seconds
        execute player command "/up 1"
        execute player command "//hcyl %arg 1% 8 2"
        send to player "&b&lAdım 8 Tamamlandı."
        wait 1 seconds
        execute player command "/up 1"
        execute player command "//hcyl %arg 1% 7 2"
        send to player "&b&lAdım 9 Tamamlandı."
        wait 1 seconds
        execute player command "/up 1"
        execute player command "//hcyl %arg 1% 6 2"
        send to player "&b&lAdım 10 Tamamlandı."
        wait 2 seconds
        send "&d&lBütün adımlar başarıyla tamamlandı." to player
        send "&d&lBuild1 stili inşa edildi." to player
 
trigger: den sonra bütün satırların başına 1 tab atın
hata düzelicektir
1 Error devam dostum.[DOUBLEPOST=1501911771,1501911397][/DOUBLEPOST]
Bunu dene,

PHP:
command /build1 <material>:
    permission: build.fastercraft
    permission message: &4&lIznin yok dostum.
    usage: /build1 <blok/bloklar>
    trigger:
        send "&e&lSayın &5&l%player%, Build1 stili 3 saniye içinde başlatılıyor." to player
        send "&a&lBuild1 stili toplam 10 adımdan oluşuyor." to player
        wait 1 seconds
        send "&e&lLUTFEN OLDUGUNUZ YERDE DURUNUZ" to player
        send "&e&lLUTFEN OLDUGUNUZ YERDE DURUNUZ" to player
        wait 2 seconds
        execute player command "//hcyl %arg 1% 15 2"
        send to player "&b&lAdım 1 Tamamlandı."
        wait 1 seconds
        execute player command "/up 1"
        execute player command "//hcyl %arg 1% 14 2"
        send to player "&b&lAdım 2 Tamamlandı."
        wait 1 seconds
        execute player command "/up 1"
        execute player command "//hcyl %arg 1% 13 2"
        send to player "&b&lAdım 3 Tamamlandı."
        wait 1 seconds
        execute player command "/up 1"
        execute player command "//hcyl %arg 1% 12 2"
        send to player "&b&lAdım 4 Tamamlandı."
        wait 1 seconds
        execute player command "/up 1"
        execute player command "//hcyl %arg 1% 11 2"
        send to player "&b&lAdım 5 Tamamlandı."
        wait 1 seconds
        execute player command "/up 1"
        execute player command "//hcyl %arg 1% 10 2"
        send to player "&b&lAdım 6 Tamamlandı."
        wait 1 seconds
        execute player command "/up 1"
        execute player command "//hcyl %arg 1% 9 2"
        send to player "&b&lAdım 7 Tamamlandı."
        wait 1 seconds
        execute player command "/up 1"
        execute player command "//hcyl %arg 1% 8 2"
        send to player "&b&lAdım 8 Tamamlandı."
        wait 1 seconds
        execute player command "/up 1"
        execute player command "//hcyl %arg 1% 7 2"
        send to player "&b&lAdım 9 Tamamlandı."
        wait 1 seconds
        execute player command "/up 1"
        execute player command "//hcyl %arg 1% 6 2"
        send to player "&b&lAdım 10 Tamamlandı."
        wait 2 seconds
        send "&d&lBütün adımlar başarıyla tamamlandı." to player
        send "&d&lBuild1 stili inşa edildi." to player
Sizin düzenlediğinizde hatalar vardı şu hale dönüştürdüm:
Kod:
command /build1 <material>:
    permission: build.fastercraft
    permission message: &4&lIznin yok dostum.
    usage: /build1 <blok/bloklar>
    trigger:
        send "&e&lSayın &5&l%player%, Build1 stili 3 saniye içinde başlatılıyor." to player
        send "&a&lBuild1 stili toplam 10 adımdan oluşuyor." to player
        wait 1 seconds
        send "&e&lLUTFEN OLDUGUNUZ YERDE DURUNUZ" to player
        send "&e&lLUTFEN OLDUGUNUZ YERDE DURUNUZ" to player
        wait 2 seconds
        execute player command "//hcyl %arg 1% 15 2"
        send  "&b&lAdım 1 Tamamlandı." to player
        wait 1 seconds
        execute player command "/up 1"
        execute player command "//hcyl %arg 1% 14 2"
        send  "&b&lAdım 2 Tamamlandı." to player
        wait 1 seconds
        execute player command "/up 1"
        execute player command "//hcyl %arg 1% 13 2"
        send "&b&lAdım 3 Tamamlandı." to player
        wait 1 seconds
        execute player command "/up 1"
        execute player command "//hcyl %arg 1% 12 2"
        send "&b&lAdım 4 Tamamlandı." to player
        wait 1 seconds
        execute player command "/up 1"
        execute player command "//hcyl %arg 1% 11 2"
        send "&b&lAdım 5 Tamamlandı." to player
        wait 1 seconds
        execute player command "/up 1"
        execute player command "//hcyl %arg 1% 10 2"
        send "&b&lAdım 6 Tamamlandı." to player
        wait 1 seconds
        execute player command "/up 1"
        execute player command "//hcyl %arg 1% 9 2"
        send "&b&lAdım 7 Tamamlandı." to player
        wait 1 seconds
        execute player command "/up 1"
        execute player command "//hcyl %arg 1% 8 2"
        send "&b&lAdım 8 Tamamlandı." to player
        wait 1 seconds
        execute player command "/up 1"
        execute player command "//hcyl %arg 1% 7 2"
        send "&b&lAdım 9 Tamamlandı." to player
        wait 1 seconds
        execute player command "/up 1"
        execute player command "//hcyl %arg 1% 6 2"
        send "&b&lAdım 10 Tamamlandı." to player
        wait 2 seconds
        send "&d&lBütün adımlar başarıyla tamamlandı."
        send "&d&lBuild1 stili inşa edildi."
Skript hata vermedi fakat WorldEdit hata verdi.
Kod:
For paramater 'int': Expected 'Block' to be a number or valid math expression (error: Parser error at 1:Variable 'block' is not found).
Bundan sonrada //hcyl komutunun kullanımını gösteriyor.
 
Birde bunu dene,
PHP:
command /build1 <itemtype>:
    permission: build.fastercraft
    permission message: &4&lIznin yok dostum.
    usage: /build1 <blok/bloklar>
    trigger:
        send "&e&lSayın &5&l%player%, Build1 stili 3 saniye içinde başlatılıyor." to player
        send "&a&lBuild1 stili toplam 10 adımdan oluşuyor." to player
        wait 1 seconds
        send "&e&lLUTFEN OLDUGUNUZ YERDE DURUNUZ" to player
        send "&e&lLUTFEN OLDUGUNUZ YERDE DURUNUZ" to player
        wait 2 seconds
        execute player command "//hcyl %arg 1% 15 2"
        send  "&b&lAdım 1 Tamamlandı." to player
        wait 1 seconds
        execute player command "/up 1"
        execute player command "//hcyl %arg 1% 14 2"
        send  "&b&lAdım 2 Tamamlandı." to player
        wait 1 seconds
        execute player command "/up 1"
        execute player command "//hcyl %arg 1% 13 2"
        send "&b&lAdım 3 Tamamlandı." to player
        wait 1 seconds
 
Birde bunu dene,
PHP:
command /build1 <itemtype>:
    permission: build.fastercraft
    permission message: &4&lIznin yok dostum.
    usage: /build1 <blok/bloklar>
    trigger:
        send "&e&lSayın &5&l%player%, Build1 stili 3 saniye içinde başlatılıyor." to player
        send "&a&lBuild1 stili toplam 10 adımdan oluşuyor." to player
        wait 1 seconds
        send "&e&lLUTFEN OLDUGUNUZ YERDE DURUNUZ" to player
        send "&e&lLUTFEN OLDUGUNUZ YERDE DURUNUZ" to player
        wait 2 seconds
        execute player command "//hcyl %arg 1% 15 2"
        send  "&b&lAdım 1 Tamamlandı." to player
        wait 1 seconds
        execute player command "/up 1"
        execute player command "//hcyl %arg 1% 14 2"
        send  "&b&lAdım 2 Tamamlandı." to player
        wait 1 seconds
        execute player command "/up 1"
        execute player command "//hcyl %arg 1% 13 2"
        send "&b&lAdım 3 Tamamlandı." to player
        wait 1 seconds
Worldedit başka bir hata çıkardı;
Kod:
Too many parameters! Unused parameters: 2 null
(ve //hcyl komutu kullanımı)
 
[DOUBLEPOST=1501911771,1501911397][/doublepost]




Hatayı Söyleyebilirmisiniz ?
Aynı hata anlamında söylemiştimde. Zaten ben boşlukları ayarlamıştım. Herhangi bir fark olmadı yani sizinkiyle benimki arasında.
 
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