Jump to content

[Share]Change Respawn Location


Kяaσh

Recommended Posts

1st: You need to find a nice location for new respawn poin, go there and type /loc, note the values.

2nd: in zone.xml find Towns section and replace spawnX spawnY spawnZ values with results of "/loc" command for every town.

	<!-- Towns -->
<zone id="11020" type="Town" shape="NPoly" minZ="-3800" maxZ="-3300">
	<stat name="name" val="Giran Castle Town" />
	<stat name="townId" val="9" />
	<stat name="redirectTownId" val="11" />
	<stat name="taxById" val="3" />
	<stat name="spawnX" val="81236" />
	<stat name="spawnY" val="148638" />
	<stat name="spawnZ" val="-3469" />
</zone>
<zone id="11021" type="Town" shape="NPoly" 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>
<zone id="11022" type="Town" shape="NPoly" minZ="-3800" maxZ="-3700">
	<stat name="name" val="Talking Island" />
	<stat name="townId" val="2" />
	<stat name="taxById" val="1" />
	<stat name="spawnX" val="-84176" />
	<stat name="spawnY" val="243382" />
	<stat name="spawnZ" val="-3126" />
</zone>
<zone id="11023" type="Town" shape="NPoly" minZ="-3600" maxZ="-2750">
	<stat name="name" val="Elven Village" />
	<stat name="townId" val="3" />
	<stat name="taxById" val="4" />
	<stat name="spawnX" val="45525" />
	<stat name="spawnY" val="48376" />
	<stat name="spawnZ" val="-3059" />
</zone>
<zone id="11024" type="Town" shape="NPoly" minZ="-400" maxZ="-200">
	<stat name="name" val="Orc Village" />
	<stat name="townId" val="4" />
	<stat name="taxById" val="9" />
	<stat name="spawnX" val="-45232" />
	<stat name="spawnY" val="-113603" />
	<stat name="spawnZ" val="-224" />
</zone>
<zone id="11025" type="Town" shape="NPoly" minZ="-3300" maxZ="-3000">
	<stat name="name" val="Gludin Village" />
	<stat name="townId" val="5" />
	<stat name="taxById" val="1" />
	<stat name="spawnX" val="-82856" />
	<stat name="spawnY" val="150901" />
	<stat name="spawnZ" val="-3128" />
</zone>

Link to comment
Share on other sites

yes but i need random 1 to 4 respawn locaion as LouLou said if many players spawn at same time in same place will get dc...

 

Yes But the problem is that when all players spawned to this place have a critical error so you have to add 4 at least location and when press to village.the player will respawn radomly at 1 or 2 or 3 or 4 location

Link to comment
Share on other sites

Patch by KяaSh from 1st post sends all players from whole server to respawn in same place.

Modyfing values in zone.xml players from different locations will spawn in different places in Giran, so there will be no crowd in on place. You just must set different respawn places for different villages, not same respawn for all villages.

 

BTW patch by KяaSh may cause ppl from jail or arenas to spawn in Giran, but it should be checked.

I prefer modyfing zone.xml

Link to comment
Share on other sites

  • 4 weeks later...
  • 9 months later...
  • 2 weeks later...
  • 4 months later...

Can you make it to have delay on respawn? like 15 secs or smt?

you would need to make new thread:

private class newThread implements Runnable

{

    public class run(){

          loc= blabla

    }

}

and start thread with: ThreadPoolManager.getInstance().scheduleGeneral(new newThread(), delay);

 

i think it would buggy a little coz it would have to w8 some time to get just answer where to teleport, that depends when this class is called. But you can try and let us know

Link to comment
Share on other sites

  • 1 month later...
  • 4 months later...

can exchange

loc = new Location(81236, 148638, -3469);

 

to use

loc = new Location(Config.LocRespawnX, Config.LocRespawnY, Config.LocRespawnZ);

 

config :

+public static int LocRespawnX;
+public static int LocRespawnY;
+public static int LocRespawnZ;


+LocRespawnX = Integer.parseInt(l2jdemonniacSettings.getProperty("LocX", "10724"));

+LocRespawnY = Integer.parseInt(l2jdemonniacSettings.getProperty("LocY", "-23729"));

+LocRespawnZ = Integer.parseInt(l2jdemonniacSettings.getProperty("LocZ", "-3650"));

 

also works! :D

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.



  • Posts

    • Greetings! I'm looking for someone that knows how to improve the movements on the gameplay and to create a mod for awsd movement so camera won't move with the character on L2 Classic, more info pm and if you already know how to do these, pm with your price, thank you!
    • ✅ **Episode 2 - Primeval Wars** ➡️ Event: "Medals Collecting" launch for 2 weeks. https://forum.lineage2dex.com/threads/16301/ ➡️ Fixed some problems with the respawn of monsters in imperial tomb (and some other areas). ➡️ Fixed the amount of B/A/S crystals needed to upgrade the body armor to MW version ➡️ Adjusted tvt points formula for support classes ➡️ Launch of a new 1x1 PVP Event Arena is postponed. More time is needed to fix possible bugs and polish the Event
    • a beautiful response from a liar who is not even a man to admit it, at least it is recorded here that you are nothing more than a thief, this is your character as a person, which I hope one day you will have the courage and apologize to whoever you stole from, which I don't even need to talk about anymore, you know very well who you stole each job from, here I end the attacks, because someone deserved to come here and unmask you to the l2 community.
    • Yes Sir. Of course Sir, you know everything, Sir. If you said so, Sir. What about asking your "friends" where they get it they patch from? Kappa
    • Let's make one thing clear here, you don't have a patch/rev, what you have is a complete theft of codes, and if you are a real man, admit it, because my BR friends know very well that you are known for being the so-called interface copy/paste, because you don't create anything, you take advantage of years of work from people and steal it and sell it and you have the courage to talk about my patch, be ashamed of yourself.
  • Topics

×
×
  • Create New...