Petrification in Oly

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
User avatar
Flashy
Posts: 310
Joined: Mon Sep 29, 2008 11:49 am
Location: Germany

Petrification in Oly

Post by Flashy »

If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number: 4422
L2JDP Revision Number:7669

when you use for ex. dance of medusa you got no damage right?
But player who is attacking got a damaged displayed and the defender got message damage block ...

Problem for example in Oly.. if a player got debuff medusa he got no damage, but the damage is count to the attacker so the attacker is winning, due the defender "normal" made more damage, because damage to player with medusa should't count...

I hope you anderstand this... xD

(changed titel)
Last edited by Flashy on Fri Nov 19, 2010 2:41 pm, edited 3 times in total.
hope
Posts: 1160
Joined: Thu Aug 30, 2007 5:17 pm

Re: Turn to stone / Medusa Prob

Post by hope »

If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:
L2JDP Revision Number:
User avatar
Flashy
Posts: 310
Joined: Mon Sep 29, 2008 11:49 am
Location: Germany

Re: Turn to stone / Medusa Prob

Post by Flashy »

Could I add this here, then the damage will not count in Oly, if player is invul, like Petrification (hold2)?

Code: Select all

 Index: L2PcInstance.java===================================================================--- L2PcInstance.java   (revision 4422)+++ L2PcInstance.java   (working copy)@@ -13472,7 +13472,8 @@         if (isInOlympiadMode() &&                 target instanceof L2PcInstance &&                 ((L2PcInstance)target).isInOlympiadMode() &&-                ((L2PcInstance)target).getOlympiadGameId() == getOlympiadGameId())+                ((L2PcInstance)target).getOlympiadGameId() == getOlympiadGameId() &&+                !((L2PcInstance)target).isInvul())         {             Olympiad.getInstance().notifyCompetitorDamage(this, damage, getOlympiadGameId());         } 
Last edited by Flashy on Fri Nov 19, 2010 2:41 pm, edited 1 time in total.
User avatar
SolidSnake
Posts: 865
Joined: Wed Jan 20, 2010 6:54 pm
Location: Italy

Re: Perification in Oly

Post by SolidSnake »

Nice, with that fix probably you solved the PETRIFICATION (dance of medusa and turn to stone) and INVINCIBLE errors at the Olympiad Games :wink:

Damage isn't showed to the attacker and isn't sent to the Olympiad system
Image
User avatar
Naonah
Posts: 357
Joined: Sun Apr 04, 2010 11:12 pm

Re: Perification in Oly

Post by Naonah »

Flashy wrote:if a player got debuff medusa he got no damage, but the damage is count to the attacker so the attacker is winning
hmm, i didnt know this :D Thx for share :D

I noticed that ppl stop to attack if an opponent uses "Turn to Stone", "Barrier" etc. but it was a mistake :D so dont stop attacking :)
public void l2jserver ()
{
if (you want l2j server == no problems)
use Linux;
else
use Windows;
}
Post Reply