Jump to content
  • 0

Question

6 answers to this question

Recommended Posts

  • 0
Posted

I need a java file.

Players make fast characterts etc with l2phx and it lags.

 

I love threads like this one, without any description etc.

  • 0
Posted

[move]by:L2jArchid Team[/move]

 

Index: java/com/l2jarchid/gameserver/model/actor/instance/L2PcInstance.java

===================================================================

--- java/com/l2jarchid/gameserver/model/actor/instance/L2PcInstance.java (revision 254)

+++ java/com/l2jarchid/gameserver/model/actor/instance/L2PcInstance.java (revision 254)

@@ -672,6 +672,7 @@

    private int _expertiseIndex; // index in EXPERTISE_LEVELS

    private int _expertisePenalty = 0;

-

-  private L2ItemInstance _activeEnchantItem = null;

+  private boolean _isEnchanting = false;                                             

+    private L2ItemInstance _activeEnchantItem = null;

 

    protected boolean _inventoryDisable = false;

@@ -2070,4 +2071,7 @@

    public void setActiveEnchantItem(L2ItemInstance scroll)

    {

+      // If we dont have a Enchant Item, we are not enchanting.

+        if (scroll == null)

+        setIsEnchanting(false);

      _activeEnchantItem = scroll;

    }

@@ -2077,4 +2081,15 @@

      return _activeEnchantItem;

    }

+  public void setIsEnchanting(boolean val)

+          {

+                  _isEnchanting = val;

+          }

+         

+          public boolean isEnchanting()

+          {

+              return _isEnchanting;

+          }

+                   

 

    /**

 

PHX Enchant protection

 

not tested

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock