Jump to content

Recommended Posts

Posted

Αν ξέρει κάποιος τι μπορώ να κάνω ας μου πει είναι πολύ σημαντικό.

 

Πρεπει να δουλευει.

 

### Eclipse Workspace Patch 1.0
#P Chr.6GMS
Index: java/net/sf/l2j/gameserver/model/Inventory.java
===================================================================
--- java/net/sf/l2j/gameserver/model/Inventory.java	(revision 5263)
+++ java/net/sf/l2j/gameserver/model/Inventory.java	(working copy)
@@ -936,20 +936,7 @@
         if((getOwner() instanceof L2PcInstance) && ((L2PcInstance)getOwner()).getPrivateStoreType() != 0)
             return;
         
-        if(getOwner() instanceof L2PcInstance)
-        {
-            L2PcInstance player = (L2PcInstance)getOwner();
-            
-            if(!player.isGM())
-                if (!player.isHero())
-                {
-                    int itemId = item.getItemId();
-                    if ((itemId >= 6611 && itemId <= 6621) || itemId == 6842)
-                    {
-                        return;
-                    }
-                }
-        }
+       

		int targetSlot = item.getItem().getBodyPart();
         
@@ -1197,19 +1184,8 @@
	            item = L2ItemInstance.restoreFromDb(objectId);
	            if (item == null) continue;
	            
-	            if(getOwner() instanceof L2PcInstance)
-	            {
-	                L2PcInstance player = (L2PcInstance)getOwner();
-	                
-	                if(!player.isGM())
-	                    if (!player.isHero())
-	                    {
-	                        int itemId = item.getItemId();
-	                        if ((itemId >= 6611 && itemId <= 6621) || itemId == 6842)
-	                            item.setLocation(ItemLocation.INVENTORY);
-	                    }
-	            }
	            
+	            
	            L2World.getInstance().storeObject(item);
	            
	            // If stackable item is found in inventory just add to current quantity

 

 

 

Posted

cTyFu.png

 

Αυτό αν είναι εύκολο.

### Eclipse Workspace Patch 1.0
#P Chr.6GMS
Index: java/net/sf/l2j/gameserver/clientpackets/RequestEnchantItem.java
===================================================================
--- java/net/sf/l2j/gameserver/clientpackets/RequestEnchantItem.java	(revision 5263)
+++ java/net/sf/l2j/gameserver/clientpackets/RequestEnchantItem.java	(working copy)
@@ -237,6 +237,11 @@
             	}
             	item.setEnchantLevel(item.getEnchantLevel()+1);
             	item.updateDatabase();
+            	
+            	if(item.getEnchantLevel() == 16)
+            		for(L2PcInstance j : L2World.getInstance().getAllPlayers())
+            			if(j != null && j != activeChar)
+            				j.sendMessage("Congratulations,"+j.getName()+" successful enchanted "+item.getItem().getName()+"+16");
             }
         }
         else

Posted

καλησπέρα σε όλους,

 

Θα ήθελα έναν κώδικα (με κώδικα μου είπαν πως θα δουλέψει μόνο)

Έτσι ώστε ήττε με τα Enchant Scrolls που έχουμε ήδη ήττε να φτιάξουμε ένα νέο Scroll (δεν υπάρχει θέμα) να μπορεί να γίνετε Enchant από ένα συγκεκριμένο Enchant Level σε ένα άλλο αλλά με πιθανότητες που θα μπορώ να ορίσω εγώ από τα configs (για περισσότερες δοκιμές κυρίως) 

 

Ευχαριστώ εκ των πρωτέρων!!!

Posted

bwris na m ftia3eis ena command p na leei posa on exi o server?esto gia c6 kai 8a try na t adapt..

mporeis na xrhsimopoihseis k ayto:

http://maxcheaters.com/forum/index.php?topic=210039

einai to idio pragma apla me auto to code s bgazei ena para8uro me to posa atoma einai online.

Fusika, mporei na ginei k me TextBuilder class, anyway.

(to code sto link einai gia freya, mporei na ginei adapt se IL)

Posted

καλησπέρα σε όλους,

 

Θα ήθελα έναν κώδικα (με κώδικα μου είπαν πως θα δουλέψει μόνο)

Έτσι ώστε ήττε με τα Enchant Scrolls που έχουμε ήδη ήττε να φτιάξουμε ένα νέο Scroll (δεν υπάρχει θέμα) να μπορεί να γίνετε Enchant από ένα συγκεκριμένο Enchant Level σε ένα άλλο αλλά με πιθανότητες που θα μπορώ να ορίσω εγώ από τα configs (για περισσότερες δοκιμές κυρίως) 

 

Ευχαριστώ εκ των πρωτέρων!!!

Index: java/net/sf/l2j/gameserver/handler/itemhandlers/EnchantScrolls.java
===================================================================
--- java/net/sf/l2j/gameserver/handler/itemhandlers/EnchantScrolls.java	(revision 5343)
+++ java/net/sf/l2j/gameserver/handler/itemhandlers/EnchantScrolls.java	(working copy)
@@ -35,6 +35,7 @@
         951, 952, 953, 954, 6573, 6574, // c grade
         955, 956, 957, 958, 6575, 6576, // d grade
         959, 960, 961, 962, 6577, 6578  // s grade
+        , 65535
	};


Index: java/net/sf/l2j/gameserver/clientpackets/RequestEnchantItem.java
===================================================================
--- java/net/sf/l2j/gameserver/clientpackets/RequestEnchantItem.java	(revision 5343)
+++ java/net/sf/l2j/gameserver/clientpackets/RequestEnchantItem.java	(working copy)
@@ -206,6 +206,34 @@
                 || (item.getItem().getBodyPart() == L2Item.SLOT_FULL_ARMOR
                         && item.getEnchantLevel() < Config.ENCHANT_SAFE_MAX_FULL))
             chance = 100;
+        
+        if (scroll.getItemId() == 65535)
+        {
+        	int NEEDED_ENCHANT_LEVEL = 10,
+        		MAX_ENCHANT_LEVEL = 16,
+        		CHANCE_WEAPON = 80,
+        		CHANCE_ARMOR = 80,
+        		CHANCE_JEWEL = 80;
+        	
+        	if (item.getEnchantLevel() < NEEDED_ENCHANT_LEVEL || item.getEnchantLevel() > MAX_ENCHANT_LEVEL)
+        	{
+        		activeChar.sendMessage("You can only enchant with this scroll from +"+NEEDED_ENCHANT_LEVEL+" to +"+MAX_ENCHANT_LEVEL+".");
+        		return;
+        	}
+        	
+        	if (item.getItem().getType2() == L2Item.TYPE2_WEAPON)
+        	{
+        		chance = CHANCE_WEAPON;
+        	}
+        	if (item.getItem().getType2() == L2Item.TYPE2_SHIELD_ARMOR)
+        	{
+        		chance = CHANCE_ARMOR;
+        	}
+        	if (item.getItem().getType2() == L2Item.TYPE2_ACCESSORY)
+        	{
+        		chance = CHANCE_JEWEL;
+        	}
+        }

         if (Rnd.get(100) < chance)
         {

 

Prepei na work. Opou 65535 antikatestise to me to item id apo to custom scroll sou.

Posted

sta configs exei ena arxeio p legete enchant...

 

Νομίζω είσαι εκτός θέματος... Μιλάμε για νέο Scroll όχι για τα Normal,blessed και Cristall :)

Posted

8elw enan code c6 pou i pextes mesa ston server mou na pane mexri 90lvl ala afou pane panw apo 80 to xp na aneveni pio diskola ala poli pio diskola!!! ty :D

Posted

yparxei kapios kwdikas gia na kanw ola ta mobs ston server na petane apo 20-100 adena

kai oxi na vazw sto droplist ena ena ta mobs?

Είναι sql query. Ψάξε English Section, τα έχει.
Guest
This topic is now closed to further replies.



  • Posts

    • TELEGRAM SEO TRAINING (Bot Ranking in Search) I teach a complete system for ranking Telegram bots at the top of search results by keywords and countries. The method works for services, shops, crypto projects, and any type of Telegram bot. You can also direct the traffic to your groups, channels, websites, or sales funnels. ⸻  Countries I work with USA, Israel, Russia, India, Turkey, China, Ukraine, Uzbekistan. If you need another country — message me, we’ll find a solution. ⸻ ️ Results First search results appear in 2–3 days. ⸻  What’s included in the training • how the Telegram search algorithm works and key ranking factors • keyword research for your country and niche • bot optimization: description, settings, greeting text • fixing and maintaining positions • specific promotion nuances for different countries ⸻  What you will receive • a complete system for ranking bots in search • understanding how to work with keywords, traffic, and positions • a skill you can use to promote your own projects or earn from clients ⸻  Who this training is for • beginners with zero experience — I explain everything from scratch • those who don’t have a bot — I provide a ready one for practice • anyone who wants to learn promotion and earn from this service ⸻  Why learn from me • doing Telegram SEO since 2021 • over 1000 successful orders • my own panel SMMTG.PRO and private databases • experience working with markets of Russia, Uzbekistan, Ukraine, Israel, USA, Turkey, China, India, Vietnam, Europe, and more ⸻  For pricing — message me t.me/smmtg_link
    • Hey everyone, I was wondering if anyone knows where the client loads all the .dat files. Is there some kind of manifest or list you can specify which dat files the client loads?
    • 🔥 Welcome to Lineage 2 Haruna x3 – True Classic Interlude Experience 🔥 At Haruna x3, we’re bringing back the true essence of Interlude – slow, meaningful progression where every level matters, every item has value, and PvP is real. We’re not about fast servers, pay-to-win advantages, or fake populations. Our goal is simple: create a fair, stable, and long-term server where players can enjoy real competition, strategic clan warfare, and the thrill of open-world PvP. 💎 What Makes Haruna x3 Special? x3 Rates – Perfect for steady, rewarding progression Classic Interlude Mechanics – Relive the nostalgia of Interlude Stable & Lag-Free Gameplay – Optimized for thousands of players online Fair & Balanced – No pay-to-win, every victory is earned PvP & Clan Warfare Focused – Every battle counts 🌟 Quality of Life Features to Enhance Your Experience We keep the classic feel while adding features that make the game more convenient and enjoyable, including: Shift + Click to view monster droplists Free item mail and buy/sell via Adena Daily login rewards & Stream Rewards ALT+K Skill Panel & Alt+Click buffs removal Offline shop system Captcha for security Donate Coins currency (cannot be traded, dropped, or destroyed) Classic P110 client – no custom interface 🏰 Our Philosophy We believe Lineage 2 is about the journey, not just the destination. Haruna x3 is designed for months and years of growth, not weeks. We provide a community-driven environment where honest gameplay, fair competition, and strategic teamwork are at the forefront. 🌍 Join Our Community Whether you’re a veteran of Interlude or a returning player seeking a true classic experience, Haruna x3 offers a place to fight, trade, and grow alongside dedicated players. Step into the world of Haruna x3 – where every decision matters, every fight counts, and every victory is yours to earn. Discord: https://discord.gg/7DDC9Dsxnh Website : www.l2haruna.com
    • No, the real purpose is cheating and custom  development for games.  I'm building a custom AI moderator specially for checking illegal activity and flag current topica.
  • 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