TvT Exploit !!!

This is not a Support area! Discuss about the Server here. Non-Server related discussion goes in Off-Topic Discussion.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
User avatar
momo61
Posts: 1648
Joined: Fri Jun 06, 2008 2:05 pm
Location: Europe

TvT Exploit !!!

Post by momo61 »

if you join tvt with a class that can summon party members like a warcryer and he still has a pt he can summon people in tvt

if he sommons a bishop he can party heal everyone in the party and use mana potions etc. etc. even if it's not allowed in the configurations.
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: TvT Exploit !!!

Post by janiii »

try this:

Code: Select all

Index: data/scripts/handlers/skillhandlers/SummonFriend.java===================================================================--- data/scripts/handlers/skillhandlers/SummonFriend.java   (revision 6126)+++ data/scripts/handlers/skillhandlers/SummonFriend.java   (working copy)@@ -55,6 +55,12 @@            summonerChar.sendPacket(new SystemMessage(SystemMessageId.THIS_ITEM_IS_NOT_AVAILABLE_FOR_THE_OLYMPIAD_EVENT));            return false;        }+       +       if (TvTEvent.isStarted() && TvTEvent.isPlayerParticipant(summonerChar.getObjectId()))+       {+           summonerChar.sendPacket(SystemMessage.sendString("You cannot summon players when you are currently participating in TvT."));+           return false;+       }         if (summonerChar.inObserverMode())        {@@ -109,6 +115,12 @@            summonerChar.sendPacket(new SystemMessage(SystemMessageId.YOU_CANNOT_SUMMON_PLAYERS_WHO_ARE_IN_OLYMPIAD));            return false;        }+       +       if (TvTEvent.isStarted() && TvTEvent.isPlayerParticipant(targetChar.getObjectId()))+       {+           summonerChar.sendPacket(SystemMessage.sendString("You cannot summon players who are currently participating in TvT."));+           return false;+       }         if (targetChar.isFestivalParticipant() || targetChar.isFlyingMounted())        {
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
Post Reply