What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Archebuddy GM detection firing but not on onFoundGameMaster in plugin

mscard02

New Member
Joined
Nov 10, 2014
Messages
40
Reaction score
0
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();

}
 
Back
Top