Jump to content
  • 0

Devil tower random fails :(


BigT

Question

Hi, I've a problem with the deviltower. Sometimes it crashes and bring you back to login screen.
Does someone know what is this due to?
Thanks in advance :)
 
 
 
 IsUniqueDead: Unknown Key or Dead : real
GetUniqueHpPerc: Unknown Key : fake6
PurgeUnique: Unknown Key or Dead: fake6

 

Link to comment

2 answers to this question

Recommended Posts

  • 0
  • VIP

I have the same error on game2089 and just little rewrite deviltower.

when 8016.kill with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
		d.setf("level", 4)
		d.regen_file("data/dungeon/deviltower_stone.txt") -- Regen with metins
		server_timer('devil_stone4_fail1', 5*60, pc.get_map_index())
		d.notice("Dotarles do Bramy Wyboru na 3. pierze. Wiele");
		d.notice("kamieni Metin bezie draznic Twoje oczy i uszy.");
		d.notice("Znajdz prawdziwy kamien Metin i zniszcz go w");
		d.notice("ciagu 15 minut! To jedyny sposób aby przejsc ");
		d.notice("na nastene piero Wiezy Demonów!");
	end

	when kill with npc.get_race() == 8017 and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 and d.getf("level") == 4 begin
		d.setf("stone", pc.getf("stone")+1) -- Truth stone
		if number(1,7) == 1 then
			server_timer("devil_stone4_end", 5, get_server_timer_arg())
			d.notice("Gratulacje!");
			d.notice("Zniszczyliscie prawdziwy kamien Metin!")
			d.notice("Za chwile zostaniecie przeniesieni na nastepne pietro!")
			clear_server_timer('devil_stone4_fail1', get_server_timer_arg())
			clear_server_timer('devil_stone4_fail2', get_server_timer_arg())
			clear_server_timer('devil_stone4_fail', get_server_timer_arg())
		else
			if d.getf("stone") == 6 then -- Truth stone
				server_timer("devil_stone4_end", 5, get_server_timer_arg())
				d.notice("Gratulacje!");
				d.notice("Zniszczyliscie prawdziwy kamien Metin!")
				d.notice("Za chwile zostaniecie przeniesieni na nastepne pietro!")
				clear_server_timer('devil_stone4_fail1', get_server_timer_arg())
				clear_server_timer('devil_stone4_fail2', get_server_timer_arg())
				clear_server_timer('devil_stone4_fail', get_server_timer_arg())
			else
				d.notice("Zniszczyliście fałszywy Kamień Metin!") -- Fake stone
			end
		end
	end
  • Love 2
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.