Results 1 to 9 of 9
  1. #1
    master131backup's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Posts
    94
    Reputation
    19
    Thanks
    163
    My Mood
    Angelic

    memcpy? lol wut.

    Hey guys, it's kinda wierd for me to be here but I was wondering what this does.

    memcpy((PBYTE)addSuperBullets, "\x33\xC0\x90", 3);

    What does "\x33\xC0\x90" do? Like I know it's a 3 byte array and memcpy copies an array of bytes to an address but why those values?

  2. #2
    Ch40zz-C0d3r's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    831
    Reputation
    44
    Thanks
    401
    My Mood
    Twisted
    These r the default bytes i think (im EU and idk which addy u mean).
    When u use memcpy to HACK than u usually use the bytes x90. This is called NOP which stands for NoOPeration. This means when the Bullet is hit the wall do NOTHING. So u shoot trhough. I hope i could help u.

    Progress with my game - "Disbanded"
    • Fixed FPS lag on spawning entities due to the ent_preload buffer!
    • Edit the AI code to get some better pathfinding
    • Fixed the view bug within the sniper scope view. The mirror entity is invisible now!
    • Added a new silencer for ALL weapons. Also fixed the rotation bugs
    • Added a ton of new weapons and the choice to choose a silencer for every weapon
    • Created a simple AntiCheat, noobs will cry like hell xD
    • The name will be Disbanded, the alpha starts on the 18th august 2014



    Some new physics fun (Serversided, works on every client)



    My new AI
    https://www.youtube.com/watch?v=EMSB1GbBVl8

    And for sure my 8 months old gameplay with 2 friends
    https://www.youtube.com/watch?v=Na2kUdu4d_k

  3. #3
    master131backup's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Posts
    94
    Reputation
    19
    Thanks
    163
    My Mood
    Angelic
    I know what NOP means. I have done reverse engineering before :3 Alrighties, thanks.

    But I still don't understand this:
    memcpy((PBYTE)addSuperBullets, "\x33\xC0\x90", 3); //ON
    memcpy((PBYTE)addSuperBullets, "\x0F\x94\xC0", 3); //OFF

    The byte arrays are completely different values.
    Last edited by master131backup; 04-21-2011 at 07:48 AM.

  4. #4
    Ch40zz-C0d3r's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    831
    Reputation
    44
    Thanks
    401
    My Mood
    Twisted
    Than its adifferent addy than mine in EU sry IDK. This works different.

    Progress with my game - "Disbanded"
    • Fixed FPS lag on spawning entities due to the ent_preload buffer!
    • Edit the AI code to get some better pathfinding
    • Fixed the view bug within the sniper scope view. The mirror entity is invisible now!
    • Added a new silencer for ALL weapons. Also fixed the rotation bugs
    • Added a ton of new weapons and the choice to choose a silencer for every weapon
    • Created a simple AntiCheat, noobs will cry like hell xD
    • The name will be Disbanded, the alpha starts on the 18th august 2014



    Some new physics fun (Serversided, works on every client)



    My new AI
    https://www.youtube.com/watch?v=EMSB1GbBVl8

    And for sure my 8 months old gameplay with 2 friends
    https://www.youtube.com/watch?v=Na2kUdu4d_k

  5. #5
    master131backup's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Posts
    94
    Reputation
    19
    Thanks
    163
    My Mood
    Angelic
    Hmmm, alright thanks for helping anyway. *cough* Where is ᴺᴼᴼᴮ when you need him.

  6. #6
    NOOB's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Posts
    3,843
    Reputation
    425
    Thanks
    8,616
    Ask @mmbob, He's the one who found super bullets. The fact that you can NOP the three bytes and still have the same result is just by chance.

  7. #7
    mmbob's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    ja
    Posts
    653
    Reputation
    70
    Thanks
    1,157
    My Mood
    Bitchy
    \x33\xC0\x90 are the bytes for "xor eax, eax; nop"
    You need to return 0 from the intersect callback function to tell the engine that the object it gave you is not one that you want to hit. xor eax, eax makes eax (the return value) zero.

  8. The Following 6 Users Say Thank You to mmbob For This Useful Post:

    Ch40zz-C0d3r (04-21-2011),markoj (04-21-2011),[MPGH]master131 (04-22-2011),NOOB (04-21-2011),PashaAmd (04-21-2011),Stephen (04-21-2011)

  9. #8
    Ch40zz-C0d3r's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    831
    Reputation
    44
    Thanks
    401
    My Mood
    Twisted
    Quote Originally Posted by mmbob View Post
    \x33\xC0\x90 are the bytes for "xor eax, eax; nop"
    You need to return 0 from the intersect callback function to tell the engine that the object it gave you is not one that you want to hit. xor eax, eax makes eax (the return value) zero.
    So when u NOP it it must return 0 too or?

    Progress with my game - "Disbanded"
    • Fixed FPS lag on spawning entities due to the ent_preload buffer!
    • Edit the AI code to get some better pathfinding
    • Fixed the view bug within the sniper scope view. The mirror entity is invisible now!
    • Added a new silencer for ALL weapons. Also fixed the rotation bugs
    • Added a ton of new weapons and the choice to choose a silencer for every weapon
    • Created a simple AntiCheat, noobs will cry like hell xD
    • The name will be Disbanded, the alpha starts on the 18th august 2014



    Some new physics fun (Serversided, works on every client)



    My new AI
    https://www.youtube.com/watch?v=EMSB1GbBVl8

    And for sure my 8 months old gameplay with 2 friends
    https://www.youtube.com/watch?v=Na2kUdu4d_k

  10. #9
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,858
    Reputation
    3438
    Thanks
    101,668
    My Mood
    Breezy
    Oh so they're assembly bytes. I was thinking that they might've been when I woke up this morning. :3 Thanks mmbob.
    Donate:
    BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9


    Handy Tools/Hacks:
    Extreme Injector v3.7.3
    A powerful and advanced injector in a simple GUI.
    Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!

    Minion Since: 13th January 2011
    Moderator Since: 6th May 2011
    Global Moderator Since: 29th April 2012
    Super User/Unknown Since: 23rd July 2013
    'Game Hacking' Team Since: 30th July 2013

    --My Art--
    [Roxas - Pixel Art, WIP]
    [Natsu - Drawn]
    [Natsu - Coloured]


    All drawings are coloured using Photoshop.

    --Gifts--
    [Kyle]