Explorar o código

Removing the config because the npc_buffer table is actually used by the Olympiad, so it shouldn't be disabled.

If you don't want the L2J Core NPC Buffer enabled simply don't spawn it, or any npc with type L2NpcBuffer.
Ahmed %!s(int64=17) %!d(string=hai) anos
pai
achega
4e1b2cb50b

+ 0 - 9
L2_GameServer_T1/java/config/l2jmods.properties

@@ -150,12 +150,3 @@ BankingEnabled = false
 BankingGoldbarCount = 1
 # This is the amount of Adena someone will get when they do the .withdraw command, and also the same amount they will lose when they do .deposit
 BankingAdenaCount = 500000000
-
-#---------------------------------------------------------------
-# L2J Core NPC Buffer                                               -
-#---------------------------------------------------------------
-# To enable the L2J Core NPC Buffer set this to true, default is false.
-# Buffer html files are located in folder "data/html/mods/" with file prefix: "NpcBuffer"
-# Buffer database values are located in table "npc_buffer"
-# Default L2J NPC is 1000003
-NPCBufferEnabled = false

+ 0 - 3
L2_GameServer_T1/java/net/sf/l2j/Config.java

@@ -570,7 +570,6 @@ public final class Config
     public static boolean	BANKING_SYSTEM_ENABLED;
     public static int		BANKING_SYSTEM_GOLDBARS;
     public static int		BANKING_SYSTEM_ADENA;
-    public static boolean	NPC_BUFFER_ENABLED;
     
     /** ************************************************** **/
 	/** L2JMods Settings -End                              **/
@@ -1715,8 +1714,6 @@ public final class Config
                 BANKING_SYSTEM_ENABLED	= Boolean.parseBoolean(L2JModSettings.getProperty("BankingEnabled", "false"));
                 BANKING_SYSTEM_GOLDBARS	= Integer.parseInt(L2JModSettings.getProperty("BankingGoldbarCount", "1"));
                 BANKING_SYSTEM_ADENA	= Integer.parseInt(L2JModSettings.getProperty("BankingAdenaCount", "500000000"));
-                
-                NPC_BUFFER_ENABLED		= Boolean.parseBoolean(L2JModSettings.getProperty("NPCBufferEnabled", "false"));
 
             }
             catch (Exception e)

+ 1 - 2
L2_GameServer_T1/java/net/sf/l2j/gameserver/GameServer.java

@@ -349,8 +349,7 @@ public class GameServer
 		if(Config.ALLOW_NPC_WALKERS)
 		    NpcWalkerRoutesTable.getInstance().load();
 		
-		if (Config.NPC_BUFFER_ENABLED)
-			NpcBufferTable.getInstance();
+		NpcBufferTable.getInstance();
 		
 		RecipeController.getInstance();