• Visit Rebornbuddy
  • RAFPlugin by Celisuis

    Discussion in 'Leveling' started by Celisuis, Nov 25, 2014.

    1. Celisuis

      Celisuis New Member

      Joined:
      Dec 4, 2011
      Messages:
      216
      Likes Received:
      0
      Trophy Points:
      0
      What is it?

      RAF Plugin is simple, written from the ground up. It simply allows you to turn in quests all at once. Taking inspiration from several RAF projects here, I'm hoping this one will be fruitful enough to work. It makes sure that all characters are within range before handing in a quest. It is to be used with your favourite questing profiles.

      Upon each level up, the plugin will restart the profile to ensure it doesn't need to switch to a new one or not.

      Installation

      Simply unzip it into your plugins folder, and run it on all party members.


      Current Known Issues

      The Bot will crash if party members are not in range of handing in quests. So i suggest running the bots at exactly the same points, and stopping them on the same quests.​
       

      Attached Files:

      Last edited: Nov 25, 2014
    2. toNyx

      toNyx Well-Known Member

      Joined:
      Oct 29, 2011
      Messages:
      3,770
      Likes Received:
      35
      Trophy Points:
      48
      Decent work :) the Tasks usage will help a lot, it was already working decently, but this one seems flawless (can't test it atm tho) !
       
    3. Celisuis

      Celisuis New Member

      Joined:
      Dec 4, 2011
      Messages:
      216
      Likes Received:
      0
      Trophy Points:
      0
      I uploaded the wrong one, this one currently errors out. Fix incoming (about 5 minutes)
       
    4. Celisuis

      Celisuis New Member

      Joined:
      Dec 4, 2011
      Messages:
      216
      Likes Received:
      0
      Trophy Points:
      0
      Fix uploaded.
       
    5. Theking

      Theking New Member

      Joined:
      Aug 18, 2011
      Messages:
      108
      Likes Received:
      3
      Trophy Points:
      0
      So basically you copy pasted my plugin and changed a few variables and function names. :c

      I think I deserve some creditz.
       
    6. mindtrapper

      mindtrapper Member

      Joined:
      Jan 15, 2010
      Messages:
      364
      Likes Received:
      1
      Trophy Points:
      18
      Is the problem with wait time fixed in this one or will it stop bot if the toon doesn't turn in quest in time?
       
    7. facedark

      facedark New Member

      Joined:
      Jul 8, 2010
      Messages:
      378
      Likes Received:
      2
      Trophy Points:
      0
      If the time thing is not fixed this is completely useless.
       
    8. Celisuis

      Celisuis New Member

      Joined:
      Dec 4, 2011
      Messages:
      216
      Likes Received:
      0
      Trophy Points:
      0
      Update.

      Added Credit to TheKing - I apologize for that, I simply got the code sent to me without a header, full credit for the base code now given.

      Took out wait time on handing in quest, it will now only attempt to hand in a quest when all party members are within range,
       

      Attached Files:

    9. mindtrapper

      mindtrapper Member

      Joined:
      Jan 15, 2010
      Messages:
      364
      Likes Received:
      1
      Trophy Points:
      18
      Nah, still stopping/crashing. Impossible to use. Must be an HB core issue.
       
      Last edited: Nov 27, 2014
    10. gnjax

      gnjax New Member

      Joined:
      May 24, 2014
      Messages:
      21
      Likes Received:
      2
      Trophy Points:
      3
      Working on a fix for the timeout on quest handing. It seems that the simpliest way to do it (which is also a little tricky but doesn't need a full rewrite of the plugin) is by threading the waiting function and make it pause the bot.You can find a first version attached, it's still buggy though.

      EDIT : I'm too tired for today so I found a really ugly workaround that is working but it is obviously a bad way to do it. Basically it's just stopping and restarting the questing bot every 2 seconds while waiting for other party members. I updated the attachment
       

      Attached Files:

      Last edited: Nov 28, 2014
    11. LigthVirus

      LigthVirus New Member

      Joined:
      Nov 28, 2014
      Messages:
      3
      Likes Received:
      0
      Trophy Points:
      0
      Thx for the amazing work!, I have been testing it. The only bug I have found is when one of the bots have to wait to finish the quest, sometimes works well, but in 45% more or less of the times, the one who is behind crashes. And the one who is waiting keep questing. I would love if this plugin works, so I will try to send feedback. I can post the logs if you want.

      I have tested this to, but it crashes every time when the bots have to finish the quest. Seems like stopping the bot isn't the solution.
       
    12. gnjax

      gnjax New Member

      Joined:
      May 24, 2014
      Messages:
      21
      Likes Received:
      2
      Trophy Points:
      3
      I join the new version of my fix, i'm running it for more than 3 hours now without any crashes. Still using the stop/restart bot trick to avoid the quest turn in timeout.
      I noticed that the await Task.Delay function wasn't working as intended and changed it for a Thread.Sleep. Also added a Thread.Sleep instruction before handing in the quest to make sure other toons have the time to restart the bot on their side if they were waiting, therefore they don't get stuck while waiting to turn in a quest that has already been turned in by the party toon that arrived last and wasn't waiting (Not sure if this sentence is clear sorry).
      In the end, it's a little sketchy but seems to be working well without having to baby-sit it, I think that's what most of us wanted to have :)

      For the OP : I think the proper way to fix the quest timeout thing would be to use the new hooking function and hook onto the quest bot.

      PS : As I was writing this I noticed it still crashes, and it always happen when handing in a quest that rewards with an item that you have to choose. Really not sure of what's happening there, there's nothing in the log about those crashes so I don't know if it's even related iwth the plugin.
       

      Attached Files:

    13. LigthVirus

      LigthVirus New Member

      Joined:
      Nov 28, 2014
      Messages:
      3
      Likes Received:
      0
      Trophy Points:
      0
      I tested it, and it ran well for an hour, but both bots crashed when they level up handing a quest. The quest didnt proviede any rewards, so maybe its other isue. Logs are clear, last line in both bots its "[04:42:32.137 N] We leveled up! Checking if we need to switch profiles." Im doing more testing now.


      EDITED: Tested it again and same crash, when bot level up handing a quest honorbuddy breaks. Maybe with this info you can fix this ^^.
       
      Last edited: Nov 29, 2014
    14. nedaa

      nedaa New Member

      Joined:
      Nov 10, 2012
      Messages:
      44
      Likes Received:
      0
      Trophy Points:
      0
      Doesn't seem to work. I use partybot which follows my toon but doesn't return quest with this plugin.
       
    15. toNyx

      toNyx Well-Known Member

      Joined:
      Oct 29, 2011
      Messages:
      3,770
      Likes Received:
      35
      Trophy Points:
      48
      You shouldnt even think about replacing Task.Delay by Thread.Sleep, safety safety safety ! 99% related to most of the crashes.

      // EDIT //

      Tbh, it's by far faster to use ISBoxer/Dungeonbuddy while leveling RAF chars... it's pretty stable and solid, you just take over for some dungeons quests, else it's pretty flawless.
      That kind of "behaviors" should be implemented in HB itself, or QB. I don't get why it's not done yet... a boolean with true/false and some logic to wait for people when turnin. :eek:
      It's so hard to take over HB's logic with tasks/logic, since it always want to be "the king" and that fucks everything up :(
       
      Last edited: Dec 3, 2014
    16. SasoriFunny

      SasoriFunny New Member

      Joined:
      Jun 20, 2013
      Messages:
      12
      Likes Received:
      0
      Trophy Points:
      0
      Why raf wait second character 10 sec and stop bot? Pls change wait time 1-5 min
       
    17. thebear

      thebear New Member

      Joined:
      Jan 6, 2015
      Messages:
      4
      Likes Received:
      0
      Trophy Points:
      0
      ```
       
      Last edited: Jan 18, 2015
    18. facedark

      facedark New Member

      Joined:
      Jul 8, 2010
      Messages:
      378
      Likes Received:
      2
      Trophy Points:
      0
      yes this seem to be the main issue now for 6 months - iv looked at it and it doesnt seem to be changable by the plugin code, rather its using some core hb shit that's terrible.
       
    19. kylenn

      kylenn New Member

      Joined:
      Jan 13, 2015
      Messages:
      14
      Likes Received:
      0
      Trophy Points:
      0
      It's a shame.

      The best way for people who only raf 2-3 people or 4, is questing. All serious (make money) botters will do 5 rafs and dungeons.

      But for casual botters like us dungeon aint an option. Im probably gonna try to contact a admin for Honorbuddy and ask, cause changing the 20 seconds to 5 minutes or something. Should be a piece of cake.
       
    20. kylenn

      kylenn New Member

      Joined:
      Jan 13, 2015
      Messages:
      14
      Likes Received:
      0
      Trophy Points:
      0

    Share This Page