Thanks lerxst2112, I was hoping it was something like that and not something I missed or did wrong in my setup. Sounds like it is more complicated then I had first thought.
I don't know c++ but I was able to find reference to ignore_primary_assist in the server solution in file shareddb.cpp at the SharedDatabase::DBLoadNPCFactionLists part. Looks like it is pulling in faction lists from the db and checking to see if the flag is any non zero to know if the mob should assist.
//if we have ignore_primary_assist set to non-zero then we will not assist our own faction
//else we will assist (this is the default)
tmpnfl.assistprimaryfaction = (atoi(row[2]) == 0) ? true : false;
if (!EMuShareMemDLL.NPCFactionList.cbAddNPCFactionLis t(tmpnfl.id, &tmpnfl)) {
mysql_free_result(result);
cout << "Error: SharedDatabase::DBLoadNPCFactionLists: !EMuShareMemDLL.NPCFactionList.cbAddNPCFactionList " << endl;
return false; ...
Then the file aggro.cpp looks like it may be involved, pretty complicated stuff and past my skill level. So at this point searching the code for other factors involved is beyond my comprehension but the search was interesting nevertheless. Thanks again for your response.
|