Moderator: MacroQuest Developers

But it will also use MQ2Posse, MQ2Notepad, MQ2IRC/MQ2EQBC, and possibly a few others I am not recalling off hand.Requires plugins* MQ2Cast, MQ2Exchange, MQ2Melee, MQ2MoveUtils, MQ2Rez, & MQ2Twist (Bards) , Extended Target Window and ninjadvloot.inc file.
* All plugins and files are included in the official RedGuides MQ2 Compile.
donations for this month's patches.I assume you mean, make MQ2 work with out KA?Zincfling wrote: ps: is there a way to make it work that doesnt use kissassist? if it's exclusive to another release that requires payment, i guess its better i dont use it anyways.



Code: Select all
bool SpellFind(PCHAR szSpellorAltorItemName, PCHAR szTYPE) {
DWORD n = 0;
if (szSpellorAltorItemName[0]) {
// is it an alt ability?
if (!szTYPE[0] || !_strnicmp(szTYPE, "alt", 3)) {
if (PALTABILITY Search = AltAbility(szSpellorAltorItemName)) {
if (PSPELL spell = GetSpellByID(Search->SpellID)) {
fFIND = spell;
fINFO = Search;
fTIME = fFIND->CastTime;
fNAME = (PCHAR)fFIND->Name;
fTYPE = TYPE_ALT;
return true;
}
}
}
// nope was'nt an altability, so is it a spell?
if (!szTYPE[0] || !_strnicmp(szTYPE, "gem", 3) || IsNumber(szTYPE)) {
if (PSPELL Search = SpellBook(szSpellorAltorItemName)) {
fFIND = Search;
fINFO = Search;
fTIME = pCharData1->GetAACastingTimeModifier((EQ_Spell*)fFIND) +
pCharData1->GetFocusCastingTimeModifier((EQ_Spell*)fFIND, (EQ_Equipment**)&n, 0) +
fFIND->CastTime;
fNAME = (PCHAR)fFIND->Name;
fTYPE = TYPE_SPELL;
return true;
}
}
// ok... ehm, not a spell, is it a clicky then?
if (ItemSearch(szSpellorAltorItemName, 0, NUM_INV_SLOTS)) {
//if(GetItemFromContents(fITEM)->Clicky.SpellID) {
if (GetSpellByID(GetItemFromContents(fITEM)->Clicky.SpellID)) {
fFIND = GetSpellByID(GetItemFromContents(fITEM)->Clicky.SpellID);
fINFO = fITEM;
fTIME = GetItemFromContents(fITEM)->Clicky.CastTime;
fNAME = (PCHAR)GetItemFromContents(fITEM)->Name;
fTYPE = TYPE_ITEM;
return true;
}
}
}
fFIND = NULL;
fINFO = NULL;
fTYPE = 0;
return false;
}