• You've discovered RedGuides 📕 an EverQuest multi-boxing community 🛡️🧙🗡️. We want you to play several EQ characters at once, come join us and say hello! 👋
  • IS THIS SITE UGLY? Change the look. To dismiss this notice, click the X --->

Question - Has target info been fixed with dannet commands defaulted yet? (1 Viewer)

Relevant code block, looks like it already checks which plugin you have loaded before sending out the afollow command.

C++:
case TIMC_FollowMe://follow me
{
    PSPAWNINFO pSpawn = GetSpawnFromRightClickIndex();
    if (pSpawn)
    {
        if (FollowMeMap.find(rightclickindex) != FollowMeMap.end())
        {
            if (FollowMeMap[rightclickindex] == true)
            {
                if (GetModuleHandle("mq2dannet"))
                    DoCommandf("/dex %s /afollow off", pSpawn->Name);
                else if (GetModuleHandle("mq2eqbc"))
                    DoCommandf("/bct %s //afollow off", pSpawn->Name);
                FollowMeMap[rightclickindex] = false;
            }
            else
            {
                if (GetModuleHandle("mq2dannet"))
                    DoCommandf("/dex %s /afollow spawn %d", pSpawn->Name, ((PSPAWNINFO)pLocalPlayer)->SpawnID);
                else if (GetModuleHandle("mq2eqbc"))
                    DoCommandf("/bct %s //afollow spawn %d", pSpawn->Name, ((PSPAWNINFO)pLocalPlayer)->SpawnID);
                FollowMeMap[rightclickindex] = true;
            }
        }
        else
        {
            if (GetModuleHandle("mq2dannet"))
                DoCommandf("/dex %s /afollow spawn %d", pSpawn->Name, ((PSPAWNINFO)pLocalPlayer)->SpawnID);
            else if (GetModuleHandle("mq2eqbc"))
                DoCommandf("/bct %s //afollow spawn %d", pSpawn->Name, ((PSPAWNINFO)pLocalPlayer)->SpawnID);
            FollowMeMap[rightclickindex] = true;
        }
    }
    return 1;
}
 
Question - Has target info been fixed with dannet commands defaulted yet?

Users who are viewing this thread

Back
Top