public Program() { //WriteMemory(0x323550, Encoding.Unicode.GetBytes("Wow!" + "\n"), processHandle); // MouseSimulator.X += 1000; // MouseSimulator.Click(MouseButton.Right); // KeyboardSimulator.KeyPress(Keys.B); /* List<int> healths = new List<int>(); * * using (System.IO.StreamWriter file = new System.IO.StreamWriter(@"C:\Users\Franszöá\Desktop\akarmi.txt")) { * for (int i = 0; i < 100000; ++i) { * file.WriteLine(readFloat(0xBD0A58 + 0x1 * i, processHandle)); * } * } * * int[] healthsInt = healths.ToArray(); * * */ Position playerPos; Player character = new Player(); //character.takeOff(); character.flyTo(4797.0f, 3551.0f); character.flyTo(4795.0f, 3548.0f); while (true) { System.Console.Clear(); playerPos = Zone.getRelativePosition(character.getX(), character.getY()); System.Console.WriteLine("x: " + playerPos.x * 100 + ", y: " + playerPos.y * 100); System.Console.WriteLine(character.getX()); System.Console.WriteLine(character.getY()); Thread.Sleep(100); } System.Console.Read(); }