Jump to content
  • 0

Npoly Problem - Calling All The Zone Experts Sweets And Tryskell!


Question

Posted (edited)

Hello! It seems that NPoly just doesnt work! I dont know what im doing wrong, Im working in this 2 days already.

 

I ran lots of tests, and It doesnt work, with any type of polygon!  not even with a simple triangle!

 

L2JFrozen 1118

 

*I got the 3 vertices with /loc

*I created a new zone in my database (zone_vertices table) with X, Y info and in correct order.

*Then I created the zone in my zones.xml:

 

     <zone id='3017' type='FlagZone' shape='NPoly' minZ='3000' maxZ='-9000'>
        <node X="30514" Y="73342" />
        <node X="30143" Y="72850" />
        <node X="30142" Y="73350" />
    </zone>

 

^ this is a simple triangle lol...Am I forgeting something?

 

I also tried this way: (without the coords in the xml file, just in the database)

 

     <zone id='3017' type='FlagZone' shape='NPoly' minZ='3000' maxZ='-9000'>
    </zone>

 

Basically, I cant create any types of polygons, just cuboids! the Polygon zones I created long time ago are working perfectly, I just cant add new ones!

 

If i change the zone type to Cuboid and use just 2 vertices, it works! Cuboid also works even without creating the zone in database, just in xml it already works! but Npoly doesnt work with database record or without dtabase record wtf!

 

Seems that there is a problem with NPoly. But that doesnt make sense cause I have created other NPoly zones 2 years ago and they are working fine! I have a NPoly zone with 27 (twenty fucking seven) vertices, which I created 2 years ago and it is working normally lol...

Im back to developing my server after 2 years break, am I missing anything?

Edited by tiguz

7 answers to this question

Recommended Posts

  • 0
Posted

Actually its not, I tested with Cuboid, with same Z values and it works.

min = 3000 and max = -9000. Ok

 

water level z: -3760

Your average z: -3500

z:0 is very high

 

Look at your values again. Are they still correct?

  • 0
Posted (edited)

min = 3000 and max = -9000. Ok

 

water level z: -3760

Your average z: -3500

z:0 is very high

 

Look at your values again. Are they still correct?

If my Z values are wrong, why they work normally when I change the zone type to Cuboid? :unsure:  Also I tested many other times in different places, with different values and everytime the Cuboid works, but the NPoly doesnt :-

 

I will make more tests with new Z values and check it it works this time! Thank you so far,

Edited by tiguz
  • 0
Posted (edited)

Reverse the 2 Z values, or fix the maxZ. If that doesn't fix it, use //zone_visual (or whatever exist on L2JFrozen, import those commands form aCis or L2J if not existing) to see visually the territories.

 

Finally, Poly points should draw a convex, not concave form.

Edited by Tryskell
  • 0
Posted

Reverse the 2 Z values, or fix the maxZ. If that doesn't fix it, use //zone_visual (or whatever exist on L2JFrozen, import those commands form aCis or L2J if not existing) to see visually the territories.

 

Finally, Poly points should draw a convex, not concave form.

Thank you! Reversing the 2 Z values worked! =D

Guest
This topic is now closed to further replies.


  • Posts

    • 2 euros/h I will need you to mostly follow my main with 3 chars logged from same computer and respond to my messages. Payments daily via paypal. Estimated number of hours needed: 30 I basically need someone to help me boost my supports first 3 days of server's grand opening. Server is opening this Friday at 6pm Paris time and I need you until midnight on Friday and ~12h on Saturday and ~12h on Sunday. Add me on telegram if interested @nikola91ns
    • 📢 L2Elixir Open Beta Announcement Get ready! The Open Beta starts on Saturday, November 15th at 21:00 (UTC +2). Don’t miss it — follow the countdown on our official website! Now then, we present to you our OPEN BETA exclusive event:   Here’s how it works briefly: 1) An NPC named ‘The Judge’ will spawn in Giran for the first 30 minutes of the OPEN BETA. This NPC will spawn at exactly 21:00 UTC+2 on Saturday 15th November 2025. 2) Interact with this NPC and your master account will be given special privileges to obtain Legendary starter pack for all game accounts created. 3) Having spoken to the NPC will allow for all new characters to start with a legendary starter pack on the official launch day on 28th November 2025, 21:00 UTC+2. 4) ‘The Judge’ will reward the first 2 players and 2 more Random participants with a PREMIUM Account which will be activated on 28th November 2025!!! 4) Send message to @Ray on Forum or Discord with your Forum name to get Legendary Role on Discord! Good luck! Legendary starter pack:
    • Hello everyone!   The gates of Aden are opening, prepare for the ultimate adventure and claim your place among legends. Our server launch is getting closer.. Adventurers of Aden, the wait is over! On November 28th, 2025, a new era begins. Get ready to step into the epic world of Lineage 2, where legends are forged, battles are relentless, and glory awaits the brave. https://www.l2ertheia.eu/news:server-launch/
    • - New Features in Anosim https://anosim.net -   You can now share your numbers with others via a unique link - no need to give them access to your account! How to Share Number https://prnt.sc/K83lxOjS-Fyb   How to Revoke Accsess: https://prnt.sc/jkVIQS2lhxvA   --- --- --- --- --- --- --- New OTP / SMS Activation Locations: - USA  - Australia - Honduras - Kenia
    • How to Create Multi-Accounts For TikTok, Youtube, Gmail....   Short Guide to Managing Multiple TikTok Accounts TikTok's anti-spam systems detect duplicate accounts via device IDs, IP addresses, and behavior. To avoid bans, follow these methods. 1. For 3-5 Accounts (Easiest) Use TikTok's built-in feature to add accounts in your app settings. Limitation: Frequent switching on the same device/IP can still trigger restrictions. 2. For Bulk Accounts (Safest) To make each account appear unique, you need to mask your digital footprint. Unique Emails & Proxies: Use a separate email and a residential/mobile proxy (e.g., MoMoProxy) for each account. Avoid free proxies. Anti-Detect Browsers: Use tools like AdsPower or Multilogin to create unique browser profiles, each with its own proxy and randomized digital fingerprint.   MoMoProxy Integrate with Adspower Browser   Process: In each unique browser profile, log into a separate Gmail and then create the TikTok account. 3. For One Device (Limited Use) Use app cloners like Parallel Space (Android) or Dual Space (iOS). Limitation: Not foolproof, as TikTok can sometimes detect cloned apps. Key Best Practices to Avoid Bans: Isolation: Use one proxy and one device/browser profile per account. Warm-Up: Act organically—watch videos, like, and comment—before posting content. Appear Unique: Use different usernames, bios, and profile pictures for each account. Avoid VPNs: Standard VPN IPs are often detected and flagged.   Youtube Video On How to Create TikTok Accounts  https://youtu.be/ZUihXj7BO4M  
  • 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