quest cookie begin state start begin when 12345.click begin local item = 1234 say("Hello, "..pc.get_name()..".") say "So you want to go on Map XXX?" local count = pc.count_item(item) if count > 0 then say "Your item will go away!" if select("Yes","no") == 1 then if pc.count_item(item) == count then say "Okay , i'll warp you." pc.remove_item(item,1) -- remove item wait() pc.warp(123,456) else say "Buguser!!" end else say "Bye" end else say("You need this item:") say_item(item) end end end end
quest cookie begin state start begin when 12345.click begin local item = 1234 local count = pc.count_item(item) say("Hello, "..pc.get_name()..".[ENTER]So you want to go on Map XXX?[ENTER]"..(count>0 and "Your item will go away!" or "You need this item:[ENTER]"..item_name(item))) if count > 0 and select("Yes","No") == 1 and count == pc.count_item(item) then say "Okay , i'll warp you." pc.remove_item(item,1) -- remove item wait() pc.warp(123,456) end end end end
quest cookie begin
state start begin
when 12345.click begin
local item = 1234
say("Hello, "..pc.get_name()..".")
say "So you want to go on Map XXX?"
local count = pc.count_item(item)
if count > 0 then
say "Your item will go away!"
if select("Yes","no") == 1 then
if pc.count_item(item) == count then
say "Okay , i'll warp you."
pc.remove_item(item,1) -- remove item
wait()
pc.warp(123,456)
else
say "Buguser!!"
end
else
say "Bye"
end
else
say("You need this item:")
say_item(item)
end
end
end
end
quest cookie begin
state start begin
when 12345.click begin
local item = 1234
local count = pc.count_item(item)
say("Hello, "..pc.get_name()..".[ENTER]So you want to go on Map XXX?[ENTER]"..(count>0 and "Your item will go away!" or "You need this item:[ENTER]"..item_name(item)))
if count > 0 and select("Yes","No") == 1 and count == pc.count_item(item) then
say "Okay , i'll warp you."
pc.remove_item(item,1) -- remove item
wait()
pc.warp(123,456)
end
end
end
end
Next time, ask in the thread i noticed before!!
It is almost the quest I need but you forgot to put that the character must have a minimim lvl 2 go 2 the map, could you fix it 4 me? THANKS!!!
It is almost the quest I need but you forgot to put that the character must have a minimim lvl 2 go 2 the map, could you fix it 4 me? THANKS!!!
PHP Code:
quest cookie begin state start begin when 12345.click with pc.get_level () > 1 begin local item = 1234 say("Hello, "..pc.get_name()..".") say "So you want to go on Map XXX?" local count = pc.count_item(item) if count > 0 then say "Your item will go away!" if select("Yes","no") == 1 then if pc.count_item(item) == count then say "Okay , i'll warp you." pc.remove_item(item,1) -- remove item wait() pc.warp(123,456) else say "Buguser!!" end else say "Bye" end else say("You need this item:") say_item(item) end end end end
quest cookie begin
state start begin
when 12345.click with pc.get_level () > 1 begin
local item = 1234
say("Hello, "..pc.get_name()..".")
say "So you want to go on Map XXX?"
local count = pc.count_item(item)
if count > 0 then
say "Your item will go away!"
if select("Yes","no") == 1 then
if pc.count_item(item) == count then
say "Okay , i'll warp you."
pc.remove_item(item,1) -- remove item
wait()
pc.warp(123,456)
else
say "Buguser!!"
end
else
say "Bye"
end
else
say("You need this item:")
say_item(item)
end
end
end
end
Like that?
Its like that but the NPC must say something about the character lvl, for example if character lvl < 95 then say "You need to be lvl 95 or more to travel" and it will be perfect, thanks again to alla of U
quest cookie begin
state start begin
when 12345.click begin
if pc.get_level() < 95 then
say "You need level 95 bla"
return
end
local item = 1234
say("Hello, "..pc.get_name()..".")
say "So you want to go on Map ***?"
local count = pc.count_item(item)
if count > 0 then
say "Your item will go away!"
if select("Yes","no") == 1 then
if pc.count_item(item) == count then
say "Okay , i'll warp you."
pc.remove_item(item,1) -- remove item
wait()
pc.warp(123,456)
else
say "Buguser!!"
end
else
say "Bye"
end
else
say("You need this item:")
say_item(item)
end
end
end
end
Well i think you don't need it. Because player under level 95 can't see the quest and when they're 95 or higher then they knew by their own that they can't warp until their level 95
Simple Second reborn quest (NPC Scripts Only) 03/26/2019 - CO2 PServer Guides & Releases - 5 Replies hello, i always wanted second reborn quest on my private server so, as i started working on my new project i made an simplified second reborn quest.
As most 5530+ sources have the NPCs already added to the database ill post only NPC Scripts:
in databse in entities add new row named SecondQuest
in entity.cs add
public uint SecondQuest = 0;
in monstertable add
Simple Quest [Level UP Message] 08/14/2012 - Metin2 PServer Guides & Strategies - 10 Replies Heey Leute hier mal eine Quest die anzeigt wenn ein Spieler ein bestimmtes Level erreicht das eine Locale Nachricht an alle Spieler gesendet wird. Ich weiß es gibt bestimmt welche davon aber.... egal :)
quest levelup begin
state start begin
when levelup begin
if pc.get_level() == 75 then
notice_all("".. pc.get_name() .." hat gerade Level 75 erreicht")
notice_all("We love DeinNameMt2!")
elseif pc.get_level() == 100...
Computerkrank SF - root? // Simple port quest 04/02/2011 - Metin2 Private Server - 1 Replies Hey,
ich wollte mal fragen ob es irgendwelche schwer wiegenden bugs bei den computerkrank v2 gibt, oder man sie als ausgangs Files für nen Root server nehmen kann.
Außerdem wollte ich fragen, ob mir jemand ne simple Portquest schreiben kann. Sprich -> ein item benutzen, dialog fenster öffnet sich, möchtest du zu diesem ort? Ja / nein , wenn nein, dann beenden, wenn ja, dann porten zu koordinaten x,y. Hatte selbst so ne quest geschrieben, bei der Questkontrolle kontrollieren lassen, klappt...
[Release] Simple Monster Quest (CoEmu v2) 08/29/2009 - CO2 PServer Guides & Releases - 5 Replies hello...
this is not a BIG thing... so please... if you don't like... do no say anything about... i maked it just for give some reward for players!
(I take this idea from Kinshi88 MonsterHunter quest)
First: make this on the characters table:
Field: QuestKO
Type: INT
MoonBox Quest made simple!!! 08/21/2008 - CO2 Guides & Templates - 51 Replies Yo Yo Yo wudup everybody...alright imma get this shit started with telling you that you will need this COMapReader made by ChrisR872....i give much thnx to him cuz this helped me alot ...COMapReader
IMPORTANT....CO MAP READER NO LONGER WORKS SO IF YOU HAPPEN TO FIND A NEW ONE THEN I WILL MUCH APPRECIATE IT IF YOU PM ME WITH A URL :D
Ok after you get that theres a few things you will need...
One: You will need 1 or more 110 trojans or warriors.. You can use archers and taos but i think...