Register for your free account! | Forgot your password?

You last visited: Today at 05:44

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

Advertisement



Quest Problem

Discussion on Quest Problem within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2010
Posts: 159
Received Thanks: 7
Quest Problem

Hallo,

bin grad am Quest schreiben finde aber den Fehler bei der Quest nicht,

weiß einer woran es liegt?

PHP Code:
quest hong begin
    state start begin
    when 20094.chat
."Frisuren" begin
        say_size
(100512)
        
setbgimage('bg_quest2.tga')
        
say("")
        
say("")
        
say("")
        
say("")
        
say("")
        
local main=select("Krieger Frisuren""Ninja Frisuren""Sura Frisuren""Schamanen Frisuren""Beenden")
        if 
1==main then
            say_size
(100512)
            
setbgimage('bg_quest2.tga')
            
say("")
            
say("")
            
say("")
            
say("")
            
say("")
            
say("")
            
say("")
            
say("")
            
say("")
            
say(" Frisuren für Krieger:")
            
say("")
            
say("")
            
say("")
            
say(" Möchtest du den Laden öffnen?")
                
local s select("Ja""Nein")
                    if 
== 1 then
                    npc
.open_shop(1309)
                else
                    return
                
end
            end
        end
        
elseif 2==main then
            say_size
(100512)
            
setbgimage('bg_quest2.tga')
            
say("")
            
say("")
            
say("")
            
say("")
            
say("")
            
say("")
            
say("")
            
say("")
            
say("")
            
say(" Frisuren für Ninja:")
            
say("")
            
say("")
            
say("")
            
say(" Möchtest du den Laden öffnen?")
                
local m select("Ja""Nein")
                    if 
== m then
                    npc
.open_shop(1310)
                else
                    return
                
end
            end
        end
        
elseif 3==main then
            say_size
(100512)
            
setbgimage('bg_quest2.tga')
            
say("")
            
say("")
            
say("")
            
say("")
            
say("")
            
say("")
            
say("")
            
say("")
            
say("")
            
say(" Frisuren für Sura:")
            
say("")
            
say("")
            
say("")
            
say(" Möchtest du den Laden öffnen?")
                
local n select("Ja""Nein")
                    if 
== 1 then
                    npc
.open_shop(1311)
                else
                    return
                
end
            end
        end
        
elseif 4==main then
            say_size
(100512)
            
setbgimage('bg_quest2.tga')
            
say("")
            
say("")
            
say("")
            
say("")
            
say("")
            
say("")
            
say("")
            
say("")
            
say("")
            
say(" Frisuren für Schamane:")
            
say("")
            
say("")
            
say("")
            
say(" Möchtest du den Laden öffnen?")
                
local x select("Ja""Nein")
                    if 
== 1 then
                    npc
.open_shop(1312)
                else
                    return
                
end
            end
        end
        
elseif 5==main then
            
return
        
end
    end
end 
XtremeZocker is offline  
Old 02/06/2013, 10:10   #2
 
°Non_Public°'s Avatar
 
elite*gold: 0
Join Date: Jun 2009
Posts: 1,977
Received Thanks: 1,004

Kannst ja hier mal posten, vielleicht wird dir dort weitergeholfen.
°Non_Public° is offline  
Old 02/06/2013, 10:23   #3
 
elite*gold: 0
Join Date: Mar 2012
Posts: 765
Received Thanks: 535
Sag mal was für ein Fehler kommt, vorher schaut es sich fast keiner an.
©by Noa is offline  
Thanks
1 User
Old 02/06/2013, 10:36   #4
 
elite*gold: 0
Join Date: Dec 2010
Posts: 159
Received Thanks: 7
Fehler

Hier der Fehler:

QUEST : hong
STATE : start
WHEN : 20094.chat ("Frisuren")
expecting 'when' or 'function'
multishop2.quest:37:Error occured on compile multishop2.quest
XtremeZocker is offline  
Old 02/06/2013, 10:53   #5
 
elite*gold: 0
Join Date: Mar 2012
Posts: 765
Received Thanks: 535
PHP Code:
quest hong begin 
    state start begin 
    when 20094.chat
."Frisuren" begin 
        say_size
(100512
        
setbgimage('bg_quest2.tga'
        
say(""
        
say(""
        
say(""
        
say(""
        
say(""
        
local main=select("Krieger Frisuren""Ninja Frisuren""Sura Frisuren""Schamanen Frisuren""Beenden"
        if 
1==main then 
            say_size
(100512
            
setbgimage('bg_quest2.tga'
            
say(""
            
say(""
            
say(""
            
say(""
            
say(""
            
say(""
            
say(""
            
say(""
            
say(""
            
say(" Frisuren für Krieger:"
            
say(""
            
say(""
            
say(""
            
say(" Möchtest du den Laden öffnen?"
            
local s select("Ja""Nein"
            if 
== 1 then 
                npc
.open_shop(1309
            else 
                return 
            
end 
        
elseif 2==main then 
            say_size
(100512
            
setbgimage('bg_quest2.tga'
            
say(""
            
say(""
            
say(""
            
say(""
            
say(""
            
say(""
            
say(""
            
say(""
            
say(""
            
say(" Frisuren für Ninja:"
            
say(""
            
say(""
            
say(""
            
say(" Möchtest du den Laden öffnen?"
            
local m select("Ja""Nein"
            if 
== m then 
                npc
.open_shop(1310
            else 
                return 
            
end 
        
elseif 3==main then 
            say_size
(100512
            
setbgimage('bg_quest2.tga'
            
say(""
            
say(""
            
say(""
            
say(""
            
say(""
            
say(""
            
say(""
            
say(""
            
say(""
            
say(" Frisuren für Sura:"
            
say(""
            
say(""
            
say(""
            
say(" Möchtest du den Laden öffnen?"
            
local n select("Ja""Nein"
            if 
== 1 then 
                npc
.open_shop(1311
            else 
                return 
            
end 
        
elseif 4==main then 
            say_size
(100512
            
setbgimage('bg_quest2.tga'
            
say(""
            
say(""
            
say(""
            
say(""
            
say(""
            
say(""
            
say(""
            
say(""
            
say(""
            
say(" Frisuren für Schamane:"
            
say(""
            
say(""
            
say(""
            
say(" Möchtest du den Laden öffnen?"
            
local x select("Ja""Nein"
            if 
== 1 then 
                npc
.open_shop(1312
            else 
                return 
            
end 
        
elseif 5==main then 
            
return 
        
end 
    end 
end 
©by Noa is offline  
Thanks
1 User
Old 02/06/2013, 11:13   #6
 
elite*gold: 0
Join Date: Dec 2010
Posts: 159
Received Thanks: 7
.

Danke Noa, aber es kommt immer noch ein Fehler:

QUEST : hong
STATE : start
WHEN : 20094.chat ("Frisuren")
assertion failure : nested==0
multishop2.quest:108:Error occured on compile multishop2.quest
XtremeZocker is offline  
Old 02/06/2013, 11:28   #7
 
elite*gold: 0
Join Date: Mar 2012
Posts: 765
Received Thanks: 535
mein Fehler sorry hab nur was übersehen.
PHP Code:
quest hong begin 
    state start begin 
        when 20094.chat
."Frisuren" begin 
            say_size
(100512
            
setbgimage('bg_quest2.tga'
            
local main=select("Krieger Frisuren""Ninja Frisuren""Sura Frisuren""Schamanen Frisuren""Beenden"
            if 
main==5 then return end
            
if 1==main then 
                say_size
(100512
                
setbgimage('bg_quest2.tga'
                
say(" Möchtest du den Laden öffnen?"
                if 
select("Ja""Nein") == 1 then npc.open_shop(1309) else return end
            
elseif 2==main then 
                say_size
(100512
                
setbgimage('bg_quest2.tga'
                
say(" Möchtest du den Laden öffnen?"
                if 
select("Ja""Nein") ==1 then npc.open_shop(1310) else return end
            
elseif 3==main then 
                say_size
(100512
                
setbgimage('bg_quest2.tga'
                
say(" Möchtest du den Laden öffnen?"
                if 
select("Ja""Nein") ==1 then  npc.open_shop(1311) else return end
            
elseif 4==main then 
                say_size
(100512
                
setbgimage('bg_quest2.tga'
                
say(" Möchtest du den Laden öffnen?"
                if 
select("Ja""Nein") ==1 then npc.open_shop(1312) else return end
            end
        end
    end 
end 
©by Noa is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
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 problem
02/27/2011 - Metin2 Private Server - 5 Replies
hi ich hab ne quest geschrieben für die gemi aber wenn ich die gemi anglick öffnet sich der shop mit denn tränken und gar kein chat fenster wo ich auswählen kann was ich haben will pls help das ist die quest quest schmied begin state start begin when 9003.chat."Tränke"begin npc.open_shop(3) say("Tränke")
quest problem [ENG]
07/22/2010 - Metin2 Private Server - 2 Replies
I use the SF from profizocker94... and i changed gmlogin.quest so the text would be in english. But when i reboot the server, reload the quests ingame, and i relogin, the text is still in german. any idea how you update the quests ingame?
[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 05:45.


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.