FrozenWarrior Posted July 1, 2013 Posted July 1, 2013 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..?
0 Stewie Posted July 2, 2013 Posted July 2, 2013 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...
0 An4rchy Posted July 2, 2013 Posted July 2, 2013 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.
0 Stewie Posted July 2, 2013 Posted July 2, 2013 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...
0 FrozenWarrior Posted July 2, 2013 Author Posted July 2, 2013 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
0 drake2wow Posted July 2, 2013 Posted July 2, 2013 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
0 Tryskell Posted July 2, 2013 Posted July 2, 2013 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.
0 drake2wow Posted July 2, 2013 Posted July 2, 2013 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 ??
0 An4rchy Posted July 2, 2013 Posted July 2, 2013 or a radius check as I given above ?? That's actually kinda lame :D Because if someone gets out of radius it wouldn't work.
0 drake2wow Posted July 2, 2013 Posted July 2, 2013 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
0 Tryskell Posted July 2, 2013 Posted July 2, 2013 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.
Question
FrozenWarrior
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..?
10 answers to this question
Recommended Posts