Castle Siege Attackers

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
DeathSpank287
Posts: 50
Joined: Mon Jan 23, 2012 10:39 pm

Castle Siege Attackers

Post 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
I am still a newbie... You can't even call me a Developer yet^^

Reason why I should instantly quit developing:
http://imageshack.us/photo/my-images/21 ... ntrnp.png/
My server is such a fail :o
vampir
Posts: 113
Joined: Sun Mar 28, 2010 6:17 pm

Re: Castle Siege Attackers

Post 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;                        } 
Post Reply