Page 1 of 1

TvT Exploit !!!

Posted: Mon May 25, 2009 9:25 am
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.

Re: TvT Exploit !!!

Posted: Mon May 25, 2009 9:51 am
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())        {