What's new
  • Visit Rebornbuddy
  • Visit Resources
  • Visit API Documentation
  • Visit Downloads
  • Visit Portal
  • Visit Panda Profiles
  • Visit LLamamMagic

There should be monster blacklisting

MonsterMMORPG

Member
Joined
Aug 22, 2012
Messages
463
Reaction score
1
There should be monster blacklisting. With that way many stuckings would be solved.

Blacklist a monster until that monster hits you

pretty simple
 
Open giles monster priority changer (or combatreplacer) and change the aggro distance to 1. Pretty much accomplishes the same thing, and you'll still aggro elites.
 
Open giles monster priority changer (or combatreplacer) and change the aggro distance to 1. Pretty much accomplishes the same thing, and you'll still aggro elites.

can you tell me line number at giles combat replacer

or are you meaning attacking distance - trigger range

if you are meaning attacking distance not rare mobs, well this is not a solution

i want to attack non elite mobs as well
 
Last edited:
Lets quote YOUR POST.

"Blacklist a monster until that monster hits you" "With that way many stuckings would be solved."

Logically, this implies you are getting stuck because you are trying to attack monsters that are unreachable.
If you lower the trigger distance, you will no longer try to attack anything that isn't near you.
You will still attack things close to you.
You will kill more mobs this way than you would if you magically blacklisted anything that hasn't hit you yet.
 
Lets quote YOUR POST.

"Blacklist a monster until that monster hits you" "With that way many stuckings would be solved."

Logically, this implies you are getting stuck because you are trying to attack monsters that are unreachable.
If you lower the trigger distance, you will no longer try to attack anything that isn't near you.
You will still attack things close to you.
You will kill more mobs this way than you would if you magically blacklisted anything that hasn't hit you yet.

+!

Yep, I reckon that's the best option until someone comes up with a plugin or the main program itself has what MonsterMMORPG actually wants.

I know there is a way to blacklist mobs/NPCs etc, but not sure what would happen if said mobs then attacked the char. I expect the char will then go into combat mode, but I cannot swear to that.

PHP:
<TargetBlacklists>
   <TargetBlacklist actorId="11231" name="Some display name, not used" />
</TargetBlacklists>

This balcklists a mob based on their ActorID.

For all non elites, someone would have the get the Actor IDs of all the lesser mobs, and create the above code for each type of mob.

Just need to know that your char will fight if one of these blacklisted mobs attacks it ? I guess, yes :)
 
Last edited:
i want to blacklist only unreachable mobs. so char tries to attack a mob. after 10 seconds of not reaching blacklist that mob until that mob hits you.
 
i want to blacklist only unreachable mobs. so char tries to attack a mob. after 10 seconds of not reaching blacklist that mob until that mob hits you.

Ah, I see, yes that would be extremely useful. It would definitely help me with my profile creation of the Weeping Hollow. Nightmare that is coming from the Cemetery (I am aware of how to get the entrance from New Tristram to work).

There's definitely no way to do that with anything we have at the moment, but it might be possible to create a plugin to do what's required. One for the plugin developers, perhaps :)
 
Last edited:
Ah, I see, yes that would be extremely useful. It would definitely help me with my profile creation of the Weeping Hollow. Nightmare that is coming from the Cemetery (I am aware of how to get the entrance from New Tristram to work).

There's definitely no way to do that with anything we have at the moment, but it might be possible to create a plugin to do what's required. One for the plugin developers, perhaps :)

yes would be totally useful plugin or feature
 
i want to blacklist only unreachable mobs. so char tries to attack a mob. after 10 seconds of not reaching blacklist that mob until that mob hits you.

I believe that is already incorporated into Giles Combat Replacer (although at a much higher time limit)

Code:
// Anti stuck measures to try to determine attacking the same monster for too long
            if (DateTime.Now.Subtract(dateSinceBlacklistClear).TotalSeconds > 180)
            {
                dateSinceBlacklistClear = DateTime.Now;
                listTemporarySNOIgnoreBlacklist = new List<int> { };
            }
            // Been trying to fight the same target for more than 60 seconds without damaging it? Blacklist it!
            if (DateTime.Now.Subtract(dateSincePickedTarget).TotalSeconds > 30 && unitCurrentTarget.diaThisUnit != null)
            {
                if (unitCurrentTarget.diaThisUnit.BaseAddress != IntPtr.Zero)
                {
                    if (unitCurrentTarget.diaThisUnit.HitpointsCurrentPct >= 0.9 || iTargetLoopsSameHealth > 50)
                    {
                        Logging.Write("[GilesCombatReplacer] Stuck targeting the same monster for >30 seconds without damaging, blacklisting!");
                        listTemporarySNOIgnoreBlacklist.Add(unitCurrentTarget.iThisActorSNO);
                        bNeedNewTarget = true;
                    }
                }
            }

That starts at line #470, you could possibly lower the time requirement from 60 seconds down to a lower amount.

EDIT: Looks like in this code Giles has already dropped it down to 30 seconds even though his comments say 60 seconds
 
Holy cowpats!

That does look like it does what is required. I'm gonna take a closer look.

Nice find, matey :)

Hmm, it might not take into account the char not being able to get to the mob, as in trapped behind an obstacle such as the gaps in the ground found in the Weeping Hollow. I'll check it out now.

----------------------
EDIT: yep, as long as the mob the char is trying to get to is actually targeted, and that target does not change, then that code will do as required. Excellent find... brilliant... now I can finish my Weeping Hollow profile :)
 
Last edited:
Back
Top