Page 1 of 1

how to change zones?

Posted: Sun Jan 09, 2011 3:18 pm
by cursing
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:4473
L2JDP Revision Number:7738
I search before i make this post i found a few solutions with that but they didnt help me.
Iwant to change elven fortess into a arena zone. i go to gameserver/data/zones and i import my custom code into the pvp_zones.xml here is my code.

Code: Select all

    <zone name="elven_fort_pvp" type="ArenaZone" shape="Cuboid" minZ="-3457" maxZ="-3685"> <!-- [20_20] -->        <node X="5469" Y="67401" />        <node X="31483" Y="90433" />        <node X="30446" Y="68250" />        <node X="6835" Y="91704" />     </zone>
also i insert into the zone_vertices the location cause the gameserver report me that its missing so i decide to insert the locations and here is my sql.

Code: Select all

300731  0   5469    67401300731  1   31483   90433300731  2   30446   68250300731  3   6835    91704 
but its not changed to pvp zone and the report in gs still exist.Can you help me to solve this problem or can someone help me to make it pvpzone.
Thanks in advance.

Re: how to change zones?

Posted: Sun Jan 09, 2011 3:44 pm
by _DS_
You should not use sql for dynamic zones (id > 300000), or you will get huge mess.

Re: how to change zones?

Posted: Sun Jan 09, 2011 4:00 pm
by cursing
so if i remove my sql or add lower id in my zone then i ll make it work?

Re: how to change zones?

Posted: Mon Jan 10, 2011 1:21 am
by cursing
c , mon ppl ,help me we tryed 4 hours and nothing! we test every shit we found on web about it but nothing!
we want one simple guide about making one costum zone :?:

Re: how to change zones?

Posted: Mon Jan 10, 2011 1:35 am
by _DS_
Zone from first message is invalid. Cuboid have only 2 points, min/max Z are wrong.

Re: how to change zones?

Posted: Mon Jan 10, 2011 4:46 pm
by cursing
so i have to take 2 points

1--------------------2
|
|
|
|3-------------------4


the 1 and the 4 right? and what is wrong? this? <node X="5469" Y="67401" /> also why min/max Z is wrong?
for example we have 2 locations , lets say 31483 90433 -3683 and 6835 91704 -3652 , what code i should make for this? give me one example also , about min /max z here i should add -3652 as min Z and -3683 as max Z ? :?

Re: how to change zones?

Posted: Mon Jan 10, 2011 5:59 pm
by _DS_
Look samples in another zones. Also comparing of the negative numbers now learning at school, or ?