Lvl1 quest (K)

Indította DSP, 2013-07-17, 17:19:38

2013-07-17, 17:19:38 Utolsó szerkesztés: 2013-07-28, 11:41:33 Szerző: [MOD]Aegist
Sziasztok! az lenne  a bajom,hogy give_basic_weapons-ba bemásoltam az alábbi questet;
quest give_basic_weapon begin
state start begin
when login begin
game.set_event_flag("test", 0)
if pc.level == 1 then
if pc.getqf("basic_weapon") == 0 then
pc.setqf("basic_weapon", 1)
pc.setqf("basic_weapon", 1)


local item = 299
if pc . job == 1 then
item = 1179
elseif pc . job == 3 then
item = 7169
end
pc.setqf("basic_weapon", 1)
if pc . job == 0 then
itemm = 11289
elseif pc . job == 1 then
itemm = 11489
elseif pc . job == 2 then
itemm = 11689
elseif pc . job == 3 then
itemm = 11889
end
if pc.countitem(item) == 0 and pc.weapon != item then
pc . give_level ( 99 )
pc.change_money ( 100000000 )
pc.change_alignment ( 20000 )
pc . give_item2 ( item )
pc . give_item2 ( itemm )
pc . give_item2 ( 50513 )
pc . give_item2 ( 72702 )
pc . give_item2 ( 50053 )
pc . give_item2 ( 13089 )
pc . give_item2 ( 13069 )
pc . give_item2 ( 13109 )
pc . give_item2 ( 13129 )
pc . give_item2 ( 17209 )
pc . give_item2 ( 14209 )
pc . give_item2 ( 15229 )
pc . give_item2 ( 16209 )
pc . give_item2 ( 70024 , 200 )
pc . give_item2 ( 70024 , 200 )
pc . give_item2 ( 70024 , 200 )
pc . give_item2 ( 70038 , 200 )

end
if pc . job == 0 then
pc . give_item2 ( "12249" , 1 )
pc . give_item2 ( "3119" , 1 )
elseif pc . job == 1 then
pc . give_item2 ( "2159" , 1 )
pc . give_item2 ( "12389" , 1 )
pc . give_item2 ( "8000" , 200 )
elseif pc . job == 2 then
pc . give_item2 ( "12529" , 1 )
elseif pc . job == 3 then
pc . give_item2 ( "12669" , 1 )
pc . give_item2 ( "5119" , 1 )
end
end
end
end
    end
end

./qc megvolt,reload q megvolt,resi megvolt.mégse csinál semmit belépésnél.Esetleg hibás a quest?

Mindenesetre jól összemásoltad...2xer volt benne 1 sor...nem is egy helyen...

Azt, hogy 99-es szintet is adjon, be kell tenned ezt:  http://metin2hungary.net/index.php/topic,166321.msg886070.html#msg886070

A questben benne van a szint adás is...


quest give_basic_weapon begin
state start begin
when login begin
if pc.getqf("basic_weapon") == 0 then
pc.setqf("basic_weapon", 1)
if pc . job == 1 then
item = 1179
elseif pc . job == 3 then
item = 7169
end
if pc . job == 0 then
itemm = 11289
elseif pc . job == 1 then
itemm = 11489
elseif pc . job == 2 then
itemm = 11689
elseif pc . job == 3 then
itemm = 11889
end
if pc.countitem(item) == 0 pc.countitem(itemm) == 0 and pc.weapon != item then
pc.set_level ( 99 )
pc.change_money ( 100000000 )
pc.change_alignment ( 20000 )
pc . give_item2 ( item )
pc . give_item2 ( itemm )
pc . give_item2 ( 50513 )
pc . give_item2 ( 72702 )
pc . give_item2 ( 50053 )
pc . give_item2 ( 13089 )
pc . give_item2 ( 13069 )
pc . give_item2 ( 13109 )
pc . give_item2 ( 13129 )
pc . give_item2 ( 17209 )
pc . give_item2 ( 14209 )
pc . give_item2 ( 15229 )
pc . give_item2 ( 16209 )
pc . give_item2 ( 70024 , 200 )
pc . give_item2 ( 70024 , 200 )
pc . give_item2 ( 70024 , 200 )
pc . give_item2 ( 70038 , 200 )
end
if pc . job == 0 then
pc . give_item2 ( "12249", 1 )
pc . give_item2 ( "3119", 1 )
elseif pc . job == 1 then
pc . give_item2 ( "2159", 1 )
pc . give_item2 ( "12389", 1 )
pc . give_item2 ( "8000", 200 )
elseif pc . job == 2 then
pc . give_item2 ( "12529", 1 )
elseif pc . job == 3 then
pc . give_item2 ( "12669", 1 )
pc . give_item2 ( "5119", 1 )
end
end -if1
end -w
end -s
end -q

Rendben,köszönöm!Ment a +