예제 #1
0
파일: EQmemory.cs 프로젝트: abronte/EQ2Bot
        public EQmemory()
        {
            processes = Process.GetProcessesByName("EverQuest2");
            eqproc = processes[0];

            pPlayer = new MemoryLoc(eqproc, addrbase + 0xFC6CC);
            pPlocation = new MemoryLoc(eqproc, addrbase + 0x165DE0);
        }
예제 #2
0
파일: EQmemory.cs 프로젝트: abronte/EQ2Bot
 public int maxHp()
 {
     MemoryLoc max_hp = new MemoryLoc(eqproc, pPlayer.GetInt32() + 0x8C);
     return max_hp.GetInt32();
 }
예제 #3
0
파일: EQmemory.cs 프로젝트: abronte/EQ2Bot
        public float getZPos()
        {
            MemoryLoc cur_zaxis = new MemoryLoc(eqproc, pPlocation.GetInt32() + 0x78);

            return cur_zaxis.GetFloat();
        }
예제 #4
0
파일: EQmemory.cs 프로젝트: abronte/EQ2Bot
        public float getHeading()
        {
            MemoryLoc heading = new MemoryLoc(eqproc, pPlocation.GetInt32() + 0x8);

            return heading.GetFloat();
        }
예제 #5
0
파일: EQmemory.cs 프로젝트: abronte/EQ2Bot
 public int currentHp()
 {
     MemoryLoc cur_hp = new MemoryLoc(eqproc, pPlayer.GetInt32() + 0x88);
     return cur_hp.GetInt32();
 }