you still forgot to add tasks to the using from what you posted above and you're still ignoring the warnings.
Sorry buddy, I have no intention on fixing this code was merely helping based on what you posted as I am pretty full with my own stuff to get done. Without System.Threading.Tasks(hope I wrote it right) you wont be able to use "async" and it will give you an error if I am not mistaken, it should also give you a warning on how you're using your async/await methods as they should not be used like that but it will not cause an compile error, instead it will continue the result on a different thread which would make it unsafe and could/will crash the bot. Those should display if you have visual studio I think 2008 and above.
@namednoob -- sorry but that is wrong. Normal code, yes, you write all that from scratch, however plugin code, you are already being executed on a thread. Coroutine.* is part of the core. Using System.Thread would make the bot unstable as you are now creating new threads that run outside of the main thread.
Guess you did not read all the answers on that other topic about fixing this plugin but either way you can try it and you will see it won't work as is.
Hello guys! Long time no see! I see that this plugin is still "active" so I thought that I would give it a little try and see if this works out the crashing that you are experiencing, I've now made it use await Task.Delay instead of Thread.Sleep. However, I do not have any active WoW accounts so I cannot test it, so it might work or it will completely fail, who knows. Get the experimental release and post back if it's an improvement or just a non-working release.
after 1 hour of testing no crashes yet. usually with the 1.0.6 i had one or two crashed per hour. i have to add that using the same profiles on both accounts they dont sync after some quests. one char is doing a quest and the other doing other quest
i guess when u say raf u mean the plugin the topic is about. yes i use it and yes they wait but there was a case that one char did 3 quests and the other did 5 quests and the 1st one never did the 2 missing because the ending npcs was near each other
Well sometimes HB crashes, but it is rare (running for 8h now and only two crashes) About quests desyncs it only happens when 1 bot gets 1 lvl higher and Kick`s profile send this especific toon to a different zone. To prevent this I got my toons at the same lvl and same exp range.
I wonder if there is anyway for them to keep helping attack your friends in the party instead of just leaving and waiting at quest giver. Would this work with party bot, since it would help who ever is in combat in your party. Also how does this effect your team botelho?
At least in my case the crashes happens when both toons lvlup at the same time, I dont quite know wich logs should I post.
Hey! the king, first Congrats for this plugins, it simple, but, very awesome! I have a little problem (I think all users with HBRelog have this problem) when HBRelog start logon task and login in wow, your plugin stop hb, because they are not yet in party, You can add a little UI with "Send Invite" with field for party members and wait time for accepting? Thank PD: sorry for my english, i know is very poor
I get stuck sometimes one of my toons complete a quest and go away before the other had time to complete but it's probably a lag problem lol Excellent pplugin In my opinion. Thanks for your great work!
Awesome plug in. Been using for 6 hours now and only 2 HB crashes. Thanks a lot for your work on this.