quest switch begin
state start begin
function switchItem()
local a = number(1, 10) -- set here how much ids you want
local item_list = {X,X,X,X,X,X,X,X,X,X} -- if you set more than 10 in top then you need to add here
local give = true
for k,v in ipairs(item_list) do
if pc.count_item(v) >= 1 then
give = false
end
end
if give == false or pc.get_empty_inventory_count() < 1 then
say_title("Title")
say("")
say_reward("Message error for dont have more than 1 pack on inventory")
return
end
setskin(NOWINDOW)
pc.give_item2(item_list[a], 50) -- you can set here the quantity of received item
end
when X.use begin -- dont forget to set here a NPC or item
switch.switchItem()
end
end
end
After add the quest to server
Go to item_proto client/server
Search for 71084, copy the line
Then change only the ID's you put in the quest.
The name can be the same in all, just change the ID's
You need to give path in item_list and item_desc, just change the ID's.
quest switch begin
state start begin
function switchItem()
local a = number(1, table.getn(item_list))
local item_list = {X,X,X,X,X,X,X,X,X,X} -- if you set more than 10 in top then you need to add here
local give = true
for k,v in ipairs(item_list) do
if pc.count_item(v) >= 1 then
give = false
end
end
if give == false or pc.get_empty_inventory_count() < 1 then
say_title("Title")
say("")
say_reward("Message error for dont have more than 1 pack on inventory")
return
end
setskin(NOWINDOW)
pc.give_item2(item_list[a], 50) -- you can set here the quantity of received item
end
when X.use begin -- dont forget to set here a NPC or item
switch.switchItem()
end
end
end
71084 Feitiço para Itens Roda os 5 primeiros bónus de um equipamento com bónus.
69696 Feitiço para Itens Roda os 5 primeiros bónus de um equipamento com bónus.
72378 Feitiço para Itens Roda os 5 primeiros bónus de um equipamento com bónus.
In Quest
Code:
local item_list = {71084, 69696, 72378} -- in that case, you can add more.
This is portuguese language but i hope you understand now.
Npc switch quest hilfe bei extremelc 12/22/2011 - Last Chaos - 5 Replies hallo,
ich bin grad als ns am farmen bei xlc und da gibts ja diese quest wo ich die seelen killen muss für 1k fp. bei dem spot am nähsten zum seelenturm mit diesen 3 seelen da gibts es ja einen npc und ich würde gerne um nicht immer hin und herlaufen zu m¨ssen wissen ob die nicht iwie so tauschen könnte?
aso bräuchte ich halt den wert von diesem npc
ps: ka ob das nicht in den sammelfred gehört?
DSS/FKS Switch Quest? 09/29/2011 - Metin2 Private Server - 2 Replies Hallo Com,
Ich habe folgende frage: ist es möglich das man einen quest schreibt mit dem man von waffen des DSS und FKS wert individuell ändern kann mit bestimmter grenze?? Ich kenn mich mit Quests nicht so gut aus deswegen frag ich ... SuFu hab ich benutzt und nichts gefunden ... Danke für alle antworten:rolleyes:
Compile all quest without quest's files list // Kompilieren Sie alle Quest ohne Quest 07/17/2011 - Metin2 PServer Guides & Strategies - 3 Replies ENGLISH
Hello dear community, this is a very simple guide but at the same time useful.
How to compile ALL quest in the folder "quest" without the files list in the file "locale_list"?
Easy!
Open the file "make" and replace the content of the file with this:
for f in *.quest; do ./qc $f; done
Oki. Now set the 0777 permission to the file.
Finally open a SSH client and sign in. Write the command:
cd /game_file_folder
Quest-,Switch- und Farm-Service by Andy888 03/13/2011 - Metin2 Trading - 5 Replies Hallo liebe Com!
Also ich biete euch hier einen Quest-,Farm-, und Switch-Service an.
Quest-Service:
Also ich biete euch hier euinen Quest-Service an. Ich werde jede Quest, die ihr mir Auftragt, erledigen, so schnell es meine Zeit zulässt. Preise kommen auf Menge + Schwere der Quests an. Sie sollten aber eigentlich 10€ nicht überschreiten.