I have created 2 quest for my server, but when I go add im to my server, the machine say Abort (core dumped)
Please analyze this quest
The quest's are in Portuguese
PHP Code:
quest armazem_portatil begin
state start begin
when 40001.use begin
say_title("Armazém portátil")
say("Disfruta da prenda do Uriel.")
say("Qual é o armazém que queres abrir?")
say_reward("Escolhe correctamente!")
local main_set = select("Armazém", "Loja de Itens", "Abortar")
if main_set == 1 then
game.open_safebox()
say("Abriste o armazém")
end
if main_set == 2 then
game.open_mall()
say("Abriste o armazém da Loja de Itens")
end
if main_set == 3 then
return
end
end
end
PHP Code:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
-- Criada por StriKe --
-- Copyright Metin2Style
-- Hero-gamers.com --
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
quest uriel_magia begin
when login or levelup with pc.get_level() >= 75 begin |Aqui podem alterar o nivel para a quest aparecer(neste caso aparece a nivel 1)
set_state(information)
end
end
state information begin
when letter begin
local v = find_npc_by_vnum(20011)
if v != 0 then
target.vid("__TARGET__", v, "Uriel")
end
send_letter("Magia Misteriosa")
end
when button or info begin
say("")
say("Uriel está com alguns problemas.")
say("Ele costuma ser algo generoso.")
say("Vai ter com ele, descobre o que se passa,")
say("e ajuda-o no que precisar.")
end
when __TARGET__.target.click or
20011.chat."Magia Misteriosa" begin
target.delete("__TARGET__")
--- l
say_title("Magia Misteriosa")
say("Olá caro viajante, estou a meio de uma ")
say("pesquisa revolucionária.")
say("Estou a tentar descobrir o segredo para")
say("a manipulaçăo do tamanho dos objectos.")
say("Este processo exige magias sagradas, que eu")
say("ainda năo controlo totalmente.")
say("")
wait()
say_title("Uriel")
say("O objecto que eu necessito é muito raro,")
say("e difícil de achar. ")
say("Foi-me roubado há alguns anos enquanto passeava")
say("pelas margens do rio do nosso querido reino...")
say("Nunca esquecerei o dia em que o Traidor Balso me roubou.")
say("A última informaçăo que eu tive sobre ele, foi que estava na")
say("posse do Dragăo Azul.")
say("Ele é muito perigoso por isso tem cuidado.")
set_state(go_to_disciple)
pc.setqf("duration",0) -- Time limit
pc.setqf("collect_count",0)--Contador
end
end
state go_to_disciple begin
when letter begin
send_letter("Favor do Uriel")
end
when button or info begin
say_title("Magia Misteriosa")
---
say("")
say("O Uriel está a pesquisar acerca da manipulaçăo ")
say("do tamanho dos objectos.")
say("Ele precisa do seu livro, sem ele năo poderá entender")
say("a magia.")
say("Podes obtę-lo matando o Dragăo Azul.")
say_item_vnum(30168)
say_reward(" Actualmente obteste "..pc.getqf("collect_count").." livros!")
say("")
end
when 2293.kill begin -->Parte onde dropas o livro, se quiseres alterar o monstro que dropa o livro altera o 2293 para o nş que quiseres|
local s = number(1, 100)
if s <= 30 and pc.count_item(30132)==0 then
pc.give_item2(30132, 1)
send_letter("Obteste o Livro do Uriel")
end
end
|Parte onde entregas o Livro ao Uriel|
when 20011.chat."Trouxes-te o Livro? " with pc.count_item(30132) >0 begin
if get_time() > pc.getqf("duration") then
if pc.count_item(30132) >0 then
say_title("Uriel")
--- l
say("Oh!! Conseguiste encontrar...")
say("Deixa-me dar uma vista de olhos...")
say("Por favor espera um momento...")
say("")
pc.remove_item(30132, 1)
wait()
end
|Parte da recompensa|
say_title("Magia Misteriosa")
say("Conseguiste encontrar o Livro em perfeito estado.")
say("Pelo teu maravilhoso trabalho vou-te oferecer 2")
say("prémios.")
say("Um é o resultado da minha pesquisa, o outro")
say("vai ser-te útil na tua conquista contra o mal.")
say_reward("Recebes-te um item que permite abrir o armazém.")
say_reward("Recebes-te 2000 pontos de vida.")
pc.setqf("collect_count",0)
affect.add_collect(1, 2000, 60*60*24*365*60)-->Bonus infinitos
pc.give_item2(40001, 1)----->item a receber
return
end
end
quest armazem_portatil begin
state start begin
when 40001.use begin
say_title("Armazém portátil")
say("Disfruta da prenda do Uriel.")
say("Qual é o armazém que queres abrir?")
say_reward("Escolhe correctamente!")
local main_set = select("Armazém", "Loja de Itens", "Abortar")
if main_set == 1 then
game.open_safebox()
say("Abriste o armazém")
end
if main_set == 2 then
game.open_mall()
say("Abriste o armazém da Loja de Itens")
end
if main_set == 3 then
return
end
end
end
end
quest armazem_portatil begin state start begin when 40001.use begin say_title("Armazém portátil") say("Disfruta da prenda do Uriel.") say("Qual é o armazém que queres abrir?") say_reward("Escolhe correctamente!") local main_set = select("Armazém", "Loja de Itens", "Abortar") if main_set == 1 then game.open_safebox() say("Abriste o armazém") elseif main_set == 2 then game.open_mall() say("Abriste o armazém da Loja de Itens") else return end end end end
Quest error 05/26/2012 - Metin2 Private Server - 11 Replies Hallo Epvp... Ich habe ein Problem mit meiner otm.lua.. jedes mal bekomme ich beim Reloaden eine Core Dumped Fehlermeldung... und die quest ist nicht in der NPC...
quest otm begin
state start begin
when login or levelup with pc.get_level() >= 103 begin
when 30121.chat."Zur Mitte" begin
say_title("Zur Mitte!")
say("Hallo "..pc.get_name()..",")
say("du moechtest dich also zur Mitte?")
Quest error 12/25/2011 - Metin2 Private Server - 0 Replies I'm sorry, but I don't speack very good english language.
I have an metin2 server.
I have implement a new quest, but i have use the command : "./qc " and show this me:
"./qc : Permission denied "
See:
http://img851.imageshack.us/img851/979/1216024008 .jpg
Pliz, help me!!:( Sorry for my English... :(
My quest error help!! 12/18/2011 - Metin2 Private Server - 0 Replies quest at begIn
state start begIn
when 40009.use begIn
say_tItle("MetIn2.5 YardImcI El KItabI - 18/12/2011") --tarIh dInamIk!
say("MetIn2.5 serverI adIna ImzasInI atan ve tum gelIstIrmelerI gerceklestIren Paradox dan baskasIna guvenmeyInIz!")
say("Hatted oyun IcI duzenI saglamaktadIr! Oyunda baska GM,TL,DEV,AD yoktur! ")
say("")
say_reward("Devam ederek yardIm almak IstedIgInIz konu Ile IlgIlI bIlgIlere ulasabIlIrsIn")
local devam_et = select("Devam Et","BIlIyorum...
quest error 11/26/2011 - Metin2 Private Server - 2 Replies Can any one help in this quest!
quest warp_ring begin
state start begin
when 22051.chat."Importante" begin
say_title("Teleportador")
say_title("Olá "..pc.get_name().." eu Sou Minoking Lider de todos os minokings")
say("")
say("Estou aqui a tentar ajudar o reino a ser responsavél")
say("tenta comprir com esta regra")
my quest and mob_drop_item.txt error? and my item error? 08/14/2011 - Metin2 Private Server - 1 Replies hi guys, i hava a vps(1GB ram) server. Metin2 installed and no problem..
i mob_drop_item.txt editing after server reset and core error!
mob_drop_item.txt added(sample); after server putty in reset, i saw core error
Group mygroup
{
type limit
mob 101