Jump to content

Recommended Posts

Posted

Hello there i was search for it if have here but i dont find anything.

Now Lets Start:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

hmmm what town will take? Hunter Village.. now let take the code if you are using

l2jfree i thing is on peace.xml

but i will share it for l2j on zone.xml

	<zone id='11030' type='Town' shape='NPoly' minZ='-2800' maxZ='-1600'>
	<stat name='name' val='Hunter Village'/>
	<stat name='townId' val='11'/>
	<stat name='taxById' val='5'/>
	<stat name='spawnX' val='117163'/>
	<stat name='spawnY' val='76511'/>
	<stat name='spawnZ' val='-2712'/>
</zone>

 

Now will add this Line

<stat name='isPeaceZone' val='false'/>

And our Code will look like this

	<zone id='11030' type='Town' shape='NPoly' minZ='-2800' maxZ='-1600'>
	<stat name='name' val='Hunter Village'/>
	<stat name='townId' val='11'/>
	<stat name='isPeaceZone' val='false'/>
	<stat name='taxById' val='5'/>
	<stat name='spawnX' val='117163'/>
	<stat name='spawnY' val='76511'/>
	<stat name='spawnZ' val='-2712'/>
</zone>

 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Lets say you how to make a default respawn Town is very Simple

Go to your zone.xml

and find your town to be Default respawn (When some1 die ex: in Forge of the God will spawn on That town)

Lets Take the Giran Town

	<zone id='11020' type='Town' shape='NPoly' minZ='-3800' maxZ='-3300'>
	<stat name='name' val='Giran Castle Town'/>
	<stat name='townId' val='9'/>
	<stat name='redirectTownId' val='11'/>
	<stat name='taxById' val='3'/>
	<stat name='spawnX' val='81236'/>
	<stat name='spawnY' val='148638'/>
	<stat name='spawnZ' val='-3469'/>
</zone>

 

We take thoose Lines

 

		<stat name='spawnX' val='81236'/>
	<stat name='spawnY' val='148638'/>
	<stat name='spawnZ' val='-3469'/>

and we add it to all other towns ex:

 

	<zone id='11031' type='Town' shape='NPoly' minZ='-2700' maxZ='-1900'>
	<stat name='name' val='Town of Aden'/>
	<stat name='townId' val='12'/>
	<stat name='redirectTownId' val='10'/>
	<stat name='taxById' val='5'/>
            (( <stat name='spawnX' val='81236'/>   
               <stat name='spawnY' val='148638'/>
               <stat name='spawnZ' val='-3469'/>  ))
</zone>

 

Thats is All sorry for my bad english. and

Have Fun

Credits to me. ;) and to one friend

Posted

Nice guide for newbie :)

 

It would be better if we make it from java with config true or false and enable it for example the giran for 5 minuts pvp zone ! xD

 

p.s: I'll try to make it ^.^

 

Posted

Thanks Cobra. i am trying hard.. to make some good guides...

ps: when i make compile ex a .buff .cancel for l2j and then i run the server in game nothing hapen

  • 3 months later...
  • 2 years later...
  • 4 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock