It's not seem little nonsense on frozen this functions?
public static final int ZONE_PVP = 1;
/** The Constant ZONE_PEACE. */
public static final int ZONE_PEACE = 2;
/** The Constant ZONE_SIEGE. */
public static final int ZONE_SIEGE = 4;
/** The Constant ZONE_MOTHERTREE. */
public static final int ZONE_MOTHERTREE = 8;
/** The Constant ZONE_CLANHALL. */
public static final int ZONE_CLANHALL = 16;
/** The Constant ZONE_UNUSED. */
public static final int ZONE_UNUSED = 32;
/** The Constant ZONE_NOLANDING. */
public static final int ZONE_NOLANDING = 64;
/** The Constant ZONE_WATER. */
public static final int ZONE_WATER = 128;
/** The Constant ZONE_JAIL. */
public static final int ZONE_JAIL = 256;
public static final int ZONE_EVENT = 257;
/** The Constant ZONE_MONSTERTRACK. */
public static final int ZONE_MONSTERTRACK = 512;
/** The Constant ZONE_SWAMP. */
public static final int ZONE_SWAMP = 1024;
/** The Constant ZONE_NOSUMMONFRIEND. */
public static final int ZONE_NOSUMMONFRIEND = 2048;
/** The Constant ZONE_OLY. */
public static final int ZONE_OLY = 4096;
/** The Constant ZONE_NOHQ. */
public static final int ZONE_NOHQ = 8192;
/** The Constant ZONE_DANGERAREA. */
public static final int ZONE_DANGERAREA = 16384;
/** The Constant ZONE_NOSTORE. */
public static final int ZONE_NOSTORE = 32768;
/** The Constant ZONE_MULTIFUNCTION. */
public static final int ZONE_MULTIFUNCTION = 67229;
public static final int ZONE_GRAND = 134458;
/** The _current zones. */
private int _currentZones = 0;
/**
* Checks if is inside zone.
* @param zone the zone
* @return true, if is inside zone
*/
public boolean isInsideZone(final int zone)
{
return (_currentZones & zone) != 0;
}
/**
* Sets the inside zone.
* @param zone the zone
* @param state the state
*/
public void setInsideZone(final int zone, final boolean state)
{
if (state)
{
_currentZones |= zone;
}
else if (isInsideZone(zone))
{
_currentZones ^= zone;
}
}
Hola, gente bella como estan? Acabo de terminar de compilar el proyecto L2jFrozen Rev: 1132 (viejisimo)
No tengo problemas con que sea muy viejo, ya que el proyecto es para mi y mis hijos. (Lan/Offline) no es para ponerlo en línea. Quiero aprender y darles a mis hijos más comodidades a la hora de jugar. y por mi parte, también experimentar con el juego.
Mi problema es que no se mucho del tema. Pude hacer algunas configuraciones Basicas a mi gusto y el de mis hijos, pero nunca compila ni nada de eso... Estaria necesitando ayuda por parte de ustedes, la comunidad... Quiero simplemente Quitar todas las restricciones de Subclases, Quitar restriccion de "Overlord, Warsmith y subclase de elfos oscuros con elfos blancos y alrevez" desde ya muchas gracias! saludos comunidad
Question
wongerlt
It's not seem little nonsense on frozen this functions?
public static final int ZONE_PVP = 1; /** The Constant ZONE_PEACE. */ public static final int ZONE_PEACE = 2; /** The Constant ZONE_SIEGE. */ public static final int ZONE_SIEGE = 4; /** The Constant ZONE_MOTHERTREE. */ public static final int ZONE_MOTHERTREE = 8; /** The Constant ZONE_CLANHALL. */ public static final int ZONE_CLANHALL = 16; /** The Constant ZONE_UNUSED. */ public static final int ZONE_UNUSED = 32; /** The Constant ZONE_NOLANDING. */ public static final int ZONE_NOLANDING = 64; /** The Constant ZONE_WATER. */ public static final int ZONE_WATER = 128; /** The Constant ZONE_JAIL. */ public static final int ZONE_JAIL = 256; public static final int ZONE_EVENT = 257; /** The Constant ZONE_MONSTERTRACK. */ public static final int ZONE_MONSTERTRACK = 512; /** The Constant ZONE_SWAMP. */ public static final int ZONE_SWAMP = 1024; /** The Constant ZONE_NOSUMMONFRIEND. */ public static final int ZONE_NOSUMMONFRIEND = 2048; /** The Constant ZONE_OLY. */ public static final int ZONE_OLY = 4096; /** The Constant ZONE_NOHQ. */ public static final int ZONE_NOHQ = 8192; /** The Constant ZONE_DANGERAREA. */ public static final int ZONE_DANGERAREA = 16384; /** The Constant ZONE_NOSTORE. */ public static final int ZONE_NOSTORE = 32768; /** The Constant ZONE_MULTIFUNCTION. */ public static final int ZONE_MULTIFUNCTION = 67229; public static final int ZONE_GRAND = 134458; /** The _current zones. */ private int _currentZones = 0; /** * Checks if is inside zone. * @param zone the zone * @return true, if is inside zone */ public boolean isInsideZone(final int zone) { return (_currentZones & zone) != 0; } /** * Sets the inside zone. * @param zone the zone * @param state the state */ public void setInsideZone(final int zone, final boolean state) { if (state) { _currentZones |= zone; } else if (isInsideZone(zone)) { _currentZones ^= zone; } }
10 answers to this question
Recommended Posts