Results 1 to 8 of 8
  1. #1
    zZzeta/S's Avatar
    Join Date
    Apr 2012
    Gender
    male
    Location
    Germany
    Posts
    1,061
    Reputation
    43
    Thanks
    2,100

    Unhappy Code For Changing Value In Pointer

    Hey People, i need the help of good coders(there are verry good in this section)

    For a game, doesn't matter which(if you want to know which ask) i wrote a dll which changes the vallue of your kills to 999.If you kill you then you get 999 exp (prety much normal is 100-120) and this in 20 secs. But My Script doesnt work. And in this Text the Offsets are also wrong.

    The CE pointer is Exp/Kills: "ava.exe"+01C65350]+374]+3c0]+18]+8]+224

    Here the Code

    Code:
    /*
    This is the Project Code
    
    */
    #include <Windows.h>
    #include <iostream>
    #include <stdio.h>
    
    using namespace std;
    //SpeicherAdressen, Pointer
    #define Points 0x00000176
    #define Offset2 0x0034
    #define Offset3 0x00000012
    #define Offset4 0x00000008
    #define Offset5 0x000000E0
    
    //RandomStuff
    DWORD BasePointer = 0;
    
    //Nur temporar ausgebaut DWORD *ingame = (DWORD*)PlayerPointer;
    bool State = false;
    
    //Hier ist eine Funktion, bis jetzt kann sie nur immer wenn der Wert 0 ist die Kills auf 999 hochschrauben
    
    void punkte()    // unsere main funktion
    {
            if(State)
        {	
    		DWORD dwOffset4 = *(DWORD*)Offset4;
            DWORD dwBasePointer = *(DWORD*)BasePointer;  
            if(dwBasePointer != 0) 
            {
                DWORD &dwPoints = *(DWORD*)(dwOffset4 + Offset5); 
    
                dwPoints = 999; 
    
            }
    
        }
        else // Vom State, also deaktivieren wir hier den Hack
        {
            DWORD dwBasePointer = *(DWORD*)BasePointer;  // machen wieder eine neue Variable wie oben
            if(dwBasePointer != 0)  
            {    
                DWORD &dwPoints = *(DWORD*)(dwBasePointer +  Points);  // wie oben definieren wir mithilfe des Pointers und Offsets die Adresse
    
                dwPoints = 0; //setzt den wert 0, also ist der Hack deaktiviert
    
            }
        }
    }
    DWORD WINAPI HackThread(LPVOID unused)
    {	
    	DWORD dwBasePointer = *(DWORD*)BasePointer;
        //---Hier wird unser BasePointer ausgerechnet !	
        DWORD ImageBase = (DWORD)GetModuleHandle(0);  
        BasePointer = ImageBase + 0x01C65350;  
    	DWORD dwItemBase = *(DWORD*)(dwBasePointer + Points);
    	DWORD dwOffset2 = *(DWORD*)(dwItemBase + Offset2);
    	DWORD dwOffset3 = *(DWORD*)(dwOffset2 + Offset3);
    	DWORD dwOffset4 = *(DWORD*)(dwOffset3 + Offset4);
    	
    	//---------------------------------------------
    
        for(; ;)  //Eine unendliche schleife weil wir die Adresse gefreezt haben wollen ;)
        {
            punkte();  //unsere main funktion wird ausgeführt
            if(GetAsyncKeyState(VK_F12)&1)State =! State; // Mit F12 aktivieren und deaktivieren wir den Hack
            Sleep(10);
        }
    }
    
    BOOL WINAPI DllMain(HINSTANCE mod, DWORD DWORD_GRUND, LPVOID res)
    {
        switch(DWORD_GRUND)
        {
        case DLL_PROCESS_ATTACH:  //Falls die dll erfolgreich injeziert wird
            CreateThread(0, 0, &HackThread , 0, 0, 0);  // Wir erstellen den Thread in dem dann später injezierten Process
            break;
         case DLL_PROCESS_DETACH:  //Falls die dll den Process nicht mehr findet
            MessageBoxA(0, "Not Loaded", "Info",0);  //Eine Messagebox die sagt das dll nicht mehr geladen ist
            break;
        }
        return TRUE;
    }
    Notes are in German, if someone needs to know i translate it

    ---------- Post added at 09:16 PM ---------- Previous post was at 08:29 PM ----------

    #Push(randomä1"↔Ú)
    Last edited by zZzeta/S; 07-11-2012 at 12:30 PM.
    Quote Originally Posted by Jabberwo0ck View Post
    Quote Originally Posted by uNrEaL View Post
    Cool, thanks!
    Ccman has gone too low. I've known for a long time he was sneaky.
    >top lel much crack many get so download wow

  2. #2
    Eidolon's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Location
    Vanished
    Posts
    822
    Reputation
    54
    Thanks
    4,077
    My Mood
    Angelic
    I dont get it. Reading your title I'd say
    Code:
    *(pointertype*)(*(addresstype*)address + offset) = value
    Maybe this helps you
    Last edited by Eidolon; 07-11-2012 at 08:01 PM.




    Yet, you are a pathetic human.

    Contributor since: 7.26.2012 - ended
    Donator since: 7.14.2012


  3. #3
    giniyat101's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Location
    Not telling.
    Posts
    1,935
    Reputation
    130
    Thanks
    1,380
    My Mood
    Dead
    post cheat engine pointer de-referencing image


     



    [img]https://i43.photobucke*****m/albums/e367/DeteSting/Steam-update.gif[/img]

  4. #4
    zZzeta/S's Avatar
    Join Date
    Apr 2012
    Gender
    male
    Location
    Germany
    Posts
    1,061
    Reputation
    43
    Thanks
    2,100

    Here the Screen

    Ok Here, but not all is read able: This is cutted "ava.exe"+01C65350

    Attached Thumbnails Attached Thumbnails
    Unbenannt.PNG  

    Quote Originally Posted by Jabberwo0ck View Post
    Quote Originally Posted by uNrEaL View Post
    Cool, thanks!
    Ccman has gone too low. I've known for a long time he was sneaky.
    >top lel much crack many get so download wow

  5. The Following User Says Thank You to zZzeta/S For This Useful Post:

    AznNicholas1314 (07-13-2012)

  6. #5
    giniyat101's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Location
    Not telling.
    Posts
    1,935
    Reputation
    130
    Thanks
    1,380
    My Mood
    Dead
    here is what u should do:
    Code:
    struct st6
    {
        char unk[0x224];
        int value;
    };
    struct st5
    {
        char unk[0x8];
        st6 t6;
    };
    struct st4
    {
        char unk[0x18];
        st5 t5;
    };
    struct st3
    {
        char unk[0x3C0];
        st4 t4;
    };
    struct st2
    {
        char unk[0x374];
        st3 t3;
    };
    struct st1
    {
        char unk[0x1C65350];
        st2 t2;
    };
    
    
    st1* t1 = (st1*)GetModuleHandle(NULL);
    if (t1->t2)
        if (t1->t2->t3)
            if (t1->t2->t3->t4)
                if (t1->t2->t3->t4->t5)
                    if (t1->t2->t3->t4->t5->t6)
                    {
                              //change the value to 0.. you may 
                              t1->t2->t3->t4->t5->t6->value = 0;
                    }
    @zZzeta_S
    Last edited by giniyat101; 07-15-2012 at 05:41 PM.


     



    [img]https://i43.photobucke*****m/albums/e367/DeteSting/Steam-update.gif[/img]

  7. #6

  8. #7
    zZzeta/S's Avatar
    Join Date
    Apr 2012
    Gender
    male
    Location
    Germany
    Posts
    1,061
    Reputation
    43
    Thanks
    2,100
    Thx all clear /closerequest
    Quote Originally Posted by Jabberwo0ck View Post
    Quote Originally Posted by uNrEaL View Post
    Cool, thanks!
    Ccman has gone too low. I've known for a long time he was sneaky.
    >top lel much crack many get so download wow

  9. #8
    Hassan's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    System.Threading.Tasks
    Posts
    4,764
    Reputation
    495
    Thanks
    2,133
    My Mood
    Dead
    Marked Solved and Closed on Request.

Similar Threads

  1. [Help] How to do a Script for change the box value
    By exerath in forum Alliance of Valiant Arms (AVA) Coding / Source Code
    Replies: 20
    Last Post: 07-22-2012, 09:34 PM
  2. [Request] Pointers, Addys, Offsets, WeaponLog, ETC code for tranies
    By amuto22 in forum CrossFire PH Discussions
    Replies: 0
    Last Post: 06-16-2012, 01:35 AM
  3. [Help Request] Change value for headshot/kills for weapon
    By valkaliban2 in forum Call of Duty Modern Warfare 3 Help
    Replies: 3
    Last Post: 04-09-2012, 09:29 PM
  4. what's the code to change luck value higher than 100?
    By psrpsrpsr in forum Vindictus Help
    Replies: 2
    Last Post: 05-04-2011, 05:16 PM
  5. Code for changing your ip?
    By deathninjak0 in forum Visual Basic Programming
    Replies: 7
    Last Post: 11-26-2009, 01:15 PM