AgaHackTools.Example.MemoryModule.OffsetScanner.ScanOffsets C# (CSharp) Method

ScanOffsets() public static method

public static ScanOffsets ( ISmartMemory memUtils ) : void
memUtils ISmartMemory
return void
        public static void ScanOffsets(ISmartMemory memUtils)
        {
            Logger = new Log("OffsetScanner");
            clientDllBase = (int)memUtils["client.dll"].ImageBase;
            engineDllBase = (int)memUtils["engine.dll"].ImageBase;
            EntityOff(memUtils);
            LocalPlayer(memUtils);
            Jump(memUtils);
            FindAttack(memUtils);
            FindAttack2(memUtils);
            ClientState(memUtils);
            SetViewAngles(memUtils);
            SignOnState(memUtils);
            GlowManager(memUtils); //Broken need new sign
            WeaponTable(memUtils);
            EntityID(memUtils);
            EntityHealth(memUtils);
            EntityVecOrigin(memUtils);
            PlayerTeamNum(memUtils);
            PlayerBoneMatrix(memUtils);
            PlayerWeaponHandle(memUtils);
            vMatrix(memUtils);
            Server(memUtils);
            MapName(memUtils);
        }

Usage Example

Example #1
0
        private unsafe void LoadOffsets()
        {
            Logger.Info("LoadOffsets");
            OffsetScanner.ScanOffsets(_memory);

            if (_memory.Internal)
            {
                Logger.Info("Loading internal stuff");
                var createInter = _memory["engine.dll"]["CreateInterface"];
                Logger.Info("New Interface name: " + createInter.Name + "\nAddress" + createInter.BaseAddress);
                //csgo.EngineCreateInterface = createInter.GetDelegate<CreateInterfaceFn>();
                //var returncode = 0;
                //var IEngineTracePtr = csgo.EngineCreateInterface(IEngineTraceVTable,ref returncode);
            }
        }
All Usage Examples Of AgaHackTools.Example.MemoryModule.OffsetScanner::ScanOffsets