예제 #1
0
 /// <summary>
 /// Forces a faceoff
 /// </summary>
 public static void ForceFaceoff()
 {
     MemoryEditor.WriteBytes(0x01893200, new byte[] { 1 });
 }
예제 #2
0
 /// <summary>
 /// Resumes time on the clock
 /// </summary>
 public static void ResumeGame()
 {
     MemoryEditor.WriteBytes(0x0040B65A, new byte[] { 0 });
     MemoryEditor.WriteBytes(0x004078FB, new byte[] { 1 });
 }
예제 #3
0
 /// <summary>
 /// Pauses time on the clock
 /// </summary>
 public static void PauseGame()
 {
     MemoryEditor.WriteBytes(0x0040B65A, new byte[] { 75 });
     MemoryEditor.WriteBytes(0x004078FB, new byte[] { 0 });
 }
예제 #4
0
파일: Chat.cs 프로젝트: sam2/Pubstars2
 /// <summary>
 /// Removes the last command from game memory. Usefull when checking if there is a new command
 /// </summary>
 public static void FlushLastCommand()
 {
     MemoryEditor.WriteInt(-1, COMMAND_SOURCE);
     MemoryEditor.WriteString(" \0", COMMAND);
 }
예제 #5
0
 /// <summary>
 /// Resumes time on the clock
 /// </summary>
 public static void ResumeGame()
 {
     MemoryEditor.WriteBytes(new byte[] { 0 }, 0x0040B65A);
     MemoryEditor.WriteBytes(new byte[] { 1 }, 0x004078FB);
 }
예제 #6
0
 /// <summary>
 /// Pauses time on the clock
 /// </summary>
 public static void PauseGame()
 {
     MemoryEditor.WriteBytes(new byte[] { 75 }, 0x0040B65A);
     MemoryEditor.WriteBytes(new byte[] { 0 }, 0x004078FB);
 }