Çözüldü Gui Hatası

Bilmeadimiasd

Bir Kömür Göründü Kaptanım!
Katılım
13 Mart 2016
Mesajlar
137
Elmaslar
14
Puan
13.570
Yaş
26
Herkese selam,
Skriptte acemiyim ve 3. skriptim olarak gui skripti yapmayı denedim fakat bir türlü yapamadım
Kod düzgün çalışıyor fakat kılıca tıkladığımda menü değişmiyor
Kod:
options:
    Prefix: &cP&bv&cP &aM&3a&ar&3k&ae&3t

command /pvpmarket:
    trigger:
        open chest with 3 rows named "{@Prefix}" to player
        format slot 11 of player with diamond sword named "&3- Swords" to close then run "swordshop"
        format slot 13 of player with golden apple named "&3- Golden Apples" to close then run "test"
        format slot 15 of player with diamond chestplate named "&3- Armors" to close then run "test"
        
command /swordshop:
    trigger:
        open chest with 3 rows named "test" to player
        format slot 11 of player with diamond named "&3- Swords" to close then run "test"
        format slot 13 of player with apple named "&3- Golden Apples" to close then run "test"
        format slot 15 of player with iron chestplate named "&3- Armors" to close then run "test"
 
Herkese selam,
Skriptte acemiyim ve 3. skriptim olarak gui skripti yapmayı denedim fakat bir türlü yapamadım
Kod düzgün çalışıyor fakat kılıca tıkladığımda menü değişmiyor
Kod:
options:
    Prefix: &cP&bv&cP &aM&3a&ar&3k&ae&3t

command /pvpmarket:
    trigger:
        open chest with 3 rows named "{@Prefix}" to player
        format slot 11 of player with diamond sword named "&3- Swords" to close then run "swordshop"
        format slot 13 of player with golden apple named "&3- Golden Apples" to close then run "test"
        format slot 15 of player with diamond chestplate named "&3- Armors" to close then run "test"
       
command /swordshop:
    trigger:
        open chest with 3 rows named "test" to player
        format slot 11 of player with diamond named "&3- Swords" to close then run "test"
        format slot 13 of player with apple named "&3- Golden Apples" to close then run "test"
        format slot 15 of player with iron chestplate named "&3- Armors" to close then run "test"


Forumdaki bu konuya bakın.

Konuda örnek bir gui bulunmakta oradan yararlanabilirsiniz. Hem detaylı bir rehber
 
Selam, TuSKe kullanmayın. TuSKe bozuk bir addondur. GUI için addon kullanmanıza gerek yoktur. VANILLA GUIS şeklinde aratırsanız bulabilirsiniz.
JavaScript:
options:
    prefix: &cP&bv&cP &aM&3a&ar&3k&ae&3t
command menüzxc:
    trigger:
        set metadata "GUI" of player to chest inventory with 3 rows named "Menü"
        set {_a} to metadata "GUI" of player
        set slot 11 of {_a} to diamond sword named "&3- Swords"
        set slot 13 of {_a} to golden apple named "&3- Golden Apples"
        set slot 15 of {_a} to diamond chestplate named "&3- Armors"
        open {_a} to player
inventory click:
    event-inventory = metadata "GUI" of player
    cancel event
    event-slot's index = 11
    close player's inventory
    send "&e&lSELAM!"
    player command "fly"
    stop
 
Son düzenleme:
Herkese selam,
Skriptte acemiyim ve 3. skriptim olarak gui skripti yapmayı denedim fakat bir türlü yapamadım
Kod düzgün çalışıyor fakat kılıca tıkladığımda menü değişmiyor
Kod:
options:
    Prefix: &cP&bv&cP &aM&3a&ar&3k&ae&3t

command /pvpmarket:
    trigger:
        open chest with 3 rows named "{@Prefix}" to player
        format slot 11 of player with diamond sword named "&3- Swords" to close then run "swordshop"
        format slot 13 of player with golden apple named "&3- Golden Apples" to close then run "test"
        format slot 15 of player with diamond chestplate named "&3- Armors" to close then run "test"
       
command /swordshop:
    trigger:
        open chest with 3 rows named "test" to player
        format slot 11 of player with diamond named "&3- Swords" to close then run "test"
        format slot 13 of player with apple named "&3- Golden Apples" to close then run "test"
        format slot 15 of player with iron chestplate named "&3- Armors" to close then run "test"
Bu hatanın sebebi /swordshop komutu girilirken aynı anda menünün kapanmasından oluşuyor, eğer swordshop komutunun triggerindan sonra wait 0.2-0.5(bu süreyi deneyerek en kısasını bul şu an hatırlamıyorum) tick süre yaparsan sıkıntısız açılacaktır.
 
Bu hatanın sebebi /swordshop komutu girilirken aynı anda menünün kapanmasından oluşuyor, eğer swordshop komutunun triggerindan sonra wait 0.2-0.5(bu süreyi deneyerek en kısasını bul şu an hatırlamıyorum) tick süre yaparsan sıkıntısız açılacaktır.
Maalesefki olmadı :/
Selam, TuSKe kullanmayın. TuSKe bozuk bir addondur. GUI için addon kullanmanıza gerek yoktur. VANILLA GUIS şeklinde aratırsanız bulabilirsiniz.
JavaScript:
options:
    prefix: &cP&bv&cP &aM&3a&ar&3k&ae&3t
command menüzxc:
    trigger:
        set metadata "GUI" of player to chest inventory with 3 rows named "Menü"
        set {_a} to metadata "GUI" of player
        set slot 11 of {_a} to diamond sword named "&3- Swords"
        set slot 13 of {_a} to golden apple named "&3- Golden Apples"
        set slot 15 of {_a} to diamond chestplate named "&3- Armors"
        open {_a} to player
inventory click:
    event-inventory = metadata "GUI" of player
    cancel event
    event-slot's index = 11
    close player's inventory
    send "&e&lSELAM!"
    player command "fly"
    stop
Dediğinizi denedim, Hata verdi skUnity'den buldum ve oradaki plugini indirdim bu sefer de skriptlerim çalışmadı :D
 
Maalesefki olmadı :/

Dediğinizi denedim, Hata verdi skUnity'den buldum ve oradaki plugini indirdim bu sefer de skriptlerim çalışmadı :D
vanilla gui için hiçbir addon istenmemektedir. Skript sürümünüz eski olduğundan dolayı çalışmıyor olabilir. Sunucu sürümünüzü 1.9+ olarak yükseltin.
 
vanilla gui için hiçbir addon istenmemektedir. Skript sürümünüz eski olduğundan dolayı çalışmıyor olabilir. Sunucu sürümünüzü 1.9+ olarak yükseltin.
Sunucum pvp sunucusu o sebepten ötürü 1.8.8'de açtım,
son sürümünü yüklemiştim şu an nedense skript komple çalışmıyor bende filezilla üzerinden skriptleri indirdim fakat kaydedilmemiş ana skript gitti :D diğerlerini yedekten kurtardım
 
1.8.8 sürümünde Skript 2.2-37 dev çalışıyor diye biliyorum. Onun dışında yüksek sürümler çalışmaz.
 
1.8.8 sürümünde Skript 2.2-37 dev çalışıyor diye biliyorum. Onun dışında yüksek sürümler çalışmaz.
Sürüm çalışmadı ve sunucum iyice kafayı yedi forumda kafayı yemiş sanırım yeni konu da açamadım.
Remove 64 sunflower ve
set slot 4 of player to sunflower
Dedirtebilmek için hangi skriptler lazım?
 
Sürüm çalışmadı ve sunucum iyice kafayı yedi forumda kafayı yemiş sanırım yeni konu da açamadım.
Remove 64 sunflower ve
set slot 4 of player to sunflower
Dedirtebilmek için hangi skriptler lazım?
JavaScript:
command mc-tr:
    trigger:
        remove 64 sunflowers from player
        set slot 4 of player to sunflower
 
Merhaba, tuske ve skquery gibi pluginlere gerek yok skript plugininin vanilla gui sistemi bulunmaktadı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