Skip to content

To Village

Featured Replies

How do i make when io hit "To village" or when using /unstuck , SoE ...to teleport me only in Hunters Village and only there.No matter in what areea i am.Im using l2jfrozen [interlude]

About to village

 

gameserver\network\clientpackets\RequestRestartPoint.java

 

find

 

default:
                    loc = MapRegionTable.getInstance().getTeleToLocation(activeChar, MapRegionTable.TeleportWhereType.Town);

 

and make it

 

default:
                    loc = new Location(x, y, z);

In L2jFrozen_GameServer/head-src/com/l2jfrozen/gameserver/handler/usercommandhandlers/Escape.java

try
		{
			if(_activeChar.getKarma()>0 && Config.ALT_KARMA_TELEPORT_TO_FLORAN){
				_activeChar.teleToLocation(17836, 170178, -3507, true); // Floran
				return;
			}

			_activeChar.teleToLocation(MapRegionTable.TeleportWhereType.Town);
		}

replace that _activeChar.teleToLocation(MapRegionTable.TeleportWhereType.Town);

with that _activeChar.teleToLocation(x, y, z);

if you want to teleport the player to HV even if he got karma then change these lines too

if(_activeChar.getKarma()>0 && Config.ALT_KARMA_TELEPORT_TO_FLORAN){

_activeChar.teleToLocation(17836, 170178, -3507, true); // Floran

i think it should work perfectly

 

  • Author

About to village

 

gameserver\network\clientpackets\RequestRestartPoint.java

 

find

 

default:
                    loc = MapRegionTable.getInstance().getTeleToLocation(activeChar, MapRegionTable.TeleportWhereType.Town);

 

and make it

 

default:
                    loc = new Location(x, y, z);

 

    loc = new Location(x, y, z);

 

should i edit "new Location" too?

    loc = new Location(x, y, z);

 

should i edit "new Location" too?

Nop, just X,Y,Z of you new location :)

  • Author

without >>>,<<<  ?

without >>>,<<<  ?

example Location(100, 200, 300);

x=100

y=200

z=300

Create an account or sign in to comment

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.