• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [Plugin] Loot-a-rator - Uses Loot-a-rang items when loot is ready for the pickin.

    Discussion in 'Uncataloged' started by p1xel8ted, Apr 7, 2015.

    1. p1xel8ted

      p1xel8ted New Member

      Joined:
      Oct 16, 2012
      Messages:
      63
      Likes Received:
      1
      Trophy Points:
      0
      Loot-a-rator 1.0.1

      This is a simple plugin that will use the Loot-a-rang items when the plugin detects lootable mobs and the character stops moving. (Can't use the item when you're moving.)
      I used almost the same code in my Baiterator plugin, and found some people found a use for it, so I made a separate plugin for people that just want the loot-a-rang functionality.

      Feedback is greatly appreciated.

      Changes

      - Added Sleep to stop bot running to loot while loot-a-rang is on cd. (yes i know its bad, blah blah. But seeing as plugins have no control over movement, this is the only way)
      - Changed the range to 25 yards. Basically the plugin will only throw the loot-a-rang if there is loot within 25 yards. Prevents unnecessary sleeps, and log spam.

      Download
       

      Attached Files:

      Last edited: Apr 26, 2015
    2. abadguy87

      abadguy87 New Member

      Joined:
      Mar 9, 2015
      Messages:
      21
      Likes Received:
      0
      Trophy Points:
      0
      As I wrote in the baiterator thread:

      when farming mobs which are lowlvl (so that my hunter one shots them) and that are quite close to each other, it can happen that the 3sec cool down isn't over yet, when this happens, instead of waiting for lootarang to be usable it runs to the mob's corpse and uses lootarang defeating the purpose of looting from distance. The module I'm using is questing. Any way to make it just wait for cd? Thx!
       
    3. p1xel8ted

      p1xel8ted New Member

      Joined:
      Oct 16, 2012
      Messages:
      63
      Likes Received:
      1
      Trophy Points:
      0
      Give this a shot. It makes the bot sleep for 3.5 seconds. Let me know how you go.

      Link in top post.
       
      Last edited: Apr 26, 2015
    4. r0LcSfgb2l

      r0LcSfgb2l New Member

      Joined:
      Jul 17, 2014
      Messages:
      7
      Likes Received:
      0
      Trophy Points:
      0
      sleeping the bot is dangerous - maybe you can come in fight
      died 3 times in fight
       
    5. Corleone

      Corleone Well-Known Member

      Joined:
      May 24, 2013
      Messages:
      2,255
      Likes Received:
      28
      Trophy Points:
      48
      StyxWoW.Sleep() is absolutely evil and freezing the whole bot.
      Moreover, it is an obsolete method.
      Better use a Stopwatch together with Pulse().

      StyxWoW.Sleep Method
       
    6. p1xel8ted

      p1xel8ted New Member

      Joined:
      Oct 16, 2012
      Messages:
      63
      Likes Received:
      1
      Trophy Points:
      0
      I am aware its obsolete, and I'm aware of the proper method (Timer would be better, I don't need to measure nanoseconds). However, in this particular case, we need to sleep the whole bot to stop it running to the other mobs to loot. It's only 3 seconds, and it only executes that 3 second wait after it finds loot and throws the rang.

      If you're dying it has nothing to do with the plugin. Unless you happen to have loot out of range of the loot-a-rangs, in which case it will keep sleeping. I have already fixed that, and updated the top post.

      Please note, I made this with level 100 farming toons in mind.
       
    7. r0LcSfgb2l

      r0LcSfgb2l New Member

      Joined:
      Jul 17, 2014
      Messages:
      7
      Likes Received:
      0
      Trophy Points:
      0
      If the plugin is used in places with fast respawn you risk to die.
      Your char will not be able to protect himself.
      I love your plugin but I prefer to use the first version without sleeping.
       
    8. p1xel8ted

      p1xel8ted New Member

      Joined:
      Oct 16, 2012
      Messages:
      63
      Likes Received:
      1
      Trophy Points:
      0
      Glad you like it. Just to re-iterate, the newest version will only sleep when it detects loot within 25 yards, to prevent what you're describing. If there is no loot within range, it won't loot/sleep till the bot moves into range. I am in the process of making it selectable or not. I use it with a 691 blood dk, so I have no issues with dying.
       
    9. Corleone

      Corleone Well-Known Member

      Joined:
      May 24, 2013
      Messages:
      2,255
      Likes Received:
      28
      Trophy Points:
      48
      Why don't you simply switch off looting for that given time?

      Targeting.MaxTargets Property
      Get actual MaxTargets, set it to 0 and restore it after 3 seconds.

      Or set the loot radius to 0 for 3 seconds
      Profile.LootRadius Property

      Combined with a timer this will be a neat solution. ;)
       
    10. p1xel8ted

      p1xel8ted New Member

      Joined:
      Oct 16, 2012
      Messages:
      63
      Likes Received:
      1
      Trophy Points:
      0
      Mmm, hadn't thought of that, will go with the loot radius one I think, danke!
       
    11. ttbp

      ttbp New Member

      Joined:
      Mar 20, 2015
      Messages:
      7
      Likes Received:
      0
      Trophy Points:
      0
      Good work! But I find when something is skinable,it seems the plugin will stop and try to loot.
       
    12. p1xel8ted

      p1xel8ted New Member

      Joined:
      Oct 16, 2012
      Messages:
      63
      Likes Received:
      1
      Trophy Points:
      0
      Can you elaborate please, or post a log. Or both.
       
    13. p1xel8ted

      p1xel8ted New Member

      Joined:
      Oct 16, 2012
      Messages:
      63
      Likes Received:
      1
      Trophy Points:
      0
      My WoW account has been banned, as such no further updates will be released.
       

    Share This Page