Register for your free account! | Forgot your password?

You last visited: Today at 16:28

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

Advertisement



Dt quest bug?

Discussion on Dt quest bug? within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
.Seriously's Avatar
 
elite*gold: 54
Join Date: Jun 2012
Posts: 753
Received Thanks: 194
Dt quest bug?

hallo
ich habe ein porb mit der quest undzwar blockiert sie die dt quest und dc beim drag and drop voran liegt das?
PHP Code:
quest glyphen_stein_eintausch begin
    state start begin
        when 20011.chat
."Ich möchte Glyphensteine umtauschen!" with game.get_event_flag("glyphestein_event") == 1 begin
            say
("Hallo,")
            
say("Du möchtest deine Glyphensteine umtauschen oder?")
            
say("Es geht ganz einfach!")
            
say("Du musst die anzahl der Glyphensteine auswählen,")
            
say("Wieviele du tauschen möchtest, so mehr du hast desto bessere items")
            
say("erhälst du.")
            
say_reward("Wähle aus!")
            
local a select("5 Glyphensteine""10 Glyphensteine""25 Glyphensteine""50 Glyphensteine""100 Glyphensteine""Zurück")
            if 
== and pc.countitem(50178) < 5 then
                say
("Du hast nicht genügend Glyphensteine!")
                
say("Komme wieder wenn du 5 oder mehrere besitzt.")
            elseif 
== and pc.countitem(50178) > 4 then
                local a
=number(14)
                    if 
== 1 then
                    pc
.give_item2(301781)
                    elseif 
== 2 then
                    pc
.give_item2(727231)
                    elseif 
== 3 then
                    pc
.give_item2(727271)
                    elseif 
== 4 then
                    pc
.give_item2(500241)
                
end
            
elseif == and pc.countitem(50178) < 25 then
                say
("Du hast nicht genügend Glyphensteine!")
                
say("Komme wieder wenn du 5 oder mehrere besitzt.")
            elseif 
== and pc.countitem(50178) > 9 then
                local b
=number(14)
                    if 
== 1 then
                    pc
.give_item2(301781)
                    elseif 
== 2 then
                    pc
.give_item2(727231)
                    elseif 
== 3 then
                    pc
.give_item2(727271)
                    elseif 
== 4 then
                    pc
.give_item2(500241)
                
end
            
elseif == and pc.countitem(50178) < 25 then
                say
("Du hast nicht genügend Glyphensteine!")
                
say("Komme wieder wenn du 5 oder mehrere besitzt.")
            elseif 
== and pc.countitem(50178) > 24 then
                local c
=number(14)
                    if 
== 1 then
                    pc
.give_item2(301781)
                    elseif 
== 2 then
                    pc
.give_item2(727231)
                    elseif 
== 3 then
                    pc
.give_item2(727271)
                    elseif 
== 4 then
                    pc
.give_item2(500241)
                
end
            
elseif == and pc.countitem(50178) < 50 then
                say
("Du hast nicht genügend Glyphensteine!")
                
say("Komme wieder wenn du 5 oder mehrere besitzt.")
            elseif 
== and pc.countitem(50178) > 49 then
                local d
=number(14)
                    if 
== 1 then
                    pc
.give_item2(301781)
                    elseif 
== 2 then
                    pc
.give_item2(727231)
                    elseif 
== 3 then
                    pc
.give_item2(727271)
                    elseif 
== 4 then
                    pc
.give_item2(500241)
                
end
            
elseif == and pc.countitem(50178) < 100 then
                say
("Du hast nicht genügend Glyphensteine!")
                
say("Komme wieder wenn du 5 oder mehrere besitzt.")
            elseif 
== and pc.countitem(50178) > 99 then
                local e
=number(14)
                    if 
== 1 then
                    pc
.give_item2(301781)
                    elseif 
== 2 then
                    pc
.give_item2(727231)
                    elseif 
== 3 then
                    pc
.give_item2(727271)
                    elseif 
== 4 then
                    pc
.give_item2(500241)
                
end
            
elseif == 6 then
            
return
        
end
    end
end
end

quest npc begin
    state start begin
        when 20011.chat
."Die Glyphensteine" begin
        
if game.get_event_flag("glyphestein_event") == 1 then
            say
("Hier kannst du sehen ob das Glyphenstein-Event aktiv ist.")
            
say("[DELAY value;340]..........[/DELAY]")
            
say("")
            
say_reward("Das Glyphenstein Event ist aktiv")
        elseif 
game.get_event_flag("glyphestein_event") == 0 then    
            say
("Hier kannst du sehen ob das Glyphenstein-Event aktiv ist.")
            
say("")
            
say("[DELAY value;340]..........[/DELAY]")
            
say("")
            
say_reward("Das Glyphenstein Event ist nicht aktiv")
            
end
        end
    end
end 
.Seriously is offline  
Reply


Similar Threads Similar Threads
[SPECIAL TEAM_WARP QUEST]'nd Metin2 Sweet Time Quest's Icons and News
01/27/2013 - Metin2 PServer Guides & Strategies - 22 Replies
deleted!
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



All times are GMT +2. The time now is 16:28.


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