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.
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) !
So basically you copy pasted my plugin and changed a few variables and function names. :c I think I deserve some creditz.
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?
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,
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
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.
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.
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 ^^.
Doesn't seem to work. I use partybot which follows my toon but doesn't return quest with this plugin.
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. 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
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.
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.
Cava is working on a RAF thing for his plugin here. https://www.thebuddyforum.com/honorbuddy-forum/honorbuddy-profiles/68612-cavas-profiles-lvl-1-a.html