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...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock