THANK you for the fix. I can confirm it does indeed solve the problem. Code: float timeleft = ((Styx.WoWInternals.ObjectManager.Me.NextLevelXP - Styx.WoWInternals.ObjectManager.Me.XP) / Styx.Helpers.InfoPanel.XPPerHour) * 60; I see you identified it as a classic "divide by zero" problem when Styx.Helpers.InfoPanel.XPPerHour was zero (i.e., caused by grey mobs). What i don't understand is why this was a problem for HonorBuddy... "timeleft" should have either been positive infinity (numerator was non-zero), or Not-a-Number (NaN, numerator was zero), and the calculations should have been 'carried through' until the variables went out of the scope at the end of your Pulse function. As far as I can tell, no exception was thrown (nor should it have been). Can anyone shed some insight on why this error causes HB problems?
Is there any way this plugin could tell you how long until a pre selected level? So for example you choose which level you intend to reach and the plugin estimated time to that level (so that, for example you can time roughly when to come back to check on it, or change profiles) Otherwise, great simple plugin!
How do i make this plugin work i tried it yesterday but couldn't get it to work :/ Where do i paste the file etc can someone help me out ^^?
Does anyone know of a place that lists good medium and poor Xp/per hour per level? I really cant tell sometimes if a profile is making good xp an hour because I have nothing to gauge it by.
Doesnt work for me : ! Compiler errors: File: TimeUntilLevel v1.2.cs Line: 42 Error: 'Styx.WoWInternals.WoWObjects.LocalPlayer' does not contain a definition for 'NextLevelXP' and no extension method 'NextLevelXP' accepting a first argument of type 'Styx.WoWInternals.WoWObjects.LocalPlayer' could be found (are you missing a using directive or an assembly reference?) File: TimeUntilLevel v1.2.cs Line: 42 Error: 'Styx.WoWInternals.WoWObjects.LocalPlayer' does not contain a definition for 'XP' and no extension method 'XP' accepting a first argument of type 'Styx.WoWInternals.WoWObjects.LocalPlayer' could be found (are you missing a using directive or an assembly reference?)
Not working for me either atm. Here's my message: Plugin from C:\Program Files\Honorbuddy 2.0.0.3626\Plugins\TimeUntilLevel v1.2.cs could not be compiled! Compiler errors: File: TimeUntilLevel v1.2.cs Line: 42 Error: 'Styx.WoWInternals.WoWObjects.LocalPlayer' does not contain a definition for 'NextLevelXP' and no extension method 'NextLevelXP' accepting a first argument of type 'Styx.WoWInternals.WoWObjects.LocalPlayer' could be found (are you missing a using directive or an assembly reference?) File: TimeUntilLevel v1.2.cs Line: 42 Error: 'Styx.WoWInternals.WoWObjects.LocalPlayer' does not contain a definition for 'XP' and no extension method 'XP' accepting a first argument of type 'Styx.WoWInternals.WoWObjects.LocalPlayer' could be found (are you missing a using directive or an assembly reference?)
and you all do have eyes and have seen that is hasn't been updated for 2 ish months. and HB has been changed a few times after so its common sense its not working.
Found the fix, confirmed working by me. change line 42 from: Code: float timeleft = ((Styx.WoWInternals.ObjectManager.Me.NextLevelXP - Styx.WoWInternals.ObjectManager.Me.XP) / Styx.Helpers.InfoPanel.XPPerHour) * 60; to: Code: float timeleft = ((Styx.WoWInternals.ObjectManager.Me.NextLevelExperience - Styx.WoWInternals.ObjectManager.Me.Experience) / Styx.Helpers.InfoPanel.XPPerHour) * 60; Basically a more recent release of HB changed 'XP' to 'Experience' in certain structures. Or you can download the modified version from my attachment and replace the old version. (if this is an issue, let me know, or remove it) Sorry, for some reason the attachment didn't get attached correctly, fixed.
It's been working for me for the last 4 days, so yeah, I'll need an error message. Also, I haven't tried it with the build released today, and won't be able to for 2 more days, so that might be it. Edit: Just tested it with the newest HB version and it still works, must be something on your end.