Moderator: MacroQuest Developers
Odd that incite is working, but the others aren't. PM me your conf file, I'll look at it.fatmike wrote:having a problem with my tank not taunting or kicking.
i set taunt and kick to 1 instead of 0, but still doesnt seem to like taunting and kicking.
does incite just fine, but its a hassle having to click back and forth to the tank just to smack the taunt button.
im running the latest version, not using adv pathing tho.
any suggestions?
I'd posted this in the the general dev forum a few weeks back. Try this:Stogar wrote:I was messing around with using different languages and I can't seem to get it to work with anything other than common.
I thought originally this is due to the "Soandso tells you, " vs "Soandso tells you, in Elvish, ".
Doesn't seem to be. I set language to Elvish then sent tell via the ;tell.servername command. That way it comes to the char as "Soandso tells you, ". That did not work either. I'm thinking now that the languages are each their own sub channel maybe.
No clue really at this point how to make it work using a specific language. I do it and use a no so common language in case i make a mistake, but I can see it being an issue on a server like FV or some of the PvP teams servers where languages are used.
Any ideas?
Code: Select all
VOID CheckChatForEvent(PCHAR szMsg)
{
if ((gMacroBlock) && (!gMacroPause) && (!gbUnload) && (!gZoning)/* && (!gDelayZoning)*/) {
CHAR Arg1[MAX_STRING] = {0};
CHAR Arg2[MAX_STRING] = {0};
CHAR Arg3[MAX_STRING] = {0};
if ((strstr(szMsg," tells the guild, '")) && (CHATEVENT(CHAT_GUILD))) {
strncpy(Arg1,szMsg,(DWORD)(strstr(szMsg," tells the guild, '")-szMsg));
strcpy(Arg2,strstr(szMsg," tells the guild, '")+19);
Arg2[strlen(Arg2)-1]=0;
AddEvent(EVENT_CHAT,"guild",Arg1,Arg2,NULL);
} else if ((strstr(szMsg," tells the group, '")) && (CHATEVENT(CHAT_GROUP))) {
strncpy(Arg1,szMsg,(DWORD)(strstr(szMsg," tells the group, '")-szMsg));
strcpy(Arg2,strstr(szMsg," tells the group, '")+19);
Arg2[strlen(Arg2)-1]=0;
AddEvent(EVENT_CHAT,"group",Arg1,Arg2,NULL);
} else if ((strstr(szMsg," tells you, '")) && (CHATEVENT(CHAT_TELL))) {
strncpy(Arg1,szMsg,(DWORD)(strstr(szMsg," tells you, '")-szMsg));
strcpy(Arg2,strstr(szMsg," tells you, '")+13);
Arg2[strlen(Arg2)-1]=0;
AddEvent(EVENT_CHAT,"tell",Arg1,Arg2,NULL);
} else if ((strstr(szMsg," says out of character, '")) && (CHATEVENT(CHAT_OOC))) {
strncpy(Arg1,szMsg,(DWORD)(strstr(szMsg," says out of character, '")-szMsg));
strcpy(Arg2,strstr(szMsg," says out of character, '")+25);
Arg2[strlen(Arg2)-1]=0;
AddEvent(EVENT_CHAT,"ooc",Arg1,Arg2,NULL);
} else if ((strstr(szMsg," shouts, '")) && (CHATEVENT(CHAT_SHOUT))) {
strncpy(Arg1,szMsg,(DWORD)(strstr(szMsg," shouts, '")-szMsg));
strcpy(Arg2,strstr(szMsg," shouts, '")+10);
Arg2[strlen(Arg2)-1]=0;
AddEvent(EVENT_CHAT,"shout",Arg1,Arg2,NULL);
} else if ((strstr(szMsg," auctions, '")) && (CHATEVENT(CHAT_AUC))) {
strncpy(Arg1,szMsg,(DWORD)(strstr(szMsg," auctions, '")-szMsg));
strcpy(Arg2,strstr(szMsg," auctions, '")+12);
Arg2[strlen(Arg2)-1]=0;
AddEvent(EVENT_CHAT,"auc",Arg1,Arg2,NULL);
} else if ((strstr(szMsg," says '")) && (CHATEVENT(CHAT_SAY))) {
strncpy(Arg1,szMsg,(DWORD)(strstr(szMsg," says '")-szMsg));
strcpy(Arg2,strstr(szMsg," says '")+7);
Arg2[strlen(Arg2)-1]=0;
AddEvent(EVENT_CHAT,"say",Arg1,Arg2,NULL);
} else if ((strstr(szMsg," says, '")) && (CHATEVENT(CHAT_SAY))) {
strncpy(Arg1,szMsg,(DWORD)(strstr(szMsg," says, '")-szMsg));
strcpy(Arg2,strstr(szMsg," says, '")+8);
Arg2[strlen(Arg2)-1]=0;
AddEvent(EVENT_CHAT,"say",Arg1,Arg2,NULL);
} else if ( (strstr(szMsg," tells ")) && (strstr(szMsg,":")) && (strstr(szMsg,", '")) && (CHATEVENT(CHAT_CHAT)) ) {
strncpy(Arg1,szMsg,(DWORD)(strstr(szMsg," tells ")-szMsg));
strcpy(Arg3,strstr(szMsg," tells ")+7);
Arg3[strlen(Arg3)-1]=0;
strcpy(Arg2,strstr(Arg3,", '")+3);
Arg3[strstr(Arg3,":")-Arg3]=0;
AddEvent(EVENT_CHAT,Arg3,Arg1,Arg2,NULL);
} else {
PEVENTLIST pEvent = pEventList;
while (pEvent) {
if (strstr(szMsg,pEvent->szMatch)) {
AddCustomEvent(pEvent,szMsg);
}
pEvent = pEvent->pNext;
}
}
}
}
Code: Select all
VOID CheckChatForEvent(PCHAR szMsg)
{
if ((gMacroBlock) && (!gMacroPause) && (!gbUnload) && (!gZoning)/* && (!gDelayZoning)*/) {
CHAR Arg1[MAX_STRING] = {0};
CHAR Arg2[MAX_STRING] = {0};
CHAR Arg3[MAX_STRING] = {0};
PCHAR szArg = szMsg;
if ((strstr(szMsg," tells the guild,")) && (CHATEVENT(CHAT_GUILD))) {
strncpy(Arg1,szMsg,(DWORD)(strstr(szMsg," tells the guild,")-szMsg));
while (szArg[0]!='\'') szArg++;
szArg++;
strncpy(Arg2,szArg,(DWORD)strlen(szArg)-1);
Arg2[strlen(Arg2)]=0;
AddEvent(EVENT_CHAT,"guild",Arg1,Arg2,NULL);
} else if ((strstr(szMsg," tells the group,")) && (CHATEVENT(CHAT_GROUP))) {
strncpy(Arg1,szMsg,(DWORD)(strstr(szMsg," tells the group,")-szMsg));
while (szArg[0]!='\'') szArg++;
szArg++;
strncpy(Arg2,szArg,(DWORD)strlen(szArg)-1);
Arg2[strlen(Arg2)]=0;
AddEvent(EVENT_CHAT,"group",Arg1,Arg2,NULL);
} else if ((strstr(szMsg," tells you,")) && (CHATEVENT(CHAT_TELL))) {
strncpy(Arg1,szMsg,(DWORD)(strstr(szMsg," tells you,")-szMsg));
while (szArg[0]!='\'') szArg++;
szArg++;
strncpy(Arg2,szArg,(DWORD)strlen(szArg)-1);
Arg2[strlen(Arg2)]=0;
AddEvent(EVENT_CHAT,"tell",Arg1,Arg2,NULL);
} else if ((strstr(szMsg," says out of character,")) && (CHATEVENT(CHAT_OOC))) {
strncpy(Arg1,szMsg,(DWORD)(strstr(szMsg," says out of character,")-szMsg));
while (szArg[0]!='\'') szArg++;
szArg++;
strncpy(Arg2,szArg,(DWORD)strlen(szArg)-1);
Arg2[strlen(Arg2)]=0;
AddEvent(EVENT_CHAT,"ooc",Arg1,Arg2,NULL);
} else if ((strstr(szMsg," shouts,")) && (CHATEVENT(CHAT_SHOUT))) {
strncpy(Arg1,szMsg,(DWORD)(strstr(szMsg," shouts,")-szMsg));
while (szArg[0]!='\'') szArg++;
szArg++;
strncpy(Arg2,szArg,(DWORD)strlen(szArg)-1);
Arg2[strlen(Arg2)]=0;
AddEvent(EVENT_CHAT,"shout",Arg1,Arg2,NULL);
} else if ((strstr(szMsg," auctions,")) && (CHATEVENT(CHAT_AUC))) {
strncpy(Arg1,szMsg,(DWORD)(strstr(szMsg," auctions,")-szMsg));
while (szArg[0]!='\'') szArg++;
szArg++;
strncpy(Arg2,szArg,(DWORD)strlen(szArg)-1);
Arg2[strlen(Arg2)]=0;
AddEvent(EVENT_CHAT,"auc",Arg1,Arg2,NULL);
} else if ((strstr(szMsg," says")) && (CHATEVENT(CHAT_SAY))) {
strncpy(Arg1,szMsg,(DWORD)(strstr(szMsg," says")-szMsg));
while (szArg[0]!='\'') szArg++;
szArg++;
strncpy(Arg2,szArg,(DWORD)strlen(szArg)-1);
Arg2[strlen(Arg2)]=0;
AddEvent(EVENT_CHAT,"say",Arg1,Arg2,NULL);
} else if ((strstr(szMsg," says,")) && (CHATEVENT(CHAT_SAY))) {
strncpy(Arg1,szMsg,(DWORD)(strstr(szMsg," says,")-szMsg));
while (szArg[0]!='\'') szArg++;
szArg++;
strncpy(Arg2,szArg,(DWORD)strlen(szArg)-1);
Arg2[strlen(Arg2)]=0;
AddEvent(EVENT_CHAT,"say",Arg1,Arg2,NULL);
} else if ((strstr(szMsg," tells ")) && (strstr(szMsg,":")) && (strstr(szMsg,", '")) && (CHATEVENT(CHAT_CHAT))) {
strncpy(Arg1,szMsg,(DWORD)(strstr(szMsg," tells ")-szMsg));
strcpy(Arg3,strstr(szMsg," tells ")+7);
Arg3[strlen(Arg3)-1]=0;
while (szArg[0]!='\'') szArg++;
szArg++;
strncpy(Arg2,szArg,(DWORD)strlen(szArg)-1);
Arg2[strlen(Arg2)]=0;
Arg3[strstr(Arg3,":")-Arg3]=0;
AddEvent(EVENT_CHAT,Arg3,Arg1,Arg2,NULL);
} else {
PEVENTLIST pEvent = pEventList;
while (pEvent) {
if (strstr(szMsg,pEvent->szMatch)) {
AddCustomEvent(pEvent,szMsg);
}
pEvent = pEvent->pNext;
}
}
}
}


Look at either the command watchtarget or set variables in your .inimacropayne wrote:Hi Few questions....I got bot workin. He watches my health and everything. Is there a way to set another heal watch....for like maybe monks/hybrids?
Just telling him to attack will cause him to run to the target and attack unless you have him setup for archery. When done, he'll run back if you've setup an anchor.macropayne wrote: also another question.....Is there a way to get bot to auto attack when I tell him to assist me? he will assist me and turn attack on....but I have to move him to mob for him to do anything.
Check our the buff and groupbuff commands; settings are in the .ini for what spells to castmacropayne wrote: Also for some reason I try to get him to buff me with temperance....but it doesnt work if i add it in first line only...I have to add it to all.
Both of these sound like either autoheal isn't on, you have the values in the .ini set too low, etc. Need more info on that one.macropayne wrote:Also anyone can add anything so I can autofollow/watch Master health and heal him without asking for heals.
and why the hell are patch heals so late?