Page 1 of 1

[HELP] ZoneTown = 2 Don't Works!

Posted: Tue Mar 01, 2011 5:09 am
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 :)

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

Posted: Tue Mar 01, 2011 2:36 pm
by Annu
You want to make able players to hit in town?(peacefullzone)?

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

Posted: Wed Mar 02, 2011 6:26 am
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.

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

Posted: Thu Mar 03, 2011 12:06 am
by frankpo
well.. thanks for nothing l2j team..