Combine zones and mapflags.

Helena

New member
Messages
238
Points
0
Emulator
rAthena
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...
default_sad.png

 
Back
Top