Jump to content

Recommended Posts

Posted

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 -
 

Posted

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)

  • 3 weeks later...
Posted

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
Posted

Lol, you should check your code...

LS_STACKABLE should take LSStackable, BOG_STACKABLE should take BOGStackable and not vice versa... :lol:

  • 3 weeks later...
Posted

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

Posted

The code is wrong. I had a user that requested me to fix it because it was not consuming the BOGS.

use destroyItemById instead destroyItem.

  • 3 months later...
  • 2 weeks later...
Posted (edited)

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
Guest
This topic is now closed to further replies.


  • Posts

    • I never touch client, but now i want to use lordanov shared interface, but when i use it my lobby background change. in loging screen shows this static image: https://ibb.co/QF47WDmC But if i click on RECORD normal lobby shows up https://ibb.co/tpsG6F3G any idea how to fix it? i been looking for a solution, this thing happen when i paste interface.u file i decompiled interface.u but no idea where to do changes... thanks in advance, and sorry for poor english,
    • 🎙️ 1/ Creators, meet your new favorite tool: Chord.fm Record. Enhance. Deliver. A fully AI-powered recording studio, right in your browser. 🎧 Whether you're a podcaster, interviewer, or team running remote interviews — this is your upgrade. 🎥 2/ Record high-quality audio & video effortlessly ✅ Up to 4K video ✅ Uncompressed WAV audio ✅ Network-proof performance ✅ Multi-participant recording ✅ AI-powered post-processing 💡 No more "can you hear me?" moments. 🔊 3/ Get individual tracks for every participant One of Chord.fm’s superpowers: 🎚️ Each speaker's audio/video is recorded and exported separately. Perfect for post-production: 🎛️ Clean edits 🎧 Custom audio mixes 🎙️ Noise isolation per track   🧠 4/ Let AI do the heavy lifting 💬 Auto-generated subtitles 📝 Transcriptions you can trust 🧾 Smart summarization of recordings 🔍 Keyword highlights & topics Turn raw content into share-ready material without lifting a finger. 🧰 5/ Built for creators who value quality 🎬 Audiograms from your voice 🎚️ Auto-leveling 🌐 Browser-based (no install) 📁 Local backups during recording ⏱️ Time-saving features everywhere Chord.fm isn’t a Zoom alternative — it’s a production studio. 🚀 6/ Ready to level up? If you’re creating podcasts, interviews, or async team content — Chord.fm is what you've been waiting for. 🆓 Start for free: https://chord.fm You won't look back.
    • Who doesn't? 🤣 On topic. I would suggest you to work on Mobius files since there is a lot of space to work on things. @Mobius has done amazing job and deserves as match help as possible, this guy needs to be rewarded! Different type of packs since he has the most of the chronicles. I dont want to say that aCis hasn't done amazing job, it's one of the most stable and oldest projects around but I'm with mobius just because he supports way more clients. Working on either of projects will make you better.
    • I have a working PetitionD with a new Petition client for anything between C4 and Gracia it's here Link
  • Topics

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