I am not sure if this is a bug or not. I have the Archebuddy Account setting to flash my window and play a sound when a game master is detected. Today i was walking in gweonid and this event went off. However, none of my plugins fired that they had detected a game master. Is the Archebuddy account setting reliable, or could this be a bug? In my plugins where it is not firing, this is my code:
public void PluginRun()
{
Log("Start");
formThread = new Thread(RunForm);
formThread.SetApartmentState(ApartmentState.STA);
formThread.Start();
onFoundGameMaster += onGmFound;
while (FormIsOpen)
Thread.Sleep(100);
}
private void onGmFound(Creature obj)
{
Log("FOUND A GM: " + obj.name);
PlaySound("enemy.wav");
StopAllPlugins();
}
public void PluginRun()
{
Log("Start");
formThread = new Thread(RunForm);
formThread.SetApartmentState(ApartmentState.STA);
formThread.Start();
onFoundGameMaster += onGmFound;
while (FormIsOpen)
Thread.Sleep(100);
}
private void onGmFound(Creature obj)
{
Log("FOUND A GM: " + obj.name);
PlaySound("enemy.wav");
StopAllPlugins();
}