Jump to content
  • 0
Zirius

Disabled skills via map_zone_db.conf are still allowed to be used

Question

Hello! I am trying to disable "recall" skills to my PVP maps since they are level restricted. Some low level GM(guild masters) uses Emergency call to summon level 99 players in my PVP maps designated only for low levels (they are carnaging everyone), so.

 

I added this to my map_zone_db.conf

 

{	name: "PVP_no_calling"	disabled_skills: {		WE_CALLPARTNER: "PLAYER"		WE_CALLPARENT: "PLAYER"		WE_CALLBABY: "PLAYER"		GD_EMERGENCYCALL: "PLAYER"	}}

Then at my mapflags:

 

pvp_y_7-2	mapflag	pvp	zone	PVP_no_calling

But still, the GMs are able to summon them, what am I doing wrong?

Edited by Zirius

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0

I think the proper way for zone mapflag is just

<map_name><%tab>mapflag<%tab>zone<%tab><zone_name>

That "pvp" is excess in your call.

You can check if your zone is applied on the map by teleporting to it and using @mapinfo, it'll list you all zones it's using. I'd guess this one should either show "PvP" or "PvP + PVP_no_calling".

 

i tried this: 

pvp_y_7-2	mapflag	zone	PVP_no_calling

it successfully enabled the zone, but removed the pvp mapflag.

 

I tried doing this:

 

pvp_y_7-2	mapflag	zone	PVP_no_callingpvp_y_7-2	mapflag	pvp

but it removed the zone. Can't run both? How do you guys solved this?

 

UPDATE. I don't know but playing and ended up something with this solved my problem:

 

pvp_y_7-2	mapflag	pvppvp_y_7-2	mapflag	zone	PVP_no_calling

 

Edited by Zirius

Share this post


Link to post
Share on other sites
  • 0

I think the proper way for zone mapflag is just

<map_name><%tab>mapflag<%tab>zone<%tab><zone_name>

That "pvp" is excess in your call.

You can check if your zone is applied on the map by teleporting to it and using @mapinfo, it'll list you all zones it's using. I'd guess this one should either show "PvP" or "PvP + PVP_no_calling".

Share this post


Link to post
Share on other sites
  • 0

Oh, you can avoid using mapflag zone pvp if you make your mapflag zone PVP_no_calling inherit the pvp zone.

 

I did not know that inheriting "PvP" in zone would also make the map PVP enabled.

 

Upon further reading, zone db has this option:

 

	mapflags: (		"pvp",	)

will that should also make the zone PVP enabled?

Share this post


Link to post
Share on other sites
  • 0

It should, but I think it isn't quite wise to add a mapflag that automatically sets other zone. It'd be better to inherit it so that you'll avoid all possibilities of conflicting.

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...

×
×
  • Create New...

Important Information

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