Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 04:14

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

Advertisement



Where is The Problem in the quest

Discussion on Where is The Problem in the quest within the Metin2 Private Server forum part of the Metin2 category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2013
Posts: 34
Received Thanks: 5
Where is The Problem in the quest

Hello Guys , i made a new quest

when u give 33002 100pics npc old man he will give u
a box 50082

Where is the quest error !

when i install the quest

Code:
STATE : start
WHEN  : 33002.chat ("  ▒▒▒▒▒▒ ▒▒▒▒▒  ")
catquest.quest:30:assertion failure : nested==0
Abort (core dumped)

Code:
-------------------------------
---CaT Quest---
-------------------------------  
quest catquest begin
    state start begin     
        when 33002.chat."  CaT QUEST  " begin
            if pc.count_item(50711, 100) >= 1 then 
                say_title(" old man ")
                    say(" Stop ! ")
                say(" Do u collect 100piece ")
                say_reward("U must have 100piece")
                say_reward(" Do want to know what i talk about !")
                say(" This thing ")
                                say("")
                                say_item_vnum(50711)
		say(" Ok , So u collect 100piece ")
		say(" I will give u 2 boxs ")
		pc.give_item2(50082, 2) 
                pc.remove_item("50711", 100)
            elseif pc.count_item(50711, 99) < 2 then
                say_title(" oldman ")
                    say(" stop stop ! ")
                say(" do u collect 100piece ؟ ")
                say_reward(" you must have 100piece ")
                elseif dc_login == 2 then
                    return
                end
            end

Where is the problem !!!

Sorry 4 My Bad English
Mr.Programmer is offline  
Old 07/20/2014, 10:30   #2

 
Jinbei's Avatar
 
elite*gold: 101
Join Date: Mar 2013
Posts: 13,366
Received Thanks: 2,748
->

PHP Code:
-------------------------------
---
CaT Quest---
-------------------------------  
quest catquest begin
    state start begin     
        when 33002.chat
.("CaT QUEST"begin
            
if pc.count_item(50711100) >= 1 then 
                say_title
(" old man ")
                    
say(" Stop ! ")
                
say(" Do u collect 100piece ")
                
say_reward("U must have 100piece")
                
say_reward(" Do want to know what i talk about !")
                
say(" This thing ")
                                
say("")
                                
say_item_vnum(50711)
        
say(" Ok , So u collect 100piece ")
        
say(" I will give u 2 boxs ")
        
pc.give_item2(500822
                
pc.remove_item("50711"100)
            elseif 
pc.count_item(5071199) < 2 then
                say_title
(" oldman ")
                    
say(" stop stop ! ")
                
say(" do u collect 100piece ؟ ")
                
say_reward(" you must have 100piece ")
                elseif 
dc_login == 2 then
                
return
            
end
        end
    end
end 
Maybe?...
Jinbei is offline  
Old 07/20/2014, 10:36   #3

 
elite*gold: 83
Join Date: Nov 2013
Posts: 2,891
Received Thanks: 2,764
try this
PHP Code:
-------------------------------
---
CaT Quest---
-------------------------------  
quest catquest begin
    state start begin     
        when 33002.chat
."CaT QUEST" begin
            
if pc.count_item(50711) >= 100 then 
                say_title
("old man")
                
say("Stop!")
                
say("Do u collect 100piece ")
                
say_reward("U must have 100piece")
                
say_reward("Do want to know what i talk about !")
                
say(" This thing ")
                
say("")
                
say_item_vnum(50711)
                
say("Ok , So u collect 100piece")
                
say("I will give u 2 boxs")
                
local s select("Trade""Bye")
                if 
== 1 then
                    pc
.give_item2(500822)
                    
pc.remove_item("50711"100)
                
end
                
if == 2 then
                    
return
                
end
            end
            
elseif pc.count_item(50711) < 99 then
                say_title
("oldman")
                
say("stop stop!")
                
say("do u collect 100piece؟")
                
say_reward("you must have 100piece")
                return
            
end
        end
    end
end 
PS:
use the sticky thread "Die Questkontrolle" next time
rollback is offline  
Closed Thread


Similar Threads Similar Threads
[Quest-PROBLEM]"Weiter"-Button, Quest schließt sich
02/01/2014 - Metin2 Private Server - 8 Replies
Servus Leute, ich habe folgendes Problem, meine "give_starter_set.quest" sieht wie folgt aus: quest give_starter_set begin state start begin when login begin say_title("Willkommen") say("Willkommen auf TEST")
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
[Problem] Problem with server starting - cannot find quest index for PaxHeader
12/22/2009 - Metin2 Private Server - 1 Replies
Hello! I have this same problem as here when i'm starting my server: http://www.elitepvpers.com/forum/metin2-pserver-di scussions-questions/307143-metin2-serverfiles-ques t-index-fehler.html But I didn't know the answer.. how to repair this? Greetings



All times are GMT +1. The time now is 04:14.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.