Page 1 of 1

Castle Siege Attackers

Posted: Wed Jul 18, 2012 5:08 pm
by DeathSpank287
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number: 5513
L2JDP Revision Number: 8998

Hello L2J Community,
first of all I have searched with Keywords "Castle Siege".
I have checked file "SiegeZone" or how it's called in Java at point L2ZoneType I couldn't think of a solution :/

Anyway my problem is the following.
When 2 clans register for attacker at a siege, they can't attack themselves it says they are temporary allied.

Is there a way to change that? So Attackers can attack other Attackers. Would be great!

By the way that happens in both situations when Castle is held by NPCs and by an other Clan.

Regards,
DeathSpank

Re: Castle Siege Attackers

Posted: Wed Jul 18, 2012 8:10 pm
by vampir
find RequestActionUse
change

Code: Select all

 if (TerritoryWarManager.getInstance().isTWInProgress())                        {                            activeChar.sendPacket(SystemMessageId.YOU_CANNOT_ATTACK_A_MEMBER_OF_THE_SAME_TERRITORY);                        }                        else                        {                            activeChar.sendPacket(SystemMessageId.FORCED_ATTACK_IS_IMPOSSIBLE_AGAINST_SIEGE_SIDE_TEMPORARY_ALLIED_MEMBERS);                        }                        sendPacket(ActionFailed.STATIC_PACKET);                        return; 
into

Code: Select all

 if (TerritoryWarManager.getInstance().isTWInProgress())                        {                            activeChar.sendPacket(SystemMessageId.YOU_CANNOT_ATTACK_A_MEMBER_OF_THE_SAME_TERRITORY);                            sendPacket(ActionFailed.STATIC_PACKET);                            return;                        }