Skip to content

[Share]Change Respawn Location

Featured Replies

### Eclipse Workspace Patch 1.0
#P L2J-Archid-Game
Index: src/main/java/com/l2jarchid/gameserver/network/clientpackets/RequestRestartPoint.java
===================================================================
--- src/main/java/com/l2jarchid/gameserver/network/clientpackets/RequestRestartPoint.java	(revision 1060)
+++ src/main/java/com/l2jarchid/gameserver/network/clientpackets/RequestRestartPoint.java	(working copy)
@@ -148,7 +148,7 @@
						break;

					default:
-						loc = MapRegionTable.getInstance().getTeleToLocation(activeChar, MapRegionTable.TeleportWhereType.Town);
+						loc = new Location(81236, 148638, -3469);
					break;
				}

You Can Change The Location From Here -->(81236, 148638, -3469);<-- This Location Is From Giran

You Can Give Your Own Location

And When The Character Die And Click To Vilage Will Be Respawned In Giran

Tested And Working

Is Simply I Know :D

 

Great work KraSh thanks!

 

 

Keep sharing java codes!

Nice work Krash.It seems that your developing skills are getting better and better.

Keep it up!

Good job aderfe.Keep up.;).You improve your java skills.;)

 

/off topic Xronia pola aderfe Jimmy.W00ttt

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

Hmmmmm Not Bad But Thanks for share .Test

  • Author

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

are you sure for criticals?

100% Like Castle Sieges all the time we have Criticals .reason too manyplayers in the same spawn location

 

Try to give in this code 4 locations or more and when the player press soe or to village radomly choose the loc

 

 

Example:Giran is a town with 4 Radom locations in java oficial i think more anyway if we had only one place=criticals errors

  • Author

100% Like Castle Sieges all the time we have Criticals .reason too manyplayers in the same spawn location

 

Try to give in this code 4 locations or more and when the player press soe or to village radomly choose the loc

 

 

Example:Giran is a town with 4 Radom locations in java oficial i think more anyway if we had only one place=criticals errors

to make something like this like 4 random location i must make more change's i try do it with 4 locations

to make something like this like 4 random location i must make more change's i try do it with 4 locations

But Radom!!!!Dont forget that gl..
  • 2 weeks later...

and where should i put these script?

 

src/main/java/com/l2jarchid/gameserver/network/clientpackets/RequestRestartPoint.java

and where should i put these script?

 

Great share bro!! Keep it up!

  • 1 month later...

thanks for share, testing

update it plz with more random spawn location..

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.