Jump to content

Recommended Posts

Posted

For example we have this rectangular

 

1--------------------2

|

|

|

|3-------------------4

 

So ok, go to 1 Point and write /loc, then go to 4 Point and write again /loc... Then we have coordinates, mine is 13818 256426 -2013 and 21550 250005 -1995

go to our zone.xml and create new town, for example:

 

	<zone id="11041" type="Town" shape="Cuboid" minZ="-1900" maxZ="-2050">
	<stat name="name" val="My Cool Town" /> 
	<stat name="townId" val="33" /> 
	<stat name="spawnX" val="19495" /> 
	<stat name="spawnY" val="254006" /> 
	<stat name="spawnZ" val="-2026" /> 
</zone>

 

 

where minZ="-1900" we write our minZ :D i explain. how we see i have Z coordinate -1995 so i write my min -1900... Where maxZ="-2050" i have coord -2013 so i write my max -2050.

 

		<stat name="spawnX" val="19495" /> 
	<stat name="spawnY" val="254006" /> 
	<stat name="spawnZ" val="-2026" /> 

 

These coordinates are respawn coordinates. Then player die, where they will be respawned.

 

and the last thing what to do... Go to zone_vertices.sql

 

koord.png

 

in first table we add town id. mine is 11041. in second table order - 1. And where is x and y we write our x1 and y2 coord. mine is 13818 and 256426... Now create another one line and write again id. orden - 2 (i write 0. mistake :D). and write again other x2 and y2 coord. mine was 21550 250005...

 

ok. done, now you got new town and peace zone :)

 

Moderators correct my mistakes :P

Posted

man u are wrong...

 

Code:

 

<zone id="11041" type="Town" shape="Cuboid" minZ="-1900" maxZ="-2050">

<stat name="name" val="My Cool Town" />

<stat name="townId" val="33" />

<stat name="spawnX" val="19495" />

<stat name="spawnY" val="254006" />

<stat name="spawnZ" val="-2026" />

</zone>

 

 

Thats not correct..... MINZ > MAXZ

This is Correct ........ MINZ < MAXZ

 

 

it should be:

Code:

 

<zone id="11041" type="Town" shape="Cuboid" minZ="-2050" maxZ="-1900">

<stat name="name" val="My Cool Town" />

<stat name="townId" val="33" />

<stat name="spawnX" val="19495" />

<stat name="spawnY" val="254006" />

<stat name="spawnZ" val="-2026" />

</zone>

 

Z is the ground so its invested

 

 

 

  • 3 weeks later...
  • 4 weeks later...
Posted

ok nice share..i did it and works for me...now plz...tell me how i ll do this town ive created...an arena.??i dont want to ppl take pvps-pks...i want this town to work as coliseum...

Posted

Would it be possible to have an exemple of others zones type ? You talk about Cuboid method, but there are 2 others from what I rem (npoly and other type). I think Npoly is more accurate in some situations so I need infos.

 

Posted

ok nice share..i did it and works for me...now plz...tell me how i ll do this town ive created...an arena.??i dont want to ppl take pvps-pks...i want this town to work as coliseum...

Then just change

type="Town"

 

To

 

type="Arena"

 

and here you have Pvp Zone like in Coliseum

  • 2 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • To all first time buyers we give a bonus + 10% of the order. 
    • 🔥 Looking for a powerful, clean, and player-friendly Auction House system for your Lineage 2 server? This fully-featured module is ready to plug into your project and provide your players with a modern, centralized marketplace!   💼 What is it? A complete Auction House system designed for fixed-price item sales between players. Forget about private stores and spammed zones—this system offers a smooth, secure, and offline-friendly way to buy and sell items across your server.   Photo Library: https://imgur.com/a/zLlUQbW   ✅ Main Features: 🔹 Fixed-Price Listings Only: Players list items at a set price. No bidding, no delays—just fast, clean trades. 🔹 Multi-Currency Support: Works with Adena, event coins, custom currencies—fully configurable. 🔹 Dynamic Interface: Players can filter items by name, type, and price. Easy-to-use HTML layout with smooth pagination. 🔹 Sell While Offline: Post items and receive payments even if you're not online—true passive trading. 🔹 Safety First: Full validation: no equipped/augmented/restricted items unless allowed. Prevents scams, mispricing, and listing errors. 🔹 Expiration Timer (Optional): Set listing time limits. Expired items go to warehouse/mail automatically. 🔹 Spam & Duplication Protection: Prevents multiple listings of identical items and unnecessary database load. 🔹 Performance Optimized: Clean, indexed SQL structure. No lag or bloating even with thousands of listings.   ⚙️ Plug & Play Clean Java code (compatible with aCis & derivatives). Easy setup with full instructions and sample configurations. Includes SQL, HTML files, and all Java classes – fully working out of the box.   💰 Pricing & Contact 📦 50 euro - One-time purchase with full support for setup & basic customization. 💬 Contact me here via PM or on Discord: @Luminous 🔐 Serious buyers only – source is clean, secure, and tested on live servers.     Give your server the next-level economy it deserves. No more chaotic trade zones. No more confusion. Just clean, efficient, server-wide trading.
    • We are certainly not an ambulance, but we will definitely cure you of blacklists and empty pockets. Live freely with SX! Each of you will receive a trial version of SX to familiarize yourself with the product, all you have to do is post in this thread
    • 166 pisses on their heads any day of the week though
    • Thnx for share, i can't pm u for password  
  • Topics

×
×
  • Create New...