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]);
+                                       }
+                               }

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
Answer this question...

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



×
×
  • Create New...