Hi. J look for code Queen Ant protection. When player lvl 49+ go do q.ant zone, then his teleported to outdoor nest. Enter only players lvl 40 - 49 . I found the following codes but it does not work maybe you could help
### Eclipse Workspace Patch 1.0
#P L2jFrozen_GameServer
Index: head-src/com/l2jfrozen/gameserver/model/zone/type/L2BossZone.java
===================================================================
--- head-src/com/l2jfrozen/gameserver/model/zone/type/L2BossZone.java (revision 1113)
+++ head-src/com/l2jfrozen/gameserver/model/zone/type/L2BossZone.java (working copy)
@@ -137,6 +137,13 @@
return;
}
+ if (!player.isGM() && (player.getLevel() < 40 || player.getLevel() > 49) && getId() == 12019)
+ {
+ player.sendMessage("Only players with level 40-49 can enter on Queen Ant zone!");
+ player.teleToLocation(MapRegionTable.TeleportWhereType.Town);
+ return;
+ }
+
// if player has been (previously) cleared by npc/ai for entry and the zone is
// set to receive players (aka not waiting for boss to respawn)
if (_playersAllowed.contains(character.getObjectId()))
[code]
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.
Original was based off L2OFF, so how would he even be able to compete or deliver the same quality? It will be just another L2F from shein.
Whatsoever, some times you should just let the horse die.
Question
stepas30
Hi. J look for code Queen Ant protection. When player lvl 49+ go do q.ant zone, then his teleported to outdoor nest. Enter only players lvl 40 - 49 . I found the following codes but it does not work maybe you could help
9 answers to this question
Recommended Posts
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.