Hidden Dungeons + Instance problem

07/21/2012 20:40 5405045#1
Hello everyone

I have a problem with the hidden dungeons and the instance(cubric+volc)
when i enter the hidden dungeon everything is fine all the mobs are good
the boss are there , but i can use all the feathers + when i dc i stay there!
and the instance i cant use fethears but when i dc i stay ther
I've checked my 7.4 Newmaps and they're working 100% with the 7.3 gameserver but not with 7.4 :mad:
07/21/2012 20:54 Xijezu#2
You have to set flags while entering the Instance, in the on_login.lua you'll create a simple function like
if get_flag("is_in_instance") == 1 then warp(hori) end
07/21/2012 21:10 5405045#3
Quote:
Originally Posted by Xijezu View Post
You have to set flags while entering the Instance, in the on_login.lua you'll create a simple function like
if get_flag("is_in_instance") == 1 then warp(hori) end
thanx , but in the cubric mobs go out of the mab if you wait 2 minutes ,how can i fix that?
about the hidden dungeons i gues the problem from the world location right?

Quote:
Originally Posted by Xijezu View Post
You have to set flags while entering the Instance, in the on_login.lua you'll create a simple function like
if get_flag("is_in_instance") == 1 then warp(hori) end
there's a problem when i dc in cubric flag goes 0 -_-
so the log_in function wont work.
--fixed
07/21/2012 22:57 Strange2010#4
you are using 7.3 game server ?
07/21/2012 23:02 5405045#5
Quote:
Originally Posted by Strange2010 View Post
you are using 7.3 game server ?
Read My post i'm using 7.4 with problems
7.3 is working 100%
07/21/2012 23:24 Pyrok#6
If you're using the lua files in the 7.4 release thread, cubric won't work correctly. You can't just do a simple warp into the dungeon. You should be using warp_to_instance_dungeon(30000) to do the initial warp into it since that will tell the gs to setup the instance correctly. I haven't tried feathers but parties work as expected and you're warped out if you are disconnected.

Here's a function I created that does the confirmation window and testing. I call it from the correct spot in the warp_gate function (id = 60101).

Code:
function enter_cubric()
	local job_depth = get_value('job_depth')
	local party_id = get_value('party_id')
	
	if job_depth >= 3 then

		if party_id == 0 then
			cprint( "@9831" )
		else
			cprint( "@9830" )
			dlg_special("confirm_window","warp_to_instance_dungeon(30000)",sconv("@9825", "#@dungeon_name@#","@80030000"))
		end

	else

		--FIX THIS!!
		cprint( "<#6DD66D>You must be a Master Class to enter this dungeon!" )

	end
end
07/21/2012 23:58 5405045#7
Quote:
Originally Posted by Pyrok View Post
If you're using the lua files in the 7.4 release thread, cubric won't work correctly. You can't just do a simple warp into the dungeon. You should be using warp_to_instance_dungeon(30000) to do the initial warp into it since that will tell the gs to setup the instance correctly. I haven't tried feathers but parties work as expected and you're warped out if you are disconnected.

Here's a function I created that does the confirmation window and testing. I call it from the correct spot in the warp_gate function (id = 60101).

Code:
function enter_cubric()
	local job_depth = get_value('job_depth')
	local party_id = get_value('party_id')
	
	if job_depth >= 3 then

		if party_id == 0 then
			cprint( "@9831" )
		else
			cprint( "@9830" )
			dlg_special("confirm_window","warp_to_instance_dungeon(30000)",sconv("@9825", "#@dungeon_name@#","@80030000"))
		end

	else

		--FIX THIS!!
		cprint( "<#6DD66D>You must be a Master Class to enter this dungeon!" )

	end
end
Thanx , but when i use the warp_to_instance_dungeon(30000) The party Problem still existing wich i can destroy party , create party , invite someone in the cubric ( in official i cant destroy party or invite someone while i'm in the cubric)
also the mobs in the dungeon are moving out of the map , i gues there's something missing .

---
about the hidden dungeon how can i fix it ?
07/22/2012 00:03 TheOnlyOneRaskim#8
Quote:
Originally Posted by 5405045 View Post
Thanx , but when i use the warp_to_instance_dungeon(30000) The party Problem still existing wich i can destroy party , create party , invite someone in the cubric ( in official i cant destroy party or invite someone while i'm in the cubric)
also the mobs in the dungeon are moving out of the map , i gues there's something missing .

---
about the hidden dungeon how can i fix it ?
The Magic word is the WorldLocation database. ;)
07/22/2012 00:31 Strange2010#9
Quote:
Originally Posted by TheOnlyOneRaskim View Post
The Magic word is the WorldLocation database. ;)
hmm , i got that from the rdb files
now i understand how can't i disband party in dungeon :rolleyes:

EDIT: 5405045 did u edit the etc_dungeon_prop.lua ? cause the vulcanus doesnt work for me using xijezu's files ( i tried playing a bit in that file and all i got is access to 1st floor , 2nd floor , 1 room in 3rd floor )
07/22/2012 00:39 c1ph3r#10
Strange thing that there is a 7.3 Worldlocation with 7.4 Structure in the files :D
07/22/2012 00:52 Strange2010#11
btw updating the world location wont solve the mobs in walls problem
07/22/2012 00:59 Xijezu#12
Just turn Mob-wandering off, it's the easiest way. ;)
07/22/2012 01:34 5405045#13
Really thanx Guys ^^
--

about the mobs out of the walls how can i fix that i need a hint ^^"

Quote:
Originally Posted by Xijezu View Post
Just turn Mob-wandering off, it's the easiest way. ;)
i did that but mobs are spawning out of the walls :)
i need another way
07/22/2012 05:23 q8wars#14
Mob-wandering off
Code:
N game.monster_wandering:0