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.


  • Posts

    • totally agree, the problem started with professionals who made easy to open a server, specially interlude has been abused unstoppably since you can open a server with few clicks now days making fewer players for many servers, while back in time when "compile" was a secret and opening a server was going max players but true things are changing and this has become a job but dont lie everyone knows what is going on, lying is showing desperation, better go and work. i've worked with lots of people with kids that invest huge amounts of money into this and fail while they needed the money its an addiction.
    • well,we all know that everyone is doing it for money. And it's acceptable since you put much more effort than the usual admins. If you're proffesional on l2 servers,i don't find a reason to not see it as a job. Ofc it's job,but all jobs has their own prides. I'll talk about me,i'm a guy that working 10 +/- hours per day. I have 2-3 free hours on my daily activity and sometimes i enjoy playing Lineage because nostalgia hits me everyday. If you are many years on scene,u'll understand that lineage will never be the same like old days. Days that we was gathering at internet cafes,and the battle was daily. Anyway, some people perfer to pay big clans and provide them black market with special prices and benefits that a casual player wont have. Also big clans means big wars,so server will have population even if you have zero quality. And there is some projects that wont pay those d1ckheads,so they wont join them and project need to find other ways to increase the population. So,i'm a player that i'll donate 20-40-50 euros on every server i play,and usually i'm getting "scammed" since they re-open their server every 2 months. And the problem is that,i personally don't mind to donate few money every 2 months for my joy,but the majority of owners has zero knowledge about L2 gaming. That's why they can't fix a sh1t,and when the problems pile up,they slowly close the server and starting advertising for another one. Actually,on high rate scene mostly,is the same guy that doing it everytime. He opens his project for 1-2 months,he close it and before he shut down the server,he has already started the advertising on his next server with different name. It's just crazy and that part shouldn't be acceptable. So yes,i perfer to support a project with honest admin team,and somewhere they have the knowledge to implent things. Business is business,but at least as community,we should enjoy our game that we love, cheers. 
    • thanks for sharing !! any guide to install this? it would be great!!
  • Topics

×
×
  • Create New...