Welcome to MaxCheaters.com

Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads

Code Lifestone & Books Stackable [ L2Jfrozen Rev.1113 ]


Recommended Posts

Hello guys this code is for Stackable Lifestone & Books


for more space on Inventory 


 


(Nothing special i found this code and i share for help some people)


 


 


Let's start 



### Eclipse Workspace Patch 1.0
#P L2jFrozen_GameServer
Index: head-src/com/l2jfrozen/Config.java
===================================================================
--- head-src/com/l2jfrozen/Config.java (revision 1113)
+++ head-src/com/l2jfrozen/Config.java (working copy)
@@ -2392,6 +2392,8 @@
public static int MONSTER_RETURN_DELAY;

public static boolean SCROLL_STACKABLE;
+ public static boolean LS_STACKABLE;
+ public static boolean BOG_STACKABLE;

public static boolean ALLOW_VERSION_COMMAND;
public static boolean ALLOW_CHAR_KILL_PROTECT;
@@ -2518,6 +2520,8 @@
ALT_PLAYER_PROTECTION_LEVEL = Integer.parseInt(L2JFrozenSettings.getProperty("AltPlayerProtectionLevel", "0"));
MONSTER_RETURN_DELAY = Integer.parseInt(L2JFrozenSettings.getProperty("MonsterReturnDelay", "1200"));
SCROLL_STACKABLE = Boolean.parseBoolean(L2JFrozenSettings.getProperty("ScrollStackable", "False"));
+ LS_STACKABLE = Boolean.parseBoolean(L2JFrozenSettings.getProperty("BOGStackable", "False"));
+ BOG_STACKABLE = Boolean.parseBoolean(L2JFrozenSettings.getProperty("LSStackable", "False"));
ALLOW_CHAR_KILL_PROTECT = Boolean.parseBoolean(L2JFrozenSettings.getProperty("AllowLowLvlProtect", "False"));
CLAN_LEADER_COLOR_ENABLED = Boolean.parseBoolean(L2JFrozenSettings.getProperty("ClanLeaderNameColorEnabled", "true"));
CLAN_LEADER_COLORED = Integer.parseInt(L2JFrozenSettings.getProperty("ClanLeaderColored", "1"));



### Eclipse Workspace Patch 1.0
#P L2jFrozen_GameServer
Index: head-src/com/l2jfrozen/gameserver/network/clientpackets/RequestExEnchantSkill.java
===================================================================
--- head-src/com/l2jfrozen/gameserver/network/clientpackets/RequestExEnchantSkill.java (revision 1113)
+++ head-src/com/l2jfrozen/gameserver/network/clientpackets/RequestExEnchantSkill.java (working copy)
@@ -136,7 +136,10 @@
return;
}
// ok
- player.destroyItem("Consume", spb, trainer, true);
+ if (Config.BOG_STACKABLE)
+ player.destroyItem("Consume", spbId, 1, trainer, true);
+ else
+ player.destroyItem("Consume", spb, trainer, true);
}
}
else



### Eclipse Workspace Patch 1.0
#P L2jFrozen_GameServer
Index: config/functions/l2jfrozen.properties
===================================================================
--- config/functions/l2jfrozen.properties (revision 1113)
+++ config/functions/l2jfrozen.properties (working copy)
@@ -187,8 +187,12 @@
# Default: 1200
MonsterReturnDelay = 1200

-# Scroll is Stackable? (default = false)
+# -------------------------------------------
+# Stackable Items Config (default = false)
+# -------------------------------------------
ScrollStackable = false
+LSStackable = false
+BOGStackable = false

# -------------------------------------------
# Clan Leader Color Config -
 

Share this post


Link to post
Share on other sites

is this a true copy paste of the code from l2jfrozen forum ? :o and please .... watch what are you going to say .... because i have proves for what i am saying :)

I think he don't claim to be author of this code: (Nothing special i found this code and i share for help some people)

Share this post


Link to post
Share on other sites

I think he don't claim to be author of this code: (Nothing special i found this code and i share for help some people)

 

Yea thnks ;)  I say " I found this code for help newbies" 

Share this post


Link to post
Share on other sites
  • 3 weeks later...

Maybe you forgot this:

--- head-src/com/l2jfrozen/gameserver/network/clientpackets/RequestRefine.java  (revision 938)
+++ head-src/com/l2jfrozen/gameserver/network/clientpackets/RequestRefine.java  (working copy)
@@ -246,7 +246,12 @@
                }
 
                // consume the life stone
-               if(!player.destroyItem("RequestRefine", refinerItem, null, false))
+               if (Config.LS_STACKABLE)
+               {
+                       if(!player.destroyItem("RequestRefine", refinerItem.getObjectId(), 1, null, false))
+                               return false;
+               }
+               else if(!player.destroyItem("RequestRefine", refinerItem, null, false))
                        return false;
 
                // consume the gemstones

Share this post


Link to post
Share on other sites
  • 3 weeks later...

can anyone tell me if this works? and maybe want to edit and some client files??? can anyone add and the scrolls?? crystal blessed and normal?? its very helpfully..

Share this post


Link to post
Share on other sites
  • 3 months later...
  • 2 weeks later...

I do it ! In the game the LS and the BOG are stackable (x2-3-4) ! But when you use it the item count for 1 ! Why? How can i fix it?

 

 

 

 

 

OK I fix it! :)

Edited by s0k1n

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.