Jump to content
  • 0
Sign in to follow this  
Helena

Combine zones and mapflags.

Question

Hey Hercules. Can someone please tell me what I'm doing wrong here?

 

I'm trying to make a new zone that restricts the use of certain items, it works wonderfully. However, as soon as I add the pvp mapflag to it, the whole thing messes up. 

 

This is what I put in the map_zone_db.conf under the PvP zone:

    mapflags: (
        "nocashshop",
        "pvp",
    )
 
Also in the same file my custom zone, you can see it inherits the pvp zone:
{
    name: "Restricted PvP"
    inherit: ( "PvP", "Restricted" )
},
 
Then the zone (in zone.txt):
prontera    mapflag    zone    Restricted PvP
 
The no cashshop works, the pvp part works too but as said above it turns the rest of my zone settings null and void. If I remove the pvp mapflag, the items will be disabled again. It's almost as if it overrides my restricted items and forces it to become a pvp map solely. I wish for it to have both, a pvp setting and restricted items.
 
I've also tried to add a pvp mapflag in the mapflag/pvp.txt file but that also disables my zone settings. So weird... :(

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

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