Register for your free account! | Forgot your password?

You last visited: Today at 18:46

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Help]Quest error

Discussion on [Help]Quest error within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2012
Posts: 5
Received Thanks: 1
[Help]Quest error

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 
!= 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 livrose quiseres alterar o monstro que dropa o livro altera o 2293 para o nş que quiseres|
            
local s number(1100)
            if 
<= 30 and pc.count_item(30132)==0 then
                pc
.give_item2(301321)
                
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(301321)
                
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(1200060*60*24*365*60)-->Bonus infinitos
                    pc
.give_item2(400011)----->item a receber
                    
return
            
end
        end

    end
end
        set_state
(__complete)
        
end
            
    end

    
    state __complete begin
    end
end 
strikerider is offline  
Old 07/16/2012, 18:22   #2


 
elite*gold: 0
The Black Market: 138/0/0
Join Date: Jan 2010
Posts: 24,593
Received Thanks: 7,678
#moved
Crank is offline  
Old 07/16/2012, 18:24   #3

 
Aze /..'s Avatar
 
elite*gold: 220
Join Date: Oct 2011
Posts: 7,370
Received Thanks: 7,613
= WIN ^^
Aze /.. is offline  
Old 07/16/2012, 18:24   #4
 
elite*gold: 80
Join Date: Dec 2007
Posts: 2,225
Received Thanks: 4,765
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
end
Prσfizσcker94 is offline  
Old 07/22/2012, 07:47   #5
 
elite*gold: 0
Join Date: Jan 2012
Posts: 5
Received Thanks: 1
BUMPPP
strikerider is offline  
Old 07/22/2012, 10:00   #6
 
Poppitz's Avatar
 
elite*gold: 901
Join Date: Jun 2012
Posts: 128
Received Thanks: 99
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")
            elseif 
main_set == 2 then
                game
.open_mall()
                
say("Abriste o armazém da Loja de Itens")
            else
            return
            
end
        end
    end
end 
Next time use this thread ->
Poppitz is offline  
Old 07/22/2012, 16:57   #7
 
elite*gold: 0
Join Date: Jan 2012
Posts: 5
Received Thanks: 1
thank you
strikerider is offline  
Reply


Similar Threads Similar Threads
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



All times are GMT +1. The time now is 18:46.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.