- Katılım
- 10 Haz 2013
- Konular
- 11
- Mesajlar
- 149
- Çözüm
- 6
- Online süresi
- 19d 18h
- Reaksiyon Skoru
- 15
- Altın Konu
- 0
- TM Yaşı
- 13 Yıl 2 Gün
- Başarım Puanı
- 114
- MmoLira
- 656
- DevLira
- 0
ROHAN2 WORLD 1-120 TR TİPİ OFFICIAL YOHARA, BALATHOR VE AMON! 80. GÜNÜNDE! +10.000 ONLİNE! HİLE VE BOT %100 ENGELLİ HEMEN TIKLA!
Reload komutu ekledim
/reload x
questli npc'de npc.open_shop() komutuyla açılmıyo nasıl yapabiliriz.
- Katılım
- 20 Tem 2015
- Konular
- 86
- Mesajlar
- 631
- Çözüm
- 1
- Online süresi
- 22d 10h
- Reaksiyon Skoru
- 1,320
- Altın Konu
- 1
- TM Yaşı
- 10 Yıl 10 Ay 27 Gün
- Başarım Puanı
- 229
- MmoLira
- 2,636
- DevLira
- 53
quest?questli npc'de npc.open_shop() komutuyla açılmıyo nasıl yapabiliriz.
- Katılım
- 10 Haz 2013
- Konular
- 11
- Mesajlar
- 149
- Çözüm
- 6
- Online süresi
- 19d 18h
- Reaksiyon Skoru
- 15
- Altın Konu
- 0
- TM Yaşı
- 13 Yıl 2 Gün
- Başarım Puanı
- 114
- MmoLira
- 656
- DevLira
- 0
Theowahdan mesela bu npc quest ile kombinasyon felan yapılıyor bu npcye ek quest ekledim içine npc.open_shop() komutunu ekledim fakat npc.open_shop() komutuyla bu sistem olmadı. sql dan shop ve shop_item e ekleyin oluyor oda bu sistemle çakışıyor bu sefer syserr veriyo girilmiyor.quest?
[CODE title="sash.lua"]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
when 20406.chat."Marketi AC" begin
setskin(NOWINDOW)
npc.open_shop(20406)
end
end
end[/CODE]
[CODE title="shop_table_ex.txt"]Group ShopNPC
{
#--# NPC Group
1 20406 TAB1
}
Group TAB1
{
Vnum 20406
Name KUSAK
sort Name
Group Items
{
#--# Vnum Count Price price_type price_vnum socket0 socket1 socket2 attr_type0 attr_value0 attr_type1 attr_value1 attr_type2 attr_value2 attr_type3 attr_value3 attr_type4 attr_value4 attr_type5 attr_value5 attr_type6 attr_value6
1 85001 1 40 3 85000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
2 85005 1 40 3 85000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
3 85011 1 40 3 85000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
4 85015 1 40 3 85000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
}
}[/CODE]
Son düzenleme:
- Katılım
- 20 Tem 2015
- Konular
- 86
- Mesajlar
- 631
- Çözüm
- 1
- Online süresi
- 22d 10h
- Reaksiyon Skoru
- 1,320
- Altın Konu
- 1
- TM Yaşı
- 10 Yıl 10 Ay 27 Gün
- Başarım Puanı
- 229
- MmoLira
- 2,636
- DevLira
- 53
npc.open_shop() böyle deneTheowahdan mesela bu npc quest ile kombinasyon felan yapılıyor bu npcye ek quest ekledim içine npc.open_shop() komutunu ekledim fakat npc.open_shop() komutuyla bu sistem olmadı. sql dan shop ve shop_item e ekleyin oluyor oda bu sistemle çakışıyor bu sefer syserr veriyo girilmiyor.
[CODE title="sash.lua"]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
when 20406.chat."Marketi AC" begin
setskin(NOWINDOW)
npc.open_shop(20406)
end
end
end[/CODE]
[CODE title="shop_table_ex.txt"]Group ShopNPC
{
#--# NPC Group
1 20406 TAB1
}
Group TAB1
{
Vnum 20406
Name KUSAK
sort Name
Group Items
{
#--# Vnum Count Price price_type price_vnum socket0 socket1 socket2 attr_type0 attr_value0 attr_type1 attr_value1 attr_type2 attr_value2 attr_type3 attr_value3 attr_type4 attr_value4 attr_type5 attr_value5 attr_type6 attr_value6
1 85001 1 40 3 85000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
2 85005 1 40 3 85000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
3 85011 1 40 3 85000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
4 85015 1 40 3 85000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
}
}[/CODE]
Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)
Benzer konular
- Cevaplar
- 9
- Görüntüleme
- 526
- Cevaplar
- 7
- Görüntüleme
- 506
- Cevaplar
- 13
- Görüntüleme
- 1K
- Cevaplar
- 17
- Görüntüleme
- 4K




