Jump to content
  • 0

pos n t peraso & problima stn srv


Question

Posted

Index: java/config/other.properties

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

--- java/config/other.properties (revision 1)

+++ java/config/other.properties (revision 10)

@@ -32,4 +32,8 @@

MaximumSlotsForDwarf = 100

MaximumSlotsForGMPlayer = 250

+

+# Configurable weight limit, 0 for disabled.

+# 200000 will add 200,000 weight limit to everyone, configure to your liking

+AddWeightLimit = 0

 

# Warehouse space limits

Index: java/net/sf/l2j/Config.java

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

--- java/net/sf/l2j/Config.java (revision 8)

+++ java/net/sf/l2j/Config.java (revision 10)

@@ -599,4 +599,7 @@

    public static int INVENTORY_MAXIMUM_GM;

   

+    /** Weight limit */

+    public static int ADD_MAX_LOAD;

+   

    /** Warehouse slots limits */

    public static int WAREHOUSE_SLOTS_NO_DWARF;

@@ -1115,4 +1118,7 @@

                INVENTORY_MAXIMUM_DWARF  = Integer.parseInt(otherSettings.getProperty("MaximumSlotsForDwarf", "100"));

            INVENTORY_MAXIMUM_GM    = Integer.parseInt(otherSettings.getProperty("MaximumSlotsForGMPlayer", "250"));

+            

+             /* Config weight limit */

+             ADD_MAX_LOAD = Integer.parseInt(otherSettings.getProperty("AddWeightLimit", "0"));

               

                /* Inventory slots limits */

Index: java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java

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

--- java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (revision 1)

+++ java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (revision 10)

@@ -1597,8 +1597,9 @@

/**

* Return the max weight that the L2PcInstance can load.<BR><BR>

+ * Added Config.ADD_MAX_LOAD ~AresXP

*/

public int getMaxLoad()

{

-        return (int)calcStat(Stats.MAX_LOAD, _baseLoad, this, null);

+        return (int)calcStat(Stats.MAX_LOAD, _baseLoad, this, null)+Config.ADD_MAX_LOAD;

}

as poume exo tn parapano kodika pos tha ton peraso k apo pou(eckipse fantazomai)

 

k ekana checkout to L2_Gameserver_It to estisa kanonika alla otan grafo entoles opos //event h //tvt

dn m anoigei t menu opos prin gt

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • 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