Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: java/com/l2jserver/Config.java
- ===================================================================
- --- java/com/l2jserver/Config.java (revision 315)
- +++ java/com/l2jserver/Config.java (working copy)
- @@ -1167,6 +1167,8 @@
- public static int FAST_CONNECTION_TIME;
- public static int MAX_CONNECTION_PER_IP;
- + public static boolean ENABLE_ACCOUNT_LOG;
- +
- // GrandBoss Settings
- public static int Antharas_Wait_Time;
- @@ -3597,6 +3599,8 @@
- NORMAL_CONNECTION_TIME = Integer.parseInt(serverSettings.getProperty("NormalConnectionTime","700"));
- FAST_CONNECTION_TIME = Integer.parseInt(serverSettings.getProperty("FastConnectionTime","350"));
- MAX_CONNECTION_PER_IP = Integer.parseInt(serverSettings.getProperty("MaxConnectionPerIP","50"));
- +
- + ENABLE_ACCOUNT_LOG = Boolean.parseBoolean(serverSettings.getProperty("EnableAccountLog","False"));
- }
- catch (Exception e)
- {
- Index: java/com/l2jserver/loginserver/L2LoginServer.java
- ===================================================================
- --- java/com/l2jserver/loginserver/L2LoginServer.java (revision 316)
- +++ java/com/l2jserver/loginserver/L2LoginServer.java (working copy)
- @@ -151,7 +151,8 @@
- try
- {
- - AccountLogManager.getInstance();
- + if (Config.ENABLE_ACCOUNT_LOG)
- + AccountLogManager.getInstance();
- }
- catch (Exception e)
- {
- Index: java/com/l2jserver/loginserver/network/loginserverpackets/SendAccountLog.java
- ===================================================================
- --- java/com/l2jserver/loginserver/network/loginserverpackets/SendAccountLog.java (revision 315)
- +++ java/com/l2jserver/loginserver/network/loginserverpackets/SendAccountLog.java (working copy)
- @@ -22,6 +22,7 @@
- import java.util.logging.Level;
- import java.util.logging.Logger;
- +import com.l2jserver.Config;
- import com.l2jserver.L2DatabaseFactory;
- import com.l2jserver.loginserver.AccountLogManager.AccountLog;
- import com.l2jserver.util.network.BaseSendablePacket;
- @@ -37,6 +38,9 @@
- public SendAccountLog(String accountName, int charObjId)
- {
- + if (!Config.ENABLE_ACCOUNT_LOG)
- + return;
- +
- gatherAccountLog(accountName);
- if (list == null)
- return;
- Index: launcher/L2World LoginServer HighFive.launch
- ===================================================================
- --- launcher/L2World LoginServer HighFive.launch (revision 315)
- +++ launcher/L2World LoginServer HighFive.launch (working copy)
- @@ -8,7 +8,7 @@
- </listAttribute>
- <booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables" value="true"/>
- <stringAttribute key="org.eclipse.debug.core.source_locator_id" value="org.eclipse.jdt.launching.sourceLocator.JavaSourceLookupDirector"/>
- -<stringAttribute key="org.eclipse.debug.core.source_locator_memento" value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <sourceLookupDirector> <sourceContainers duplicates="false"> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;javaProject name=&quot;High_Five_CORE_CT2.5&quot;/&gt;&#13;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;javaProject name=&quot;High_Five_DATAPACK&quot;/&gt;&#13;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;javaProject name=&quot;MMOCore&quot;/&gt;&#13;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> </sourceContainers> </sourceLookupDirector> "/>
- +<stringAttribute key="org.eclipse.debug.core.source_locator_memento" value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <sourceLookupDirector> <sourceContainers duplicates="false"> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;javaProject name=&quot;High_Five_CORE&quot;/&gt;&#13;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;javaProject name=&quot;High_Five_CORE_CT2.5&quot;/&gt;&#13;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;javaProject name=&quot;High_Five_DATAPACK&quot;/&gt;&#13;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;javaProject name=&quot;MMOCore&quot;/&gt;&#13;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> </sourceContainers> </sourceLookupDirector> "/>
- <listAttribute key="org.eclipse.debug.ui.favoriteGroups">
- <listEntry value="org.eclipse.debug.ui.launchGroup.debug"/>
- <listEntry value="org.eclipse.debug.ui.launchGroup.run"/>
- @@ -44,4 +44,4 @@
- <booleanAttribute key="yk-launch-ui" value="true"/>
- <intAttribute key="yk-mem-threshold" value="0"/>
- <booleanAttribute key="yk-startup-with-object-allocations" value="false"/>
- -</launchConfiguration>
- \ No newline at end of file
- +</launchConfiguration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement