Jump to content

Recommended Posts

Posted

You can change respawn points in zone.xml file. That way respawn points from different regions can be set to different places in Giran, it should help for client crashes.

Posted

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>

Posted

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

Posted

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

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

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

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

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

 

Guest
This topic is now closed to further replies.

×
×
  • Create New...