Jump to content

[Discussion]Κάντε request java mods


Recommended Posts

δεν ασχολουμαι με client edit , το code βεβαια ( το τι θα κανουν τα σκιλλ ) μπορω να το κανω.

Wrea!

To code gia ena skill einai eukolo?

Gt xriazome 6-7 skills.

Link to comment
Share on other sites

αναλογα και το τι θες να κανει , αλλα ευκολα αλλα δυσκολα. πες μ τι ακριβως θες να κανει και θα σου πω, ετσι δε μπορω.

Link to comment
Share on other sites

Erwthsh:

Boreis na kaneis k 1 skill na exei k config

Px thelw ena passive na meiwnei to p.attack k na exei sta config poso na meiwnete ginete?

Link to comment
Share on other sites

Erwthsh:

Boreis na kaneis k 1 skill na exei k config

Px thelw ena passive na meiwnei to p.attack k na exei sta config poso na meiwnete ginete?

φιλε μ υποτιθεται θες κανα unique skill, tetoio σκιλλ υπαρχει ηδη που το εχει ο GS. το ονομα που διαφευγει .
Link to comment
Share on other sites

φιλε μ υποτιθεται θες κανα unique skill, tetoio σκιλλ υπαρχει ηδη που το εχει ο GS. το ονομα που διαφευγει .

Paradeigma itan!

Gia n katalavw an boreis na fiaxeis config pou n rithmizei to skill.

Link to comment
Share on other sites

Paradeigma itan!

Gia n katalavw an boreis na fiaxeis config pou n rithmizei to skill.

re file mas exis zalisei sorry kiolas.vlepis t grafei sto main post?Java,Sql,Html episis dn zitame  10 pragmata mesa se mia mera (paradigma) gt oute tn plironeis ke oute eis o monos p xriazete kapio java code/mods custom h oti dipote allo. esena s eftia3e kati p i8eles kai meta tou kotsares kai alla 10 xalarose ligo mn eise kai axaristos(sorry p epemveno se ena topic p dn einai diko m alla gia mena einai ekneuristiko afto pekane.paei se kapion moderator p logika 8a nmzei oti spammaro)

Link to comment
Share on other sites

Kai su r bamia t prob exeis??

Diko s to topic??

Dn ime axaristos. Kai ton euxaristw polu gia thn boithia.

Tou zhtaw kati k opote borei m t kanei .

Oki?

Link to comment
Share on other sites

Could you make 1 augment stuck mode 1+1(active+passive) for interlude?If you can will be great...I need it asap.

 

### Eclipse Workspace Patch 1.0
#P Chr.6GMS
Index: java/net/sf/l2j/gameserver/model/L2Character.java
===================================================================
--- java/net/sf/l2j/gameserver/model/L2Character.java	(revision 5263)
+++ java/net/sf/l2j/gameserver/model/L2Character.java	(working copy)
@@ -5143,8 +5143,11 @@


			// Add Func objects of newSkill to the calculator set of the L2Character
			addStatFuncs(newSkill.getStatFuncs(null, this));
@@ -5180,8 +5183,10 @@
		L2Skill oldSkill = _skills.remove(skill.getId());

		// Remove all its Func objects from the L2Character calculator set
-		if (oldSkill != null)
+		if (oldSkill != null){
			removeStatsOwner(oldSkill);
+			stopSkillEffects(oldSkill.getId()); 
+		}

		return oldSkill;
	}

 

πιστευω πως θα λειτουργει.

Link to comment
Share on other sites

### Eclipse Workspace Patch 1.0
#P Chr.6GMS
Index: java/net/sf/l2j/gameserver/model/L2Character.java
===================================================================
--- java/net/sf/l2j/gameserver/model/L2Character.java	(revision 5263)
+++ java/net/sf/l2j/gameserver/model/L2Character.java	(working copy)
@@ -5143,8 +5143,11 @@


			// Add Func objects of newSkill to the calculator set of the L2Character
			addStatFuncs(newSkill.getStatFuncs(null, this));
@@ -5180,8 +5183,10 @@
		L2Skill oldSkill = _skills.remove(skill.getId());

		// Remove all its Func objects from the L2Character calculator set
-		if (oldSkill != null)
+		if (oldSkill != null){
			removeStatsOwner(oldSkill);
+			stopSkillEffects(oldSkill.getId()); 
+		}

		return oldSkill;
	}

 

τεσταρε το φιλε μου, πιστευω πως θα λειτουργει.

αν τα τέσταρες κιόλας θα ήταν gg.

Link to comment
Share on other sites

αν τα τέσταρες κιόλας θα ήταν gg.

tested, δουλευει . οταν ο παικτης αλλαζει το οπλο που ειναι aygment , το buff φευγει.
Link to comment
Share on other sites

tested, δουλευει . οταν ο παικτης αλλαζει το οπλο που ειναι aygment , το buff φευγει.

Nomizw pws den einai mono auto..Thelw na mporei o paixtis na krataei 1augment active + 1 passive alla otan exeis px. augment might lvl 10 to buff might na mporeis na kaneis kai might apo to buffer xwris na feugei to augment!
Link to comment
Share on other sites

Nomizw pws den einai mono auto..Thelw na mporei o paixtis na krataei 1augment active + 1 passive alla otan exeis px. augment might lvl 10 to buff might na mporeis na kaneis kai might apo to buffer xwris na feugei to augment!

αυτο ειναι default σε μενα παντως, γινεται ηδη.

 

 

Καποιος ζητησε οταν κανεις enchant να γραφει αφου πατησουν το scroll , με ποσο % πιθανοτητα εσπασε ή με ποσο πετυχε. Λοιπον,


### 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)
@@ -207,7 +207,9 @@
                         && item.getEnchantLevel() < Config.ENCHANT_SAFE_MAX_FULL))
             chance = 100;

-        if (Rnd.get(100) < chance)
+        int currentChance = Rnd.get(100);
+        
+        if (currentChance < chance)
         {
             synchronized(item)
             {
@@ -237,6 +239,7 @@
             	}
             	item.setEnchantLevel(item.getEnchantLevel()+1);
             	item.updateDatabase();
+            	activeChar.sendMessage("Successfully enchanted, with "+currentChance+"% success");
             }
         }
         else
@@ -245,6 +248,7 @@
             {
                 if (item.getEnchantLevel() > 0)
                 {
+                	activeChar.sendMessage("Enchant failed, with "+currentChance+"% rate");
                     sm = new SystemMessage(SystemMessageId.ENCHANTMENT_FAILED_S1_S2_EVAPORATED);
                     sm.addNumber(item.getEnchantLevel());
                     sm.addItemName(item.getItemId());
@@ -252,6 +256,7 @@
                 }
                 else
                 {
+                	activeChar.sendMessage("Enchant failed, with "+currentChance+"% rate");
                     sm = new SystemMessage(SystemMessageId.ENCHANTMENT_FAILED_S1_EVAPORATED);
                     sm.addItemName(item.getItemId());
                     activeChar.sendPacket(sm);
@@ -259,6 +264,7 @@
             }
             else
             {
+            	activeChar.sendMessage("Enchant failed, with "+currentChance+"% rate");
                 sm = new SystemMessage(SystemMessageId.BLESSED_ENCHANT_FAILED);
                 activeChar.sendPacket(sm);
             }

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.



×
×
  • Create New...