Castle doors during seige

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
Vampyre
Posts: 88
Joined: Tue Jun 30, 2009 7:43 am

Castle doors during seige

Post by Vampyre »

Do not forget to add your Server and Datapack Revision numbers!
» Find Revision
L2J Revision Number:
L2JDP Revision Number:latest

the bug report rejected this callig it potential spam but... whatever


They can be opened or closed during seige by the castle owners, this is not right. They should auto-close at start of seige and remain closed until the end unless the opposing force destroys them
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: Castle doors during seige

Post by _DS_ »

Without teleporters npcs it cause more problems than benefits. Was commented out until teleporters done. You can uncomment it in L2CastleDoormenInstance.

Not a bugreport, moved to support.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
pelotazos
Posts: 58
Joined: Tue Jun 03, 2008 4:52 pm

Re: Castle doors during seige

Post by pelotazos »

I settled well.

Code: Select all

### Eclipse Workspace Patch 1.0#P L2_GameServerIndex: java/net/sf/l2j/gameserver/model/actor/instance/L2DoormenInstance.java===================================================================--- java/net/sf/l2j/gameserver/model/actor/instance/L2DoormenInstance.java	(revision 3598)+++ java/net/sf/l2j/gameserver/model/actor/instance/L2DoormenInstance.java	(working copy)@@ -54,7 +54,7 @@ 			if (isOwnerClan(player)) 			{ 				if (isUnderSiege())-					cannotManageDoors(player);+					openDoors(player, command); 				else 					openDoors(player, command); 			}@@ -65,7 +65,7 @@ 			if (isOwnerClan(player)) 			{ 				if (isUnderSiege())-					cannotManageDoors(player);+					closeDoors(player, command); 				else 					closeDoors(player, command); 			}
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: Castle doors during seige

Post by _DS_ »

LOL, castles already has teleporters done. What's the matter of doing such thing ?
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
Post Reply