how to change zones?

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
cursing
Posts: 51
Joined: Wed Feb 24, 2010 1:09 pm

how to change zones?

Post 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.
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: how to change zones?

Post by _DS_ »

You should not use sql for dynamic zones (id > 300000), or you will get huge mess.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
cursing
Posts: 51
Joined: Wed Feb 24, 2010 1:09 pm

Re: how to change zones?

Post by cursing »

so if i remove my sql or add lower id in my zone then i ll make it work?
cursing
Posts: 51
Joined: Wed Feb 24, 2010 1:09 pm

Re: how to change zones?

Post 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 :?:
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: how to change zones?

Post by _DS_ »

Zone from first message is invalid. Cuboid have only 2 points, min/max Z are wrong.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
cursing
Posts: 51
Joined: Wed Feb 24, 2010 1:09 pm

Re: how to change zones?

Post 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 ? :?
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: how to change zones?

Post by _DS_ »

Look samples in another zones. Also comparing of the negative numbers now learning at school, or ?
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
Post Reply