[DiscordArchive] Do u know his user name perhaps?
[DiscordArchive] Do u know his user name perhaps?
Archived author: Emphy • Posted: 2023-07-03T13:52:52.798000+00:00
Original source
Ok i found it
Archived author: Emphy • Posted: 2023-07-03T13:53:07.033000+00:00
Original source
so basically, what you're looking for is nested in the 'conditiontypeorreference' field
Archived author: Emphy • Posted: 2023-07-03T13:53:25.762000+00:00
Original source
if the value is '15' it means you're setting a class-based condition
Archived author: Emphy • Posted: 2023-07-03T13:54:08.716000+00:00
Original source
and it is my suspicion, though the documentation doesn't directly suggest this, that conditionvalue 64 means 'playerclass = shaman' and conditionvalue 1471 means 'playerclass = anything but shaman'
Archived author: Lucian Tudorache • Posted: 2023-07-03T13:55:22.231000+00:00
Original source
Yes, and I did that, as stated above, tried to backtrack an already existing Shaman Trainer, the difference is if I spawn that shaman trainer I'm trying to replicate and right-click him as an Warrior, I'm not getting the wrong gossip error in the Core
Archived author: Lucian Tudorache • Posted: 2023-07-03T13:56:34.778000+00:00
Original source
64 is class mask, adding all others - 64 suggests anything but shaman
Archived author: Emphy • Posted: 2023-07-03T13:59:45.955000+00:00
Original source
alright man, that's the end of the rope for me. we gotta wait for someone smarter to come along i guess
Archived author: Lucian Tudorache • Posted: 2023-07-03T14:00:26.055000+00:00
Original source
Thanks a lot for the helping hand! Appreciated!
Archived author: Lucian Tudorache • Posted: 2023-07-03T14:06:16.974000+00:00
Original source
case GOSSIP_OPTION_TRAINER:
{
Trainer::Trainer const* trainer = sObjectMgr->GetTrainer(creature->GetEntry());
if (!trainer || !trainer->IsTrainerValidForPlayer(this))
{
TC_LOG_ERROR("sql.sql", "GOSSIP_OPTION_TRAINER:: Player %s %s requested wrong gossip menu: %u at Creature: %s (Entry: %u)",
GetName().c_str(), GetGUID().ToString().c_str(), menu->GetGossipMenu().GetMenuId(), creature->GetName().c_str(), creature->GetEntry());
canTalk = false;
}
[[fallthrough]];
}
Archived author: Lucian Tudorache • Posted: 2023-07-03T14:06:46.521000+00:00
Original source
Looks like that's the check inside the core which trigger the error, still not quite sure which condition is not met