Marshalek 1 Posted February 22, 2019 Share Posted February 22, 2019 So I'm using Wrobot on this buggy AF server and some mobs show they have loot, but when the bot clicks to loot, there's nothing in the loot window. The result is, Wrobot stays there clicking non-stop for 5 minutes on the same corpse, until the corpse finally despawns and Wrobot moves on to the next mob (rinse and repeat). Obviously I will be banned with this behavior, people can tell I'm a bot from miles away. Is there a way to prevent Wrobot from trying to loot same corpse more than 2 times? 1. Try to loot: fail 2. Try to loot: fail 3. Blacklist corpse and move on 4. Remove from blacklist after 5 minutes @Droidz @Matenia @Andoido @Ordush for feedback Link to comment https://wrobot.eu/forums/topic/10854-trying-to-loot-same-mob-for-5-minutes-till-corpse-despawns/ Share on other sites More sharing options...
Ordush 185 Posted February 22, 2019 Share Posted February 22, 2019 Make a plugin that only loots a mob by x GUID once, then blacklists it. Link to comment https://wrobot.eu/forums/topic/10854-trying-to-loot-same-mob-for-5-minutes-till-corpse-despawns/#findComment-51758 Share on other sites More sharing options...
Andoido 75 Posted February 23, 2019 Share Posted February 23, 2019 is it a quest item like from feralas or tanaris? ookook or w.e if so, manually accept the quest nd mobs wont drop it anymore , just a thought. Link to comment https://wrobot.eu/forums/topic/10854-trying-to-loot-same-mob-for-5-minutes-till-corpse-despawns/#findComment-51767 Share on other sites More sharing options...
Marshalek 1 Posted February 24, 2019 Author Share Posted February 24, 2019 It's not a quest item like the chicken quest egg, these are mobs in a particular zone that does not have a chicken quest. The server is just buggy, it clearly does not work as it should... but because of something so silly, wrobot breaks. Link to comment https://wrobot.eu/forums/topic/10854-trying-to-loot-same-mob-for-5-minutes-till-corpse-despawns/#findComment-51803 Share on other sites More sharing options...
Marshalek 1 Posted February 24, 2019 Author Share Posted February 24, 2019 I mean, isn't it obvious that if I try to loot the same mob 30 times and it doesn't work, it probably won't work the 31st time? Link to comment https://wrobot.eu/forums/topic/10854-trying-to-loot-same-mob-for-5-minutes-till-corpse-despawns/#findComment-51804 Share on other sites More sharing options...
Ordush 185 Posted February 25, 2019 Share Posted February 25, 2019 1 hour ago, Marshalek said: I mean, isn't it obvious that if I try to loot the same mob 30 times and it doesn't work, it probably won't work the 31st time? Did you even read my message? I mean, nothing is "obvious" when it comes to coding. Usually it goes like this: Are you on a server with stuff is not working as intended, either you make a bug report and wait for it to be fixed, OR you fix it yourself. This can easily be fixed with a few lines of code by blacklisting already looted mobs. Why this isn't already a part of wrobot? Because it can ALSO make your bot not loot properly if it doesn't succeed the first time. However in your situation, you'd probably benefit more from this than not. Link to comment https://wrobot.eu/forums/topic/10854-trying-to-loot-same-mob-for-5-minutes-till-corpse-despawns/#findComment-51806 Share on other sites More sharing options...
Marshalek 1 Posted February 25, 2019 Author Share Posted February 25, 2019 It's egregiously dumb that Wrobot tries to loot the same mob 200 times, no matter how you look at it. If you can resolve this with a plugin, it should be incorporated into the vanilla bot per default... I just can't fathom that I'm the first person ever to bring this issue to light? Yes I've read your message., but I'm not very handy with coding for Wrobot, nor do I have a dev environment setup atm... is this plugin something you can create for me? You said a few lines of code should suffice... Link to comment https://wrobot.eu/forums/topic/10854-trying-to-loot-same-mob-for-5-minutes-till-corpse-despawns/#findComment-51826 Share on other sites More sharing options...
Matenia 628 Posted February 25, 2019 Share Posted February 25, 2019 Are you using HMP? For some reason, it seems to loot over and over. I've never had this bug with default wRobot looting and disabled the combat looting in HMP. wManager.Events.LootingEvents.OnLootingPulse += (wUnit, args) => { wManager.wManagerSetting.AddBlackList(wUnit.Guid, 3 * 60 * 1000, true); }; Should blacklist mobs (not sure wRobot caresa bout blacklist when looting, but w/e) Link to comment https://wrobot.eu/forums/topic/10854-trying-to-loot-same-mob-for-5-minutes-till-corpse-despawns/#findComment-51827 Share on other sites More sharing options...
Marshalek 1 Posted February 25, 2019 Author Share Posted February 25, 2019 @Matenia I've disabled HMP combat loot, and now I see this in the logs after 3 failed loot attempts: [D] 12:02:32 - [Looting] Cannot loot the target (Mob XYZ), ignore it. So it appears Wrobot already has logic to prevent this issue, but HMP was breaking it like you said. Link to comment https://wrobot.eu/forums/topic/10854-trying-to-loot-same-mob-for-5-minutes-till-corpse-despawns/#findComment-51828 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now