Jump to content
  • 0
Sign in to follow this  
daim

Map Zone problems

Question

Hi there, Issit posttible to have this setup of zone?

 

for example i have 2 zone PVP TYPE.

 

Type 1: PVP with potions enabled

Type 2: PVP with potions disabled

 

with current zone system, PVP map automaticaly using PVP ZONE settings, which mean we cant set 2 version of pvp types, all pvp map will automatically will be using PvP zone settings. Issit possle to setup pvp zone + nofood zone?

 

 

Thanks

Share this post


Link to post
Share on other sites

8 answers to this question

Recommended Posts

  • 0

just create a new zone

 

I did sir, but it seem PvP mapflag cant have other zone. It only bind to defualt PvP zone (which pvpon by mapflag)

Share this post


Link to post
Share on other sites
  • 0

hi there here how i do

 

{	/* PvP zone is applied to all maps with a pvp mapflag */	name: "PvP" /* changing this name requires MAP_ZONE_PVP_NAME to also be changed in src/map/map.h file */		disabled_skills: {		BS_GREED: "PLAYER"		CG_HERMODE: "PLAYER"		//HERMAN		MC_VENDING: "PLAYER"	}		disabled_items: {		Greed_Scroll: true	}		mapflags: (		"nocashshop",	)		disabled_commands: {		//Example Below makes @heal be used in maps within this zone only by those group lv 70 and above		go: 100	}	},{	name: "nogoditem" 		disabled_skills: {		BS_GREED: "PLAYER"		CG_HERMODE: "PLAYER"		//HERMAN		MC_VENDING: "PLAYER"	}		disabled_items: {		Greed_Scroll: true		Mjolnir: true		ID2629: true		ID2541: true		ID2410: true		ID12740: true	}		mapflags: (		"nocashshop",		//"pvp",		//"pvp_noparty",	)disabled_commands: {		//Example Below makes @heal be used in maps within this zone only by those group lv 70 and above		go: 100	}		},

 

and this is my mapflag

 

guild_vs2    mapflag    zone    nogoditemguild_vs2    mapflag    pvp_nopartyguild_vs2    mapflag    pvp

 

i have to add pvp maflag to allow pvp on. But with this mapflag the zone cannot combine with nogoditem + pvp zone, it will be just PVP zone.

 

if i remove the mapflag pvp, and then warp to map and type @pvpon then only it can be nogoditem + pvp zone.

 

Any idea how to make it work?

Edited by daim

Share this post


Link to post
Share on other sites
  • 0

 

Try add inherit below -> name: "nogoditem"

	name: "nogoditem"+	inherit: ( "PvP" )

 

not work sir, it only load nogoditem zone, PvP zone not inherit altought i add that inherit lebel. My findings is PvP zone cant be combined with other zone. Altough we added pvp mapflag on mapflags section on zone in map_zone_db.txt it automatically remove the original zone and make the specified map as PvP zone.

Edited by daim

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.