Register for your free account! | Forgot your password?

You last visited: Today at 00:38

  • 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: Apr 2011
Posts: 44
Received Thanks: 39
Question Quest Problem

ich weiß jz nich ob des hier richtig is aba naja nen versuch isses wert

hier der quest code:

PHP Code:
quest elementar_ruessi begin
    state start begin
        when 70024.chat
."Elementar Rüstung" begin
            say_title
("Extra-Item:")
            
say("Du möchtest also eine")
            
say("Elementar Rüstung haben?")
            
local s select("Ja, Nein")
            if 
s==1 then
                say_title
("Extra-Item:")
                
say("Du benötigst folgende Dinge:")
                
wait()
                
say_title("Du benötigst:")
                
say("200x Leere Flasche")
                
say("500x Weiße Perle")
                
say("550x Blaue Perle")
                
say("620x Rote Perle")
                
say("55x Heldensymbol")
                
say("5x Truhe des Blauen Tod")
                
local i select("Fortfahren""Abbrechen")
                if 
i==1 then
                    
if pc.count_item(27992) >= 500 and
                    
pc.count_item(27993) >= 550 and
                    
pc.count_item(27994) >= 620 and
                    
pc.count_item(99999) >= and
                    
pc.count_item(50901) >= 200 then
                        pc
.remove_item(27992,500)
                        
pc.remove_item(27993,550)
                        
pc.remove_item(27994,620)
                        
pc.remove_item(99999,59)
                        
pc.remove_item(50901,200)
                        if 
pc.job==0 then
                            pc
.give_item2("11309"1)
                            if 
pc.job==1 then
                                pc
.give_item2("11509"1)
                                if 
pc.job==2 then
                                    pc
.give_item2("11709"1)
                                    if 
pc.job==3 then
                                        pc
.give_item2("12009"1)
                                        
say("")
                                        
say_reward("Du hast eine Elementar Rüstung erhalten.")
                    
                    elseif 
say("Du hast nicht genug Materialien")
                        return
                    
end
                
elseif
                    return
                
end
            
elseif
                return
            
end
        end
    end
end 
meine frage: was ist daran bitte falsch?
ich meine des sieht für mich sehr richtig aus xD
aba vpc sagt mir was anderes...


hoffe auf schnelle antwort AUCH !!! wenn es wo anders hin gehört ;D
nachuhi is offline  
Old 06/25/2012, 11:27   #2

 
MetinLegende's Avatar
 
elite*gold: 10
Join Date: Feb 2012
Posts: 1,097
Received Thanks: 574
PHP Code:
quest elementar_ruessi begin 
    state start begin 
        when 70024.chat
."Elementar Rüstung" begin 
            say_title
("Extra-Item:"
            
say("Du möchtest also eine"
            
say("Elementar Rüstung haben?"
            
local s select("Ja, Nein"
            if 
s==1 then 
                say_title
("Extra-Item:"
                
say("Du benötigst folgende Dinge:"
                
wait() 
                
say_title("Du benötigst:"
                
say("200x Leere Flasche"
                
say("500x Weiße Perle"
                
say("550x Blaue Perle"
                
say("620x Rote Perle"
                
say("55x Heldensymbol"
                
say("5x Truhe des Blauen Tod"
                
local i select("Fortfahren""Abbrechen"
                if 
i==1 then 
                    
if pc.count_item(27992) >= 500 and 
                    
pc.count_item(27993) >= 550 and 
                    
pc.count_item(27994) >= 620 and 
                    
pc.count_item(99999) >= and 
                    
pc.count_item(50901) >= 200 then 
                        pc
.remove_item("27992"500
                        
pc.remove_item("27993"550
                        
pc.remove_item("27994"620
                        
pc.remove_item("99999" ,5
                        
pc.remove_item("50901"200
                        if 
pc.job==0 then 
                            pc
.give_item2("11309"1
                        elseif 
pc.job==1 then 
                            pc
.give_item2("11509"1
                        elseif 
pc.job==2 then 
                            pc
.give_item2("11709"1
                        elseif 
pc.job==3 then 
                            pc
.give_item2("12009"1
                        
end
                            say
(""
                            
say_reward("Du hast eine Elementar Rüstung erhalten."
                     
                    else
                         
say("Du hast nicht genug Materialien"
                        return 
                    
end 
                
elseif i==2
                    
return 
                
end 
            
elseif s==2
                
return 
            
end 
        end 
    end 
end 
Versuchs mal so aber ka obs so klappt. Nur kurz überflogen mim handy
Ach und du hast diese heldensymbole nicht drin weder bei countitem noch bei remove
MetinLegende is offline  
Thanks
1 User
Old 06/27/2012, 18:00   #3
 
elite*gold: 0
Join Date: Apr 2011
Posts: 44
Received Thanks: 39
ok danke ich probiers mal am freitag melde mich dann privat bei dir wenns nich gehen sollte

PS: ich musste noch vnum von den heldis raussuchen deswegen noch nich dabei
nachuhi is offline  
Old 06/27/2012, 18:17   #4
 
elite*gold: 0
Join Date: Jun 2012
Posts: 11
Received Thanks: 1
Habs getestet geht
[SA]Moon is offline  
Thanks
1 User
Old 06/27/2012, 19:29   #5

 
MetinLegende's Avatar
 
elite*gold: 10
Join Date: Feb 2012
Posts: 1,097
Received Thanks: 574
OK perfekt. Wenn was ist Skype adden oder pn
MetinLegende is offline  
Reply


Similar Threads Similar Threads
DC Quest Problem *Help*
07/18/2012 - Metin2 Private Server - 4 Replies
Hi, ich habe das problem mit dem DC quest von Marco_A. Das ist er:------------------------------- ---Devils Catacomb by Exterminatus--- ---Letzte bearbeitung am 03.03.2012 um 12:20Uhr durch Exterminatus ------------------------------- quest devilcave begin state start begin --DC Status Reset
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 mit Quest
09/19/2010 - Metin2 Private Server - 2 Replies
ja also habe jetzt einfach den warpringquest in filezilla in den questordner rein und den warpring.quest damit überschrieben quest warp_ring begin state start begin when 70007.use begin say_title("Warpring") say("") say("Mit dem Warpring kannst du dich zu folgenden") say("Orten teleportieren:") local s = select("Map1","Orktal","H wang Tempel","Wueste","Anfang der Seelengrotte","Daemonenturm"," SD2","Abrechen")
[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 +2. The time now is 00:38.


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.