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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...