Nice plugin, triying atm. It seems to have a little problem, i dont know if was beucase the last patches of honnorbuddy or just problem with questing bot, Disenchantrix its not pausing the bot for do his work, this result when he trys to disenchant something bot think it is stuck and try to unstuck resulting in a total bot-look movement. (triying to move, pausing a lot, jumping, strafe, etc..) and seems to have a problem too with some of blacklisting on disenchant, heres the para of the log i can attach Code: [09:02:25.361 N] [Disenchantrix]: Disenchanting Traveler's Backpack [09:02:25.463 N] We are stuck!! [09:02:25.490 N] Trying jump [09:02:27.023 N] We are stuck!! [09:02:27.023 N] Trying strafe forward left for 1000ms [09:02:28.515 N] [Disenchantrix]: Disenchanting Traveler's Backpack [09:02:29.396 N] We are stuck!! [09:02:29.396 N] Trying strafe forward right for 600ms [09:02:31.374 N] We are stuck!! [09:02:31.374 N] Trying strafe left for 1000ms [09:02:32.706 N] [Disenchantrix]: Disenchanting Traveler's Backpack [09:02:33.867 N] We are stuck!! [09:02:33.867 N] Trying strafe right for 600ms [09:02:35.812 N] We are stuck!! [09:02:35.812 N] Backing off for 2000ms [09:02:38.247 N] [Disenchantrix]: Disenchanting Traveler's Backpack [09:02:38.441 D] Could not generate full path from {-1357.213, 1644.051, 68.37388} to {-363.436, 3078.43, -15.00154} (time used: 4 milliseconds) [09:02:39.602 N] We are stuck!! [09:02:39.629 N] Trying jump [09:02:41.083 N] We are stuck!! [09:02:41.083 N] Trying strafe forward left for 1000ms [09:02:42.410 N] [Disenchantrix]: Disenchanting Traveler's Backpack [09:02:43.593 N] We are stuck!! [09:02:43.593 N] Trying strafe forward right for 600ms [09:02:45.520 N] We are stuck!! [09:02:45.520 N] Trying strafe left for 1000ms [09:02:46.843 N] [Disenchantrix]: Disenchanting Traveler's Backpack [09:02:48.023 N] We are stuck!! [09:02:48.023 N] Trying strafe right for 600ms [09:02:50.035 N] We are stuck!! [09:02:50.035 N] Backing off for 2000ms [09:02:52.457 N] [Disenchantrix]: Disenchanting Traveler's Backpack [09:02:52.650 N] [Singular] Casting Bone Shield on Me @ 100.0% [09:02:53.147 D] Could not generate full path from {-1349.572, 1653.965, 68.76755} to {-363.436, 3078.43, -15.00154} (time used: 5 milliseconds) [09:02:54.355 N] We are stuck!! [09:02:54.385 N] Trying jump [09:02:55.596 N] [Disenchantrix]: Disenchanting Traveler's Backpack [09:02:55.857 N] We are stuck!! [09:02:55.857 N] Trying strafe forward left for 1000ms [09:02:58.202 N] We are stuck!! [09:02:58.202 N] Trying strafe forward right for 600ms [09:02:59.147 N] [Disenchantrix]: Disenchanting Traveler's Backpack [09:03:00.147 N] We are stuck!! [09:03:00.147 N] Trying strafe left for 1000ms [09:03:02.413 N] [Disenchantrix]: Disenchanting Traveler's Backpack [09:03:02.514 N] We are stuck!! [09:03:02.514 N] Trying strafe right for 600ms [09:03:04.486 N] We are stuck!! [09:03:04.486 N] Backing off for 2000ms
I can't fully support on-the-go disenchanting, as Honorbuddy's stuck handler goes on the fritz when I force the character to stop moving. Interesting that the Traveler's Backpack wasn't blacklisted after the first attempt, also.
Hey Wigglez, funny that you should mention this! I actually was playing around with your plugin last night to deal with this very issue. It isn't perfect, but if you add: PHP: public override void Pulse() { if (!CanDisenchant()) { return; } if (FindDisenchantableItem() == null) { return; } WoWMovement.MoveStop(); DisenchantItem(); StyxWoW.Sleep(4000); Specifically, the StyxWoW.Sleep after the call to disenchant item, the stuck issue (almost) disappears. Thought you might find that useful. Mjj23
This makes for relatively efficient on the go disenchanting, especially if you are all alone farming instances
It would be perfect if Disenchantrix could become the top priority over the profile until no more disenchantable items are detected. Thread.Sleep doesn't quite achieve this, as after that time has finished, the profile puffs out its chest and gives me the bird.
No no no no no no no no no. You should NEVER EVER use Thread.Sleep in a plugin, that's a horrible sugestion.
If this works im going to give you oral. And by oral i mean a 'like' and by like, i mean ill give you oral You combine my need for a good DE plugin and the fact I LOVE enchantrix addon by curse.
After trying to add this, Thread.Sleep and StyxWoW.Sleep had the same affect by disenchanting 1-3 items and then giving control back to the profile, resulting in strange behavior. After the profile was allowed to tick and perform an action, the plugin detected that it had more disenchantables, and proceeded to disenchant 1-3 more.
Anka is right though, thread sleep is a big no no. Trying to think of another solution, since I love the idea of this plugin.
Just make a stopwatch or a WaitTimer (in the Helpers), then use it. maybe? it doesnt freeze the bot and it's a bit better I guess
A stopwatch / waittimer doesn't make profiles pause without freezing up hb, but I have an idea I'm going to try once I have the time to fiddle with this.
Ok, a experimental version in 2nd post, no idea if it works or not as my WoW account isn't active atm. Please report if it fixed the "I'm stuck" crap or not.
Going to test it today, I played around with a Composite method to try to add a wait using WaitContinue, yesterday. It looks like you just took out the movestop? Seems like a simple solution, if it works. Edit: Just saw you took out the pulse too. That seems like it should work?
?? This is the pulse in my experimental ver Code: public override void Pulse() { if(!CanDisenchant()) { return; } if(FindDisenchantableItem() == null) { if (OldBotPoi.Type != PoiType.None && BotPoi.Current.Type == PoiType.None) { BotPoi.Current = OldBotPoi; OldBotPoi.Type = PoiType.None; } return; } WoWMovement.MoveStop(); if (OldBotPoi.Type == PoiType.None && BotPoi.Current.Type != PoiType.None) { OldBotPoi = BotPoi.Current; BotPoi.Clear(); } DisenchantItem(); }
Yeah, no idea what I was looking at this afternoon. Might have been a little too into the xmas cheer lol. This removes the stutter problem, mostly, but it still can take 30 seconds or more before it processes the disenchant of multiple items. I do think a waitcontinue in a composite tree behavior will work. Will show you what I was working on tomorrow, to see if you can help me sort out where the logic went wrong.