Ejemplo n.º 1
0
        public EQmemory()
        {
            processes = Process.GetProcessesByName("EverQuest2");
            eqproc = processes[0];

            pPlayer = new MemoryLoc(eqproc, addrbase + 0xFC6CC);
            pPlocation = new MemoryLoc(eqproc, addrbase + 0x165DE0);
        }
Ejemplo n.º 2
0
 public int maxHp()
 {
     MemoryLoc max_hp = new MemoryLoc(eqproc, pPlayer.GetInt32() + 0x8C);
     return max_hp.GetInt32();
 }
Ejemplo n.º 3
0
        public float getZPos()
        {
            MemoryLoc cur_zaxis = new MemoryLoc(eqproc, pPlocation.GetInt32() + 0x78);

            return cur_zaxis.GetFloat();
        }
Ejemplo n.º 4
0
        public float getHeading()
        {
            MemoryLoc heading = new MemoryLoc(eqproc, pPlocation.GetInt32() + 0x8);

            return heading.GetFloat();
        }
Ejemplo n.º 5
0
 public int currentHp()
 {
     MemoryLoc cur_hp = new MemoryLoc(eqproc, pPlayer.GetInt32() + 0x88);
     return cur_hp.GetInt32();
 }