Jump to content

Recommended Posts

Posted (edited)

In this guide I will explain step by step how you can check, remove and create your zone. Happy reading delf2_7.gif

 


 

Chapter I - Checking the type of zone (aCis case)

The easiest way to find out the type of zone is to use admin command //zone_check, accessible also from admin panel, //admin -> server -> zone check.

The output

adjdqr.jpg

 

 

Chapter II - Removing the type of zone

Now, when you know the type(s) of the zone (look above) and you want to remove it, go to the corresponding file (all zones are stored inside /data/xml/zones/). For instance, if you want to remove the peace zone, let's say from Primeval Island, you open the PeaceZone.xml and you search for the record. They are mostly commented <!-- xxx -->, so it's not gonna be hard as you think.

    <zone type="PeaceZone" shape="NPoly" minZ="-4792" maxZ="208"><!-- primeval_peace2 -->
        <node X="4850" Y="-4736" />
        <node X="7294" Y="-4712" />
        <node X="8529" Y="-820" />
        <node X="3615" Y="-737" />
    </zone>

Simply remove that part of the code, save and voila. The beach is no longer a peaceful zone. Slap some asses alone.gif

 


 

Chapter III - Types of zones

First of all, in order to create new zone, you must know possible shapes. From l2jwiki

Cuboid Zones:
-------------

Require 2 nodes (vertices), in order to make a Square, for example:

O . . . .
.       .
.       .
.       .
. . . . O

O = Node (vertice)


NPoly Zones:
------------

Require 3 or more nodes (vertices), in order to make a Polygon or another geometrical model, for example:

    O
   / \
  /   \
 /     \
O - - - O

O = Node (vertice)


Cylinder Zones:
---------------

Require 1 node (vertice) and radius, in order to make a Cylinder.

          *  *  *
      *             *
    *                 *
  *                     *
 *                       *
*                         *
*                         *
*            O            *
*                         *
*                         *
 *                       *
  *                     *
    *                 *
      *             *
          *  *  *

O = Node (vertice)
* = Radius


 

Chapter IV - Creating the new zone

  • Cuboid

Cuboid requires only 2 nodes as it's said on the image above. You must get only 2 nodes/vertices (by typing /loc ingame) and another two will be generated automatically. How? It's simple, when the two lines cross each other, the node is generated.

 

4uuir4.jpg

Good example of the cuboid shape are Arenas. You get two opposite corners and done.

    <zone type="ArenaZone" shape="Cuboid" minZ="-3596" maxZ="0"><!-- dion_monster_pvp -->
        <node X="11947" Y="183019" />
        <node X="12943" Y="184010" />
        <spawn X="12312" Y="182752" Z="-3558" />
    </zone>
  • NPoly

With help of NPoly, you can create any shape you imagine, there are no restrictions, but ofc.. You must create it with your "head", no crossing lines and similar crap ork2_16.gif

ok3pqd.jpg

Most of the zones uses NPoly, here is an example

    <zone type="JailZone" shape="NPoly" minZ="-2992" maxZ="-2792"> <!-- gm_prison -->
        <node X="-116390" Y="-251581" />
        <node X="-112756" Y="-251617" />
        <node X="-112720" Y="-248199" />
        <node X="-116354" Y="-248217" />
    </zone>
  • Cylinder

Cylinder requires only one, central point. You declare it's radius with rad="XX". Take the middle point, and simply rush forward, stop in place you want and compare the Y value, that would be your radius. - Image.

 

20iixt.jpg

    <zone type="ArenaZone" shape="Cylinder" minZ="-2320" maxZ="-2120" rad="700"> <!-- hot springs circle -->

        <node X="151555" Y="-127082" />

    </zone>


 

When you decided which shape to use and you have the coords, don't forget the set/change it's type (in case you simply c/p another zone structure). If your new custom zone is called FlagZone, then you must declate it under type=" "

<zone type="FlagZone"

Basically, you can put the zone code to any file you wish, but the best way to keep things organized it to create a new file, in that case, FlagZone.xml - you can copy any existing file, rename it, remove all <zone> records and paste there yours. That way you know where to search if you want to add more zones or remove, extend or whatever.

 


 

These are the available shapes. X and Y is obvious, now you wonder what should be the Z value. Well, basically Z value depends of the territory shape, if it's plat or bumpy, are there mountains or not. If it's plat, more or less, you should be fine with +-100 from the basic value generated from /loc. You can add bigger to be 100% sure that when someone ride the strider, fly with wyvern, will not leave your zone.
 

When you are done with creating the zone, now it's time to see if it's working. Launch the server, go to the new zone and type //zone_check, else go to admin panel -> server -> zone check (chapter 1 screen). In case it's your custom zone, you can press Visualize All to see the shape. The result will be dropped adena on the ground, as you could notice on the screenshot above.


Basically, that's it. If I forgot about any case, let me know, so I will update the guide.

Your, SweeTy dw1_4.gif

Edited by SweeTs
  • Like 2
  • Upvote 3
Posted

I can create new zone but where to put it ? I want to reate 1 no private store zone overall giran and one private store zone in the squad. I create the zone, but i dont know where to put the lines. Look:

 

mskcut.png

Posted (edited)

Basically to any file. But to keep it organised you can create new xml file for that type, so later you know where it is.

I will add the adnotation tomorrow.

Yes, for all projects.

Edited by SweeTs
  • 1 month later...
Posted (edited)

This one will be helpfull also for L2JReunion project?

In older chronicles (at least not reworked IL, up to maybe GF), vertices (now called nodes) are stored in vertices.sql. The geometry and forms of zones never changed. I'm also not sure how they handled chaotic spawns in the past.

 

Except that, the system is basically more or less the same since IL, with few additions depending of L2J revision or fork, such as new L2ZoneType(s).

Edited by Tryskell
  • 5 weeks later...
Posted

Read above....

 

Well, basically Z value depends of the territory shape, if it's plat or bumpy, are there mountains or not. If it's plat, more or less, you should be fine with +-100 from the basic value generated from /loc. You can add bigger to be 100% sure that when someone ride the strider, fly with wyvern, will not leave your zone.

Posted (edited)

i cant understand what minZ and maxZ are and how i must change them depend on every area ...

 

" Well, basically Z value depends of the territory shape, if it's plat or bumpy, are there mountains or not. If it's plat, more or less, you should be fine with +-100 from the basic value generated from /loc. You can add bigger to be 100% sure that when someone ride the strider, fly with wyvern, will not leave your zone. "

 

6IFRxBE.jpg

 

Take a look on the middle position. If you set the min/max too low, when you do a step you will leave the zone (for example, mount the wivern or ride the strider - the Z is higher, boom you are not inside the zone anymore).

Edited by SweeTs
Posted

minZ and maxZ basically "shapes" your volume, otherwise it's only a 2D form with X/Y. Thanks to that you can define 2 specific volumes (let's say, a catacomb and the ground just above) as 2 different zone types.

 

If the min/max Z is wrong, you can eventually merge both zones, or even if the volume isn't reachable never see your area.....

 

If it wasn't existing, you couldn't see you're either on a catacomb or on ground.

 

That gives you the opportunity to make also original zones, such as wyvern reachable zones, etc.

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

    • Hi everyone,   I'm looking for someone to create a website for me with a pale, whitish design, inspired by Talking Island. I also need an auto-updater and a Discord logo included.   I already have the domain and hosting set up on OVH, with PHP ready to go. However, I'm new to website development, so you may need to guide me through the installation process.   Please do not contact me if you're charging unreasonable prices like $800 for "VIP" packages — I'm looking for fair and realistic offers. Payment will be made once the job is completed.   If you have previous work to show, that's definitely a plus. The website, auto-updater, and Discord elements should all be in English.   Thanks!
    • Make your own topic. Don’t be so rude and post in mine just to sell your stuff 😉   @Celestine
    • Server Client: Server is running on custom Classic Interlude Client. Enjoy the innovations that classic offers to players while maintaining the stability of Interlude features that we all loved.   Birth of a new character A new character spawns in the basement of Ivory Tower. There, you can buff yourself  via AIO buffer and then teleport to a low level zone for xp. A new character starts  with full no grade gear and a newbie supply box. AIO npc Buffer There are AIO npc Buffers spawned in every town. The buffs’ duration is 1hour and  are free of charge. The only buffs that are not included in the list are summoner’s  buffs, third class dances, third class songs, and resists.    Class transfer When you hit level  20, 40 and 76, you can seek for the Class Changer Carola in Aden  or Castle Town  in order to perform your 1st , 2nd  and 3rd class change or simply use the .menu feature located in your character skills list. There are no further quests required. Boosted Buffers and Summoners In order to boost Prophets, Bladedancers and Swordsingers for PvP action and  Olympiad games, they have been given special self-buffs. All of these classes are  gifted with higher level buffs which they can be casted on themselves only. Also,  summoner classes are boosted since they can buff their pets with more than usual  servitor’s buffs  There are 4 main custom shops in the server where you can buy the following items: 1) Harvana (Misc Shop): Consumables 2) Albert (Weapon Shop): D, C, B and A grade weapons 3) Meredion (Armor Shop): D, C and B grade armor and jewels 4) Wilbrand (Mantra Manager): A/S armor, S grade weapons and more  Event Shop Event Shop Dianne can either be found in Aden Castle Town or Giran. You  can buy several useful items in exchange for Vote Coins or Event Medals.  Via  Event Shop Dianne you can have access to the following items: 1) Blessed Enchants 2) Books of Giants 3) Common and Custom Accessories 4)Raidbombs  and many more  Weapons’ Special Abilities The Special Abilities (SA) for every C, B and A grade weapons can be bestowed by  Mantra Manager Wilbrand in exchange for some animal bones, water mantras or wind  mantras respectively.    Rebirth System When you reach level 76, you can perform your first rebirth via Rebirth Manager.  Once you perform a rebirth, your character will be deleveled to level 40 and you will  obtain a book of rebirth. You can exchange the book of rebirth for a unique accesories  via Rebirth Manager. A character can have 3 rebirths maximum. Remember once  you have chosen your  rebirth skills, you can anytime change your mind and choose  your rebirths once again.  Noblesse system Once you have performed 3 rebirths, you need to collect a set of four crowns from the  following Raid Bosses: 1) Death Lord Hallate (Black Crown) 2) Kernon (Gold Crown) 3) Longhorn Golkonda (Red Crown) 4) Shilen’s Messenger Cabrio (Silver Crown)  Once you’ve collected all the crowns and your character is at level 76, you can talk to  the Noblesse Manager Eddy Wally, located in Aden Castle Town and become a Noblesse. Crown Raids Bosses’ respawn time is every 12 (±2) hours and have 1 spot Spawn spot: Giants Cave Unique L2Halcyon weapons and shields L2Halcyon weapons are S grade weapons with a unique SA. There are also three unique  L2Halcyon shields. Both of them can be dropped only by Raid Bosses. Remember you  can check the possible drops of any Raid Boss by pressing Shift+left click. Find  bellow more details regarding L2Halcyon items. Duals Crokian blade*Crokian blade: Increases Critical Attack by 95 and Accuracy by 6 Doll knife*Doll knife <-Daggers: Increases Atk. speed by 7% and Accuracy by 6 Swords Crokian Blade: Increases Atk. speed by 7% and Accuracy by 6 Sword of Apostle: Increases Accuracy by 6 and maximum HP by 25% Mage weapons Lady’s Fan: Increases Casting Spd. by 17.5% Dusk Staff: Increases Casting Spd. by 17.5% Dusk Sword: Increases M. Atk. by 15% Polearms Dreadbane: 360° hit rate, increases hit number from 4 to 8 and Accuracy by 6 Axe of Ketra: Increases Accuracy by 6 and P. Atk. by 265 during a critical attack Daggers Doll Knife: Increases Critical Attack by 95 and P. Atk. by 265 during a critical attack Giant Trident: Increases Evasion by 3 and P. Atk. by 265 during a critical attack 2-Handed Sword Sword of Vampire: Increases Critical Attack by 95 and maximum HP by 25% Blunt Cudgel: Increases Critical Attack by 95 and Atk. speed by 7% Bow Bow of Halisha: Increases Critical Attack by 95 and Accuracy by 6 Shields Shield of Reflect: Reflect magic debuffs and shield damage reflect Shield of Evasion: No evasion penalty and Speed +7 Dusk Shield: Bow resistance  Ancient L2Halcyon weapons Ancient L2Halcyon weapons can be obtained through refining the normal ones.  Unique L2Halcyon Jewels L2Halcyon Jewels are S grade Jewels which provide unique bonuses. They can be  dropped by specific Raid Bosses. Remember you can check the possible drops of any  Raid Boss by pressing Shift+left click. Find bellow the bonuses of L2Halcyon Jewels: -Earring of Garacsia: MP +31, +10% bow resistance and +7 speed -Earring of Ipos: MP +31, +10% dagger resistance and +7 speed -Earring of Kandra: MP +31, +20% wind resistance and +7 speed -Earring of Von Helman: MP +31, +20% dark resistance and +7 speed -Earring of Vermilion: MP +31, +20% fire resistance and +7 speed -Earring of Falston: MP +31, +20% water resistance and +7 speed -Ring of Horuth: MP +21 and +10% P.Def. -Ring of Mos: MP +21 and +10% M.Def. -Ring of Shadith: MP +21 and 500% HP regen -Ring of Tayr: MP +21 and +100 Bow Range -Necklace of Hekaton: MP +42 and +15% max CP -Necklace of Brakki: MP +42 and +60% resistance to most of the debuffs -Necklace of Naga: MP +42 and +15% max HP   Refining S grade armors/jewels Any S grade armor can be refined via Mantra Manager Wilbrand. S grade armors and  Tateossian jewels start at 55% and they can both be upgraded all the way up to 100%  in order to gain extra P.def or M.def. Once your armor reach 100%, you can transform  it into Apella and gain extra stats (Jewels cannot be further refined). In addition,  Apella armors start at 55% and can be upgraded up to 100% too. Then, you can  transform your Apella into Dynasty Armor or Ancient Apella depends on your preference (which can also be refined up to 100%).  Refining Epic Jewels (Core and Orfen) There is an option to refine Ring of Core and Earring of Orfen via Mantra Manager Wilbert. If you have two  Rings of Core, you can combine them and receive an  Enchanted Ring of Core. Then, you can combine two  Enchanted Rings of Core in order to create a Refined  Ring of Core (4 Rings of Core in total). The same  procedure can be applied to Earring of Orfen, in order  to create Enchanted Earring of Orfen or Refined  Earring of Orfen. In this case, the enchantment of the ring/earring will be reset, so do not enchant those epic jewels before refining.    Events: Korean TvT Squash Event Watermelon Event Raidboss Event Highrate    Features List is not the final and changes/additions can be made! Join us and say your ideas! WEBSITE: L2Halcyon Join our discord server for more information about the server development and also join access early to test features, and get a glimpse on what we are working on. Discord Server 
    • https://l2halcyon.com join discord server , you can actually get access to test. Classic Interlude.
    • Dear friends, right now we are holding a grand competition with a prize fund of more than $ 1000 in our stores https://socnet.store , telegram store: https://socnet.shop and SMM panel: https://socnet.pro There are more than 50 prize places in our competition, each lucky person can take one of the places. Important condition: you must make a purchase at any time before June 1, 2025. The more purchases you make - the more chances you have to win the main prize in the community of $ 300! ➡ Our Online Shop: socnet.store ✅ ➡ Our SMM-Boosting Panel: socnet.pro ✅ ➡ Telegram Shop Bot: socnet.shop ✅ ➡ Telegram Support: https://t.me/solomon_bog ✅ ➡ Telegram Channel: https://t.me/accsforyou_shop ✅ ➡ Discord Support: @AllSocialNetworksShop ✅ ➡ Discord Server: https://discord.gg/y9AStFFsrh ✅ ➡ WhatsApp Support: 79051904467✅ ➡ WhatsApp Channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n ✅ ➡ Email Support: solomonbog@socnet.store ✅
  • Topics

×
×
  • 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