- changed title to Critical Instance BUGs (Zaken Frintezza Freya Tiat...)
- edited description
Critical Instance BUGs (Zaken Frintezza Freya Tiat...)
Issue #313
new
Player can enter Instance with no reenter time limit
For example: 9 characters enter the instance and killed the Boss, before the instance end they just need kick one member out the party and leave him in the instance, others go out the instance and add one new member to the party then give the the party leader to him, let the new member enter the instance again, the instance will be regenerate with no reenter time limit.
Because AbstractInstance.java missing check if Party or CommandChannel members already enter the instance with same id when firstEntrance is true.
Comments (3)
-
reporter -
This is an missing check only
if (checkConditions(player))
-
reporter On first enter each member should be checked if they already enter the instance.
@Override protected boolean checkConditions(L2PcInstance player) { ... for (L2PcInstance channelMember : channel.getMembers()) { ... + final InstanceWorld worldTest = InstanceManager.getInstance().getPlayerWorld(channelMember); + if (worldTest != null) + { + SystemMessage sm = SystemMessage.getSystemMessage(SystemMessageId.C1_MAY_NOT_RE_ENTER_YET); + sm.addPcName(channelMember); + party.broadcastPacket(sm); + return false; + } } return true; }
- Log in to comment