Need help set up a custom battlefield area[NOT SOLVED YET]

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
kirisame
Posts: 12
Joined: Thu Sep 16, 2010 3:37 am

Need help set up a custom battlefield area[NOT SOLVED YET]

Post by kirisame »

If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision 4425:
L2JDP Revision 7669:

Completely screwed, what went wrong exactly? need help desperately...
let me simply explained what i've tried so far:
I've tried to add a custom pvp zone in giran, i've changed the coordinate of a peace zone which interfered my pvp zone (see photo below), and my pvp zone still doesnt work. I've tried to take out the type "town zone" from giran, no luck either. All coordinates seem to be right to me, at least thats how I took out that octangle from the peace zone giran.


zone.xml

Code: Select all

     <!-- custom pvp -->    <zone id="22222" type="ArenaZone" shape="NPoly" minZ="-3470" maxZ="-2900"> <!-- [22_22] custom_pvp -->        <spawn X="82533" Y="148585" Z="-3472" />    </zone> 
zone_vertices

Code: Select all

 INSERT INTO `zone_vertices` (`id`, `order`, `x`, `y`) VALUES(22222, 0, 82392, 148417),(22222, 1, 82392, 148802),(22222, 2, 82117, 149078),(22222, 3, 81727, 149078),(22222, 4, 81451, 148804),(22222, 5, 81451, 148413),(22222, 6, 81725, 148135),(22222, 7, 82115, 148135); DELETE FROM `l2jdb`.`zone_vertices` WHERE `zone_vertices`.`id` = 10821; INSERT INTO `l2jdb`.`zone_vertices` (`id` ,`order` ,`x` ,`y` )VALUES('10821', '0', '81450', '148412'),('10821', '1', '81450', '148804'),('10821', '2', '81725', '148134'),('10821', '3', '82115', '148134'),('10821', '4', '82393', '148417'),('10821', '5', '82393', '148802'),('10821', '6', '82117', '149079'),('10821', '7', '81727', '149079'),('10821', '8', '81450', '148413'),('10821', '9', '79195', '148413'),('10821', '10', '79198', '149858'),('10821', '11', '85148', '149864'),('10821', '12', '85019', '144748'),('10821', '13', '79193', '144776'),('10821', '14', '79195', '148412'); 
also tried disable town type in giran, no effects at all.
what went wrong???

Image
Last edited by kirisame on Wed Dec 08, 2010 5:27 pm, edited 5 times in total.
hope
Posts: 1160
Joined: Thu Aug 30, 2007 5:17 pm

Re: Need help to set up a custom battlefield area

Post by hope »

Check your zone.xml file
User avatar
kirisame
Posts: 12
Joined: Thu Sep 16, 2010 3:37 am

Re: Need help to set up a custom battlefield area

Post by kirisame »

thanks for this great information, is there any way to find out the exact coordinate I need in game?
User avatar
kirisame
Posts: 12
Joined: Thu Sep 16, 2010 3:37 am

Re: Need help to set up a custom battlefield area

Post by kirisame »

this is what ive done so far:
in zone.xml

Code: Select all

     <!-- custom pvp -->    <zone id="200001" type="ArenaZone" shape="NPoly" minZ="-3470" maxZ="-2900"> <!-- [17_22] custom_pvp -->        <spawn X="82533" Y="148585" Z="-3472" />    </zone> 
in table zone_vertices

Code: Select all

 INSERT INTO `zone_vertices` (`id`, `order`, `x`, `y`) VALUES(200001, 0, 82392, 148417),(200001, 1, 82392, 148802),(200001, 2, 82117, 149078),(200001, 3, 81727, 149078),(200001, 4, 81451, 148804),(200001, 5, 81451, 148413),(200001, 6, 81725, 148135),(200001, 7, 82115, 148135); 

NOT WORKING :(
User avatar
kirisame
Posts: 12
Joined: Thu Sep 16, 2010 3:37 am

Re: Need help to set up a custom battlefield area

Post by kirisame »

is that because of other peace zone override my pvp zone? if that is the case, is there any simple solution for it? (or maybe a way to override peacezone?)
hope
Posts: 1160
Joined: Thu Aug 30, 2007 5:17 pm

Re: Need help set up a custom battlefield area[NOT SOLVED YE

Post by hope »

As I don't dev any more and have not for some time only thing I can tell you is change the type to the same as a arena is if you check zones it will tell you what type to change it to and all you need to do is change the town you want you don't need to make it custom in any way
User avatar
kirisame
Posts: 12
Joined: Thu Sep 16, 2010 3:37 am

Re: Need help set up a custom battlefield area[NOT SOLVED YE

Post by kirisame »

hope wrote:As I don't dev any more and have not for some time only thing I can tell you is change the type to the same as a arena is if you check zones it will tell you what type to change it to and all you need to do is change the town you want you don't need to make it custom in any way

sorry but i have no clue on what u r talking about, can u be more specific? what should i change? where and how?
burrito
Posts: 276
Joined: Wed Apr 15, 2009 6:41 am

Re: Need help set up a custom battlefield area[NOT SOLVED YE

Post by burrito »

go inside the zone your trying to change and type //zone_check it will list the zone Ids you are currently in, then you will know what may be blocking your zone from working like an arena zone.
User avatar
kirisame
Posts: 12
Joined: Thu Sep 16, 2010 3:37 am

Re: Need help set up a custom battlefield area[NOT SOLVED YE

Post by kirisame »

Image



cant be able to find any zone id
User avatar
pinkcore
Posts: 247
Joined: Fri Jul 24, 2009 3:04 am
Location: Czech Republic

Re: Need help set up a custom battlefield area[NOT SOLVED YE

Post by pinkcore »

Code: Select all

    <zone id="10820" type="PeaceZone" shape="NPoly" minZ="-3654" maxZ="-2654" /> <!-- [22_22] giran_town_peace1 -->    <zone id="10821" type="PeaceZone" shape="NPoly" minZ="-3598" maxZ="-1598" /> <!-- [22_22] giran_town_peace2 -->    <zone id="10822" type="PeaceZone" shape="NPoly" minZ="-3602" maxZ="-2402" /> <!-- [22_22] giran_town_peace3 -->    <zone id="10823" type="PeaceZone" shape="NPoly" minZ="-3636" maxZ="-3036" /> <!-- [22_22] giran_town_peace4 -->    <zone id="10824" type="PeaceZone" shape="NPoly" minZ="-3799" maxZ="-2399" /> <!-- [22_22] giran_town_peace5 -->    <zone id="10825" type="PeaceZone" shape="NPoly" minZ="-3872" maxZ="-1872" /> <!-- [22_22] giran_town_peace6 -->    <zone id="10826" type="PeaceZone" shape="NPoly" minZ="-3810" maxZ="-2110" /> <!-- [22_22] giran_town_peace7 -->    <zone id="10827" type="PeaceZone" shape="NPoly" minZ="-3538" maxZ="-3338" /> <!-- [22_22] giran_town_peace8 -->    <zone id="10828" type="PeaceZone" shape="NPoly" minZ="-3496" maxZ="-2996" /> <!-- [22_22] giran_town_peace9 -->    <zone id="10829" type="PeaceZone" shape="NPoly" minZ="-3599" maxZ="-2999" /> <!-- [22_22] giran_town_peace10 -->    <zone id="10830" type="PeaceZone" shape="NPoly" minZ="-3410" maxZ="-3210" /> <!-- [22_22] giran_town_peace11 -->    <zone id="10831" type="PeaceZone" shape="NPoly" minZ="-3464" maxZ="-3264" /> <!-- [22_22] giran_town_peace12 -->
Just comment/remove these lines in zone.xml to disable Peace Zones in Giran Town :)
I'm not here only for food!
User avatar
kirisame
Posts: 12
Joined: Thu Sep 16, 2010 3:37 am

Re: Need help set up a custom battlefield area[NOT SOLVED YE

Post by kirisame »

pinkcore wrote:

Code: Select all

    <zone id="10820" type="PeaceZone" shape="NPoly" minZ="-3654" maxZ="-2654" /> <!-- [22_22] giran_town_peace1 -->    <zone id="10821" type="PeaceZone" shape="NPoly" minZ="-3598" maxZ="-1598" /> <!-- [22_22] giran_town_peace2 -->    <zone id="10822" type="PeaceZone" shape="NPoly" minZ="-3602" maxZ="-2402" /> <!-- [22_22] giran_town_peace3 -->    <zone id="10823" type="PeaceZone" shape="NPoly" minZ="-3636" maxZ="-3036" /> <!-- [22_22] giran_town_peace4 -->    <zone id="10824" type="PeaceZone" shape="NPoly" minZ="-3799" maxZ="-2399" /> <!-- [22_22] giran_town_peace5 -->    <zone id="10825" type="PeaceZone" shape="NPoly" minZ="-3872" maxZ="-1872" /> <!-- [22_22] giran_town_peace6 -->    <zone id="10826" type="PeaceZone" shape="NPoly" minZ="-3810" maxZ="-2110" /> <!-- [22_22] giran_town_peace7 -->    <zone id="10827" type="PeaceZone" shape="NPoly" minZ="-3538" maxZ="-3338" /> <!-- [22_22] giran_town_peace8 -->    <zone id="10828" type="PeaceZone" shape="NPoly" minZ="-3496" maxZ="-2996" /> <!-- [22_22] giran_town_peace9 -->    <zone id="10829" type="PeaceZone" shape="NPoly" minZ="-3599" maxZ="-2999" /> <!-- [22_22] giran_town_peace10 -->    <zone id="10830" type="PeaceZone" shape="NPoly" minZ="-3410" maxZ="-3210" /> <!-- [22_22] giran_town_peace11 -->    <zone id="10831" type="PeaceZone" shape="NPoly" minZ="-3464" maxZ="-3264" /> <!-- [22_22] giran_town_peace12 -->
Just comment/remove these lines in zone.xml to disable Peace Zones in Giran Town :)
I've figured out which peace zone was interfering my pvp zone, and ive changed the area of that particular peace zone, see my photo in the post.
burrito
Posts: 276
Joined: Wed Apr 15, 2009 6:41 am

Re: Need help set up a custom battlefield area[NOT SOLVED YE

Post by burrito »

btw //zone_check does show the zone ID, you just have to scroll down to the bottom of the zone check html window.
Airin
Posts: 81
Joined: Wed Sep 23, 2009 6:53 pm

Re: Need help set up a custom battlefield area[NOT SOLVED YE

Post by Airin »

If I will be you, i will use Cyllinder, it is more easy for zones to create. Not so accurate, but it is good for me.
a.k.a TrueDecko
CUSTOM ITEMS WITHOUT ANY COPYRIGHT VIOLATION - APPROVED BY NCZ0ft - PRESS ON IMAGE TO REACH TUTORIAL!
Image
User avatar
kirisame
Posts: 12
Joined: Thu Sep 16, 2010 3:37 am

Re: Need help set up a custom battlefield area[NOT SOLVED YE

Post by kirisame »

burrito wrote:btw //zone_check does show the zone ID, you just have to scroll down to the bottom of the zone check html window.
Image
mine doesnt
burrito
Posts: 276
Joined: Wed Apr 15, 2009 6:41 am

Re: Need help set up a custom battlefield area[NOT SOLVED YE

Post by burrito »

weird mine does, oh well :)
Post Reply