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;
}
}
Hello everyone, we are one of the top gaming currency stores. We work exclusively with top projects.
If you are interested in anything like Adena, Coins, Equip, write to us
Discord - pchelacoin
Telegram - https://t.me/ipchelacoin
BOHPTS, KETRAWARS, EURO-PVP, L2REBORN, E-GLOBAL, LA2DREAM
TOP PRICE !!!!!!!
L2Elixir – Patch 4 Is Live!
We’re working non-stop, day and night, to deliver the best possible quality and bring back what made L2Elixir special. This project is built with passion, not shortcuts — for the old-school players who remember, and the new ones who want to experience it properly. Thank you for being part of the journey. Together, we’re making L2Elixir great again ❤️ The legends never fade.
⚙️ General
Enabled Class Change service (same class type only)
ALT + B → Services → Character Development
Enabled Shift + Click on Treasure Chests Players can now identify real chests (Adena, scroll drops) and use Key / Unlock
Event deaths now cancel only debuffs, All self buffs are preserved, fixes issues with Root and similar effects
Bladedancer class can now log in even when Max Clients (2) is reached. Since an active Bladedancer is not available for every damage dealer and some players tried to abuse this via VPN or a second PC, this feature was added to keep things fair. protections applies, requires testing!
🎒 Items
Crystallizing enchanted items now gives the correct increased crystal amount (retail-like behavior)
Removed Agathion Seal Bracelet: Rudolph from Santa rewards (Gracia Final item)
Added Dualsword Craft Stamp into Milestone Exchange list
🧙 Skills
Fixed Banish Undead lethal chance
Hot Springs Malaria and similar effects now level up faster while being attacked
Warning: This guy is a big scammer, trying to sell everything, advertising for servers etc.
That's his mail address evgesha.nrnr@gmail.com , stay away!
@Atom @Celestine
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