-I have found a code for Newbie zone depends by level but i want to depends by echant of amor/weapon/jewel (no more than +6)
also getflag on enter and setflag(0) on exit.
\
Code:
Spoiler
protected void onEnter (final L2Character character)
{
if (character instanceof L2PcInstance)
{
if ((((L2PcInstance) character) .isNewbie ()))
{
((L2PcInstance) character) .sendMessage ("You entered the Newbie Zone.");
((L2PcInstance) character) .sendMessage ("This area is protected up to level" + Config.MAX_LEVEL_NEWBIE_STATUS + ", from level" + (Config.MAX_LEVEL_NEWBIE_STATUS + 1) + "the player who attempts to enter will be removed from the area . ");
}
}
else
Spoiler
protected void onExit (final L2Character character)
{
((L2PcInstance) character) .sendMessage ("You left the Newbie Zone.");
}
So, make me understand one thing, you consider your previous work a crap? Everyone who has payd for l2jmobius subscription since 2018 untill 2024 had access to a crap version of your server and the best is the latest you release in this very moment to your actual subscribers?
Question
scraw
-Hello once again . I have an issue:
-I have found a code for Newbie zone depends by level but i want to depends by echant of amor/weapon/jewel (no more than +6)
also getflag on enter and setflag(0) on exit.
\
Code:
protected void onEnter (final L2Character character)
{
if (character instanceof L2PcInstance)
{
if ((((L2PcInstance) character) .isNewbie ()))
{
((L2PcInstance) character) .sendMessage ("You entered the Newbie Zone.");
((L2PcInstance) character) .sendMessage ("This area is protected up to level" + Config.MAX_LEVEL_NEWBIE_STATUS + ", from level" + (Config.MAX_LEVEL_NEWBIE_STATUS + 1) + "the player who attempts to enter will be removed from the area . ");
}
}
else
protected void onExit (final L2Character character)
{
((L2PcInstance) character) .sendMessage ("You left the Newbie Zone.");
}
19 answers to this question
Recommended Posts