• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [FREE] Disenchantrix (an all-in-one resource for disenchantring)

    Discussion in 'Uncataloged' started by Wigglez, Dec 21, 2013.

    1. Wigglez

      Wigglez New Member Buddy Store Developer

      Joined:
      Mar 6, 2013
      Messages:
      174
      Likes Received:
      11
      Trophy Points:
      0
      Last edited: Oct 22, 2014
      AknA and Botanist like this.
    2. AknA

      AknA Well-Known Member Buddy Store Developer

      Joined:
      Feb 11, 2012
      Messages:
      1,794
      Likes Received:
      65
      Trophy Points:
      48
      This is now moved to the buddy store, enjoy :)
       
      Last edited: Oct 22, 2014
      Botanist likes this.
    3. Nemu5

      Nemu5 New Member

      Joined:
      Oct 14, 2013
      Messages:
      16
      Likes Received:
      3
      Trophy Points:
      0
      Cheers for posting this up, using by myself already, nice and simple it is!
       
      Botanist likes this.
    4. Dalmask

      Dalmask Member

      Joined:
      Jan 15, 2010
      Messages:
      36
      Likes Received:
      0
      Trophy Points:
      6
      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
       
    5. Wigglez

      Wigglez New Member Buddy Store Developer

      Joined:
      Mar 6, 2013
      Messages:
      174
      Likes Received:
      11
      Trophy Points:
      0
      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.
       
    6. mjj23

      mjj23 New Member

      Joined:
      Oct 28, 2012
      Messages:
      291
      Likes Received:
      4
      Trophy Points:
      0

      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
       
      Botanist likes this.
    7. mjj23

      mjj23 New Member

      Joined:
      Oct 28, 2012
      Messages:
      291
      Likes Received:
      4
      Trophy Points:
      0
      This makes for relatively efficient on the go disenchanting, especially if you are all alone farming instances :)
       
      Botanist likes this.
    8. Wigglez

      Wigglez New Member Buddy Store Developer

      Joined:
      Mar 6, 2013
      Messages:
      174
      Likes Received:
      11
      Trophy Points:
      0
      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.
       
    9. AknA

      AknA Well-Known Member Buddy Store Developer

      Joined:
      Feb 11, 2012
      Messages:
      1,794
      Likes Received:
      65
      Trophy Points:
      48
      No no no no no no no no no. You should NEVER EVER use Thread.Sleep in a plugin, that's a horrible sugestion.
       
    10. xwozone

      xwozone Active Member

      Joined:
      Apr 1, 2012
      Messages:
      1,514
      Likes Received:
      3
      Trophy Points:
      38
      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.
       
      Botanist likes this.
    11. xwozone

      xwozone Active Member

      Joined:
      Apr 1, 2012
      Messages:
      1,514
      Likes Received:
      3
      Trophy Points:
      38
      I loled
       
      Botanist likes this.
    12. mjj23

      mjj23 New Member

      Joined:
      Oct 28, 2012
      Messages:
      291
      Likes Received:
      4
      Trophy Points:
      0
      Deleted
       
    13. Wigglez

      Wigglez New Member Buddy Store Developer

      Joined:
      Mar 6, 2013
      Messages:
      174
      Likes Received:
      11
      Trophy Points:
      0
      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.
       
    14. mjj23

      mjj23 New Member

      Joined:
      Oct 28, 2012
      Messages:
      291
      Likes Received:
      4
      Trophy Points:
      0
      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.
       
    15. toNyx

      toNyx Well-Known Member

      Joined:
      Oct 29, 2011
      Messages:
      3,770
      Likes Received:
      35
      Trophy Points:
      48
      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
       
    16. AknA

      AknA Well-Known Member Buddy Store Developer

      Joined:
      Feb 11, 2012
      Messages:
      1,794
      Likes Received:
      65
      Trophy Points:
      48
      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.
       
    17. AknA

      AknA Well-Known Member Buddy Store Developer

      Joined:
      Feb 11, 2012
      Messages:
      1,794
      Likes Received:
      65
      Trophy Points:
      48
      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.
       
    18. mjj23

      mjj23 New Member

      Joined:
      Oct 28, 2012
      Messages:
      291
      Likes Received:
      4
      Trophy Points:
      0
      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?

       
    19. AknA

      AknA Well-Known Member Buddy Store Developer

      Joined:
      Feb 11, 2012
      Messages:
      1,794
      Likes Received:
      65
      Trophy Points:
      48
      ??
      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();
              }
      
       
    20. mjj23

      mjj23 New Member

      Joined:
      Oct 28, 2012
      Messages:
      291
      Likes Received:
      4
      Trophy Points:
      0
      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.
       

    Share This Page