Register for your free account! | Forgot your password?

You last visited: Today at 00:03

  • 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
 
elite*gold: 0
Join Date: Apr 2009
Posts: 12
Received Thanks: 0
Quest Problem

Tag miteinander ich habe eine Frage bezüglich eines Quests. Er soll je nach rasse aus einer Truhe die passenden Fb´s ausgeben.

Mein Versuch:

Code:
quest bt begin 
    state start begin 
        when 50134.use begin 
	    chat("Du hast " ..item_name(item.vnum).. " geöffnet.") 
	    if pc.job() == 0 then
			local b = {
				50401, 50402, 50403, 50403, 50404,			-- Krieger
				50416, 50417, 50418, 50419, 50420}
			local rb = number(1, table.getn(b))
			pc.give_item2(b[rb], 1)
			pc.remove_item(item.vnum)
		elseif pc.job() == 1 then
			local b == {
				50431, 50432, 50433, 50434, 50435, 			-- NINJA
				50446, 50447, 50448, 50449, 50550}
			local rb = number(1, table.getn(b))
			pc.give_item2(b[rb], 1)
			pc.remove_item(item.vnum)
		elseif pc.job() == 2 then
			local b == {
				50461, 50462, 50463, 50464, 50465, 50466, 	-- SURA
				50476, 50477, 50478, 50479, 50480, 50481}
			local rb = number(1, table.getn(b))
			pc.give_item2(b[rb], 1)
			pc.remove_item(item.vnum)
		elseif pc.job() == 3 then
			local b == {
				50491, 50492, 50493, 50494, 50495, 50496,	-- SCHAMIE
				50506, 50507, 50508, 50509, 50510, 50511}
			local rb = number(1, table.getn(b))
			pc.give_item2(b[rb], 1)
			pc.remove_item(item.vnum)
        end 
    end
end
VB gibt mir die Information das in Zeile 10 nach Start bei der Zeichenfolge "==" ein Fehler ist ich wüsste aber nicht was falsch ist.

Danke schonmal
leas2144 is offline  
Old 04/21/2015, 16:08   #2

 
Jinbei's Avatar
 
elite*gold: 101
Join Date: Mar 2013
Posts: 13,366
Received Thanks: 2,748
Bitte beachte die angepinnten Themen!
->
Jinbei is offline  
Old 04/21/2015, 16:12   #3
 
elite*gold: 0
Join Date: Apr 2009
Posts: 12
Received Thanks: 0
Danke kannst Closen
leas2144 is offline  
Closed Thread

Tags
metin2 quests


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 00:03.


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.