Results 1 to 12 of 12
  1. #1
    GunBoy120's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Location
    In my house lol
    Posts
    102
    Reputation
    10
    Thanks
    5
    My Mood
    Cheerful

    My code dont work

    im trying to make my first hack, but i cant '-'
    no error occurs, but in the game is like im without hack ._.

    Code:
    #include <Windows.h>
    #define WeaponMgr 0xAB2940
    #define NoReload 0x26C4
    #define NoRecoil1 0x53C
    #define NoRecoil2 0x6A4
    #define NoRecoil3 0x1958
    #define NoRecoil4 0x1964
    #define NoRecoil5 0x1FC0
    #define NoRecoil6 0x2128
    #define NoRecoil7 0x2290
    
    void lol()
    {
    unsigned long CShell = (unsigned long)GetModuleHandleA("CShell.dll");
    unsigned long pWeaponMgr = *(unsigned long*)(CShell+WeaponMgr);
    
    if(NoReload)
    {
          if (pWeaponMgr)
                           {
                             for(int i=0; i<560; i++)
                                                      {
    if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
    *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + NoReload) = 100;
    						 }
    	  }
    }
    
    	if(pWeaponMgr)
    	{
    		for(int y=0; y<9; y++)
    		{
     *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*y))) + NoRecoil1) = 0.0f;
     *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*y))) + NoRecoil2) = 0.0f;
     *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*y))) + NoRecoil3) = 0.0f;
     *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*y))) + NoRecoil4) = 0.0f;
     *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*y))) + NoRecoil5) = 0.0f;
     *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*y))) + NoRecoil6) = 0.0f;
     *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*y))) + NoRecoil7) = 0.0f;
    		}
    	}
    }
    
    int gsc()
    {
    lol();
    return true;
    }
    
    void _stdcall DllMain(HMODULE hDll, unsigned long dwReason, LPVOID lpReserved)
    {
    	if (dwReason == 1)
    	{
    	gsc();
    	}
    	if (dwReason == 0)
    	{
    	}
    }
    if anyone can help me, i will thank

  2. #2
    giniyat101's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Location
    Not telling.
    Posts
    1,935
    Reputation
    130
    Thanks
    1,380
    My Mood
    Dead
    should work if yo inject before join room and after login


     



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

  3. #3
    GunBoy120's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Location
    In my house lol
    Posts
    102
    Reputation
    10
    Thanks
    5
    My Mood
    Cheerful
    @giniyat101
    thanks for help but, i tried this and not work

  4. #4
    Code[VB]'s Avatar
    Join Date
    Mar 2011
    Gender
    male
    Location
    CODER
    Posts
    608
    Reputation
    11
    Thanks
    702
    My Mood
    Bitchy
    learn coding? stop leeching!

  5. The Following User Says Thank You to Code[VB] For This Useful Post:

    [G]a[M]e[R] (04-29-2012)

  6. #5
    DaRk's Avatar
    Join Date
    Dec 2010
    Gender
    male
    Location
    MPGH
    Posts
    1,910
    Reputation
    119
    Thanks
    3,986
    My Mood
    Asleep
    Quote Originally Posted by Code[VB] View Post
    learn coding? stop leeching!
    yea i agree..u people need to learn..we can't just spoonfeed everytime..try to learn from the codes people give out..there are tons of tuts on this section..u just need to look..
    1. Learn C++
    2. look at an example base
    3. Figure out how it works.
    4. make ur own base.
    Last edited by DaRk; 04-29-2012 at 02:32 PM.

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

    GunBoy120 (04-29-2012)

  8. #6
    GunBoy120's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Location
    In my house lol
    Posts
    102
    Reputation
    10
    Thanks
    5
    My Mood
    Cheerful
    @DaRk
    ty ^^, i will try
    @Code[VB]
    try to help people like DaRk did ;]

  9. #7
    Genkidesu's Avatar
    Join Date
    Mar 2012
    Gender
    male
    Location
    Thanh Hóa
    Posts
    187
    Reputation
    30
    Thanks
    2,786
    My Mood
    Bored
    why u need these?
    Code:
    void lol(){
    //whatever
    }
    
    int gsc(){
    //whatever
    return true;
    }
    
    void _stdcall DllMain(HMODULE hDll, unsigned long dwReason, LPVOID lpReserved){
    //whatever
    }
    Just do it once:
    Code:
    int lolgsc(void){ 
    //whatever
    return 0; 
    }
    
    void _stdcall DllMain(HMODULE hDll, unsigned long dwReason, LPVOID lpReserved){
    //whatever
    return 1;
    }

  10. #8
    I love myself
    나도 너를 사랑해

    Former Staff
    Premium Member
    Jhem's Avatar
    Join Date
    Mar 2012
    Gender
    male
    Location
    167,646,447
    Posts
    5,150
    Reputation
    1220
    Thanks
    7,393
    My Mood
    Stressed
    Its To Hack...

  11. #9
    twixxxx's Avatar
    Join Date
    Apr 2012
    Gender
    male
    Posts
    28
    Reputation
    10
    Thanks
    1
    My Mood
    Asleep
    Quote Originally Posted by GunBoy120 View Post
    im trying to make my first hack, but i cant '-'
    no error occurs, but in the game is like im without hack ._.

    Code:
    #include <Windows.h>
    #define WeaponMgr 0xAB2940
    #define NoReload 0x26C4
    #define NoRecoil1 0x53C
    #define NoRecoil2 0x6A4
    #define NoRecoil3 0x1958
    #define NoRecoil4 0x1964
    #define NoRecoil5 0x1FC0
    #define NoRecoil6 0x2128
    #define NoRecoil7 0x2290
    
    void lol()
    {
    unsigned long CShell = (unsigned long)GetModuleHandleA("CShell.dll");
    unsigned long pWeaponMgr = *(unsigned long*)(CShell+WeaponMgr);
    
    if(NoReload)
    {
          if (pWeaponMgr)
                           {
                             for(int i=0; i<560; i++)
                                                      {
    if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
    *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + NoReload) = 100;
    						 }
    	  }
    }
    
    	if(pWeaponMgr)
    	{
    		for(int y=0; y<9; y++)
    		{
     *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*y))) + NoRecoil1) = 0.0f;
     *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*y))) + NoRecoil2) = 0.0f;
     *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*y))) + NoRecoil3) = 0.0f;
     *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*y))) + NoRecoil4) = 0.0f;
     *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*y))) + NoRecoil5) = 0.0f;
     *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*y))) + NoRecoil6) = 0.0f;
     *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*y))) + NoRecoil7) = 0.0f;
    		}
    	}
    }
    
    int gsc()
    {
    lol();
    return true;
    }
    
    void _stdcall DllMain(HMODULE hDll, unsigned long dwReason, LPVOID lpReserved)
    {
    	if (dwReason == 1)
    	{
    	gsc();
    	}
    	if (dwReason == 0)
    	{
    	}
    }
    if anyone can help me, i will thank
    *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*y))) + NoRecoil1) = 0.0f; is the problem

    you don't need double DWORD with pointers lol

    *(float*)((((*(DWORD*)(CShell+WeaponMgr)) +(4*y))) + NoRecoil1) = 0.0f; should be your code

    ---------- Post added at 01:47 AM ---------- Previous post was at 01:28 AM ----------

    Quote Originally Posted by GunBoy120 View Post
    im trying to make my first hack, but i cant '-'
    no error occurs, but in the game is like im without hack ._.

    Code:
    #include <Windows.h>
    #define WeaponMgr 0xAB2940
    #define NoReload 0x26C4
    #define NoRecoil1 0x53C
    #define NoRecoil2 0x6A4
    #define NoRecoil3 0x1958
    #define NoRecoil4 0x1964
    #define NoRecoil5 0x1FC0
    #define NoRecoil6 0x2128
    #define NoRecoil7 0x2290
    
    void lol()
    {
    unsigned long CShell = (unsigned long)GetModuleHandleA("CShell.dll");
    unsigned long pWeaponMgr = *(unsigned long*)(CShell+WeaponMgr);
    
    if(NoReload)
    {
          if (pWeaponMgr)
                           {
                             for(int i=0; i<560; i++)
                                                      {
    if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
    *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + NoReload) = 100;
    						 }
    	  }
    }
    
    	if(pWeaponMgr)
    	{
    		for(int y=0; y<9; y++)
    		{
     *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*y))) + NoRecoil1) = 0.0f;
     *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*y))) + NoRecoil2) = 0.0f;
     *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*y))) + NoRecoil3) = 0.0f;
     *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*y))) + NoRecoil4) = 0.0f;
     *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*y))) + NoRecoil5) = 0.0f;
     *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*y))) + NoRecoil6) = 0.0f;
     *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*y))) + NoRecoil7) = 0.0f;
    		}
    	}
    }
    
    int gsc()
    {
    lol();
    return true;
    }
    
    void _stdcall DllMain(HMODULE hDll, unsigned long dwReason, LPVOID lpReserved)
    {
    	if (dwReason == 1)
    	{
    	gsc();
    	}
    	if (dwReason == 0)
    	{
    	}
    }
    if anyone can help me, i will thank
    well first of all your loop is wrong the outer one the new weapon log is up to 637

    I am trying yours out and comparing with mine, but I think that main is patched

  12. #10
    derh.acker's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    localhost
    Posts
    826
    Reputation
    14
    Thanks
    616
    My Mood
    Angelic
    @twixxxx
    It wasn't incorrect.
    The WeaponMgr is built like this :
    struct Weapon
    {
    BYTE Unknown[Length of Unknown area];
    float ReloadSpeed;
    //Something
    };
    struct WeaponMgr
    {
    Weapon *Weapons[900];
    //Something
    }
    * WeaponPointer;

    So *(DWORD*)(CShell+WeaponMgr) reads the Pointer to an instance from WeaponMgr from WeaponPointer,
    *(DWORD*)(... +(4*y)) reads from the Pointer to the current Weapon
    and
    *(float*)(... + NoRecoil1) = 0.0f; writes the float 0.0f into ReloadSpeed from the current Weapon

    @ Thread : If you use a new weapon, the reason could be that you don't activate the Hack for the weapon you are using because the weapon id of the newest weapopn is bigger than 600

  13. #11
    badboy3's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Location
    Seattle , Washington, USA
    Posts
    839
    Reputation
    40
    Thanks
    88
    My Mood
    Tired
    Do not use any of this code that is put on forums because it is probably detected...take the code that people put out and make your own...it will not take long before you know what your doing. Just keep trying.

  14. #12
    CheatCreatorzz's Avatar
    Join Date
    Dec 2010
    Gender
    male
    Posts
    922
    Reputation
    18
    Thanks
    730
    My Mood
    Amused
    #define NoReload ...//whatever
    Code:
    if(NoReload) 
    {
    //code
    }
    you took the defined NoReload' for making the if code
    make it a "bool"
    like

    Code:
    #define NoReload /*addie here*/
    
    bool reload == true; 
    
    if(reload) //if the bool reload is true (we turned it true) then the code works. So it need to work now.
    {
    //code here
    }
    Hope this will work, Maybe I'm totally wrong, but i don't find other wrong things.
    Otherwise just make ur ID bigger then 600 (maybe u use a weapon bigger then ID 600)

    If u dont use this, then just leave the full if(reload) { .. } <= leave this
    Last edited by CheatCreatorzz; 05-06-2012 at 05:03 AM.





    (_¸.•*´'`°¤¸'¸¤°´'`*•.¸_)

    Video Creator
    GFX Creator
    C++ Coder
    D3D Coder

    (¯`*•.¸,¤°´'`°¤,¸.•*´¯)




Similar Threads

  1. Free retail code [STILL WORKING] be fast
    By FreeToHack in forum WarRock - International Hacks
    Replies: 14
    Last Post: 08-02-2007, 02:54 PM
  2. (NEW PATCH) Trainer dont work anymore
    By miregal in forum WarRock - International Hacks
    Replies: 19
    Last Post: 06-06-2007, 10:26 PM
  3. Hacks dont work
    By blackmarth in forum WarRock Korea Hacks
    Replies: 3
    Last Post: 06-03-2007, 09:35 AM
  4. all bypasses dont work?
    By theplayer45 in forum WarRock - International Hacks
    Replies: 18
    Last Post: 05-08-2007, 10:00 PM