Esempio n. 1
0
        public bool IsOnAMenu()
        {
            bool ret = MCM.readInt(MCM.baseEvaluatePointer(0x02FF5FD0, MCM.ceByte2uLong("1E8 CB0"))) > 0;

            //Console.WriteLine(ret);
            return(ret);
        }
 private void dispatchCommands(object sender, EventArgs e)
 {
     if (MCM.readBaseByte(0x1EAF128) == 2)
     {
         UInt64[] noff  = { 0 };
         string   input = MCM.readString(MCM.baseEvaluatePointer(0x1EAF11C, noff), 256);
         MCM.writeBaseByte(0x1EAF128, 1);
     }
 }
Esempio n. 3
0
        //Made by EchoHackCmd
        public static List <Entity> getEntityList(bool filter)
        {
            List <Entity> entityList = new List <Entity>();
            UInt64        likelySize = MCM.readBaseInt64(0x30366B0);

            for (UInt64 index = 0; index < likelySize; index++)
            {
                UInt64[] startOffs     = { 0x30, 0xF0, 0x8, 0x50, 0x120, 0x38, index *0x8 };
                UInt64   indexedEntity = MCM.readInt64(MCM.baseEvaluatePointer(0x03022AE0, startOffs));
                if (indexedEntity == SDK.client.localPlayer.addr)
                {
                    continue;
                }

                Entity eObj = new Entity(indexedEntity);
                if (eObj.movedTick > 1)
                {
                    if (filter)
                    {
                        if (targetable.Contains(eObj.type))
                        {
                            entityList.Add(eObj);
                        }
                    }
                    else
                    {
                        entityList.Add(eObj);
                    }
                }

                /*
                 * if (eObj.movedTick > 1)
                 * {
                 *  entityList.Add(eObj);
                 * }//Only allow entities that move (Bye bye NPC's)
                 *///Hi NPCs... sorry you werent invited last time...
            }
            return(entityList);
        }
Esempio n. 4
0
 public static UInt64 entityFacing()
 {
     UInt64[] offs = { 0xA8, 0x20, 0x38, 0x728, 0x0, 0x870 };
     return(MCM.baseEvaluatePointer(0x02FEE4B0, offs));
 }
Esempio n. 5
0
 public bool GetMouseState(int mb)
 {
     UInt64[] offs = { 0x998, 0x8, 0x4F + (UInt64)mb };
     return(MCM.readByte(MCM.baseEvaluatePointer(0x03022480, offs)) > 0);
 }
Esempio n. 6
0
 public bool GetKeyState(char key)
 {
     UInt64[] offs = { 0x174 + (UInt64)key };
     return(MCM.readByte(MCM.baseEvaluatePointer(0x029D9AA0, offs)) > 0);
 }
Esempio n. 7
0
 public SDK()
 {
     instance = this;
     UInt64[] offs = { 0xA8, 0x58, 0x38, 0x8 };
     player = new LocalPlayer(MCM.baseEvaluatePointer(0x02FFAF50, offs));
 }
Esempio n. 8
0
 public SDK()
 {
     instance = this;
     ulong[] offs = { 0x30, 0x0 };
     client = new ClientInstance(MCM.baseEvaluatePointer(0x03022AE0, offs));
 }
Esempio n. 9
0
 public SDK()
 {
     instance = this;
     UInt64[] offs = { 0xA8, 0x10, 0x40, 0x0 };
     player = new LocalPlayer(MCM.baseEvaluatePointer(0x02FEE4B0, offs));
 }