Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sindragosa's Ice Tomb remains on player and won't take damage after relogging back #25718

Open
ckegg opened this issue Dec 14, 2020 · 8 comments

Comments

@ckegg
Copy link

ckegg commented Dec 14, 2020

Description:
Sindragosa in Icecrown Citadel, once it casts Ice Tomb on a player, logout or disconnect the player and let the team wipe to stop the engagement, log the player back and Ice Tomb stays on player. At this point, player will not affect any damage from Sindragosa and this player can heal other players.

Expected behaviour:
Ice Tomb aura gets clear out from player when logged off/disconnected

Steps to reproduce the problem:

  1. .go creature id 36612
  2. Set instance boss state DONE from 0 all the way to 10: .instance setbossstate 0 3 to .instance setbossstate 10 3
  3. Use teleport and go to Sindragosas' lair
  4. Kill creeps and both Spinestalker and Rimefang to bring down Sindragosa
  5. Bring in a second character
  6. .cheat god on both character
  7. Engage Sindragosa and wait until it takes off and ice Tomb on one of the char
  8. Logout out or disconnect the one get Ice Tomb
  9. Wipe the group to clear the engagement, or .die yourself
  10. Log back the disconnected char, Ice Tomb remains on the player (while logging back in, .cheat god is no longer applied)
  11. Use the character that has no Ice Tomb to engage Sindragosa, the character with Ice Tomb will not take any damage from Sindragosa. As long as this char is not attacking Sindragosa, it can assist other players such as healing

Video explains better: https://mega.nz/file/8WAkhb5D#LQ8P7spfwswx3YZv2EOA2uYNqKRrgiBmBcolQ7osWOM
Jump to 0:55 if you can't wait the video

Branch(es):
3.3.5

TC rev. hash/commit:
commit# cc98f68

Operating system:
debian 10.4

@ckegg ckegg changed the title [exploit] Sindragosa's Ice Bomb remains on player and won't take damage after relogging back Sindragosa's Ice Bomb remains on player and won't take damage after relogging back Dec 14, 2020
@ckegg ckegg changed the title Sindragosa's Ice Bomb remains on player and won't take damage after relogging back Sindragosa's Ice Tomb remains on player and won't take damage after relogging back Dec 14, 2020
@ckegg
Copy link
Author

ckegg commented Dec 20, 2020

Just want to add that once players have Ice Tomb stays on them, they don't get hurt from now on, meaning that you can go Lich King, or any other bosses without getting damage.

@ghost
Copy link

ghost commented Dec 20, 2020

Sounds like an unexpected exploit to me, if the ice tomb stays with you forever as a permanent "bubble".

@Rushor
Copy link
Contributor

Rushor commented Dec 21, 2020

Seems like a linked aura is not removed correctly. Will check tomorrow

@Rushor
Copy link
Contributor

Rushor commented Dec 22, 2020

this is the aura SPELL_ICE_TOMB_UNTARGETABLE

@Rushor
Copy link
Contributor

Rushor commented Dec 22, 2020

possible fix:

diff --git a/src/server/game/Spells/Auras/SpellAuras.cpp b/src/server/game/Spells/Auras/SpellAuras.cpp
index fc1147c5e5..ac8c05fd7f 100644
--- a/src/server/game/Spells/Auras/SpellAuras.cpp
+++ b/src/server/game/Spells/Auras/SpellAuras.cpp
@@ -1165,6 +1165,7 @@ bool Aura::CanBeSaved() const
         case 37025: // Water, Coilfang Raid
         case 36444: // Water, Lake Wintergrasp
         case 28801: // Slime, Naxxramas
+        case 69700: // Ice Tomb
             return false;
     }
 

@ghost
Copy link

ghost commented Dec 22, 2020

Looks interesting. Waiting for feedback from the TC coders on that suggestion.

@ccrs
Copy link
Member

ccrs commented Dec 23, 2020

@Keader since you have proficiency on this, could you debug the aura removal on player logout?

@Jildor
Copy link
Contributor

Jildor commented Dec 24, 2020

This happens after this commit: 54e8418
after that, all area auras with caster != owner can't be saved.

ID - 70157 Ice Tomb
=================================================
Effect 0: Id 2 (SPELL_EFFECT_SCHOOL_DAMAGE)
BasePoints = 15600 to 16401
Targets (53, 16) (TARGET_DEST_TARGET_ENEMY, TARGET_UNIT_DEST_AREA_ENEMY)
Radius (Id 13) 10,00

Effect 1: Id 6 (SPELL_EFFECT_APPLY_AURA)
BasePoints = 0
Targets (53, 16) (TARGET_DEST_TARGET_ENEMY, TARGET_UNIT_DEST_AREA_ENEMY)
Aura Id 12 (SPELL_AURA_MOD_STUN), value = 0, misc = 0 (0), miscB = 0, periodic = 0
Radius (Id 13) 10,00

Effect 2: Id 6 (SPELL_EFFECT_APPLY_AURA)
BasePoints = 0
Targets (53, 16) (TARGET_DEST_TARGET_ENEMY, TARGET_UNIT_DEST_AREA_ENEMY)
Aura Id 23 (SPELL_AURA_PERIODIC_TRIGGER_SPELL), value = 0, misc = 0 (0), miscB = 0, periodic = 1000
Radius (Id 13) 10,00

spell 70157 (spell_sindragosa_ice_tomb_trap) has aura area target, so when player logout, loses aura, I think player should keep aura when logout, so when player login again, would keep 70157 (stun and resummon ice tomb npc) and 69700 (ice tomb unattackable effect)

Also that commit causes problems with raid buffs, by example if you buff raid and/or pets, when you logout player or by example you have a pet and you mount and dismount, pet or logout player loses raid buffs because can't be saved.

in my opinion that @ariel- commit is wrong, I don't know if this area aura check should be needed for avoid crashes or can be removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants