Not sure what it prioritizes, but if you were to make a hardcore mode in the settings that would put a priority on vitality over main stat that would be fantastic.
However I found a serious bug. If you are using a 2 hander and you only have an offhand in your backpack, it will equip the offhand. I also made 2 changes.
Nice initiativei see you used my updates of Ratoshes old math for the actual calculations, with removal of stuff that doesn't exist anymore.
The usage of percentages makes less sense to me at this point, as those are not values returned by the game in any form or wayjust the old scoring calculated to % (which, using a double, might be less accurate - but hey nobody will notice that in reality, it's to little for that).
Also, steal the dual wielding code as-well, it's easy stuff(Look at how rings work, if you got those working?)
Thanks Gniller! Appreciate your comment! Yeah what I did is basically take AutoEquipper and strip everything out that either didn't seem to work anymore or what I couldn't wrap my head around and then made work again what was left after that... The conversion to percentage was mostly, because of the way it's displayed in D3 now (e.g. Toughness: +1.5%) and because it helped me understand things better when looking at the logs. Regarding slight inaccuracies: Just wanted it to work well enough. This is my first time writing any C#, so I knew from the start I probably couldn't reach the original...
Gonna have a look at your dual wielding code and see if I can make it work. It might be easy for you, but that doesn't anything for me. Haha...![]()
AutoEquipper 2 was never easy, that code is a mess!
I think AutoEquipper 2 was my first big C# project as-well just about half a year ago, diving into it has been great educationally for me so playing around with it is probably a good idea if you want to get into c#!
As for AutoEquipper 2, the plan is not to update that myself anymore. When the API provides us with the proper new ACDItem properties (the ingame % for ex.), i will write a new AutoEquipper from scratch. Not just me this time though, I've got rrrix backing me on that project!
At this point Nesox is the only core dev working on DemonBuddy though, so it might take a while before we are able to start this project.
Oh and if you have questions about design choices i made in AutoEquipper, feel free to trow me a PM or something!i'd be happy to help out. Not all code is mine there but I've spend tons of hours reading trough most of the code
![]()