Results 1 to 9 of 9
  1. #1
    master131backup's Avatar
    Join Date
    Nov 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
    839
    Reputation
    44
    Thanks
    400
    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
    http://www.youtube.com/watch?v=EMSB1GbBVl8

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

  3. #3
    master131backup's Avatar
    Join Date
    Nov 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 08:48 AM.

  4. #4
    Ch40zz-C0d3r's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    839
    Reputation
    44
    Thanks
    400
    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
    http://www.youtube.com/watch?v=EMSB1GbBVl8

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

  5. #5
    master131backup's Avatar
    Join Date
    Nov 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,863
    Reputation
    425
    Thanks
    8,598
    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
    655
    Reputation
    70
    Thanks
    1,156
    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
    839
    Reputation
    44
    Thanks
    400
    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
    http://www.youtube.com/watch?v=EMSB1GbBVl8

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

  10. #9
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,802
    Reputation
    3165
    Thanks
    73,318
    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.6.1 *NEW* Windows 10 compatible!
    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]