Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server > Metin2 PServer Guides & Strategies
You last visited: Today at 18:37

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

Advertisement



[Release] Itemzerstörer-Quest (für die, die ohne Source arbeiten)

Discussion on [Release] Itemzerstörer-Quest (für die, die ohne Source arbeiten) within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.

Reply
 
Old   #1

 
elite*gold: 83
Join Date: Nov 2013
Posts: 2,891
Received Thanks: 2,764
[Release] Itemzerstörer-Quest (für die, die ohne Source arbeiten)

Vorweg muss gesagt werden, dass es natürlich mit dem Source viel schöner geht (siehe Inception2). Allerdings gibt es immernoch sehr viele Leute, die ohne diesen arbeiten. Für genau diese Leute könnte folgende Quest ein guter ersatz für die normalen Itemzerstörer über NPCs sein.



Gallery 1



Die Quest:

Code:
quest zerstoerer begin
	state start begin
		when button begin
			if item.select_cell(0) then
				say_title("Itemzerstörer")
				say("")
				say("Auf Slot 1 befindet sich "..item.get_count().."x "..item.get_name()..".")
				say("")
				say_reward("Was möchtest du tun?")
				local s = select(item.get_count().."x "..item.get_name().." zerstören", "(eingabe)x "..item.get_name().." zerstören", "Abbrechen")
				if s == 1 then
					syschat(item.get_name().." wurde "..item.get_count().."x zerstört!")
					item.remove()
				elseif s == 2 then
					repeat
						say_title("Itemzerstörer")
						say("")
						say_reward("Wie oft möchtest du "..item.get_name().." zerstören?")
						say("Du besitzt es "..item.get_count().." mal.")
						local count = tonumber(input())
						if count then
							if item.get_count() >= count then
								say_title("Itemzerstörer")
								say("")
								say_reward("Möchtest du "..item.get_name().." wirklich "..count.."x zerstören?")
								if select("Ja, "..count.."x "..item.get_name().." zerstören", "Abbrechen") == 2 then return end
								pc.remove_item(item.get_vnum(), count)
								syschat(item.get_name().." wurde "..count.."x zerstört!")
								return
							else
								say("Du besitzt dieses Item nur "..item.get_count().." mal.")
								if select("andere Zahl eingeben", "Abbrechen") == 2 then return end
							end
						else
							say("Du kannst nur Zahlen eingeben!")
							if select("andere Zahl eingeben", "Abbrechen") == 2 then return end
						end
					until false
				else
					return
				end
			else
				syschat("Auf Slot 1 befindet sich kein Item!")
			end
		end
	end
end
(die alternative Quest ist für diejenigen, bei denen "item.remove()" nicht den kompletten Stack entfernt!)

Special Thanks:
  • Core ツ - für die Idee
  • Yiv - einfach weil Yiv
  • Poccix - weil Poccelix
  • Alekos - weil Akkelos
  • DreamT - weil er auch mal gerne wieder hier stehen will
rollback is offline  
Thanks
13 Users
Old 03/29/2015, 03:44   #2
 
Yiv's Avatar
 
elite*gold: 47
Join Date: Feb 2012
Posts: 2,282
Received Thanks: 2,579
Wieso setzt du meine Idee dazu nicht auch noch um
'Ne, finde ich echt nicht korrekt von dir...

Broken heart </3
Yiv is offline  
Thanks
2 Users
Old 03/29/2015, 03:45   #3
 
Alekos's Avatar
 
elite*gold: 6
The Black Market: 125/0/0
Join Date: Feb 2010
Posts: 2,779
Received Thanks: 4,267
Hab dir öfters beim coden über die Schulter geschaut, hoffe meine Tipps haben dir geholfen
Vielen Dank für das Release
Alekos is offline  
Thanks
4 Users
Old 03/29/2015, 04:51   #4
 
Ekrem2's Avatar
 
elite*gold: 4
Join Date: Aug 2011
Posts: 236
Received Thanks: 141
Nacht Releases läuft bei uns...

wunderschöhne quest danke.
Ekrem2 is offline  
Old 03/29/2015, 11:28   #5

 
DreamT™'s Avatar
 
elite*gold: 26
Join Date: Sep 2014
Posts: 895
Received Thanks: 388
Da haut er eins nach dem anderen raus Wie immer gute Arbeit, weiter so!
DreamT™ is offline  
Thanks
2 Users
Reply


Similar Threads Similar Threads
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
[Release] Lost Quest! 5165 source...
01/21/2010 - CO2 PServer Guides & Releases - 9 Replies
#REMOVED! I MADE AN ALL-IN-ONE THREAD ABOUT IT! #Request Close
[Release] FortuneTeller MoonBox Quest! 5165 Source
01/21/2010 - CO2 PServer Guides & Releases - 6 Replies
#REMOVED! I MADE AN ALL-IN-ONE THREAD ABOUT IT! #Request Close
[Release]Wind Bell Quest 5165 Source
12/01/2009 - CO2 PServer Guides & Releases - 9 Replies
Ok guys here is the Wind Bell Quest for the 5165 source :P This is from BERGHUIS1 i re-coded it to be for the 5165 source and works great The reward is a super +1 ring Super Amethyst Ring +1 Ok go to C:\OldCODB\NPCs.txt And add this code



All times are GMT +2. The time now is 18:37.


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.