am i correct in understanding that you are
not getting the message that you can't see your target when you cast harmony, but it just isn't completing the casting of the spell? if that's the case and other spells that require line of sight
are providing that message, but harmony is not, then the issue isn't with the line of sight check, it's somewhere else in your code.
what file (and class/function) is what you are posting in? i'm not seeing any source files with that comment from solar, nor am i finding any with the bard check.
as for logging, you'd want to add lines that would write messages to the log file(s) like this one:
Code:
mlog(SPELLS__CASTING, "Spell %d: cannot see target %s", spell_target->GetName());
and then you'd have to enable logging for that particular category, as explained here
http://www.eqemulator.net/wiki/wikka...a=ServerLogSys
that'll help you track down any problems you have when working with the source code not doing what you are expecting.