Jump to content
  • 0

To Village Spawn


FrozenWarrior

Question

can someone tell me how can i change when you are at PI and you press to Village not to take you at dark elven village but make it respawn you at PI ? like all pvp servers..?

Link to comment
Share on other sites

10 answers to this question

Recommended Posts

  • 0

can someone tell me how can i change when you are at PI and you press to Village not to take you at dark elven village but make it respawn you at PI ? like all pvp servers..?

 

Chronicle?

As i remember it spawns in PI after death on default so...

Link to comment
Share on other sites

  • 0

Chronicle?

As i remember it spawns in PI after death on default so...

Lol, then why would he be asking?

 

What pack are you using? The default spawn location is dark elven village if im not mistaken and custom packs have make pi a special zone with another respawn, so you need to c/p the zone from another pack to yours. Show us zones.xml if it's possible.

Link to comment
Share on other sites

  • 0

Lol, then why would he be asking?

 

What pack are you using? The default spawn location is dark elven village if im not mistaken and custom packs have make pi a special zone with another respawn, so you need to c/p the zone from another pack to yours. Show us zones.xml if it's possible.

 

Well i'm pretty sure default spawn is in PI, thats why there are ships and etc...

Link to comment
Share on other sites

  • 0

my server is l2j compiled i think l2jserver..the chronicle is c6 interlude.

 

</zone>

<zone id='11037' type='Town' shape='Cuboid' minZ='-2000' maxZ='-4000'>

<stat name='name' val='Primeval Isle'/>

<stat name='townId' val='19'/>

<stat name='taxById' val='8'/>

<stat name='noPeace' val='true'/>

<stat name='spawnX' val='10468'/>

<stat name='spawnY' val='-24569'/>

<stat name='spawnZ' val='-3645'/>

</zone>

 

<zone id='11021' type='Town' shape='Cuboid' minZ='-4700' maxZ='-3600'>

<stat name='name' val='DE Village'/>

<stat name='townId' val='1'/>

<stat name='taxById' val='4'/>

<stat name='spawnX' val='12181'/>

<stat name='spawnY' val='16675'/>

<stat name='spawnZ' val='-4580'/>

</zone>

 

here you go.. if u can fix it for me :) thank you

Link to comment
Share on other sites

  • 0

try this

### Eclipse Workspace Patch 1.0
#P aCis_gameserver
Index: java/net/sf/l2j/gameserver/network/clientpackets/RequestRestartPoint.java
===================================================================
--- java/net/sf/l2j/gameserver/network/clientpackets/RequestRestartPoint.java   (revision 54)
+++ java/net/sf/l2j/gameserver/network/clientpackets/RequestRestartPoint.java   (working copy)
@@ -56,6 +56,8 @@
             _requestedPointType = 27;
          else if (activeChar.isFestivalParticipant())
             _requestedPointType = 4;
+         else if (activeChar.isInsideRadius(x1, y1, rad, true));
+            _requestedPointType = 26;
          
          switch (_requestedPointType)
          {
@@ -130,7 +132,9 @@
                }
                loc = new Location(activeChar.getX(), activeChar.getY(), activeChar.getZ()); // spawn them where they died
                break;
-            
+            case 26:
+               loc.setXYZ(x2, y2, z2);
+               break;
             case 27: // to jail
                if (!activeChar.isInJail())
                   return;

 

where:

x1 = the center of Pi X

y1 = the center of Pi Y

rad = the distance you want to cover, 100 is about 1 metter

 

x2 = the x where you want to be teleported

y2 = the y where you want to be teleported

z2 = the z where you want to be teleported

 

you will find this numbers using /loc IG

 

GL

Link to comment
Share on other sites

  • 0

can someone tell me how can i change when you are at PI and you press to Village not to take you at dark elven village but make it respawn you at PI ? like all pvp servers..?

You have to edit MapRegionTable data, which leads such behavior, and also add a case for it.

 

You can check aCis as it works correctly here. Region 9, sector 4.

Link to comment
Share on other sites

  • 0

You have to edit MapRegionTable data, which leads such behavior, and also add a case for it.

 

You can check aCis as it works correctly here. Region 9, sector 4.

 

or a radius check as I given above ??

Link to comment
Share on other sites

  • 0

That's actually kinda lame :D Because if someone gets out of radius it wouldn't work.

 

The same goes if the Zone is configured wrong, however is not that hard to configure the radius since you just add a big one there and u are k

Link to comment
Share on other sites

  • 0

or a radius check as I given above ??

For the whole PI area, I guess nope. I never tested a so big radius, btw. Could be funny to test if it works. Radius 50k-100k ? Lol.

 

MapRegionTable is dedicated to that purpose. Better use what already exist rather than creating new stuff.

 

Added to that, in case you want to edit it, it becomes painful to remember what/where you did as you hardcoded it.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


  • Posts

    • +27640211696 ₩ Abortion Pills for sale in Bahrain | Saudi Arabia Dammam | Manama Dubai, +27640211696 ₩ Dubai, Oman, Mifepristone & misoprostol pills in Bahrain, Qatar, Abu Dhabi, Sharjah, Ajman, Jeddah Kuwait | +@27640211696 abortion clinic in MAHBOULA, JEDDAH | ***Buy abortion pills WhatsApp:+27640211696Buy Abortion Pills in DUBAI | UAE. Riyadh abortion clinicWhere can I buy abortion pills in Dubai. Price of Cytotec abortion pill in Dubai / Qatar – Doha / Kuwait Riyadh, how to buy Abortion pills Dammam, mifepristone and misoprostal, unwanted kit, MTP kit, unwanted kit, Riyadh Mifepristone and misoprostal, Abortion pills in Kuwait city , Cytotec pills in salmiyah, farwaniyah mifepristone and misoprostal cytotec pills in Riyadh, (+27640211696 ) buy Abortion pills in Riyadh, how to buy Abortion pills Dammam, mifepristone and misoprostal, unwanted kit, MTP kit, unwanted kit, Riyadh Mifepristone and misoprostal, Abortion pills in Kuwait city , Cytotec pills in salmiyah, farwaniyah mifepristone and misoprostal cytotec pills in Riyadh, Saudi Arabia, DUABI MUSCAT KUWAIT SAUDI Arabia (+27640211696 ) buy Abortion pills in Riyadh, how to buy Abortion pills Dammam, mifepristone and misoprostal, unwanted kit , MTP kit, unwanted kit, Riyadh Mifepristone and misoprostal, Abortion pills in Kuwait city , Cytotec pills in salmiyah, farwaniyah mifepristone and misoprostal cytotec pills in Riyadh, Saudi Arabia, DUABI MUSCAT KUWAIT SAUDI Arabia (+27640211696) buy Abortion pills in Riyadh, ( FAHAHEEL ))(Whatsapp((+27640211696))*)) ABORTION PILLS FOR SALE IN FAHAHEEL JAHRA, KUWAIT, KUWAIT, RIQQA ௹ )MTP KIT IN HAWALLY, MANGAF, SALWA, SALMIYA, PILLS FOR SALE IN MAHBOULA>> KUWAIT SHARJAH [+27.64.0211.696}**})** ]] CYTOTEC IN OMAN ABORTION PILLS FOR SALE IN RIFFA IN MAHBOULA [[[ +27640211696 Abortion pills for sale in MAHBOULA ))(MANGAF, SALWA, SALMIYA, JEDDAH Mifepristone KHOBAR (?Misoprostol pills in HAWALLY MANGAF, SALWA, SALMIYA MANGAF, SALWA, SALMIYA +@27640211696 abortion clinic in MAHBOULA, JEDDAH  
    • Thank you very much, but now, if i spawn a raid, i see in chat, but npc isn;t spawned, it's visual bug?  
    • +256783219521 N1 WITCHCRAFT SPELLS CASTER IN TEXAS USA/UK EU.   ARE YOU DESPERATE FOR ATTRACTION OR YOU WANT YOUR EX LOVER BACK INTO YOUR LIFE AND YOU ARE , DESPERATE  BECAUSE YOU HAVE NO ONE TO TALK TO,  THEN WORRY AND CRY NO MORE BECAUSE THE SOLUTION IS AT HAND AND YOUR PROBLEMS WILL BE NO MORE. HERE COMES PSYCHIC MAGGU A SPECIALIST WITH VAST EXPERIENCE SPANNING 25 YEARS AS A LOVE SPELLS CASTER, MARRIAGE SPELLS CASTER, BINDING SPELLS CASTER, LOST LOVE SPELLS CASTER, ATTRACTION SPELLS CASTER, PSYCHIC,WEALTH SPELLS, TRADITIONAL HEALER, DIVINER,MEDIUM, FINANCIAL SPELLS, VOODOO,WORK RELATED SPELLS, BLACK MAGIC, WHITE MAGIC.  WITH SUCH EXPERTISE, I HAVE BEEN ABLE TO WORK ON CLIENTS FROM DIFFERENT PARTS OF THE WORLD INCLUDING BUT NOT LIMITED TO USA, CANADA, EUROPE, UAE, INDIA, SOUTH AFRICA, ASIA, INDONESIA, BOTSWANA. IF AT ALL YOUR PROBLEMS PERSISTED FOR A LONG TIME  AND YOU HAVE FAILED TO GET A LASTING AND PERMANENT REMEDY SO THAT YOU LIVE A HAPPY AND BLISSFUL LIFE, PLEASE DON'T HESITATE TO CALL/ WHATSAPP +256 783219521  . 
  • Topics

×
×
  • Create New...