Skip to content

[help] how make always closed coliseum doors???

Featured Replies

go to data/Door.csv

Code: [select]

 

# Doors on region 24_19:

 

# Aden - Coliseum Gates

aden_colosseum_outer_001;24190001;147086;46721;-3289;147075;46641;-3434;147099;46800;-3178;687500;644;518;False;True

aden_colosseum_inner_001;24190002;148045;46721;-3289;148034;46642;-3435;148057;46800;-3179;687500;644;518;False;True

aden_colosseum_inner_002;24190003;150951;46721;-3289;150939;46640;-3435;150961;46797;-3179;687500;644;518;False;True

aden_colosseum_outer_002;24190004;151911;46721;-3289;151903;46644;-3435;151918;46798;-3179;687500;644;518;False;True

 

 

Change it to

Code: [select]

 

# Doors on region 24_19:

 

# Aden - Coliseum Gates

aden_colosseum_outer_001;24190001;147086;46721;-3289;147075;46641;-3434;147099;46800;-3178;687500;644;518;False;False

aden_colosseum_inner_001;24190002;148045;46721;-3289;148034;46642;-3435;148057;46800;-3179;687500;644;518;False;False

aden_colosseum_inner_002;24190003;150951;46721;-3289;150939;46640;-3435;150961;46797;-3179;687500;644;518;False;False

aden_colosseum_outer_002;24190004;151911;46721;-3289;151903;46644;-3435;151918;46798;-3179;687500;644;518;False;False

 

 

That's mean that doors should not auto-open on server start

 

THIS DON'T WORKING!!!!!!!

So you just should do this:

 

Index: com/l2jfrozen/gameserver/Gameserver.java
=======================================
-- com/l2jfrozen/gameserver/Gameserver.java
++ com/l2jfrozen/gameserver/Gameserver.java
@ - number +numbers


	_log.info("AutoChatHandler : Loaded " + AutoChatHandler.getInstance().size() + " handlers in total.");
	_log.info("AutoSpawnHandler : Loaded " + AutoSpawn.getInstance().size() + " handlers in total.");

	Runtime.getRuntime().addShutdownHook(Shutdown.getInstance());

	try
	{
		DoorTable doorTable = DoorTable.getInstance();
		doorTable.getDoor(19160010).openMe();
		doorTable.getDoor(19160011).openMe();
		doorTable.getDoor(19160012).openMe();
		doorTable.getDoor(19160013).openMe();
		doorTable.getDoor(19160014).openMe();
		doorTable.getDoor(19160015).openMe();
		doorTable.getDoor(19160016).openMe();
		doorTable.getDoor(19160017).openMe();
-			doorTable.getDoor(24190001).openMe();
-			doorTable.getDoor(24190002).openMe();
-			doorTable.getDoor(24190003).openMe();
-			doorTable.getDoor(24190004).openMe();
+	       		doorTable.getDoor(24190001).closeMe();//west gate out
+			doorTable.getDoor(24190002).closeMe();//west gate in
+			doorTable.getDoor(24190003).closeMe();//east gate out
+			doorTable.getDoor(24190004).closeMe();//east gate in
		doorTable.getDoor(23180001).openMe();
		doorTable.getDoor(23180002).openMe();
		doorTable.getDoor(23180003).openMe();
		doorTable.getDoor(23180004).openMe();
		doorTable.getDoor(23180005).openMe();
		doorTable.getDoor(23180006).openMe();
		doorTable.checkAutoOpen();
		doorTable = null;
	}
	catch(NullPointerException e)
	{
		_log.info("There is errors in your Door.csv file. Update door.csv");
		if(Config.ENABLE_ALL_EXCEPTIONS)
			e.printStackTrace();
	}

  • Author

okey i go test this:)

  • Author

Working man, big big thanks!!! Lock it:P

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.