Register for your free account! | Forgot your password?

You last visited: Today at 14:41

  • 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.

Closed Thread
 
Old   #1
 
hacker-2012's Avatar
 
elite*gold: 0
Join Date: Apr 2012
Posts: 121
Received Thanks: 64
Exclamation Quest problem

Code:
quest 150lvl begin
    state start begin
        when levelup with pc.get_level() == 150 begin
            setstate(info)
        end
    end
    state info begin
        when letter begin
            send_letter("Well done! Reward!!!")
        end
        when button or info begin
            say_title("Hallo "..pc.get_name().."")
            say("You managed to arrive 150 level")
            say("That's why Intifada2's Team offers you to")
            say("Choose one weapon of your choise")
            say("There will be 1 set of weapons")
            say("")
            say("Do you like it?.")
            say_reward("You can pick your reward at the Captain.")
        end
        when 20355.chat."Level 150 reward." begin
            say_title("Did you managed to arrive 150lvl?")
            say("Well done")
            say("That's why we will give you the weapon ")
            say("Of your choise")
            say("You will choose 4 weapons")
            say("Only once so choose wisely")
            say_reward("Choose!")
            local a = select("2Hand Weapon", "Weapon", "Archer", "Ninja Weapon", "Shaman 1", "Shaman 2" )
            if a == 1 then pc.give_item2(9199) setstate(finish) 
            if a == 2 then pc.give_item2(9299) setstate(finish)
            if a == 3 then pc.give_item2(9399) setstate(finish) 
			if a == 4 then pc.give_item2(9499) setstate(finish) 
			if a == 5 then pc.give_item2(9599) setstate(finish) 
			if a == 6 then pc.give_item2(9699) setstate(finish)
        end
    end
    state finish begin
    end
end

I have this code for quest giving when arrives level 150 some items only ONCE! but it shows error
hacker-2012 is offline  
Old 01/07/2016, 11:28   #2
 
.Delta's Avatar
 
elite*gold: 26
Join Date: Mar 2010
Posts: 3,765
Received Thanks: 2,661


All Topics related to errors in quests etc. should be / have to be posted in this Thread.

Furthermore, please always specify which error is displayed.

.Delta is offline  
Thanks
1 User
Old 01/07/2016, 12:41   #3
 
hacker-2012's Avatar
 
elite*gold: 0
Join Date: Apr 2012
Posts: 121
Received Thanks: 64
oh...sorry and thank you a lot
hacker-2012 is offline  
Old 01/07/2016, 13:47   #4

 
Jinbei's Avatar
 
elite*gold: 101
Join Date: Mar 2013
Posts: 13,366
Received Thanks: 2,748
#closed
Jinbei 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 14:41.


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.