Exemplo n.º 1
0
        public void test()
        {
            while (true)
            {
                Console.Clear();

                int currObjPtr = objectManager + FIRST_OBJECT;
                int currObj    = MemoryHandler.readInt(currObjPtr);

                //System.IO.StreamWriter file = new System.IO.StreamWriter(@"C:\Users\például Lilian\Desktop\akarmi2.txt");

                while (currObj != 0)
                {
                    currObj = MemoryHandler.readInt(currObjPtr);

                    /*if (
                     *  MemoryHandler.readHexAsInt64(Offset.MOUSE_OVER_GUID) != 0 &&
                     *  MemoryHandler.readHexAsInt64(Offset.MOUSE_OVER_GUID) == MemoryHandler.readHexAsInt64(currObj + GUID_OFFS)
                     * ) {
                     *    System.Console.WriteLine(MemoryHandler.readInt(currObj + Offset.TYPE_ID));
                     * }*/

                    if (MemoryHandler.readHexAsInt64(currObj + 560) == 75435293781275187)
                    {
                        if (MemoryHandler.readInt(currObj + 0xBC) != 0)
                        {
                            System.Console.WriteLine(MemoryHandler.readInt16(currObj + 0xBC));
                            if (MemoryHandler.readInt16(currObj + 0xBC) == 1)
                            {
                                MemoryHandler.writeInt64(Offset.MOUSE_OVER_GUID, MemoryHandler.readHexAsInt64(currObj + GUID_OFFS));
                                ChatWriter.hitKey(0x42);
                            }
                        }
                    }

                    currObjPtr = currObj + NEXT_OBJECT;
                }
                Thread.Sleep(100);
            }
        }
Exemplo n.º 2
0
 public bool isBobbing()
 {
     return(MemoryHandler.readInt16(baseAddr + IS_BOBING) == 1 ? true : false);
 }