/// <summary> /// Initializes this Virtual Machine. /// </summary> public void Init() { PlatformState = 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(); } #if VM_DESYNC_DEBUG Trace = new VMSyncTrace(); #endif }