Jump to content

[Share] Alternative Warehouse Deposit Fee


Stefoulis15

Recommended Posts

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

Link to comment
Share on other sites

  • 2 weeks later...

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
Reply to this topic...

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