Jump to content

[Share][Int] Shots, preventing exploits.


Recommended Posts

SoulShots, sprintshots, B.Shots.. you cannot use them while  paralyzed.

 

Here is a diff file to fix it.

 

Index: /trunk/Eclipse-Game/java/net/sf/l2j/gameserver/handler/itemhandlers/SoulShots.java
===================================================================
--- /trunk/Eclipse-Game/java/net/sf/l2j/gameserver/handler/itemhandlers/SoulShots.java (revision 12)
+++ /trunk/Eclipse-Game/java/net/sf/l2j/gameserver/handler/itemhandlers/SoulShots.java (revision 115)
@@ -24,4 +24,5 @@
import net.sf.l2j.gameserver.model.actor.instance.L2PlayableInstance;
import net.sf.l2j.gameserver.network.SystemMessageId;
+import net.sf.l2j.gameserver.network.serverpackets.ActionFailed;
import net.sf.l2j.gameserver.network.serverpackets.ExAutoSoulShot;
import net.sf.l2j.gameserver.network.serverpackets.MagicSkillUser;
@@ -61,4 +62,10 @@
            if(!activeChar.getAutoSoulShot().containsKey(itemId))
                activeChar.sendPacket(new SystemMessage(SystemMessageId.CANNOT_USE_SOULSHOTS));
+			return;
+		}
+		if (activeChar.isParalyzed())
+		{
+			activeChar.sendMessage("You Cannot Use Soulshots While You Are Paralyzed!");
+			activeChar.sendPacket(new ActionFailed());
			return;
		}
Index: /trunk/Eclipse-Game/java/net/sf/l2j/gameserver/handler/itemhandlers/SpiritShot.java
===================================================================
--- /trunk/Eclipse-Game/java/net/sf/l2j/gameserver/handler/itemhandlers/SpiritShot.java (revision 12)
+++ /trunk/Eclipse-Game/java/net/sf/l2j/gameserver/handler/itemhandlers/SpiritShot.java (revision 115)
@@ -24,4 +24,5 @@
import net.sf.l2j.gameserver.model.actor.instance.L2PlayableInstance;
import net.sf.l2j.gameserver.network.SystemMessageId;
+import net.sf.l2j.gameserver.network.serverpackets.ActionFailed;
import net.sf.l2j.gameserver.network.serverpackets.ExAutoSoulShot;
import net.sf.l2j.gameserver.network.serverpackets.MagicSkillUser;
@@ -66,4 +67,11 @@
        if (weaponInst.getChargedSpiritshot() != L2ItemInstance.CHARGED_NONE) return;

+        if (activeChar.isParalyzed())
+        {
+        	activeChar.sendMessage("You Cannot Use Spirishots While You Are Paralyzed!");
+        	activeChar.sendPacket(new ActionFailed());
+        	return;
+        }
+        
        // Check for correct grade
        int weaponGrade = weaponItem.getCrystalType();
Index: /trunk/Eclipse-Game/java/net/sf/l2j/gameserver/handler/itemhandlers/BlessedSpiritShot.java
===================================================================
--- /trunk/Eclipse-Game/java/net/sf/l2j/gameserver/handler/itemhandlers/BlessedSpiritShot.java (revision 12)
+++ /trunk/Eclipse-Game/java/net/sf/l2j/gameserver/handler/itemhandlers/BlessedSpiritShot.java (revision 115)
@@ -24,4 +24,5 @@
import net.sf.l2j.gameserver.model.actor.instance.L2PlayableInstance;
import net.sf.l2j.gameserver.network.SystemMessageId;
+import net.sf.l2j.gameserver.network.serverpackets.ActionFailed;
import net.sf.l2j.gameserver.network.serverpackets.ExAutoSoulShot;
import net.sf.l2j.gameserver.network.serverpackets.MagicSkillUser;
@@ -60,4 +61,10 @@
			activeChar.sendPacket(sm);
			sm = null;
+        	return;
+        }
+        if (activeChar.isParalyzed())
+        {
+        	activeChar.sendMessage("You Cannot Use Blessed Spirishots While You Are Paralyzed!");
+        	activeChar.sendPacket(new ActionFailed());
        	return;
        }

 

Credits: ŚyśţęmƒяәдҚς

Link to comment
Share on other sites

Credits: ŚyśţęmƒяәдҚς

 

http://my-trac.assembla.com/L2J-HardCode/changeset/126

I see you love hardcode.

 

Somebody ban that leecher, lmao..

Link to comment
Share on other sites

thanx for leeching my code. and thanx for adding your credits instead of mine.

rly thanx!

 

( btw , dont forget to dekarma me for saying the truth huh. )

Link to comment
Share on other sites

Huh ? i haven't leach anything. I have made this code i don't care about others. Tell me is so hard to do it. And if you check it is not 100% The same

i mean the patch.. Jeezus ! NABS

Link to comment
Share on other sites

Huh ? i haven't leach anything. I have made this code i don't care about others. Tell me is so hard to do it. And if check it is not 100% The same

i mean the patch.. Jeezus ! NABS

 

Yes, you have added an almost useless return.

Don't try to lie, you've done it before.

And you did it with other codes too, me and intre gave the proofs.

 

But, oh god, what should we expect from a leecher.

Next time you'll try to leech, make sure that you won't leech anybody from here.

 

Goodbye.

Link to comment
Share on other sites

Yes, you have added an almost useless return.

Don't try to lie, you've done it before.

And you did it with other codes too, me and intre gave the proofs.

 

But, oh god, what should we expect from a leecher.

Next time you'll try to leech, make sure that you won't leech anybody from here.

 

Goodbye.

This patch is from my Private Project, and i made it. I Have not idea if Hardcode had it too.

Link to comment
Share on other sites

This patch is from my Private Project.

 

Well, what I see is Hardcode's codes, made in a diff file.

And hardcode was made before you start l2jint.

Link to comment
Share on other sites

Well, what I see is Hardcode's codes, made in a diff file.

And hardcode was made before you start l2jint.

This is not from L2JInt. This is from my private project, i am working with a team is named L2JEclipse as you see in the patch. !

 

EDIT: Find one leech i did, check my shares 10000 times. If you see one leech from other forums / project ( If i really leeched, not if i made it by myself and is already somewhere else ( i don't care )). If i did, i will leave MxC by myself and i will share my acc.

Link to comment
Share on other sites

This is not from L2JInt. This is from my private project, i am working with a team is named L2JEclipse as you see in the patch. !

 

I talked about int, since it was made before eclipse.. I suppose.

But still, HC is older.

 

Anyway, I won't stay here to discuss which project is older, I will just wait to see actions..

Link to comment
Share on other sites

I talked about int, since it was made before eclipse.. I suppose.

But still, HC is older.

 

Anyway, I won't stay here to discuss which project is older, I will just wait to see actions..

pfff i don't care about Intrepid, who he think he is. . and who you think he is.

Link to comment
Share on other sites

pfff i don't care about Intrepid, who he think he is. . and who you think he is.

 

he talk about l2jinterlude...your project not about me...learn to read fail

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share



  • Posts

    • Server Susscesfully started with over 1,000 Players Online.   Raid Zone some clans while others still farming     
    • Interlude (C6) PVP server with custom modifications. Server has high rates and 80 level. at start. In server shops you can get free A/S grade and farm with it for better custom gears. You don't need buy many potions, soul/spirit-shots, arrows and etc., because this items is not consumable.   Main Features Start Level: 80 lv. Max Level: 90 lv. Custom Items. All Interlude monsters with modified levels (80-95lv). All Interlude Zones. All Interlude Quests with modified rewards. GM Shop. Global Gatekeeper with all Interlude Zones. Raid Boss Gatekeeper with over ~200 Raid/Grand Bosses (All bosses levels modified 80-96). AIO/Scheme Buffer with all buffs with modified durations (1-2 hours). Free Sub-Class. Free Noblesse Olympiad from 86 Lv. Rebirth System. Skin System - Skin use as normal item (special inventory slots for skins) Auction House (Marketer) System. Auto Hunting system (2 hours per day) Mastery System. Changed Augment system (less mouse clicks) And much more...   Some screenshots of server features   Gatekeeper: Buffer: Auto Hunt: GM Shop: Auction House (Marketer): Mastery System: Raid Boss Gatekeeper: Rebirth System: Skin System: Drop List: Custom Enchant Rates: Augment Less Click System: Gold Weapons:   HTTPS://L2CUSTOM.COM/
    • wts phoenix knight 85 skills +15 full subs nobless.   - Vorpal Hvy 1800 two pieces +6 - Cutter 300 +4 - Vesper bow +3 -Zaken/QA from olys 15 days remaining - Shirt S +5 - Vip Account   Price: 40 EUR Discord: Origen#6090   Got also more stuff to sell at cheap price.
    • Skilled and trusted guy and very helpfull 100% i recommend him!! Good luck with your sales!  
    • Rofl welcome back to 2008
  • 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