Register for your free account! | Forgot your password?

You last visited: Today at 15:16

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

Advertisement



[Release] Demon Tower GUI

Discussion on [Release] Demon Tower GUI within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.

Reply
 
Old   #1
 
Zonni's Avatar
 
elite*gold: 100
Join Date: Feb 2008
Posts: 195
Received Thanks: 270
[Release] Demon Tower GUI


Add this to deviltower_zone.quest
Code:
quest deviltower_zone begin
    state start begin
		when login with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
			loop_timer("check_dungeon_time", 1)
			loop_timer("dodajczas", 1)
		end
		when dodajczas.timer with pc.in_dungeon() begin
			local timee=d.getf("czas")
			d.setf("czas", timee+1)
		end
		when check_dungeon_time.timer with pc.in_dungeon() begin
			local timer = d.getf("czas")
				local min = math.floor(timer/60)
				local sek = timer-min*60
				local pokaz_czas = (min..":"..sek)
			local pozostalo = d.count_monster()
			local wspolnie = d.getf("zabitychogolnie")
			local zabitych_przez_ciebie = pc.getqf("zabitychprzezcb")
			local pietro_show = d.getf("level")
			local players = d.getf("gracze")
			cmdchat("showDtTimer")
			cmdchat("setDtCounters "..pokaz_czas.."|"..zabitych_przez_ciebie.."|"..wspolnie.."|"..pozostalo.."|"..players.."|"..pietro_show.."")
		end
		when kill with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
			if not npc.is_pc() then
				local zabitych_ogolnie = d.getf("zabitychogolnie")
				local zabitych_przez_ciebie = pc.getqf("zabitychprzezcb")
				pc.setqf("zabitychprzezcb", zabitych_przez_ciebie+1)
				d.setf("zabitychogolnie", zabitych_ogolnie+1)
			end
		end
		when login begin
			if pc.get_map_index() == 66 then			
				if pc.get_x() < 2048+88 or pc.get_y() < 6656+577 or pc.get_x() > 2048+236 or pc.get_y() > 6656+737 then
					pc.warp((5376+532)*100, (512+596+4)*100, 65)
				end
				pc.set_warp_location(65, 5376+532, 512+596+4)
			elseif pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 then
				pc.set_warp_location(65, 5376+532, 512+596+4)
			end
		end
		when deviltower_man.chat.locale.deviltower_man_chat begin
			if pc.get_level() < 40 then
				say(locale.deviltower_man_say_you_cant)
			else
				say(locale.deviltower_man_say)
			local s = select(locale.deviltower_enter,locale.deviltower_no_enter)
			if s == 1 then
				pc.warp(216500,727000)
			end
			end
		end
		when devil_stone1.kill begin
			timer("devil_stone1_1", 6)
			pc.setqf("zabitychprzezcb",1)
		end
	when devil_stone1_1.timer begin
		local mapto7= pc.count_item(30302)  -- Die Karte der Zin Grotte wurde aus deinem Inventar entfernt
		pc.remove_item(30302,mapto7)

		local boxto7= pc.count_item(30300)  -- Die Unbekannte Alte Kiste wurde aus deinem Inventar entfernt
		pc.remove_item(30300,boxto7)

	    d.new_jump_all(66, special.devil_tower[1][1], special.devil_tower[1][2])
	    d.regen_file("data/dungeon/deviltower2_regen.txt")
           d.set_warp_at_eliminate(4, d.get_map_index(), special.devil_tower[2][1], special.devil_tower[2][2], "data/dungeon/deviltower3_regen.txt")
	    d.setf("zabitychogolnie", 1)
	    d.setf("level", 1)
	    d.setf("gracze", 1)
	    pc.setqf("zalogowano", 1)
			if pc.getqf("zalogowano") < 2 then
				pc.setqf("zalogowano", 3)
				local graczy = d.getf("gracze")
				d.setf("gracze", graczy+1)
				return
			else
				return
			end
	    d.setf("czas", 61)
	    d.setf("level", 2)
	end
quest written in a few minutes. it isn't perfect. it can be better but i'm sooo lazy. gui isn't mine, i will only release it.


dl in attachment
Attached Files
File Type: rar dtgui.rar (6.5 KB, 885 views)
Zonni is offline  
Thanks
45 Users
Old 03/07/2013, 04:08   #2

 
[Cyberos]'s Avatar
 
elite*gold: 1230
The Black Market: 1066/0/0
Join Date: Jun 2008
Posts: 5,317
Received Thanks: 668
Nice Today Release night ?
[Cyberos] is offline  
Old 03/07/2013, 04:13   #3
 
Zonni's Avatar
 
elite*gold: 100
Join Date: Feb 2008
Posts: 195
Received Thanks: 270
Quote:
Originally Posted by [Cyberos] View Post
Nice Today Release night ?
Funny event i must say - so i joined
Zonni is offline  
Thanks
1 User
Old 03/07/2013, 09:24   #4
 
Prince43™'s Avatar
 
elite*gold: 0
Join Date: Jan 2013
Posts: 489
Received Thanks: 495
Beste ich werde es einbauen Vielen Dank.


Kind Regards

Prince43™
Prince43™ is offline  
Old 03/07/2013, 12:43   #5
 
Jоe's Avatar
 
elite*gold: 0
Join Date: Aug 2012
Posts: 749
Received Thanks: 188
Could you translate the quest in english please?
Jоe is offline  
Old 03/07/2013, 12:44   #6
 
elite*gold: 0
Join Date: Mar 2013
Posts: 194
Received Thanks: 78
Very nice, but is not German.
Zentonium™ is offline  
Old 03/07/2013, 13:44   #7
 
elite*gold: 0
Join Date: Aug 2012
Posts: 184
Received Thanks: 67
Quote:
Originally Posted by Zentonium™ View Post
Very nice, but is not German.
and this board isnt just for german people...
xSany is offline  
Old 03/07/2013, 14:19   #8
 
Zonni's Avatar
 
elite*gold: 100
Join Date: Feb 2008
Posts: 195
Received Thanks: 270
Quote:
Originally Posted by Jоe View Post
Could you translate the quest in english please?
Quote:
Originally Posted by Zentonium™ View Post
Very nice, but is not German.
Aww, you can use google translate or something ;x, just read quest functions and you will translate this quest without google translate
Zonni is offline  
Old 03/07/2013, 14:20   #9
 
elite*gold: 120
Join Date: Mar 2009
Posts: 3,409
Received Thanks: 1,738
It look's nice.
Could you translate it to a english version?
.Remix is offline  
Old 03/07/2013, 14:47   #10
 
elite*gold: 120
Join Date: Mar 2009
Posts: 3,409
Received Thanks: 1,738
Which language it is?
.Remix is offline  
Old 03/07/2013, 15:14   #11
 
Zonni's Avatar
 
elite*gold: 100
Join Date: Feb 2008
Posts: 195
Received Thanks: 270
Quote:
Originally Posted by .Remix View Post
Which language it is?
Polish


Quote:
Originally Posted by kolo1994 View Post
Nie czyta poprawnie ilości osób i piętra wie ktoś jak to zrobic?
speak in english or german.
Zonni is offline  
Old 03/07/2013, 16:04   #12
 
MrGanja's Avatar
 
elite*gold: 0
Join Date: Feb 2012
Posts: 262
Received Thanks: 200
Quote:
Originally Posted by Zonni View Post

Add this to deviltower_zone.quest
Code:
quest deviltower_zone begin
    state start begin
		when login with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
			loop_timer("check_dungeon_time", 1)
			loop_timer("dodajczas", 1)
		end
		when dodajczas.timer with pc.in_dungeon() begin
			local timee=d.getf("czas")
			d.setf("czas", timee+1)
		end
		when check_dungeon_time.timer with pc.in_dungeon() begin
			local timer = d.getf("czas")
				local min = math.floor(timer/60)
				local sek = timer-min*60
				local pokaz_czas = (min..":"..sek)
			local pozostalo = d.count_monster()
			local wspolnie = d.getf("zabitychogolnie")
			local zabitych_przez_ciebie = pc.getqf("zabitychprzezcb")
			local pietro_show = d.getf("level")
			local players = d.getf("gracze")
			cmdchat("showDtTimer")
			cmdchat("setDtCounters "..pokaz_czas.."|"..zabitych_przez_ciebie.."|"..wspolnie.."|"..pozostalo.."|"..players.."|"..pietro_show.."")
		end
		when kill with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
			if not npc.is_pc() then
				local zabitych_ogolnie = d.getf("zabitychogolnie")
				local zabitych_przez_ciebie = pc.getqf("zabitychprzezcb")
				pc.setqf("zabitychprzezcb", zabitych_przez_ciebie+1)
				d.setf("zabitychogolnie", zabitych_ogolnie+1)
			end
		end
		when login begin
			if pc.get_map_index() == 66 then			
				if pc.get_x() < 2048+88 or pc.get_y() < 6656+577 or pc.get_x() > 2048+236 or pc.get_y() > 6656+737 then
					pc.warp((5376+532)*100, (512+596+4)*100, 65)
				end
				pc.set_warp_location(65, 5376+532, 512+596+4)
			elseif pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 then
				pc.set_warp_location(65, 5376+532, 512+596+4)
			end
		end
		when deviltower_man.chat.locale.deviltower_man_chat begin
			if pc.get_level() < 40 then
				say(locale.deviltower_man_say_you_cant)
			else
				say(locale.deviltower_man_say)
			local s = select(locale.deviltower_enter,locale.deviltower_no_enter)
			if s == 1 then
				pc.warp(216500,727000)
			end
			end
		end
		when devil_stone1.kill begin
			timer("devil_stone1_1", 6)
			pc.setqf("zabitychprzezcb",1)
		end
	when devil_stone1_1.timer begin
		local mapto7= pc.count_item(30302)  -- Die Karte der Zin Grotte wurde aus deinem Inventar entfernt
		pc.remove_item(30302,mapto7)

		local boxto7= pc.count_item(30300)  -- Die Unbekannte Alte Kiste wurde aus deinem Inventar entfernt
		pc.remove_item(30300,boxto7)

	    d.new_jump_all(66, special.devil_tower[1][1], special.devil_tower[1][2])
	    d.regen_file("data/dungeon/deviltower2_regen.txt")
           d.set_warp_at_eliminate(4, d.get_map_index(), special.devil_tower[2][1], special.devil_tower[2][2], "data/dungeon/deviltower3_regen.txt")
	    d.setf("zabitychogolnie", 1)
	    d.setf("level", 1)
	    d.setf("gracze", 1)
	    pc.setqf("zalogowano", 1)
			if pc.getqf("zalogowano") < 2 then
				pc.setqf("zalogowano", 3)
				local graczy = d.getf("gracze")
				d.setf("gracze", graczy+1)
				return
			else
				return
			end
	    d.setf("czas", 61)
	    d.setf("level", 2)
	end
quest written in a few minutes. it isn't perfect. it can be better but i'm sooo lazy. gui isn't mine, i will only release it.


dl in attachment
it's a god and nice ideea but because setf?
I think it's better game.event_flag for this quest.
MrGanja is offline  
Old 03/07/2013, 16:05   #13
 
.Atommoehre™'s Avatar
 
elite*gold: 0
Join Date: Jul 2012
Posts: 746
Received Thanks: 403
I will make it in German.
.Atommoehre™ is offline  
Old 03/07/2013, 16:08   #14
 
Endymion_'s Avatar
 
elite*gold: 0
Join Date: Aug 2011
Posts: 46
Received Thanks: 139
i'm not sure if it's your work.

down.
i'm blind
Endymion_ is offline  
Old 03/07/2013, 16:14   #15



 
sLay.'s Avatar
 
elite*gold: 80
The Black Market: 121/0/1
Join Date: Feb 2010
Posts: 4,407
Received Thanks: 2,857
He wrote that this isn't his work. ;-)
sLay. is offline  
Reply


Similar Threads Similar Threads
demon tower upgrade for pservers?
05/14/2012 - Metin2 Private Server - 6 Replies
does it exist ? if someone know any demon tower upgrade for pserver pls post here the link , i really need it. thanks
help Demon tower problem
01/08/2012 - Metin2 Private Server - 0 Replies
hi all i seem to have a problem on the 4th lvl of the demon tower as there are no stones and the 15 minute timer dont work any help would be great as in stumped.....using KAY331 6.1 server thanks
How to copy a Demon Tower?
09/17/2011 - Metin2 - 1 Replies
Hi everyone! I've got problem ... I want to copy a Demon Tower and paste it in the other place. So I want to have two Towers on one map. Is it possible? Can someone help me? I can't find any tutorials and helpfully threads :(
Demon tower coords
08/13/2011 - Metin2 Private Server - 0 Replies
Im searching for a coords to put armour blacksmith, weapon, etc, Thanks
[RELEASE]Upgrade Normal - Demon Tower by ugo100
08/07/2010 - Metin2 Hacks, Bots, Cheats, Exploits & Macros - 27 Replies
Instructions: -You must replace the files and root.eix root.epk with files that are in the archive. -You must press F7 to upload the items you want in a tower ... -You must press F8 to upload normally .... -Obviously you have to put the item in the first slot ... Download : MEGAUPLOAD - The leading online storage and file delivery service Scansion : Virustotal. MD5: f71985e3f0667cc74ba1332b320bc93d



All times are GMT +1. The time now is 15:18.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.