Jump to content
  • 0

Question

6 answers to this question

Recommended Posts

  • 0
Posted (edited)

He there ! How can i do when players press '' To Village '' to go direct to main town?? 

gameserver/network/clientpackets/RequestRestartPoint.java

 

case 6: // TODO: agathion ress
break;
case 27: // to jail
if (!activeChar.isInJail()) return;
loc = new Location(-114356, -249645, -2984);
break;
default:
if (Config.TOWN_REVIVE_ENABLED)loc = new Location(YourLocation X, YourLocation Y,  YourLocation Z);
else
loc = MapRegionTable.getInstance().getTeleToLocation(activeChar, MapRegionTable.TeleportWhereType.Town);
break;
}
 
// Teleport and revive
 
 
 
 
Config.java 
 
public static boolean TOWN_REVIVE_ENABLED;
 
TOWN_REVIVE_ENABLED = Boolean.parseBoolean(L2JModSettings.getProperty("TownReviveEnabled", "False"));
 
 
 
l2jmods.properties
 
TownReviveEnabled =True
Edited by nikosdevil20
  • 0
Posted (edited)

I cant find it yet where i can do that. :/

A bit more help please?

 

Thanks

 

 

L2jfrozen [ sorry for that i forgot it before ]

Edited by zenernom
  • 0
Posted

[gr] akrivos etsi dn vriski tpt

episis kanei spawn stn godard k 8elw na kanei giran ... auto 8elw na alaksw.

[gr] ti na vrei? anoigeis to eclipse to programma kai pas sto source sou sto gameserver.network.clientpackets kai vriskeis to RequestRestartPoint.java file to anoigeis kai vazeis ton kwdika pou sou edwsa

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..