Esempio n. 1
0
 public static void Player(ref AionPlayer structure)
 {
     structure.KinahPtr = Memory.ReadInt(AionProcess.AionHandle, (AionProcess.GameDLL + 0x8E3934));
     structure.Name     = ReadUnicodeString(AionProcess.AionHandle, (AionProcess.GameDLL + 0x923F94), 40);
     structure.Macro1   = ReadUnicodeString(AionProcess.AionHandle, AionProcess.Macro1ADDR, 255);
     structure.Level    = Memory.ReadByte(AionProcess.AionHandle, (AionProcess.GameDLL + 0x8EEE98));
     structure.Cast     = Memory.ReadByte(AionProcess.AionHandle, (AionProcess.GameDLL + 0x8E4CC0));
     structure.ID       = Memory.ReadInt(AionProcess.AionHandle, (AionProcess.GameDLL + 0x8E444C));
     structure.XP       = Memory.ReadInt(AionProcess.AionHandle, (AionProcess.GameDLL + 0x8EEEB0));
     structure.XPmax    = Memory.ReadInt(AionProcess.AionHandle, (AionProcess.GameDLL + 0x8EEEA0));
     structure.HP       = Memory.ReadInt(AionProcess.AionHandle, (AionProcess.GameDLL + 0x8EEEC0));
     structure.HPmax    = Memory.ReadInt(AionProcess.AionHandle, (AionProcess.GameDLL + 0x8EEEBC));
     structure.MP       = Memory.ReadInt(AionProcess.AionHandle, (AionProcess.GameDLL + 0x8EEEC8));
     structure.MPmax    = Memory.ReadInt(AionProcess.AionHandle, (AionProcess.GameDLL + 0x8EEEC4));
     structure.DP       = Memory.ReadShort(AionProcess.AionHandle, (AionProcess.GameDLL + 0x8EEECE));
     structure.DPmax    = Memory.ReadShort(AionProcess.AionHandle, (AionProcess.GameDLL + 0x8EEECC));
     structure.CB       = Memory.ReadInt(AionProcess.AionHandle, (AionProcess.GameDLL + 0x8EEF00));
     structure.CBmax    = Memory.ReadInt(AionProcess.AionHandle, (AionProcess.GameDLL + 0x8EEF04));
     structure.Kinah    = Memory.ReadInt(AionProcess.AionHandle, (structure.KinahPtr + 0x138));
     structure.Xloc     = Memory.ReadFloat(AionProcess.AionHandle, (AionProcess.GameDLL + 0x8E6948));
     structure.Yloc     = Memory.ReadFloat(AionProcess.AionHandle, (AionProcess.GameDLL + 0x8E694C));
     structure.Zloc     = Memory.ReadFloat(AionProcess.AionHandle, (AionProcess.GameDLL + 0x8E6950));
     structure.Region   = ReadUnicodeString(AionProcess.AionHandle, (AionProcess.GameDLL + 0x8E6D70), 40);
     structure.Rotation = Memory.ReadFloat(AionProcess.AionHandle, (AionProcess.GameDLL + 0x8E40D4));
 }
Esempio n. 2
0
 public static void ReadMacro1(ref AionPlayer structure)
 {
     structure.Macro1 = ReadUnicodeString(AionProcess.AionHandle, AionProcess.Macro1ADDR, 255);
 }
Esempio n. 3
0
 public static void Inventory(ref AionPlayer structure)
 {
     //pass player structure in, and update the AionInventory element only.
 }
Esempio n. 4
0
 public static void ReadMacro1(ref AionPlayer structure)
 {
     structure.Macro1 = ReadUnicodeString(AionProcess.AionHandle, AionProcess.Macro1ADDR, 255);
 }
Esempio n. 5
0
 public static void Player(ref AionPlayer structure)
 {
     structure.KinahPtr = Memory.ReadInt(AionProcess.AionHandle, (AionProcess.GameDLL + 0x8E3934));
     structure.Name = ReadUnicodeString(AionProcess.AionHandle, (AionProcess.GameDLL + 0x923F94), 40);
     structure.Macro1 = ReadUnicodeString(AionProcess.AionHandle, AionProcess.Macro1ADDR, 255);
     structure.Level = Memory.ReadByte(AionProcess.AionHandle, (AionProcess.GameDLL + 0x8EEE98));
     structure.Cast = Memory.ReadByte(AionProcess.AionHandle, (AionProcess.GameDLL + 0x8E4CC0));
     structure.ID = Memory.ReadInt(AionProcess.AionHandle, (AionProcess.GameDLL + 0x8E444C));
     structure.XP = Memory.ReadInt(AionProcess.AionHandle, (AionProcess.GameDLL + 0x8EEEB0));
     structure.XPmax = Memory.ReadInt(AionProcess.AionHandle, (AionProcess.GameDLL + 0x8EEEA0));
     structure.HP = Memory.ReadInt(AionProcess.AionHandle, (AionProcess.GameDLL + 0x8EEEC0));
     structure.HPmax = Memory.ReadInt(AionProcess.AionHandle, (AionProcess.GameDLL + 0x8EEEBC));
     structure.MP = Memory.ReadInt(AionProcess.AionHandle, (AionProcess.GameDLL + 0x8EEEC8));
     structure.MPmax = Memory.ReadInt(AionProcess.AionHandle, (AionProcess.GameDLL + 0x8EEEC4));
     structure.DP = Memory.ReadShort(AionProcess.AionHandle, (AionProcess.GameDLL + 0x8EEECE));
     structure.DPmax = Memory.ReadShort(AionProcess.AionHandle, (AionProcess.GameDLL + 0x8EEECC));
     structure.CB = Memory.ReadInt(AionProcess.AionHandle, (AionProcess.GameDLL + 0x8EEF00));
     structure.CBmax = Memory.ReadInt(AionProcess.AionHandle, (AionProcess.GameDLL + 0x8EEF04));
     structure.Kinah = Memory.ReadInt(AionProcess.AionHandle, (structure.KinahPtr + 0x138));
     structure.Xloc = Memory.ReadFloat(AionProcess.AionHandle, (AionProcess.GameDLL + 0x8E6948));
     structure.Yloc = Memory.ReadFloat(AionProcess.AionHandle, (AionProcess.GameDLL + 0x8E694C));
     structure.Zloc = Memory.ReadFloat(AionProcess.AionHandle, (AionProcess.GameDLL + 0x8E6950));
     structure.Region = ReadUnicodeString(AionProcess.AionHandle, (AionProcess.GameDLL + 0x8E6D70),40);
     structure.Rotation = Memory.ReadFloat(AionProcess.AionHandle, (AionProcess.GameDLL + 0x8E40D4));
 }
Esempio n. 6
0
 public static void Inventory(ref AionPlayer structure)
 {
     //pass player structure in, and update the AionInventory element only.
 }