slashzero

Results 11 comments of slashzero

I think the error is in the Player.cpp at CastItemUseSpell The triggerdatas are the problem

Well, unfortunately not quite yet. I have managed to get the spells to be displayed for all other players, but the items are no longer scored. This means that if...

Well, at least I think so. I looked it up on TrinityCore. From there I got the ServerCastId and ClientCastId. This can be found in the Player.cpp under void Player::CastItemUseSpell...

That would of course be super nice of you :-)

I currently feel the same way :-) I'll have another look when I've finished with the garrisons. But maybe you or someone else has an idea for a solution :-)...

@dufernst Do you have any idea where the problem could be?

And what do you think is the error there?

I've already tried that too. I have changed everything there to “TrinityCore-Like”. No success. ![grafik](https://github.com/dufernst/LegionCore-7.3.5/assets/108064015/013365da-7f2e-4679-bac2-b0bc73b86c6e)

**Update:** It has something to do with the m_SpellVisual in the Spell.cpp. The following code is stored there under Spell::prepare: if (!m_SpellVisual) m_SpellVisual = m_spellInfo->GetSpellXSpellVisualId(m_caster, m_targets.GetUnitTarget() ? m_targets.GetUnitTarget() : m_caster);...

@ReyDonovan You don't happen to know how TC fixed it? Unfortunately I can't find the commit of the fix -.-