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

[Plugin] Giles Monster Priority Changer

v1.5.5 uploaded:
-- Fixed slowdowns a number of users had with the new caching system with a new "sticky-target" system when providing cached data.
-- Now even faster than before (including for the above mentioned users!).
-- No longer tries to target poison trees, withermoths etc. that have not yet sprung from the ground (and so are not yet attackable).
-- More monsters added to blacklist and priority lists, to make combat a bit smoother throughout all acts.
-- Changed target weighting & selection system, to make it easier to really customize/tweak things in future (and help speed it up a little).
QFT.

Ran this for a couple of hours during testphase and it definitely has improved the combat. Now, if I can only get this stupid bot to move when it hits the center of the arcane sentry that'd be great. Kinda noticed that's where most deaths are coming from.

The belphegor avoidance system doesn't seem to be optimized? Oh well... great job here Giles! You should be a part of the Buddy team! ;)
 
Giles,
Definitely a noticeable speed-up with my monk using thunderclap and barbarian using frenzy with v. 1.5.5. Thanks so much for all of your efforts and timely updates! Your contributions to this community have been invaluable.
Ran this for a couple of hours during testphase and it definitely has improved the combat. Now, if I can only get this stupid bot to move when it hits the center of the arcane sentry that'd be great. Kinda noticed that's where most deaths are coming from.
The belphegor avoidance system doesn't seem to be optimized? Oh well... great job here Giles! You should be a part of the Buddy team! ;)

Very glad I managed to sort the slowdowns out for people and get it all super-slick & speedy for everyone! :D Biggest improvement for me though was ignoring the bloody poison trees ("wood wraiths") and then withermoths in act 1, that the bot used to get stuck trying to attack but was too far away from them to trigger their "spawn" so they stayed hidden/underground and your bot just stood there. Took me a while just to figure out why the bot seemed to stand still doing nothing so often through Act 1!
 
v1.5.5.1 uploaded:
-- Few more monsters added to the blacklist, including ghost of the cow king.
-- NOTE: Plugin does not yet support DB's brand new "profile-based" blacklist options, they will be ignored - this will come when I find a satisfactory optimized way of handling them.
 
Noticed that the bot is slowest when it's surrounded all direction by non-elites. It keeps trying to find a way out (when it's all blocked) when the logical thing to do would be to bash your way out :)
 
Noticed that the bot is slowest when it's surrounded all direction by non-elites. It keeps trying to find a way out (when it's all blocked) when the logical thing to do would be to bash your way out :)

What class are you (and if a barbarian, have you set "use leap off cooldown" in the Belphegor settings? It's off by default, though really should be on for all barbarians IMO)? It should be giving large weight to nearby mobs when surrounded so that it forcefully attacks the closest targets regardless of there being "better" targets in the area, but if it has leap available then it tries to use that (and if you have use-leap-off-cooldown disabled in Belphegor, it can cause some problems here). Try tweaking the settings a bit if you do have a barb, and see if it improves it. If not, post a screenshot next time you get stuck (you can upload it to imgur.com - doesn't need an account to upload pics) so I can see. As for being "slow/laggy" when surrounded by lots of monsters, yes, this is just DB - I've tried to minimize that as much as I can though :D
 
why is demonbuddy so buggy... nothing ever works..

"[13:50:47.850 N] Compiler Error: c:\Diablo III - Demonbuddy\Plugins\GilesStashReplacer\GilesStashReplacer.cs(1036,50) : error CS1061: 'Zeta.Internals.Actors.ACDItem' does not contain a definition for 'ParseItemTable' and no extension method 'ParseItemTable' accepting a first argument of type 'Zeta.Internals.Actors.ACDItem' could be found (are you missing a using directive or an assembly reference?)
[13:50:47.850 N] Compiler Error: c:\Diablo III - Demonbuddy\Plugins\GilesStashReplacer\GilesStashReplacer.cs(1157,34) : error CS1061: 'Zeta.Internals.Actors.ACDItem' does not contain a definition for 'ParseItemTable' and no extension method 'ParseItemTable' accepting a first argument of type 'Zeta.Internals.Actors.ACDItem' could be found (are you missing a using directive or an assembly reference?)
[13:50:47.850 N] Compiler Error: c:\Diablo III - Demonbuddy\Plugins\GilesStashReplacer\GilesStashReplacer.cs(1406,26) : error CS1061: 'Zeta.Internals.Actors.ACDItem' does not contain a definition for 'ParseItemTable' and no extension method 'ParseItemTable' accepting a first argument of type 'Zeta.Internals.Actors.ACDItem' could be found (are you missing a using directive or an assembly reference?)
[13:50:47.850 N] Compiler Error: c:\Diablo III - Demonbuddy\Plugins\GilesStashReplacer\GilesStashReplacer.cs(1465,30) : error CS1061: 'Zeta.Internals.Actors.ACDItem' does not contain a definition for 'ParseItemTable' and no extension method 'ParseItemTable' accepting a first argument of type 'Zeta.Internals.Actors.ACDItem' could be found (are you missing a using directive or an assembly reference?)
[13:50:47.850 N] Compiler Error: c:\Diablo III - Demonbuddy\Plugins\GilesStashReplacer\GilesStashReplacer.cs(1478,30) : error CS1061: 'Zeta.Internals.Actors.ACDItem' does not contain a definition for 'ParseItemTable' and no extension method 'ParseItemTable' accepting a first argument of type 'Zeta.Internals.Actors.ACDItem' could be found (are you missing a using directive or an assembly reference?)
[13:50:47.850 N] Compiler Error: c:\Diablo III - Demonbuddy\Plugins\GilesStashReplacer\GilesStashReplacer.cs(1670,30) : error CS1061: 'Zeta.Internals.Actors.ACDItem' does not contain a definition for 'ParseItemTable' and no extension method 'ParseItemTable' accepting a first argument of type 'Zeta.Internals.Actors.ACDItem' could be found (are you missing a using directive or an assembly reference?)
[13:50:47.850 N] Compiler Error: c:\Diablo III - Demonbuddy\Plugins\GilesStashReplacer\GilesStashReplacer.cs(1855,30) : error CS1061: 'Zeta.Internals.Actors.ACDItem' does not contain a definition for 'ParseItemTable' and no extension method 'ParseItemTable' accepting a first argument of type 'Zeta.Internals.Actors.ACDItem' could be found (are you missing a using directive or an assembly reference?)
[13:50:47.850 N] Compiler Error: c:\Diablo III - Demonbuddy\Plugins\GilesStashReplacer\GilesStashReplacer.cs(1984,30) : error CS1061: 'Zeta.Internals.Actors.ACDItem' does not contain a definition for 'ParseItemTable' and no extension method 'ParseItemTable' accepting a first argument of type 'Zeta.Internals.Actors.ACDItem' could be found (are you missing a using directive or an assembly reference?)
[13:50:47.850 N] Compiler Error: c:\Diablo III - Demonbuddy\Plugins\GilesStashReplacer\GilesStashReplacer.cs(2012,22) : error CS1061: 'Zeta.Internals.Actors.ACDItem' does not contain a definition for 'ParseItemTable' and no extension method 'ParseItemTable' accepting a first argument of type 'Zeta.Internals.Actors.ACDItem' could be found (are you missing a using directive or an assembly reference?)
[13:50:47.850 N] Compiler Error: c:\Diablo III - Demonbuddy\Plugins\GilesStashReplacer\GilesStashReplacer.cs(2318,22) : error CS1061: 'Zeta.Internals.Actors.ACDItem' does not contain a definition for 'ParseItemTable' and no extension method 'ParseItemTable' accepting a first argument of type 'Zeta.Internals.Actors.ACDItem' could be found (are you missing a using directive or an assembly reference?)
[13:50:47.850 N] Compiler Error: c:\Diablo III - Demonbuddy\Plugins\GilesStashReplacer\GilesStashReplacer.cs(2962,18) : error CS1061: 'Zeta.Internals.Actors.ACDItem' does not contain a definition for 'ParseItemTable' and no extension method 'ParseItemTable' accepting a first argument of type 'Zeta.Internals.Actors.ACDItem' could be found (are you missing a using directive or an assembly reference?)
[13:50:47.850 N] Compiler Error: c:\Diablo III - Demonbuddy\Plugins\GilesStashReplacer\GilesStashReplacer.cs(3016,26) : error CS1061: 'Zeta.Internals.Actors.ACDItem' does not contain a definition for 'ParseItemTable' and no extension method 'ParseItemTable' accepting a first argument of type 'Zeta.Internals.Actors.ACDItem' could be found (are you missing a using directive or an assembly reference?)
[13:50:47.850 N] Compiler Error: c:\Diablo III - Demonbuddy\Plugins\GilesStashReplacer\GilesStashReplacer.cs(3039,30) : error CS1061: 'Zeta.Internals.Actors.ACDItem' does not contain a definition for 'ParseItemTable' and no extension method 'ParseItemTable' accepting a first argument of type 'Zeta.Internals.Actors.ACDItem' could be found (are you missing a using directive or an assembly reference?)
[13:50:48.579 N] [Demon Buddy Enhancements 1.0.0.14] Plugin initialized.
[13:50:48.582 N] Failed to load profile: Object reference not set to an instance of an object.
"

i cant load worldobjecthandler or your stashreplacer, does not appear under plugins
 
why is demonbuddy so buggy... nothing ever works..
i cant load worldobjecthandler or your stashreplacer, does not appear under plugins

That is because either;
- You have another plugin that is not compatible with new DB and have updated DB - if one plugin fails, all the rest fail. Please list all of your plugins in your plugins folder, if you don't want to go through them yourself trying to remove them to find out the problematic plugin.
- You have updated DemonBuddy over an old folder, rather than download the new version into a new folder. This can often cause problems because of old files from older DB's not used anymore but causing conflicts.
- You haven't installed the plugins correctly!

Post back and tell me how you get on :D
 
i reinstalled and same problem. What do you mean by install plugins correctly? I thought you just drag and drop into the "Plugins" folder?

my plugins:

DBenhancements
Gilesmonsterprioritychanger
GilesStashReplacer
GilesWorldObjectHandler
 
Everytime you update demonbuddy it's best to start fresh.

My re-install routine is like this:

i) squash existing db dir with winRAR into a db.versionnumber.rar file and move this into an archives directory.
ii) create a new folder for demon buddy to live in where the old one used to be
iii)extract newest version of demonbuddy into folder
iv) create a dir called "Plugins" and a dir called "Profiles" in the demonbuddy folder
v) download latest version of plugins I need into the plugin directory and the profiles I want to the profile directory.
vi) fire up db and configure the plugins, and the combat routines, exit game
vii) start db and watch it run a profile once through to make sure it's behaving as it's supposed to

archiving the old version allows me to rollback to older versions with all the plugins and profiles already set whenever I need to and using a new fresh folder everytime I update stops a whole lot of potential errors creeping in.
 
i reinstalled and same problem. What do you mean by install plugins correctly? I thought you just drag and drop into the "Plugins" folder?

my plugins:

DBenhancements
Gilesmonsterprioritychanger
GilesStashReplacer
GilesWorldObjectHandler

Try removing DBEnhancements and see if they compile fine then. If they do, then check the DBEnhancements thread for any updates, or posts by others with the same problem.
 
obviously that was the first thing I tried. It didn't work, so I'm here looking for help.
Only reason I'm using it cus it was recommended here: http://www.thebuddyforum.com/demonb...t-2/61408-act-2-champion-hunting-radonic.html

Oh yes, OBVIOUSLY! Because everybody is always totally sensible - I don't know a single person that hasn't tried such OBVIOUS solutions first. How very OBVIOUS! :D

Another very OBVIOUS thing is that you are using an outdated version of Stash Replacer (you are on a version pre 1.9.x). I can see that from your logs. The older versions are not compatible with newer DB's. Have you tried the OBVIOUS solution of deleting the old plugins and updating to the new ones (the 1.9.x range - 1.9.3 if you are using an older DB, 1.9.4 for the latest #204 DB). I don't know why I'm stating the OBVIOUS though.

Teehee :D

(incase nobody can tell, I'm just playfully teasing to make helping people out less dull :P)
 
Last edited:
ok yea, updating stash replacer fixed it, thx!

sorry, just annoyed recently because i had most my bots running flawlessly on hellbuddy (which got shut down).
I really preferred hellbuddy cus demonbuddy just crashes too much, eats up too much CPU power, etc. Just not afkable in general...
 
What class are you (and if a barbarian, have you set "use leap off cooldown" in the Belphegor settings? It's off by default, though really should be on for all barbarians IMO)? It should be giving large weight to nearby mobs when surrounded so that it forcefully attacks the closest targets regardless of there being "better" targets in the area, but if it has leap available then it tries to use that (and if you have use-leap-off-cooldown disabled in Belphegor, it can cause some problems here). Try tweaking the settings a bit if you do have a barb, and see if it improves it. If not, post a screenshot next time you get stuck (you can upload it to imgur.com - doesn't need an account to upload pics) so I can see. As for being "slow/laggy" when surrounded by lots of monsters, yes, this is just DB - I've tried to minimize that as much as I can though :D

Just a db thing I guess, have monks and barbs ;)
 
not sure why, on DB 185 with Stash Replacer 1.8.5 & monster priority Changer(MPC)1.4.4 my attack works just fine
but with DB 204, and latest stash replacer+MPC, my attack dropped to shittiest speed..like 1.2 attack per second..
 
not sure why, on DB 185 with Stash Replacer 1.8.5 & monster priority Changer(MPC)1.4.4 my attack works just fine
but with DB 204, and latest stash replacer+MPC, my attack dropped to shittiest speed..like 1.2 attack per second..

Try a fresh install, and try disabling all the "Avoidance" stuff in the combat-routine settings (click settings tab on main DB window to edit Belphegor settings). The newer DB Belphegor stuff is starting to get very complicated and a little "clunky". How fast does it feel if you use "Generic" and set up some basic combat stuff?
 
Finally managed to see when I got stuck on a tornado in Act 2 and managed to get old DB to drop this:
[21:39:24.829 N] [2CC8F0A8] Type: Unit Name: Twister_model-10286 ActorSNO: 6318, Distance: 16.61006

Not sure what to do with this, but hopefully this is enough info so you can blacklist it in a coming version :)
 
Finally managed to see when I got stuck on a tornado in Act 2 and managed to get old DB to drop this:
[21:39:24.829 N] [2CC8F0A8] Type: Unit Name: Twister_model-10286 ActorSNO: 6318, Distance: 16.61006
Not sure what to do with this, but hopefully this is enough info so you can blacklist it in a coming version :)

They those big random tornados (not the monsters that spin around)? If so I'll add them in for next version, but in the meantime you can save yourself problems with them again by opening the monsterpriority.cs code (in anything, even notepad) and you can add the SNO to the end of the blacklist, so you'd change this;
Code:
        private static readonly List<int> listActorSNOIgnoreBlacklist = new List<int> { 
            5840, 111456, 5013, 5014, 205756, 205746, 4182, 4183, 4644, 4062, 4538, 52693, 162575, 2928, 51291, 51292, 
            96132, 90958, 90959, 80980, 51292, 51291, 2928, 3546, 129345, 81857, 138428, 81857, 60583, 170038, 174854, 190390, 
            194263, 5482, 174900, 219702, 221225, 87189, 90072, 107031, 106584, 186130, 187265, 201426, 201242, 200969, 201423, 
            201438, 201464, 201454, 108012, 103279, 89578, 74004, 84531, 84538, 89579, 190492, 209133
         };

To this;
Code:
        private static readonly List<int> listActorSNOIgnoreBlacklist = new List<int> { 
            5840, 111456, 5013, 5014, 205756, 205746, 4182, 4183, 4644, 4062, 4538, 52693, 162575, 2928, 51291, 51292, 
            96132, 90958, 90959, 80980, 51292, 51291, 2928, 3546, 129345, 81857, 138428, 81857, 60583, 170038, 174854, 190390, 
            194263, 5482, 174900, 219702, 221225, 87189, 90072, 107031, 106584, 186130, 187265, 201426, 201242, 200969, 201423, 
            201438, 201464, 201454, 108012, 103279, 89578, 74004, 84531, 84538, 89579, 190492, 209133, 6318
         };

And re-run DB and you'll be ignoring them from now on! :D
 
hello guys, i got a problem with this plugin.

sometimes if i finish a run and teleport back, ranged monsters keep attacking me, but instead of killing them the char is stuck on teleporting but gets interuppted 80% of the time. so he stands there 4ever.
withouth giles plugin it works fine, it detects the ranged monsters and kills them.
 
hello guys, i got a problem with this plugin.
sometimes if i finish a run and teleport back, ranged monsters keep attacking me, but instead of killing them the char is stuck on teleporting but gets interuppted 80% of the time. so he stands there 4ever.
withouth giles plugin it works fine, it detects the ranged monsters and kills them.

That's why you always should have an enchantress follower with 3.5-6k DPS (you can get a good 2-hander with int for her for like 100k that gives her some meaty DPS, and then a load of +int and +magic find jewelry is not very expensive). Currently I don't know of a way of making monster priority know that your character is trying to teleport, though I'll have another look and see if there's a way I can make it increase radius (like it does when an elite/treasure goblin is present) when wanting to TP.

But an enchantress follower (which is what the majority of champion farmers use) will mop up those annoying adds while you teleport.
 
Back
Top