Announcement

Collapse
No announcement yet.

DIRECT BYTE MANIPULATION USING LUA by Postposterous

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • DIRECT BYTE MANIPULATION USING LUA by Postposterous

    Today, I'm introducing a great game hacking channel. Postposterous has made a video for all Cheat The Game members and sharing a script on using LUA for Direct Byte Manipulations.



    --Postposterous Direct Byte Manipulation Lua Script Template - Copy and Paste

    {$lua}
    if syntaxcheck then return end -- don't run past this point when adding to table/editing
    [ENABLE]
    resultList = AOBScan("Bytes Here")
    if not resultList then error("Failed to find AOB") end
    lngt = resultList.getCount() -- don't enable if failed to find aob
    bytes = {}

    for x=0, lngt-1 do
    bytes[x] = readBytes(resultList[x], 6, true) -- copy the 2 original bytes as a table
    writeBytes(resultList[x], 0x90, 0x90, 0x90, 0x90, 0x90, 0x90)
    end

    [DISABLE]
    for x=0, lngt-1, 1 do
    writeBytes(resultList[x], bytes[x])
    end

    resultList.Destroy() -- no longer need the list so tell CE to free it
    -- bytes memory is handled by lua and it'll free that for us

    Postposterous YT Channel:
    https://www.youtube.com/user/ORIGINALdrivium

    Direct Byte Manipulation Lua Script Template:
    http://www.mediafire.com/file/09rtg0...plate.txt/file

    Postposterous Patreon:
    https://www.patreon.com/postposterous
    The Hackmaster
Working...
X