It happens randomly when farming in all zones (uldum, deepholm, vash....). The screen goes black with just the UI being visible. Doing /reload ingame fixes the problem.Please answer my question first.
And where / when do you get the black screen?
Otherwise i cant help you.
It's not a fault with wow if it only occurs while botting.The Devs are not unwilling to fix this. Its a fault in wow, which can only be fixed there.
But such a plugin could be the only fix atm.
I would like to see that too.![]()
Ah and that makes HB cause it? Its caused by injections most likely, and not the program itself. Stop blaming everything. If you don't like it, ask for a refund and get a new bot. Have fun.It's not a fault with wow if it only occurs while botting.
The gui is still visible, everything else is black.Is the gui gone too or is just the worldframe black?
using System;
using System.Diagnostics;
using System.Drawing;
using Styx.Helpers;
using Styx.Plugins.PluginClass;
using Styx.WoWInternals;
namespace Reload
{
internal class Class1 : HBPlugin
{
#region Overrides of HBPlugin
private string _author = "No one";
private string _name = "ReloadUI";
private Version _version = new Version(1, 0);
public override string Name { get { return _name; } }
public override string Author { get { return _author; } }
public override Version Version { get { return _version; } }
public override void Pulse()
{
Stopwatch sw = new Stopwatch();
if (!sw.IsRunning)
sw.Start();
if (sw.IsRunning)
return;
if (sw.Elapsed.Seconds < 900)
return;
if (sw.Elapsed.Seconds > 900)
{
Lua.DoString("ReloadUI()");
sw.Restart();
Logging.Write(Color.Gold, "Reloading UI");
}
}
#endregion
}
}
Not tested, no support, use it at your own risk.
Code:using System; using System.Diagnostics; using System.Drawing; using Styx.Helpers; using Styx.Plugins.PluginClass; using Styx.WoWInternals; namespace Reload { internal class Class1 : HBPlugin { #region Overrides of HBPlugin private string _author = "No one"; private string _name = "ReloadUI"; private Version _version = new Version(1, 0); public override string Name { get { return _name; } } public override string Author { get { return _author; } } public override Version Version { get { return _version; } } public override void Pulse() { Stopwatch sw = new Stopwatch(); if (!sw.IsRunning) sw.Start(); if (sw.IsRunning) return; if (sw.Elapsed.Seconds < 900) return; if (sw.Elapsed.Seconds > 900) { Lua.DoString("ReloadUI()"); sw.Restart(); Logging.Write(Color.Gold, "Reloading UI"); } } #endregion } }
the marked code will always return, or?public override void Pulse()
{
Stopwatch sw = new Stopwatch();
if (!sw.IsRunning)
sw.Start();
if (sw.IsRunning)
return;
if (sw.Elapsed.Seconds < 900)
return;
if (sw.Elapsed.Seconds > 900)
{
Lua.DoString("ReloadUI()");
sw.Restart();
Logging.Write(Color.Gold, "Reloading UI");
}
}
Stopwatch sw = new Stopwatch();
public override void Pulse()
{
if (!sw.IsRunning)
sw.Start();
if (sw.Elapsed.Seconds > 900)
{
Lua.DoString("ReloadUI()");
sw.Restart();
Logging.Write(Color.Gold, "Reloading UI");
}
}