Results 1 to 2 of 2
  1. #1
    slayeris3's Avatar
    Join Date
    Feb 2019
    Gender
    male
    Posts
    0
    Reputation
    10
    Thanks
    0
    My Mood
    Aggressive

    Need to find the mistake Help please <3

    Im A trainer so as usual im trying to cheat in assault cube ... i ve created code that allow me to set my health too 9999 and i ran it but health is not automaticaly reset to 9999 so what shall i do to activate it ...
    Code:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Threading;
    
    namespace DEMO
    {
        class Program
        {
            public static int Base = 0x00FBA110;
            public static int Health = 0xF8;
    
    
            static void Main(string[] args)
            {
                VAMemory vam = new VAMemory("ac_client");
    
                int LocalPlayer = vam.ReadInt32((IntPtr)Base);
    
                while (true)
                {
                    int address = LocalPlayer + Health;
                    vam.WriteInt32((IntPtr)address, 9999);
    
    
                    Thread.Sleep(100);
    
    
                }
    
    
    
            }
        }
    }
    Last edited by slayeris3; 06-05-2019 at 02:05 PM.

  2. #2
    defaulto's Avatar
    Join Date
    Aug 2017
    Gender
    male
    Posts
    461
    Reputation
    427
    Thanks
    347
    My Mood
    Angelic
     
    Quote Originally Posted by slayeris3 View Post
    Im A trainer so as usual im trying to cheat in assault cube ... i ve created code that allow me to set my health too 9999 and i ran it but health is not automaticaly reset to 9999 so what shall i do to activate it ...
    Code:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Threading;
    
    namespace DEMO
    {
        class Program
        {
            public static int Base = 0x00FBA110;
            public static int Health = 0xF8;
    
    
            static void Main(string[] args)
            {
                VAMemory vam = new VAMemory("ac_client");
    
                int LocalPlayer = vam.ReadInt32((IntPtr)Base);
    
                while (true)
                {
                    int address = LocalPlayer + Health;
                    vam.WriteInt32((IntPtr)address, 9999);
    
    
                    Thread.Sleep(100);
    
    
                }
    
    
    
            }
        }
    }


    You are writing to the wrong adress. You forgot to include the base address of the module "ac_client".


    Try this instead:

    -> it might not work without editing it a bit - but get the idea and inplement it yourself. I don't want to come with the "spoon" speech. But.. no one will come and feed you with the spoon.

    -> Also don't start your journey with the VAMemory library. Try to apply your understanding of coding and create (or use) a Library you understand yourself.

    Code:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Threading;
    using System.Diagnostics;
    
    namespace DEMO
    {
        class Program
        {
            static void Main(string[] args)
            {
                Process[] processes = Process.GetProcessesByName("ac_client");
                if (processes.Length > 0)
                {
                    IntPtr BaseAddress = IntPtr.Zero;
                    Process activeProcesses = processes[0];
    
                    foreach (ProcessModule module in activeProcesses.Modules)
                    {
                        if (module.ModuleName.Contains("ac_client"))
                        {
                            BaseAddress = module.BaseAddress;
                        }
                    }
    
                    if (BaseAddress != IntPtr.Zero)
                    {
                        public static int Base = 0x00FBA110;
                        public static int Health = 0xF8;
    
                        int newHealthValue = 9999;
    
                        VAMemory vam = new VAMemory("ac_client");
                        int LocalPlayer = vam.ReadInt32((IntPtr)BaseAdress + Base);
                        int health = vam.ReadInt32((IntPtr)LocalPlayer + Health);
    
                        /*
                        string info = String.Format("Health: {0}", health.ToString());
                        Console.Clear();
                        Console.WriteLine(info);
                        */
    
                        while (true)
                        {
                            vam.WriteInt32((IntPtr)LocalPLayer + Health, newHealthValue);
                            Thread.Sleep(1000);
                        }
                    }
                }
            }
        }
    }
    Hope I could help you a bit.
    Enjoy hacking~

    #LOGS
    12-02-2020 ⌨ [MPGH]defaulto got gifted the Premium Membership from [MPGH]Azuki - sponsored by [MPGH]Flengo.
    27-11-2019 ⌨ [MPGH]defaulto captured the GFX Team Base together with [MPGH]Howl & [MPGH]Poonce.
    08-14-2017 ⌨ defaulto joined the game.

Similar Threads

  1. [Help] Whats the Wrong ?? Help please ..
    By johngerald29 in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 3
    Last Post: 06-04-2012, 03:19 AM
  2. [Solved] Cannot find localization.txt help! Please do not...
    By MarketEngineer in forum Call of Duty Modern Warfare 3 Help
    Replies: 10
    Last Post: 05-02-2012, 06:57 AM
  3. How do i find the Dll??? HELP
    By Iown3du in forum CrossFire Help
    Replies: 4
    Last Post: 07-16-2010, 02:28 AM
  4. I need to find the funny and stupidest signature you can make
    By ogllyboogly in forum Combat Arms Discussions
    Replies: 7
    Last Post: 06-12-2010, 03:23 PM
  5. What are the types? help please
    By sidnietje in forum WarRock - International Hacks
    Replies: 0
    Last Post: 05-30-2007, 08:25 AM