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

Zirius

New member
Messages
261
Points
0
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?

 
Last edited by a moderator:
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 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:

Code:
pvp_y_7-2	mapflag	pvppvp_y_7-2	mapflag	zone	PVP_no_calling
 
Last edited by a moderator:
Oh, you can avoid using mapflag zone pvp if you make your mapflag zone PVP_no_calling inherit the pvp zone.

 
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?

 
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.

 
Back
Top