Çözüldü RunState: LUA_ERROR: hatası alıyorum

  • Konuyu açan Konuyu açan Toranaga
  • Açılış Tarihi Açılış Tarihi
  • Yanıt Yanıt 5
  • Gösterim Gösterim 1K
Bu konu çözüme ulaştırılmıştır. Çözüm için konuya yazılan tüm yorumları okumayı unutmayın. Eğer konudaki yorumlar sorununuzu çözmediyse yeni bir konu açabilirsiniz.
Durum
İçerik kilitlendiği için mesaj gönderimine kapatıldı.

Toranaga

Efendi Toranaga
Süper Moderatör
Geliştirici
Yardımsever Üye
Mesaj
864
Çözümler
45
Beğeni
948
Puan
959
Ticaret Puanı
0
Merhabalar. Bugün kuşak sistemini ekledim fakat npc den kombinasyona tıkladığım zaman hata alıyorum. kombinasyon penceresini açmıyor. Sorunun ne olduğunu anlamadım.
Aldığım hata:
ch1 -> syserr:
Genişlet Daralt Kopyala
SYSERR: Sep 30 15:10:46 :: RunState: LUA_ERROR: [string "sash"]:10: attempt to call field `open_sash' (a nil value)
SYSERR: Sep 30 15:10:46 :: WriteRunningStateToSyserr: LUA_ERROR: quest sash.start click
SYSERR: Sep 30 15:10:50 :: RunState: LUA_ERROR: [string "sash"]:11: attempt to call field `open_sash' (a nil value)
SYSERR: Sep 30 15:10:50 :: WriteRunningStateToSyserr: LUA_ERROR: quest sash.start click
SYSERR: Sep 30 15:11:43 :: RunState: LUA_ERROR: [string "sash"]:10: attempt to call field `open_sash' (a nil value)
SYSERR: Sep 30 15:11:43 :: WriteRunningStateToSyserr: LUA_ERROR: quest sash.start click
SYSERR: Sep 30 15:13:34 :: RunState: LUA_ERROR: [string "sash"]:11: attempt to call field `open_sash' (a nil value)
SYSERR: Sep 30 15:13:34 :: WriteRunningStateToSyserr: LUA_ERROR: quest sash.start click
SYSERR: Sep 30 15:17:58 :: RunState: LUA_ERROR: [string "sash"]:11: attempt to call field `open_sash' (a nil value)
SYSERR: Sep 30 15:17:58 :: WriteRunningStateToSyserr: LUA_ERROR: quest sash.start click
 
Quest kodlarınızı ekleyebilir misiniz? open_sash fonksiyonunu çalıştırırken hata vermiş.
 
Quest kodlarınızı ekleyebilir misiniz? open_sash fonksiyonunu çalıştırırken hata vermiş.
Lua (Quest):
Genişlet Daralt Kopyala
quest sash begin
    state start begin
        when 20406.chat."What is a Sash?" begin
            say_title(mob_name(20406))
            say("")
            say("The sash offers you two options:")
            say("Combination & Absorption.")
            say("")
            say("You can try combination with sash of same")
            say("grade. Two sash combined can generate a")
            say("sash of a biggest grade.")
            say("")
            say("In a absorption the sash take the bonus")
            say("of a weapon or amour at a rate of your")
            say("sash. The absorption rate varies between")
            say("the sash grade, the weapon or amour")
            say("absorbed will be destroyed.")
            say("")
        end
        
        when 20406.chat."Combination" begin
            say_title(mob_name(20406))
            say("")
            say("Would you like to combine two sashes?")
            say("")
            local confirm = select("Yes", "No")
            if confirm == 2 then
                return
            end
            
            setskin(NOWINDOW)
            pc.open_sash(true)
        end
        
        when 20406.chat."Absorption of bonuses" begin
            say_title(mob_name(20406))
            say("")
            say("Do you want to absorb bonuses from your weapon")
            say("or amour?")
            say("")
            local confirm = select("Yes", "No")
            if confirm == 2 then
                return
            end
            
            setskin(NOWINDOW)
            pc.open_sash(false)
        end
    end
end
 
Sash yerine acce komutunu kullanıyor olabilir sisteminiz ona dikkat edin
 
Çözüm
inanırmısın şimdi fark ettim yanlış yazılmış. open_acce olması lazımmış :D
 
Durum
İçerik kilitlendiği için mesaj gönderimine kapatıldı.
Üst