Ich möchte anfangen ein paar kleine Programme für WoW zu coden z.b. zum Auslesen der Koordinaten aber irgentwie komm ich nicht weiter.
Mein Momentaner Code ist folgender :
PHP Code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Magic;
namespace Memory_Editing_Tutorial__Console_App
{
class Program
{
static void Main(string[] args)
{
BlackMagic wow = new BlackMagic(); //Create new function to open wow process
wow.OpenProcessAndThread(SProcess.GetProcessFromWindowTitle("World of Warcraft")); //This Opens "World of Warcraft" window
uint playerbase = wow.ReadUInt(wow.ReadUInt(wow.ReadUInt(&HCD87A8) + &H34) + &H24); //this is the player base
float playerx = wow.ReadFloat(playerbase + &H79); // Read players xlocation
float playery = wow.ReadFloat(playerbase + &H79C); // Read players ylocation
float playerz = wow.ReadFloat(playerbase + &H7A0); // Read players zlocation
Console.WriteLine("Player X cord is:" + playerx); //writes to console to tell players x cordinate
Console.WriteLine("Player Y cord is:" + playery); //writes to console to tell players y cordinate
}
}
}