[HELP] ZoneTown = 2 Don't Works!

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
User avatar
frankpo
Posts: 44
Joined: Wed Sep 16, 2009 11:46 am
Location: Argentina

[HELP] ZoneTown = 2 Don't Works!

Post by frankpo »

If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number: 4507
L2JDP Revision Number: 7799

Hi, i have a trouble with ZoneTown = 2.
I set ZoneTown to 2 but the players can't pvp in towns. When you attack another player you see the peaceful zone system message.
If i delete the towns from peace_zones.xml the players can pvp but don't get pvp flag on the whole l2 world.
Please help me to fix it, i will thank you very much!

Greetings :)
Annu
Posts: 87
Joined: Sat Sep 26, 2009 11:31 am

Re: [HELP] ZoneTown = 2 Don't Works!

Post by Annu »

You want to make able players to hit in town?(peacefullzone)?
Always remember...
in this clever world, many people weren't borned clever!!
User avatar
frankpo
Posts: 44
Joined: Wed Sep 16, 2009 11:46 am
Location: Argentina

Re: [HELP] ZoneTown = 2 Don't Works!

Post by frankpo »

Yes, i've added this:
on L2Character.java, inside public boolean isInsidePeaceZone(L2Object attacker, L2Object target)

Code: Select all

 if (Config.ZONE_TOWN == 2 && (attacker instanceof L2PcInstance | attacker instanceof L2Summon) && (target instanceof L2PcInstance | target instanceof L2Summon))return false; 
Now the players can pvp inside towns, but the AoE skills don't works!
If we fix that, the system will be working perfect.
User avatar
frankpo
Posts: 44
Joined: Wed Sep 16, 2009 11:46 am
Location: Argentina

Re: [HELP] ZoneTown = 2 Don't Works!

Post by frankpo »

well.. thanks for nothing l2j team..
Post Reply