From 7da17880bbf3260c58f8a3df086680c99e93a944 Mon Sep 17 00:00:00 2001 From: Neon Date: Sun, 17 Nov 2024 04:36:18 +0100 Subject: [PATCH] Logging for AT animation times (addition to 749d5ba) Apparently there are more cases where Aethertechs suddenly decide to send a zero hit time for non-instant skills. --- .../src/com/aionemu/gameserver/skillengine/model/Skill.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/game-server/src/com/aionemu/gameserver/skillengine/model/Skill.java b/game-server/src/com/aionemu/gameserver/skillengine/model/Skill.java index 7e75e518b..4ff12acc9 100644 --- a/game-server/src/com/aionemu/gameserver/skillengine/model/Skill.java +++ b/game-server/src/com/aionemu/gameserver/skillengine/model/Skill.java @@ -449,6 +449,8 @@ private List collectUncertaintyFactorsForHitTime(Player player, int tole uncertainties.add("cast speed"); if (skillTemplate.getAmmoSpeed() != 0) uncertainties.add("movement (calculated tolerance: " + toleranceMillis + " ms)"); + if (clientHitTime == 0 && player.isInRobotMode()) // TODO remove once isSuspiciousClientHitTime() identifies all false positives + uncertainties.add("Aethertech being weird 🤷‍♂️ (previous skill: " + player.getLastSkill().getSkillId() + ")"); return uncertainties; }