Thread: No Recoil

Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 44
  1. #16
    ♪~ ᕕ(ᐛ)ᕗ's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Uterus
    Posts
    9,119
    Reputation
    1096
    Thanks
    1,970
    My Mood
    Doh
    Quote Originally Posted by alteriw-norecoil View Post
    but since _data != NULL, the function does not return CheatDetectedBooom!

    And why would you write <addy> to 0x90? What's so important about that address?

    Revised your code for you (consider it a favor)
    Code:
    memcpy((LPVOID)0x90, (LPVOID)<addy>, sizeof(PBYTE));
    I bet you're just some alteriw admin troll who doesn't even know how memcpy works.

    This is probably what you meant:
    Code:
    PBYTE _data = 0x90;
    memcpy((LPVOID)<addy>, &_data, sizeof(_data));
    /*
    // 0x90 != 0, so why not comment out this section?
    if(_data == NULL)
    {
          return CheatDetectedBooom;
    }
    */
    no lol. in that case memcpy will copy the data stored on the address to _data. Then checking if _data is filled with 0x00 would be easy as fuck for the Anti Cheat.

    By the way memcpy() copies a data stored to a pointer to another pointer, and the first parameter is the destination, and the second one is the source. The third is the size of the data to be copied. Actually the person who seems to doesn't know what memcpy does isn't me
    Last edited by ♪~ ᕕ(ᐛ)ᕗ; 08-03-2011 at 01:38 AM.

  2. #17
    alteriw-norecoil's Avatar
    Join Date
    Jul 2011
    Gender
    male
    Location
    having a threesome with your sister and your mom
    Posts
    23
    Reputation
    7
    Thanks
    11
    My Mood
    Aggressive
    void * memcpy ( void * destination, const void * source, size_t num );

    Hmm, were you confusing destination and source?

  3. #18
    shadowx360's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    305
    Reputation
    15
    Thanks
    69
    My Mood
    Cynical
    In any case, x90 isn't used as an address, it's the opcode for NOP. The code he posted writes three floats into that address. In any case, it's a bad habit to equate 0 with NULL, there has been quite a few documented cases of NULL not equal to 0 and screwing the programmer over and giving him a few extra hours of debugging.

    Besides, bad habit to initialize a variable to NOP and then read into it. That's just plain unnecessary, why initialize something when you're going to put data into it the next line?
    Last edited by shadowx360; 08-03-2011 at 09:56 AM.

  4. #19
    alteriw-norecoil's Avatar
    Join Date
    Jul 2011
    Gender
    male
    Location
    having a threesome with your sister and your mom
    Posts
    23
    Reputation
    7
    Thanks
    11
    My Mood
    Aggressive
    Huey Freeman's code:
    Code:
    PBYTE _data = 0x90;
    memcpy((LPVOID)_data, (LPVOID)<addy>, sizeof(_data));
    if(_data == NULL)
    {
          return CheatDetectedBooom;
    }
    First of all, he's writing from the address into 0x90, then he's comparing 0x90 to NULL.

    If he was trying to check if something is NOPed:
    Code:
    BYTE _data = 0;
    memcpy(&_data, (LPVOID)<addy>, sizeof(_data));
    if(_data == 0x90)
    {
          return CheatDetectedBooom;
    }
    or

    Code:
    BYTE _data = 0x90;
    if(!memcmp(&_data, (LPVOID)<addy>, sizeof(_data)))
    {
          return CheatDetectedBooom;
    }
    And how does this detect my code? It doesn't.
    Last edited by alteriw-norecoil; 08-03-2011 at 10:40 AM.

  5. #20
    shadowx360's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    305
    Reputation
    15
    Thanks
    69
    My Mood
    Cynical
    Actually. If the aCI is running as a thread as part of the process...it doesn't have to use memcpy, it can use access the memory location directly and compare it.

  6. #21
    ♪~ ᕕ(ᐛ)ᕗ's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Uterus
    Posts
    9,119
    Reputation
    1096
    Thanks
    1,970
    My Mood
    Doh
    Quote Originally Posted by alteriw-norecoil View Post
    void * memcpy ( void * destination, const void * source, size_t num );

    Hmm, were you confusing destination and source?
    I wanted to show u a way that a coder would use to detect ur cheat *epicfp*

  7. #22
    alteriw-norecoil's Avatar
    Join Date
    Jul 2011
    Gender
    male
    Location
    having a threesome with your sister and your mom
    Posts
    23
    Reputation
    7
    Thanks
    11
    My Mood
    Aggressive
    You're right (shadowx360); this can also be done:
    But memcpy and memcmp makes it easier to compare more bytes.
    Code:
    if(*(char *)<addy> == 0x90)
    {
          return CheatDetectedBooom;
    }
    Last edited by alteriw-norecoil; 08-03-2011 at 10:46 AM.

  8. #23
    ♪~ ᕕ(ᐛ)ᕗ's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Uterus
    Posts
    9,119
    Reputation
    1096
    Thanks
    1,970
    My Mood
    Doh
    Quote Originally Posted by alteriw-norecoil View Post
    You're right, this can also be done:
    Code:
    if(*(byte *)<addy> == 0x90)
    {
          return CheatDetectedBooom;
    }
    that's write but youre filling it with 0's. in ur code it was
    Code:
    float blabla[3] = {0};
    Or something. And, after memcpy() is done _data's value wont be 0x90. I could obv skip the part when I assign _data a value but it might result as an exception.

  9. #24
    alteriw-norecoil's Avatar
    Join Date
    Jul 2011
    Gender
    male
    Location
    having a threesome with your sister and your mom
    Posts
    23
    Reputation
    7
    Thanks
    11
    My Mood
    Aggressive
    Because my code simply nulls the recoil vector.

  10. #25
    DahInternetz's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Posts
    24
    Reputation
    10
    Thanks
    7
    My Mood
    Fine
    What is pid?


    ------------------------------------------------------



    ------------------------------------------------------

  11. #26
    shadowx360's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    305
    Reputation
    15
    Thanks
    69
    My Mood
    Cynical
    Well, why don't you go Google the parameters of OpenProcess() and see? Damn leechers expecting us to spoon feed life to them....

  12. #27
    alteriw-norecoil's Avatar
    Join Date
    Jul 2011
    Gender
    male
    Location
    having a threesome with your sister and your mom
    Posts
    23
    Reputation
    7
    Thanks
    11
    My Mood
    Aggressive
    @DahInternetz PID is pelvic inflammatory disease. If you want a serious answer, do what shadowx360 suggests.

  13. #28
    AlexBoard's Avatar
    Join Date
    Jun 2011
    Gender
    male
    Posts
    5
    Reputation
    10
    Thanks
    0
    someone has downloaded the file? do not know source code '-'

  14. #29
    convery's Avatar
    Join Date
    May 2010
    Gender
    male
    Posts
    64
    Reputation
    10
    Thanks
    6
    My Mood
    Cheeky
    Quote Originally Posted by AlexBoard View Post
    someone has downloaded the file? do not know source code '-'
    Better learn this new programming language called 'source code', in the 1337 haxxor circles it's also referred to as 'secret sauce'
    Remember, you can't spell "Guilty conscience" without "Science" and you can't spell "Slaughter" without "Laughter".


  15. #30
    jim246's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    afghan
    Posts
    15
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by convery View Post
    Better learn this new programming language called 'source code', in the 1337 haxxor circles it's also referred to as 'secret sauce'
    This programming language its called "C++" :P, btw why did u got ban?

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. How to find Recoil and Spread addresses?
    By V1olATor in forum WarRock - International Hacks
    Replies: 5
    Last Post: 04-20-2007, 09:50 AM
  2. No Recoil Hack
    By quin123 in forum CounterStrike (CS) 1.6 Hacks / Counter Strike: Source (CSS) Hacks
    Replies: 9
    Last Post: 03-21-2007, 03:14 PM
  3. America's Army No Recoil/Reload LUA code.
    By MagikBullet in forum General Game Hacking
    Replies: 7
    Last Post: 02-25-2007, 10:11 AM
  4. No recoil hack????
    By max.here in forum WarRock - International Hacks
    Replies: 2
    Last Post: 02-21-2007, 05:52 AM
  5. No recoil/no spread addys?
    By IBEZ in forum WarRock - International Hacks
    Replies: 8
    Last Post: 01-14-2007, 08:39 PM