Jump to content
×
×
  • Create New...
  • 0

Bug server_timer flame_dungeon


Klaus

Question

when 6091.kill with flame_dungeon_01.is_flamed(d.get_map_index()) and d.getf("level") ==17 begin -- ?? ????
			d.clear_regen()
			d.kill_all()
			notice_multiline("Razador foi destruído.",d.notice)
			notice_multiline("Todos os lutadores seram teleportados[ENTER]em um minuto do Purgatório Ardente.",d.notice)
			server_timer("PAJp_OutAll", 60, d.get_map_index())
			d.setf("party_leader_pid", 0)

			if party.is_party() then
				party.setf("flame_dungeon_boss_kill_count", 1)
			end

		end
		
		when PAJp_OutAll.server_timer begin
			if d.select(get_server_timer_arg()) then
				flame_dungeon_01._ExitAllPA()
			end
		end
		function _ExitAllPA()
			local setting = flame_dungeon_01.setting()
			flame_dungeon_01.clear_timer(d.get_map_index())
			d.set_warp_location(62, setting.outside_entry_pos[1] , setting.outside_entry_pos[2])
			d.exit_all()
		end

 

Syslog: https://paste.ubuntu.com/p/VyczcPNJn2/

 

BUG: "Server_time! It never ends and players are never sent out, I tried to replace it with the" timer ", but then if the player who kills 6091, teleports off the map, before activating the timer, the same bug occurs, any suggestions how can I solve it? Thanks in advance for your attention!

 

Edit solved - fix removed:

--when 20394.click with pc.get_level() >= 90 begin
        --    pc.give_item2(71175, 1)
        --    set_state(run)
        --end
   -- end
	
	--state run begin

 

Edited by Klaus
Solved
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

try to edit server_timer function like that:

when PAJp_OutAll.server_timer begin
	if d.select(get_server_timer_arg()) then
		local setting = flame_dungeon_01.setting()
		d.set_warp_location(62, setting.outside_entry_pos[1] , setting.outside_entry_pos[2])
		d.exit_all()
	end
end

 

  • Good 1
Link to comment
Share on other sites

  • 0
12 minutes ago, ondry said:

try to edit server_timer function like that:

when PAJp_OutAll.server_timer begin
	if d.select(get_server_timer_arg()) then
		local setting = flame_dungeon_01.setting()
		d.set_warp_location(62, setting.outside_entry_pos[1] , setting.outside_entry_pos[2])
		d.exit_all()
	end
end

 

Same thing 😕

Link to comment
Share on other sites

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


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.