Code: Select all
> EQ2World.exe!SpellProcess::ProcessSpell(ZoneServer * zone, Spell * spell, Entity * caster, Spawn * target, bool harvest_spell, Client * client) Line 853 + 0xb bytes C++
EQ2World.exe!ZoneServer::ProcessSpell(Spell * spell, Entity * caster, Spawn * target, bool lock, bool harvest_spell) Line 4713 C++
EQ2World.exe!Commands::Process(unsigned int index, EQ2_16BitString * command_parms, Client * client) Line 1117 C++
EQ2World.exe!Client::HandlePacket(EQApplicationPacket * app) Line 1457 C++
EQ2World.exe!ZoneServer::ClientProcess() Line 2616 + 0x2a bytes C++
EQ2World.exe!ZoneServer::Process() Line 1206 C++
EQ2World.exe!ZoneLoop(void * tmp) Line 5590 + 0xa bytes C++
EQ2World.exe!_callthreadstart() Line 293 + 0x6 bytes C
EQ2World.exe!_threadstart(void * ptd) Line 275 + 0x5 bytes C
kernel32.dll!77e6481f()
[Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll]
Code: Select all
if (spell->GetSpellData()->mastery_skill != tradeskill->recipe->GetTechnique())
{
// send a message to the client, used chat_relationship to match other tradeskill messages, not sure if it is accurate though
==> here client->Message(CHANNEL_COLOR_CHAT_RELATIONSHIP, "You are not using %s on this recipe.", master_skill_list.GetSkill(spell->GetSpellData()->mastery_skill)->name.data.c_str());
// Write a spell debug message on why we couldn't cast
LogWrite(SPELL__DEBUG, 1, "Spell", "%s could not cast tradeskill spell (%s), skills did not match. spell mastery skill = %lu, tradeskill technique = %lu", caster->GetName(), spell->GetName(), spell->GetSpellData()->mastery_skill, tradeskill->recipe->GetTechnique());