Results 1 to 13 of 13
  1. #1
    KingX735's Avatar
    Join Date
    Nov 2012
    Gender
    male
    Posts
    632
    Reputation
    49
    Thanks
    4,922
    My Mood
    Cheerful

    Question Hey guys, i need some help

    Hi guys, i need some help ( for the first time since November )
    Well, here is my problem :

    I'm actually using Master131's Memory module, i use this code :

    WriteMemory(Of Integer)(&HAdress, Value)

    Now, i have an adress + an offset

    I already tested this :

    WriteMemory(Of Integer)(&HAdress + Offset, Value)

    But this code doesn't work.
    How can i do that please ? thanks
    Last edited by KingX735; 12-31-2013 at 11:55 AM.

  2. #2
    SammyDoge1's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Location
    Tried looking behind you...?
    Posts
    2,207
    Reputation
    62
    Thanks
    2,147
    My Mood
    Tired
    What Language? In C# i use ghost.WriteInteger(0x1444CC517, Convert.ToInt32(textBox2.Text)); to use textboxes for the value's.






  3. The Following User Says Thank You to SammyDoge1 For This Useful Post:

    KingX735 (12-31-2013)

  4. #3
    KingX735's Avatar
    Join Date
    Nov 2012
    Gender
    male
    Posts
    632
    Reputation
    49
    Thanks
    4,922
    My Mood
    Cheerful
    VB.Net

    /msgtooshort

  5. #4
    SammyDoge1's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Location
    Tried looking behind you...?
    Posts
    2,207
    Reputation
    62
    Thanks
    2,147
    My Mood
    Tired
    Quote Originally Posted by KingX735 View Post
    VB.Net

    /msgtooshort
    With WriteMemory(Of Integer)(&HAdress + Offset, Value)

    You mean like
    WriteMemory(Of Integer)(0x1444CC517, Lets say 50?) ???





  6. #5
    KingX735's Avatar
    Join Date
    Nov 2012
    Gender
    male
    Posts
    632
    Reputation
    49
    Thanks
    4,922
    My Mood
    Cheerful
    Quote Originally Posted by sammyhond1 View Post

    With WriteMemory(Of Integer)(&HAdress + Offset, Value)

    You mean like
    WriteMemory(Of Integer)(0x1444CC517, Lets say 50?) ???
    Not really, i'm wondering how to write a value to an adress with an offset

  7. The Following User Says Thank You to KingX735 For This Useful Post:

    SammyDoge1 (12-31-2013)

  8. #6
    SammyDoge1's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Location
    Tried looking behind you...?
    Posts
    2,207
    Reputation
    62
    Thanks
    2,147
    My Mood
    Tired
    Quote Originally Posted by KingX735 View Post
    Not really, i'm wondering how to write a value to an adress with an offset
    Hmm idk then, i'm pretty new to it all, Also never worked with VB.Net, Try PMing Lovro. Goodluck!





  9. The Following User Says Thank You to SammyDoge1 For This Useful Post:

    KingX735 (12-31-2013)

  10. #7
    Lovroman's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Posts
    9,417
    Reputation
    611
    Thanks
    11,989
    My Mood
    Cheerful
    You have to read pointer value and then an add offset to that value.

  11. The Following 2 Users Say Thank You to Lovroman For This Useful Post:

    Minnesota Dabs (12-31-2013),SammyDoge1 (12-31-2013)

  12. #8
    nectum93's Avatar
    Join Date
    Jan 2012
    Gender
    male
    Posts
    217
    Reputation
    10
    Thanks
    175
    My Mood
    Twisted
    Test Like that professor ^^

    WriteMemory(Of Integer)((&HAdress + &Offset), Value)
    Last edited by nectum93; 12-31-2013 at 06:31 PM.
    If u want i make more cheat, help me to buy the game
    Thanks you all have helped me.


    EVGA GTX 780Ti SC ACX - i5 3570k OC - 8GB Ram


  13. #9
    distiny's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    560
    Reputation
    67
    Thanks
    562
    My Mood
    Cynical
    @KingX735
    I'll cp what I got in c# then below I'll link an online converter (don't blame me if the conversion fucks up )

    First since iw6mp_ship.exe is a static address you can calculate the address + offset manually then add the new address (but if the base address changes you have to use this)


    in my memory class:
    c#:

    Code:
     private IntPtr Handle;
            private string attached_proc = string.Empty;
            private int proc_id;
    
            public Memory(string a_process)
            {
                attached_proc = a_process;
                Process process = Process.GetProcessesByName(a_process)[0];
                Handle = OpenProcess(0x1f0fff, false, (uint) proces*****);
                proc_id = proces*****;
            }
    
            public uint baseaddress(string proc_module)
            {
                uint num = 0;
                foreach (ProcessModule module in Process.GetProcessesByName(attached_proc)[0].Modules)
                {
                    if (module.ModuleName == proc_module)
                    {
                        num = uint.Parse(module.BaseAddress.ToString());
                    }
                }
                return num;
            }
    then the pointer reading function

    Code:
      [DllImport("kernel32.dll", SetLastError=true)]
            private static extern bool CloseHandle(IntPtr hObject);
            public static IntPtr MemoryOpen(uint ProcessID)
            {
                return OpenProcess(0x998fff, false, ProcessID);
            }
    
            [DllImport("kernel32.dll")]
            private static extern IntPtr OpenProcess(uint dwDesiredAccess, bool bInheritHandle, uint dwProcessId);
            public int ReadOffset(uint pointer)
       private static extern bool ReadProcessMemory(IntPtr hProcess, IntPtr lpBaseAddress, byte[] lpBuffer, UIntPtr nSize, uint lpNumberOfBytesWritten);
    
    
     public int ReadPointer(uint pointer)
            {
                byte[] lpBuffer = new byte[0x18];
                ReadProcessMemory(this.Handle, (IntPtr) pointer, lpBuffer, (UIntPtr) 4, 0);
                return BitConverter.ToInt32(lpBuffer, 0);
            }
    then you can do (random example)
    Code:
     uint base_address = mem.baseaddress("iw6mp_ship.exe");     //mem. is obvioulsy referring to the mem class  Memory mem = new Memory("iw6mp_ship");
               uint address = (uint)mem.ReadPointer(base_address) + 0x43C;
               address = (uint)mem.ReadPointer(address) + 0x0;
               address = (uint)mem.ReadPointer(address) + 0x234;
               address = (uint)mem.ReadPointer(address) + 0x8;
               address = (uint)mem.ReadPointer(address) + 0x2F4;
    use the online converter here:

    Convert C# to VB.NET - A free code conversion tool - developer Fusion
    FBI got my PC...Hardcore cheating is paused atm..

  14. #10
    KingX735's Avatar
    Join Date
    Nov 2012
    Gender
    male
    Posts
    632
    Reputation
    49
    Thanks
    4,922
    My Mood
    Cheerful
    Well, thanks for your help but the conversion fucked up



    Also, OpenProcess isn't declared


  15. #11
    chitachok's Avatar
    Join Date
    Mar 2012
    Gender
    male
    Posts
    17
    Reputation
    10
    Thanks
    3
    My Mood
    Cold
    Dim addr As ULong = YourAddress + Offset
    WriteMemory(Of Integer)(addr, Value)

    Easy Peasy
    Last edited by chitachok; 01-01-2014 at 10:17 AM.

  16. #12
    distiny's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    560
    Reputation
    67
    Thanks
    562
    My Mood
    Cynical
    Quote Originally Posted by KingX735 View Post
    Well, thanks for your help but the conversion fucked up



    Also, OpenProcess isn't declared

    open proc is declared

    private static extern IntPtr OpenProcess(uint dwDesiredAccess, bool bInheritHandle, uint dwProcessId);

    I'll try to convert the entire class and pm it to you to prevent leechers sucking me dry like a thai pro whore
    Last edited by distiny; 01-01-2014 at 10:25 AM.
    FBI got my PC...Hardcore cheating is paused atm..

  17. The Following User Says Thank You to distiny For This Useful Post:

    Minnesota Dabs (01-01-2014)

  18. #13
    SammyDoge1's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Location
    Tried looking behind you...?
    Posts
    2,207
    Reputation
    62
    Thanks
    2,147
    My Mood
    Tired
    Quote Originally Posted by distiny View Post
    to prevent leechers sucking me dry like a thai pro whore
    OMG xD you're posts are pure gold, scarce but sooo good!





  19. The Following User Says Thank You to SammyDoge1 For This Useful Post:

    Minnesota Dabs (01-01-2014)

Similar Threads

  1. [Help Request] hey guys,i need some help ?
    By kumaha in forum CrossFire Help
    Replies: 1
    Last Post: 05-11-2013, 01:17 PM
  2. [Help] Hey ..guys i need some help { asking }
    By Faris Hadzir in forum Blackshot Hacks & Cheats
    Replies: 2
    Last Post: 11-12-2012, 07:47 AM
  3. Hey guys.. I need some help.
    By Psychotic in forum General
    Replies: 13
    Last Post: 06-02-2012, 05:08 PM
  4. [Help] hey guys i need some help with server
    By tearaxdrop in forum CrossFire Discussions
    Replies: 3
    Last Post: 03-03-2012, 06:40 AM
  5. Hi guys i need some help
    By hhazee in forum Knight Online Hacks
    Replies: 1
    Last Post: 07-31-2008, 10:42 PM

Tags for this Thread