As a quick fix, open LogMeOut.cs and try to replace:
Code:InactivityDetector.ForceLogout(false); With: Lua.DoString("Logout()"); And InactivityDetector.ForceLogout(true); With: Lua.DoString("ForceQuit()");
I would post a edited file, but since this addon is still supported by its creator i'd rather not risk stepping on any toes. If abit of search+replacing inside LogMeOut.cs is too much for you, revert back to old hb until an official fix is released
Im unable to test this fix from where i'm at atm, so I haven't been able to verify it yet. GL![]()
As a quick fix, open LogMeOut.cs and try to replace:
Code:InactivityDetector.ForceLogout(false); With: Lua.DoString("Logout()"); And InactivityDetector.ForceLogout(true); With: Lua.DoString("ForceQuit()");
I would post a edited file, but since this addon is still supported by its creator i'd rather not risk stepping on any toes. If abit of search+replacing inside LogMeOut.cs is too much for you, revert back to old hb until an official fix is released
Im unable to test this fix from where i'm at atm, so I haven't been able to verify it yet. GL![]()
As a quick fix, open LogMeOut.cs and try to replace:
Code:InactivityDetector.ForceLogout(false); With: Lua.DoString("Logout()"); And InactivityDetector.ForceLogout(true); With: Lua.DoString("ForceQuit()");
I would post a edited file, but since this addon is still supported by its creator i'd rather not risk stepping on any toes. If abit of search+replacing inside LogMeOut.cs is too much for you, revert back to old hb until an official fix is released
Im unable to test this fix from where i'm at atm, so I haven't been able to verify it yet. GL![]()
Compiler Error: c:\Users\PC\Documents\Honorbuddy\Plugins\LogMeOut\LogMeOut.cs(1132,32) : error CS0117: 'Styx.CommonBot.InactivityDetector' does not contain a definition for 'ForceLogout'
Compiler Error: c:\Users\PC\Documents\Honorbuddy\Plugins\LogMeOut\LogMeOut.cs(1158,32) : error CS0117: 'Styx.CommonBot.InactivityDetector' does not contain a definition for 'ForceLogout'
Compiler Error: error CS1508: Resource identifier
That didnt work, but I read the quick fix and feel real proud of my self now that it works.@ZHEROMER: Download the latest release in the first post of this thread.
I tried to this. It looks like the plug-in works. However, it doesn't "Force log out". Can you possible test it and see if everything is good? Even after a fresh install I don't get force log outs. No error or any thing significant but just the force log out feature doesn't workThe latest version includes that fix, you probably selected the wrong archive. I'll remove the old one to avoid confusion.
[08:11:47.525 D] We died, Clearing current POI
[08:11:47.530 N] [LogMeOut!]: Death detected 1/10. Zone name : Tonlongsteppe (X="2565.65" Y="3129.175" Z="406.9445").
[08:11:47.530 N] [LogMeOut!]: The following unit(s) killed you : [Mob] Scharfhorn von Osul(88); [Mob] Scharfhorn von Osul(88); [Mob] Scharfhorn von Osul(88); [Mob] Scharfhorn von Osul(88);
[08:11:47.836 N] [LogMeOut!]: Starting logout process...
[08:11:47.836 N] [LogMeOut!]: Reason : The player was moved for about 298.2188 yards. Previous position: <2565.65, 3129.175, 406.9445>; Actual position: <2411.257, 3356.781, 291.6499>
[08:11:47.840 N] [LogMeOut!]: Log out in 20 secondes...
[08:11:47.840 N] [LogMeOut!]: Goodbye
[08:11:54.910 N] [LogMeOut!]: Stopping HonorBuddy...
[08:11:54.915 D] Plugin LogMeOut! threw an exception in 'Pulse'! Exception:
[08:11:54.919 D] System.Exception: Nur ein Teil der ReadProcessMemory- oder WriteProcessMemory-Anforderung wurde abgeschlossen, at addr: 22C81F60, Size: 17
at GreyMagic.ExternalProcessMemory.ReadByteBuffer(IntPtr addr, Void* buffer, Int32 count)
at GreyMagic.MemoryBase.Read[T](IntPtr addr)
at Styx.WoWInternals.WoWObjects.LocalPlayer.get_Inventory()
at Styx.WoWInternals.WoWObjects.LocalPlayer.get_FreeBagSlots()
at LogMeOut.LogMeOut.Pulse() in c:\Users\user#\Desktop\HB\Plugins\LogMeOut\LogMeOut.cs:line 523
at Styx.Plugins.PluginWrapper.Pulse()
[08:11:54.923 D] Handler for OnPulse threw exception!
[08:11:54.924 D] System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Exception: Nur ein Teil der ReadProcessMemory- oder WriteProcessMemory-Anforderung wurde abgeschlossen, at addr: 00000008, Size: 4
at GreyMagic.ExternalProcessMemory.ReadByteBuffer(IntPtr addr, Void* buffer, Int32 count)
at GreyMagic.MemoryBase.Read[T](IntPtr addr)
at Styx.WoWInternals.World.WorldScene.get_WorldMap()
at Styx.Pathing.MeshNavigator.UpdateMaps()
at Styx.Pathing.MeshNavigator.( )
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at Styx.CommonBot.BotEvents.(Delegate , Action`1 , Object[] )
[08:11:54.924 N] Wow exited, Honorbuddy stopped!
[08:11:54.924 Q] Bot stopping! Reason: Wow exited, Honorbuddy stopped!
[08:11:54.924 N] Honorbuddy terminating in 20 seconds.