Game Hacking: Developing Autonomous Bots for Online Games

  • 4h 58m
  • Nick Cano
  • No Starch Press
  • 2016

You don't need to be a wizard to transform a game you like into a game you love. Imagine if you could give your favorite PC game a more informative heads-up display or instantly collect all that loot from your latest epic battle.

Bring your knowledge of Windows-based development and memory management, and Game Hacking will teach you what you need to become a true game hacker. Learn the basics, like reverse engineering, assembly code analysis, programmatic memory manipulation, and code injection, and hone your new skills with hands-on example code and practice binaries. Level up as you learn how to:

  • Scan and modify memory with Cheat Engine
  • Explore program structure and execution flow with OllyDbg
  • Log processes and pinpoint useful data files with Process Monitor
  • Manipulate control flow through NOPing, hooking, and more
  • Locate and dissect common game memory structures

You'll even discover the secrets behind common game bots, including:

  • Extrasensory perception hacks, such as wallhacks and heads-up displays
  • Responsive hacks, such as autohealers and combo bots
  • Bots with artificial intelligence, such as cave walkers and automatic looters

Game hacking might seem like black magic, but it doesn't have to be. Once you understand how bots are made, you'll be better positioned to defend against them in your own games. Journey through the inner workings of PC games with Game Hacking, and leave with a deeper understanding of both game design and computer security.

About the Author

Nick Cano wrote his first scripts for open source game servers when he was 12 and has been a part of the game-hacking community ever since. He has years of experience in detecting and defending against malware, and advises developers and designers on best practices to protect their games against bots. Nick has spoken about his research and tools at many conferences.

In this Book

  • Foreword
  • Introduction
  • Scanning Memory Using Cheat Engine
  • Debugging Games with OllyDbg
  • Reconnaissance with Process Monitor and Process Explorer
  • From Code to Memory—A General Primer
  • Advanced Memory Forensics
  • Reading from and Writing to Game Memory
  • Code Injection
  • Manipulating Control Flow in a Game
  • Using Extrasensory Perception to Ward off Fog of War
  • Responsive Hacks
  • Putting it All Together—Writing Autonomous Bots
  • Staying Hidden