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

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.