Jump to content

Recommended Posts

Posted

Well , it's been some years since i've last shared something , plus i dont remember too much things from l2j. this is probably a useless share that none would like me to share , since its 2 minutes job , but i wanted to share it for people that dont know shit. ( just like me now xD )

whatever. enjoy

 

Index: C:/Workspace/aCis_gameserver/java/net/sf/l2j/gameserver/network/clientpackets/SendWareHouseDepositList.java
===================================================================
--- C:/Workspace/aCis_gameserver/java/net/sf/l2j/gameserver/network/clientpackets/SendWareHouseDepositList.java	(revision 190)
+++ C:/Workspace/aCis_gameserver/java/net/sf/l2j/gameserver/network/clientpackets/SendWareHouseDepositList.java	(working copy)
@@ -100,7 +100,7 @@
         	return;
         
         // Freight price from config or normal price per item slot (30)
-        final int fee = _items.length * 30;
+        final int fee = _items.length * Config.ALT_WAREHOUSE_DEPOSIT_FEE;
		int currentAdena = player.getAdena();
         int slots = 0;

Index: C:/Workspace/aCis_gameserver/java/net/sf/l2j/Config.java
===================================================================
--- C:/Workspace/aCis_gameserver/java/net/sf/l2j/Config.java	(revision 190)
+++ C:/Workspace/aCis_gameserver/java/net/sf/l2j/Config.java	(working copy)
@@ -453,6 +453,7 @@
     public static boolean ES_SP_BOOK_NEEDED;
     public static boolean DIVINE_SP_BOOK_NEEDED;
     public static boolean ALT_GAME_SUBCLASS_WITHOUT_QUESTS;
+    public static int ALT_WAREHOUSE_DEPOSIT_FEE;
     
     /** Buffs */
     public static boolean STORE_SKILL_COOLTIME;
@@ -1178,6 +1179,7 @@
                 COMMON_RECIPE_LIMIT = Integer.parseInt(players.getProperty("CommonRecipeLimit","50"));
                 ALT_BLACKSMITH_USE_RECIPES = Boolean.parseBoolean(players.getProperty("AltBlacksmithUseRecipes", "True"));
                 
+                ALT_WAREHOUSE_DEPOSIT_FEE = Integer.parseInt(players.getProperty("AltWarehouseDepositFee", "30"));
                 AUTO_LEARN_SKILLS = Boolean.parseBoolean(players.getProperty("AutoLearnSkills", "false"));
                 ALT_GAME_MAGICFAILURES = Boolean.parseBoolean(players.getProperty("MagicFailures", "True"));
                 ALT_GAME_SHIELD_BLOCKS = Boolean.parseBoolean(players.getProperty("AltShieldBlocks", "false"));
Index: C:/Workspace/aCis_gameserver/config/players.properties
===================================================================
--- C:/Workspace/aCis_gameserver/config/players.properties	(revision 190)
+++ C:/Workspace/aCis_gameserver/config/players.properties	(working copy)
@@ -298,4 +298,7 @@
MaxBuffsAmount = 20

# Store buffs/debuffs on user logout?
-StoreSkillCooltime = True
\ No newline at end of file
+StoreSkillCooltime = True
+
+# Alternative Warehouse Deposit Fee
+AltWarehouseDepositFee = 30
\ No newline at end of file

  • 2 weeks later...

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