Page 1 of 1

Make the area a peaceful area in the region Freya

Posted: Mon Jan 09, 2012 3:07 pm
by Nuken
Hi guys,

I need to make a peaceful area in a separate square of Freya (See below for screenshots).
Where Xml files i need to edit? Where is it? The name xml file Freya zone?
How to implement it in a new H5 L2jServer? Can you show an example.

Screenshot: (Full)
http://imageshack.us/f/404/peaceos.jpg/

I have:
\L2JServer\game\data\zones
\L2JServer\game\data\mapregion

My area is ready for peace zones (/loc):

Code: Select all

        <respawnPoint X="114138" Y="-117014" Z="-11081" />        <respawnPoint X="114139" Y="-117058" Z="-11081" />        <respawnPoint X="114114" Y="-117075" Z="-11082" />        <respawnPoint X="114107" Y="-117199" Z="-11080" />        <respawnPoint X="114101" Y="-117339" Z="-11080" />        <respawnPoint X="114148" Y="-117445" Z="-11080" />        <respawnPoint X="114217" Y="-117591" Z="-11082" />        <respawnPoint X="114252" Y="-117489" Z="-11080" />        <respawnPoint X="114283" Y="-117386" Z="-11080" />        <respawnPoint X="114297" Y="-117372" Z="-11082" />        <respawnPoint X="114313" Y="-117360" Z="-11082" />        <respawnPoint X="114377" Y="-117347" Z="-11080" />        <respawnPoint X="114436" Y="-117328" Z="-11080" />        <respawnPoint X="114513" Y="-117262" Z="-11080" />        <respawnPoint X="114603" Y="-117184" Z="-11080" />        <respawnPoint X="114518" Y="-117085" Z="-11081" />        <respawnPoint X="114437" Y="-117012" Z="-11083" />        <respawnPoint X="114301" Y="-117012" Z="-11083" />

Re: Make the area a peaceful area in the region Freya

Posted: Mon Jan 09, 2012 5:06 pm
by JMD
What place is this going to be? Farming spot?

Re: Make the area a peaceful area in the region Freya

Posted: Mon Jan 09, 2012 5:11 pm
by Nuken
JMD wrote:What place is this going to be? Farming spot?
Hi,

This will be the starting zone for the Newbie.

GM Shops, buffer, Gk, Class Master.

Remaining full area Freya will be PvP (flag / pk). :mrgreen:

Guys help me

Re: Make the area a peaceful area in the region Freya

Posted: Mon Jan 09, 2012 7:11 pm
by nonom
Hi Nuken,

check data/zones/peace_zones.xml, and you will see xml definitions like this example:

Code: Select all

<!-- Peace Zones -->    <zone name="talking_island_town_peace_zone1" type="PeaceZone" shape="NPoly" minZ="-3966" maxZ="-3466"> <!-- [17_25] -->        <node X="-84028" Y="239722" />        <node X="-81007" Y="243210" />        <node X="-81021" Y="243484" />        <node X="-84308" Y="246247" />        <node X="-84552" Y="246239" />        <node X="-87638" Y="242837" />        <node X="-87611" Y="242574" />        <node X="-84305" Y="239649" />    </zone>
I think you have finished the hard part ;)

Re: Make the area a peaceful area in the region Freya

Posted: Tue Jan 10, 2012 4:14 am
by Nuken
thanks

Re: Make the area a peaceful area in the region Freya

Posted: Tue Jan 10, 2012 6:42 pm
by Nuken
not work =/
guys help
\game\data\zones\peace_zones.xml

Code: Select all

    <zone name="Freya Boss" type="PeaceZone" shape="NPoly" minZ="-11081" maxZ="-11083"> <!-- [16_13] -->        <node X="114138" Y="-117014" Z="-11081" />        <node X="114139" Y="-117058" Z="-11081" />        <node X="114114" Y="-117075" Z="-11082" />        <node X="114107" Y="-117199" Z="-11080" />        <node X="114101" Y="-117339" Z="-11080" />        <node X="114148" Y="-117445" Z="-11080" />        <node X="114217" Y="-117591" Z="-11082" />        <node X="114252" Y="-117489" Z="-11080" />        <node X="114283" Y="-117386" Z="-11080" />        <node X="114297" Y="-117372" Z="-11082" />        <node X="114313" Y="-117360" Z="-11082" />        <node X="114377" Y="-117347" Z="-11080" />        <node X="114436" Y="-117328" Z="-11080" />        <node X="114513" Y="-117262" Z="-11080" />        <node X="114603" Y="-117184" Z="-11080" />        <node X="114518" Y="-117085" Z="-11081" />        <node X="114301" Y="-117012" Z="-11083" />    </zone></list>

Re: Make the area a peaceful area in the region Freya

Posted: Wed Jan 11, 2012 12:05 am
by nonom
Check what is different. In example, you have a non allowed Z attribute on <node/> tags.