Jump to content
  • 0

Pagans Temple Pvp - Npoly


Question

Posted (edited)

Hello people! Thanks to the help of the friends here of the forum I managed to solve my problem with the bs in flagzone .. however, now appeared another problem .. my area pvp is pagans temple .. and she is in Cylinder, more when bs teleports to and is Teleportado para city he buga and goes to the top of the city .. I was wondering if anyone could make available the Pagans Temple in NPoly so I can use the FlagZone mod and edit the respawns where the chars are going to be born

iw5ieg.png

Edited by nortim

6 answers to this question

Recommended Posts

  • 0
Posted

Doesn't matter the share type, that will change strictly nothing.

But I did the test with NPoly in other areas worked .. but the Cylinder for having the radius is bugando .. the char stays on top of the city = /

 
	
  • 0
Posted

I didn't understand anything, and the teleport location is probably written (until you use spawnloc from the zone). In both scenarii, it's a Z value issue anyway.

 

If you mean the detection of zone is wrong and you onExit while you shouldn't, verify minZ and maxZ. If everything is correct, zone system is maybe fucked up.

 

Your topic lacks too much infos to be correctly answered.

  • 0
Posted (edited)

I didn't understand anything, and the teleport location is probably written (until you use spawnloc from the zone). In both scenarii, it's a Z value issue anyway.

 

If you mean the detection of zone is wrong and you onExit while you shouldn't, verify minZ and maxZ. If everything is correct, zone system is maybe fucked up.

 

Your topic lacks too much infos to be correctly answered.

Get rid of me, it's because I'm Brazilian and I hardly speak English. My mistake is this:
I put flagzone from my Pagans Temple server (this part of the photo above), and it's in Cylinder, but I wanted someone to do it NPoly so I could edit the respawns inside it, and I also added the restriction of bs in the area, When the bs is teleported he buga, ai has that of the rr, is a very great disorder.
 
My FlagZone:
 
<zone type="FlagZone" shape="Cylinder" minZ="-11000" maxZ="-8000" rad="10000"><!-- Pagan Temple Pvp -->
  <node X="-16370" Y="-40782" />  
</zone>
 
 
I wanted it to be NPoly to be able to edit the respawns and not the bug more in the healers
Edited by nortim
  • 0
Posted (edited)

The shape got strictly nothing to do with zone abilities, to add spawns locations system your zone (java file of FlagZone) must extends SpawnZone.

 

Moreover, if it's only a shape issue, you can simply run ingame, print some /loc by yourself and make your own shape.

 

PS : A cuboid is probably the best shape.

Edited by Tryskell
  • 0
Posted

The shape got strictly nothing to do with zone abilities, to add spawns locations system your zone (java file of FlagZone) must extends SpawnZone.

 

Moreover, if it's only a shape issue, you can simply run ingame, print some /loc by yourself and make your own shape.

 

PS : A cuboid is probably the best shape.

 
I thought the following option:
Put a config in java to give spawn in the same area, example of Multifuctions, but I can not adapt to FlagZone, could you help me?
 
 
+       static int[][] spawn_loc;
 
 
+                       Properties prop = new Properties();
+                       prop.load(new FileInputStream(new File("./config/MultiFunctionZone.properties")));
+                       pvp_enabled = Boolean.parseBoolean(prop.getProperty("EnablePvP", "False"));
+                       spawn_loc = parseItemsList(prop.getProperty("SpawnLoc", "150111,144740,-12248"));
+                       revive_delay = Integer.parseInt(prop.getProperty("ReviveDelay", "10"));
+                       if(revive_delay != 0)
 
 
+               if (character instanceof L2PcInstance)
+           {
+                       final L2PcInstance activeChar = ((L2PcInstance) character);
+                       if(revive)
+                       {
+                               ThreadPoolManager.getInstance().scheduleGeneral(new Runnable()
+                               {
+                               @Override
+                                       public void run()
+                                       {
+                                       activeChar.doRevive();
+                                       heal(activeChar);
+                                       int[] loc = spawn_loc[Rnd.get(spawn_loc.length)];
+                                       activeChar.teleToLocation(loc[0]+Rnd.get(-radius,radius), loc[1]+Rnd.get(-radius,radius), loc[2]);
+                                       }
+                               }

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


  • Posts

    • You dont get it... do you now. - read again.
    • What happened to them? Why they are disabled.. Just noticed that they are gone    @Maxtor @Celestine
    • If you want to make your thread stand out a bit more, adding quick proof pics or a small stock update usually helps buyers feel safer. I’ve had smoother chats with traders after doing that. On a side note, when I’m taking a break from trading, I mess around with the security puzzles in ModsCraft, which has been a fun way to clear my head between deals.
    • ━━━━━━━━━━━━━━━━━━━━━━ L2-SCRIPTS UPDATE ━━━━━━━━━━━━━━━━━━━━━━ Dear MaxCheaters users, We have updated the prices in the first post. Specially for the MaxCheaters community, we significantly reduced prices on many of our old developments, archived projects and source packs. Most of our older Lineage 2 sources are now much more affordable than before, including many Classic and Essence projects. This is a great opportunity for smaller teams, startup servers and developers who always wanted to work with our projects but previously could not afford them. ━━━━━━━━━━━━━━━━━━━━━━ For the past years we were mostly absent from the public scene because our team was working privately on large projects and contract-based development. During this time we accumulated a huge amount of private materials, systems, source codes, client modifications, website solutions and infrastructure developments that were never publicly released. Now, according to completed agreements and partnerships, we finally have the ability to publish and offer part of these materials as our private services and developments. In the upcoming weeks we will also publish a list of our works and services from the last 5 years of private development. ━━━━━━━━━━━━━━━━━━━━━━ Upcoming publications will include: • Private server development • Custom gameplay systems • Client modifications • Websites & ACP systems • Protection solutions • Infrastructure solutions • MMO / Web projects ━━━━━━━━━━━━━━━━━━━━━━ Thank you to everyone who stayed with us all these years.   Telegram:  @L2scripts Websites:  L2-scripts.com    L2-scripts.ru    Mmore.dev Sguard site:  Sguard   Best Regards! ━━━━━━━━━━━━━━━━━━━━━━
    • Tightening the timer to fifteen minutes sounds spot on, especially for players who don’t want to sit around waiting. I’ve had a few hosting hiccups on past projects, and sorting out configs felt a lot like the headaches I solved after dealing with armadiofashion.com for a separate issue where a server kept failing to connect. Little tweaks like that usually smooth things out fast.
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..