/// <summary> /// Initializes this Virtual Machine. /// </summary> public void Init() { PlatformState = (TS1)?(VMAbstractLotState) new VMTS1LotState():new VMTSOLotState(); GlobalState = new short[38]; GlobalState[20] = 255; //Game Edition. Basically, what "expansion packs" are running. Let's just say all of them. GlobalState[25] = 4; //as seen in EA-Land edith's simulator globals, this needs to be set for people to do their idle interactions. GlobalState[17] = 4; //Runtime Code Version, is this in EA-Land. if (Driver is VMServerDriver) { EODHost = new VMEODHost(); } }
/// <summary> /// Initializes this Virtual Machine. /// </summary> public void Init() { Context.Globals = FSO.Content.Content.Get().WorldObjectGlobals.Get("global"); PlatformState = new VMTSOLotState(); GlobalState = new short[33]; GlobalState[20] = 255; //Game Edition. Basically, what "expansion packs" are running. Let's just say all of them. GlobalState[25] = 4; //as seen in EA-Land edith's simulator globals, this needs to be set for people to do their idle interactions. GlobalState[17] = 4; //Runtime Code Version, is this in EA-Land. if (Driver is VMServerDriver) { EODHost = new VMEODHost(); } }