private static void stopMaster() { if (Master.engine != null) { Master.engine.StopEngine(); Master.Dispose(); MasterContainer.Reset(); clientListen.stop(); } }
public override void Run() { MasterContainer.IsStuck = false; if (!ObjectManager.isGhost) { Calls.DoString("RepopMe();"); } else { if (ObjectManager.CorpseLocation.differenceToPlayer() > 3) { WaitAfterRelease.Reset(); while (!WaitAfterRelease.IsReady()) { Thread.CurrentThread.Join(100); } Ingame.Tele(ObjectManager.CorpseLocation, 60, false); } else { RezzTimer.Reset(); while (!RezzTimer.IsReady()) { Thread.CurrentThread.Join(100); } while (ObjectManager.isGhost && ObjectManager.playerPtr != 0) { Calls.DoString("RetrieveCorpse();"); RezzTimer2.Reset(); while (!RezzTimer2.IsReady()) { Thread.CurrentThread.Join(100); } } MasterContainer.Reset(); } } }