Register for your free account! | Forgot your password?

You last visited: Today at 17:09

  • 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 2010
Posts: 21
Received Thanks: 1
Question Quest Problem ?

Hi zusammen

Hab mal ne quest geschrieben die die Farbe von Perlen verändern soll aber das funktioniert leider nicht =( vll findet ihr ja ein Fehler wäre nett von Euch

Hier die Quest:

Code:
quest Perle begin
	state start begin
		when 20087.chat."Weise Perle verwandeln" with pc.countitem("27992")>=1 and pc.countitem("27987")>=1 begin
			say("Wie ich sehe hast du alles")
			say("was ich zum verwandeln Benötige")
			say("Was für eine Perle hättest du gerne")
			say("")
			
			local b=select("Blaue", "Weise", "Rote", "Beenden")
			if 1==b then
				if pc.countitem("27992")>=1 and pc.countitem("27987")>=1 then
					pc.removeitem("27992", 1)
					pc.removeitem("27987", 1)
					pc.give_item2("27993", 1)
					say("Hier hast du deine Blaue Perle")
				end
				if 2==b then
				if pc.countitem("27992")>=1 and pc.countitem("27987")>=1 then
					pc.removeitem("27992", 1)
					pc.removeitem("27987", 1)
					pc.give_item2("27992", 1)
					say("Hier hast du deine Weise Perle")
				end
				if 3==b then
				if pc.countitem("27992")>=1 and pc.countitem("27987")>=1 then
					pc.removeitem("27992", 1)
					pc.removeitem("27987", 1)
					pc.give_item2("27994", 1)
					say("Hier hast du deine Rote Perle")
				end
			elseif 4==b then
			else
			say("UNKNOWN BUTTON ["..b.."]")
			end
			
			when 20087.chat."Blaue Perle verwandeln" with pc.countitem("27993")>=1 and pc.countitem("27987")>=1 begin
			say("Wie ich sehe hast du alles")
			say("was ich zum verwandeln Benötige")
			say("Was für eine Perle hättest du gerne")
			say("")
			local b=select("Blaue", "Weise", "Rote", "Beenden")
			if 1==b then
				if pc.countitem("27993")>=1 and pc.countitem("27987")>=1 then
					pc.removeitem("27993", 1)
					pc.removeitem("27987", 1)
					pc.give_item2("27993", 1)
					say("Hier hast du deine Blaue Perle")
				end
				if 2==b then
				if pc.countitem("27993")>=1 and pc.countitem("27987")>=1 then
					pc.removeitem("27993", 1)
					pc.removeitem("27987", 1)
					pc.give_item2("27992", 1)
					say("Hier hast du deine Weise Perle")
				end
				if 3==b then
				if pc.countitem("27993")>=1 and pc.countitem("27987")>=1 then
					pc.removeitem("27993", 1)
					pc.removeitem("27987", 1)
					pc.give_item2("27994", 1)
					say("Hier hast du deine Rote Perle")
				end
			elseif 4==b then
			else
			say("UNKNOWN BUTTON ["..b.."]")
			end
			
			when 20087.chat."Rote Perle verwandeln" with pc.countitem("27994")>=1 and pc.countitem("27987")>=1 begin
			say("Wie ich sehe hast du alles")
			say("was ich zum verwandeln Benötige")
			say("Was für eine Perle hättest du gerne")
			say("")
			local b=select("Blaue", "Weise", "Rote", "Beenden")
			if 1==b then
				if pc.countitem("27994")>=1 and pc.countitem("27987")>=1 then
					pc.removeitem("27994", 1)
					pc.removeitem("27987", 1)
					pc.give_item2("27993", 1)
					say("Hier hast du deine Blaue Perle")
				end
				if 2==b then
				if pc.countitem("27994")>=1 and pc.countitem("27987")>=1 then
					pc.removeitem("27994", 1)
					pc.removeitem("27987", 1)
					pc.give_item2("27992", 1)
					say("Hier hast du deine Weise Perle")
				end
				if 3==b then
				if pc.countitem("27994")>=1 and pc.countitem("27987")>=1 then
					pc.removeitem("27994", 1)
					pc.removeitem("27987", 1)
					pc.give_item2("27994", 1)
					say("Hier hast du deine Rote Perle")
				end
			elseif 4==b then
			else
			say("UNKNOWN BUTTON ["..b.."]")
			end
		end
	end
	state __COMPLETE__ begin
		when enter begin
			q.done()
		end
	end
end

quest karte2 begin
	state start begin
		when 20087.chat."Perle verwandeln?" begin
			say("Hallo und Wilkommen")
			say("Intressierst du dich für meine spezielle Fertigkeit...")
			say("Ich kann dir die Farbe deiner Perle verändern")
			say("Was ich dazu von dir brauche ?")
			say("Ich benötige eine Perle die du hast")
			say("und ich benötige")
			say_item_vnum(27987)
			say("")
			
		end
	end
	state __COMPLETE__ begin
		when enter begin
			q.done()
		end
	end
end
Krieg bei der Quest nen Fehler beim Make.sh ausführen !

MfG
Lars1993 is offline  
Old 06/18/2010, 18:35   #2
 
elite*gold: 0
Join Date: Apr 2010
Posts: 21
Received Thanks: 1
=( wie es niemand weis -_-
Lars1993 is offline  
Reply


Similar Threads Similar Threads
[HELP] Quest Problem!
08/08/2010 - Metin2 Private Server - 3 Replies
Hallo E*pvpers könnt ihr mir sagen wieso mein quest nicht funtz postet die ganz quest fertig oder nennt den fehler , danke :D
Problem mit Quest
07/04/2010 - Metin2 Private Server - 0 Replies
Hallo ich bin total verzweifelt hab gedacht ich schreib mal ein quest und hab das auch getan doch irgendwie geht es nicht quest milligaul begin state run begin when login with pc.level >= 5 set_state(abholen) state abholen begin when letter begin send letter("Militärpferd") end
[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
Quest Problem
12/03/2009 - Metin2 Private Server - 6 Replies
Also ich habe die ox-fragen übersetzt wenn man jedoch jetzt den ox startet kommen die fragen noch in chinesisch^^ und noch was, der beenden/abbrechen button der aus 2 chinesischen zeichen besteht. den finde ich in der locale_big5.lua nicht. der wird bei jedem npc gebraucht und nirgends ist er! Weis das vlt jemand?
Quest problem
02/03/2009 - Metin2 Private Server - 5 Replies
Hab ein blödes problem ich habe dank nicos Version Metin2 auf deutsch leider sind die quest noch auf chinesisch wie kann ich die quest lösen?



All times are GMT +2. The time now is 17:09.


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.