-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.");
}
Hello. When you disable autoloot and select items from the ground, sometimes an error with the server message “Push item fail” may occur. The item is not displayed in the inventory, but when performing a relog, the items appear in the inventory. Has anyone encountered this?
L2Dark Open Beta is Now Live! 🎉
We're excited to announce that the L2Dark Beta is officially online!
To get started, please download the launcher using the following link:
🔗 L2Dark Beta Launcher
Once downloaded, run the launcher to update all necessary game files. ⚙️
Please note: Using an old client is not recommended, as it may cause issues.
If you encounter any difficulties with the launcher, don't hesitate to reach out, and we'll provide alternative solutions. 💡
The Open Beta channels are now live under 🔹・general.
We look forward to seeing you in-game soon! ⚔️
Best regards,
The L2Dark Team ✨
New Updates
- Multi server on any L2jsource without any configuration
- Vote System for Hopezone, L2 Votes, L2 Brazil, L2Top.org, L2 RankZone, and L2Top.co
- 2FA (Two factor authenticator)
- Must Verify account
- Support for Docker. For those who know how to use Docker theres the option with one command to deploy it without any additional setup on the server. Also, there's the ability to build it in full binary and serve it from anywhere. Im using https://frankenphp.dev
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.");
}
Link to comment
Share on other sites
19 answers to this question
Recommended Posts