azerothcore-wotlk
azerothcore-wotlk copied to clipboard
ICC Saurfang combat start dialog with Muradin Bronzebeard are broken
Current Behaviour
ICC Saurfang combat start dialog Muradin Bronzebeard are broken
Expected Blizzlike Behaviour
ICC Saurfang combat start dialog Muradin Bronzebeard is ok
Source
No response
Steps to reproduce the problem
Go ICC Start batle with Saurfang
Extra Notes
No response
AC rev. hash/commit
https://github.com/azerothcore/azerothcore-wotlk/commit/bfe290477ce4c4787555671021a1a280daf00be7
Operating system
Debian 10
Custom changes or Modules
No response
Another thing is - the ending of the fight is broken too.
After he dies, the Big Saurfang has to show up and take his son's body. Unfortunately, this script is absent, for both factions.
Not sure if i'm supposed to make a new topic about this or just say it here
@Azcobu it's "Content 80", not 60 ))))
It's auto. Don't understand. I labled it 80.
If I make this query
UPDATE `creature` SET `id1`=37200 WHERE `guid`=200982;
The dialogue in the alliance is perfect. Although I will surely fail in the horde.
I'm not saying that should be the answer.
But it's funny, how when you make that change, it "fixes itself"
I think the problem is in the Creature::UpdateEntry
.
But I have already tried several times to find the solution and I have not been able to.
Another change I made was this.
uint32 Creature::GetScriptId() const
{
if (CreatureData const* creatureData = GetCreatureData())
if (uint32 scriptId = creatureData->ScriptId)
return scriptId;
return sObjectMgr->GetCreatureTemplate(GetEntry())->ScriptID;
}
For this
uint32 Creature::GetScriptId() const
{
return sObjectMgr->GetCreatureTemplate(GetEntry())->ScriptID;
}
In this way, I have managed to ensure that the gossip is read properly.
https://github.com/azerothcore/azerothcore-wotlk/assets/2810187/e142c465-bec4-4516-9416-2b248b523721
I really don't know what else to try. On top of that I have a core from a few years ago, and this mechanic works well. I'm sure it has something to do with when the 3 ids were added to the creature table. But I have no way to reproduce the problem. I've already given up hope of being able to really track down the problem.