• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Is it possible? (plugin)

    Discussion in 'Archives' started by mrfuture, Nov 12, 2014.

    1. mrfuture

      mrfuture Member

      Joined:
      Nov 12, 2014
      Messages:
      86
      Likes Received:
      0
      Trophy Points:
      6
      is it possible to:

      when bot find normal / magic strongbox it stops and plays a sound ?
       
    2. darkbluefirefly

      darkbluefirefly Community Developer

      Joined:
      Nov 8, 2013
      Messages:
      1,927
      Likes Received:
      18
      Trophy Points:
      38
      Going to give a very, very vague answer.





































































      *Maybe* Tehehehe.
       
    3. mrfuture

      mrfuture Member

      Joined:
      Nov 12, 2014
      Messages:
      86
      Likes Received:
      0
      Trophy Points:
      6
      hahahaha but look...


























































      is it possible at the current state of the bot and api ?
      also the second question is there any working plugin atm for utility flasks?
       
    4. Nepthys

      Nepthys Community Developer

      Joined:
      Oct 13, 2014
      Messages:
      89
      Likes Received:
      1
      Trophy Points:
      0
      should be possible

      the alerter plugin apparently plays a sound (https://www.thebuddyforum.com/exile...r-forum/182411-plugin-alerter-pm-masters.html)
      and you can check strongbox rarity etc

      i'm guessing you want this so you can reroll the normal/magic ones?
      you could make a plugin to do that directly, without human intervention needed
      if normal rarity use transmute
      if magic rarity use augmentation until the desired affix is found

      check the 'example open chest task' in examplebot for some code you can repurpose


      for utility flasks, check autoflask 2.0 by Naut
      https://www.thebuddyforum.com/exilebuddy-forum/community-developer-forum/185873-compilation.html


      thanks!
       
    5. mrfuture

      mrfuture Member

      Joined:
      Nov 12, 2014
      Messages:
      86
      Likes Received:
      0
      Trophy Points:
      6
      Thanks A LOT for your time spend to help me! Let me know if i can help you somehow too!
       
    6. pushedx

      pushedx Moderator Moderator Buddy Core Dev

      Joined:
      Sep 24, 2013
      Messages:
      4,252
      Likes Received:
      290
      Trophy Points:
      83
      I can't include the AlertBot example with the bot because of how the library it requires has to be used, but here's the code again for reference:
      You need to register and have one post to see spoilers!
      You'll need to change the CompilerOption path to be valid for your system. That shows mostly how to check various things and use MS Text-To-Speech for the sound. By design, the bot pauses to play the sound, but that can be fixed by using a worker thread to play the sound instead.

      ExVault's plugin example is good to work from as well, so you'll be able to take from each for your own plugin.

      For re-rolling, it's possible with the API, but the current setup of BasicGrindBot makes it a inconvenient right now. I have to rewrite the system for stashing and withdrawing so people can more easily handle keeping things in the inventory, so that's one issue you'll have to work around if you try to roll them though new code. Manually rolling them yourself would be easier right now, and stopping the bot is simply a matter of BotManager.Stop();
       

    Share This Page