Ayyıldız2 | 2008 TR Yapısı • 1-99 Orta Emek Destan • Oto Avsız • 10 Temmuz 21:00 HEMEN TIKLA!
wslik quest okutunca bu hata veriyor hata bulamadım yardımcı olcak varmı
root@:/usr/game/share/locale/turkey/quest # ./qc give_basic_weapon.lua
QUEST : give_basic_weapon
STATE : start
WHEN : login
Calls undeclared function! :
pc.set_level
Abort (core dumped)
quest bu :
-----------------------------------------------
quest give_basic_weapon begin
state start begin
when login begin
if pc.getqf("basic_weapon") == 0 then
pc.setqf("basic_weapon", 1)
notice_all("Yeni Oyuncumuz " .. pc.get_name() .. " Aramiza Katilmistir")
notice_all("Hosgeldin. " .. pc.get_name() .. " ")
-----------------------------------------------
-- Başlangıç Level Kodları
pc.set_level(104)
-----------------------------------------------
-- Başlangıç Skill Kodları
pc.set_skill_level (137,20)
pc.set_skill_level (138,20)
pc.set_skill_level (139,20)
pc.set_skill_level (131,10)
pc.set_skill_level (129,40)
pc.set_skill_level (128,20)
pc.set_skill_level (127,20)
pc.set_skill_level (126,20)
pc.set_skill_level (124,40)
pc.set_skill_level (121,40)
pc.set_skill_level (122,2)
-----------------------------------------------
-----------------------------------------------
-- At Kodları
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . ride ()
-----------------------------------------------
-----------------------------------------------
-- Nesne Market İtem Kodları
-- pc . give_exp2 ( 5300 ) 5Lv -- Pasif
pc . give_item2 ( "40002" , 1 )
pc . give_item2 ( "39036" , 1 )
pc . give_item2 ( "50053" , 1 )
pc . give_item2 ( "27003" , 1 )
pc . give_item2 ( "27006" , 1 )
pc . give_item2 ( "27102" , 1 )
pc . give_item2 ( "27105" , 1 )
pc . give_item2 ( "71084" , 1 )
pc . give_item2 ( "71085" , 1 )
pc . give_item2 ( "72726" , 1 )
pc . give_item2 ( "72730" , 1 )
pc.give_gold("1900000000")
-----------------------------------------------
-----------------------------------------------
-- Silah Zırh Kodları
if pc . job == 0 then
pc . give_item2 ( "11299" , 1 )
pc . give_item2 ( "149" , 1 )
pc . give_item2 ( "15209" , 1 )
pc . give_item2 ( "13069" , 1 )
pc . give_item2 ( "12249" , 1 )
pc . give_item2 ( "14209" , 1 )
pc . give_item2 ( "16149" , 1 )
pc . give_item2 ( "17109" , 1 )
elseif pc . job == 1 then
pc . give_item2 ( "11499" , 1 )
pc . give_item2 ( "1109" , 1 )
pc . give_item2 ( "15209" , 1 )
pc . give_item2 ( "13069" , 1 )
pc . give_item2 ( "12389" , 1 )
pc . give_item2 ( "14209" , 1 )
pc . give_item2 ( "16089" , 1 )
pc . give_item2 ( "17169" , 1 )
elseif pc . job == 2 then
pc . give_item2 ( "11699" , 1 )
pc . give_item2 ( "159" , 1 )
pc . give_item2 ( "15209" , 1 )
pc . give_item2 ( "13069" , 1 )
pc . give_item2 ( "12529" , 1 )
pc . give_item2 ( "14209" , 1 )
pc . give_item2 ( "16129" , 1 )
pc . give_item2 ( "17209" , 1 )
elseif pc . job == 3 then
pc . give_item2 ( "11899" , 1 )
pc . give_item2 ( "7149" , 1 )
pc . give_item2 ( "15209" , 1 )
pc . give_item2 ( "13069" , 1 )
pc . give_item2 ( "12669" , 1 )
pc . give_item2 ( "14209" , 1 )
pc . give_item2 ( "16129" , 1 )
pc . give_item2 ( "17209" , 1 )
pc . setqf ( "basic_weapon" , 1 )
elseif pc . getqf ( "basic_weapon" ) == 3 then
end
end
end
end
end
root@:/usr/game/share/locale/turkey/quest # ./qc give_basic_weapon.lua
QUEST : give_basic_weapon
STATE : start
WHEN : login
Calls undeclared function! :
pc.set_level
Abort (core dumped)
quest bu :
-----------------------------------------------
quest give_basic_weapon begin
state start begin
when login begin
if pc.getqf("basic_weapon") == 0 then
pc.setqf("basic_weapon", 1)
notice_all("Yeni Oyuncumuz " .. pc.get_name() .. " Aramiza Katilmistir")
notice_all("Hosgeldin. " .. pc.get_name() .. " ")
-----------------------------------------------
-- Başlangıç Level Kodları
pc.set_level(104)
-----------------------------------------------
-- Başlangıç Skill Kodları
pc.set_skill_level (137,20)
pc.set_skill_level (138,20)
pc.set_skill_level (139,20)
pc.set_skill_level (131,10)
pc.set_skill_level (129,40)
pc.set_skill_level (128,20)
pc.set_skill_level (127,20)
pc.set_skill_level (126,20)
pc.set_skill_level (124,40)
pc.set_skill_level (121,40)
pc.set_skill_level (122,2)
-----------------------------------------------
-----------------------------------------------
-- At Kodları
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . ride ()
-----------------------------------------------
-----------------------------------------------
-- Nesne Market İtem Kodları
-- pc . give_exp2 ( 5300 ) 5Lv -- Pasif
pc . give_item2 ( "40002" , 1 )
pc . give_item2 ( "39036" , 1 )
pc . give_item2 ( "50053" , 1 )
pc . give_item2 ( "27003" , 1 )
pc . give_item2 ( "27006" , 1 )
pc . give_item2 ( "27102" , 1 )
pc . give_item2 ( "27105" , 1 )
pc . give_item2 ( "71084" , 1 )
pc . give_item2 ( "71085" , 1 )
pc . give_item2 ( "72726" , 1 )
pc . give_item2 ( "72730" , 1 )
pc.give_gold("1900000000")
-----------------------------------------------
-----------------------------------------------
-- Silah Zırh Kodları
if pc . job == 0 then
pc . give_item2 ( "11299" , 1 )
pc . give_item2 ( "149" , 1 )
pc . give_item2 ( "15209" , 1 )
pc . give_item2 ( "13069" , 1 )
pc . give_item2 ( "12249" , 1 )
pc . give_item2 ( "14209" , 1 )
pc . give_item2 ( "16149" , 1 )
pc . give_item2 ( "17109" , 1 )
elseif pc . job == 1 then
pc . give_item2 ( "11499" , 1 )
pc . give_item2 ( "1109" , 1 )
pc . give_item2 ( "15209" , 1 )
pc . give_item2 ( "13069" , 1 )
pc . give_item2 ( "12389" , 1 )
pc . give_item2 ( "14209" , 1 )
pc . give_item2 ( "16089" , 1 )
pc . give_item2 ( "17169" , 1 )
elseif pc . job == 2 then
pc . give_item2 ( "11699" , 1 )
pc . give_item2 ( "159" , 1 )
pc . give_item2 ( "15209" , 1 )
pc . give_item2 ( "13069" , 1 )
pc . give_item2 ( "12529" , 1 )
pc . give_item2 ( "14209" , 1 )
pc . give_item2 ( "16129" , 1 )
pc . give_item2 ( "17209" , 1 )
elseif pc . job == 3 then
pc . give_item2 ( "11899" , 1 )
pc . give_item2 ( "7149" , 1 )
pc . give_item2 ( "15209" , 1 )
pc . give_item2 ( "13069" , 1 )
pc . give_item2 ( "12669" , 1 )
pc . give_item2 ( "14209" , 1 )
pc . give_item2 ( "16129" , 1 )
pc . give_item2 ( "17209" , 1 )
pc . setqf ( "basic_weapon" , 1 )
elseif pc . getqf ( "basic_weapon" ) == 3 then
end
end
end
end
end