Table of Contents for
Gaming Hacks

Version ebook / Retour

Cover image for bash Cookbook, 2nd Edition Gaming Hacks by Simon Carless Published by O'Reilly Media, Inc., 2004
  1. Cover
  2. Gaming Hacks
  3. Credits
  4. Contributors
  5. Acknowledgments
  6. Foreword
  7. Preface
  8. How to Use This Book
  9. How This Book Is Organized
  10. Conventions Used in This Book
  11. Using Code Examples
  12. Comments and Questions
  13. Got a Hack?
  14. 1. Playing Classic Games
  15. Legal Emulation
  16. Play Commodore 64 Games Without the C-64
  17. Play Atari ROMs Without the Atari
  18. Use Atari Paddles with Your PC
  19. Run Homebrew Games on the Atari 2600
  20. Create Your Own Atari 2600 Homebrew Games
  21. Play Classic PC Graphic Adventures
  22. Play Old Games Through DOSBox
  23. Play Reissued All-in-One Joystick Games
  24. Play Arcade Games Without the Arcade
  25. Add and Manipulate a MAME Frontend
  26. Keep Your ROMs Tidy and Organized
  27. Learn Game-Specific MAME Controls
  28. Filter Inappropriate MAME ROMs
  29. Autoboot into MAME Heaven
  30. Play Emulated Arcade Games Online
  31. Play Classic Pinball Without the Table
  32. Emulate the SNES on the Dreamcast
  33. 2. Playing Portably
  34. Play Games on Your iPod
  35. Mod Your Game Boy
  36. Take and Print Photos with Your Game Boy
  37. Compose Music on Your Game Boy
  38. Explore the GP32 Handheld Gaming System
  39. Take Your Console with You
  40. Explore the Bandai WonderSwan
  41. Play Real Games on Your PDA
  42. Install a PlayStation 2 in Your Car
  43. 3. Playing Well with Others
  44. Practice Proper MMORPG Etiquette
  45. Understand MMORPG Lingo
  46. Grind Without Going Crazy
  47. Make a Profit in Vana’diel
  48. Write MMORPG Macros
  49. Build an Effective Group
  50. Catch Half-Life FPS Cheaters Redhanded
  51. 4. Playing with Hardware
  52. Build a Quiet, Killer Gaming Rig
  53. Find and Configure the Best FPS Peripherals
  54. Adapt Old Video Game Controllers to the PC
  55. Choose the Right Audio/Video Receiver
  56. Place Your Speakers Properly
  57. Connect Your Console to Your Home Theater
  58. Tune Console Video Output
  59. Tune Your TV for Console Video
  60. PC Audio Hacking
  61. Optimize PC Video Performance
  62. Build a Dedicated Multimedia PC
  63. Use a Multimedia Projector for Gaming
  64. 5. Playing with Console and Arcade Hardware
  65. Play LAN-Only Console Games Online
  66. Hack the Nuon DVD Player/Gaming System
  67. Play Import Games on American Consoles
  68. Find a Hackable Dreamcast
  69. Play Movies and Music on Your Dreamcast
  70. Hack the Dreamcast Visual Memory Unit
  71. Unblur Your Dreamcast Video
  72. Use Your Dreamcast Online
  73. Host Dreamcast Games Online
  74. Burn Dreamcast-Compatible Discs on Your PC
  75. Burn Dreamcast Homebrew Discs
  76. Buy Your Own Arcade Hardware
  77. Configure Your Arcade Controls, Connectors, and Cartridges
  78. Reorient and Align Your Arcade Monitor
  79. Buy Cart-Based JAMMA Boards
  80. Programming Music for the Nintendo Entertainment System
  81. 6. Playing Around the Game Engine
  82. Explore Machinima
  83. Choose a Machinima Engine
  84. Film Your First Machinima Movie
  85. Improve Your Camera Control
  86. Record Game Footage to Video
  87. Speedrun Your Way Through Metroid Prime
  88. Sequence-Break Quake
  89. Run Classic Game ROM Translations
  90. Change Games with ROM Hacks
  91. Apply ROM Hacks and Patches
  92. Create PS2 Cheat Codes
  93. Hack Xbox Game Saves
  94. Cheat on Other Consoles
  95. Modify PC Game Saves and Settings
  96. Buff Your Saved Characters
  97. Create Console Game Levels
  98. 7. Playing Your Own Games
  99. Adventure Game Studio Editing Tips
  100. Create and Play Pinball Tables
  101. Put Your Face in DOOM
  102. Create a Vehicle Model for Unreal Tournament 2004
  103. Add a Vehicle to Unreal Tournament 2004
  104. Modify the Behavior of a UT2004 Model
  105. Download, Compile, and Create an Inform Adventure
  106. Decorate Your IF Rooms
  107. Add Puzzles to Your IF Games
  108. Add Nonplayer Characters to IF Adventures
  109. Make Your IF NPCs Move
  110. Make Your IF NPCs Talk
  111. Create Your Own Animations
  112. Add Interactivity to Your Animations
  113. Write a Game in an Afternoon
  114. 8. Playing Everything Else
  115. Tweak Your Tactics for FPS Glory
  116. Beat Any Shoot-Em-Up
  117. Drive a Physics-Crazed Motorcycle
  118. Play Japanese Games Without Speaking Japanese
  119. Back Up, Modify, and Restore PlayStation Saved Games
  120. Access Your Console’s Memory Card Offline
  121. Overclock Your Console
  122. Index
  123. Colophon

Catch Half-Life FPS Cheaters Redhanded

Identify, catch, and call out people who cheat in certain online FPS games.

The developers of FPS titles such as Half-Life are making it easier and easier for users to create modifications. This increases the longevity and enjoyment of the games, but it also puts power in the hands of the clients. Giving up some control means that users can surprise you, but it also makes it much easier for people to create cheats. Cheaters are almost inevitable and commonly difficult to identify.

How can you recognize a cheater in, say, Counter-Strike, and what can you do about it?

Identifying Cheats

To understand the problem, you first need to understand what kind of things cheaters can do. One of the best places to find out about anticheating software is at the Counter Hack site (http://www.counter-hack.net/content.php?page=typesofhacks), which lists hacks common to games. They even go one step further and specifically describe Half-Life-specific hacks (http://www.counter-hack.net/content.php?page=halflife), as seen in Figure 3-1.

The magisterial Counter Hack site

Figure 3-1. The magisterial Counter Hack site

Here are some of the most common hacks:

Aimbot

This type of cheat locks the cheater’s crosshair onto other characters. It is commonly configurable so that players can aim automatically at different parts of their targets. In some instances, players may also use auto-shoot in conjunction with auto-aim to fire without having to click the mouse button.

Tip

Early Half-Life aimbot hacks worked by making the computer fire at certain onscreen colors, requiring cheaters to change their character model colors to very bright hues. This method saw swift defeat, both by anticheat programs and by enterprising anticheaters running around the level daubing the walls with colored stencils. If you saw another player firing uncontrollably at your bright red wall stencil instead of at your character, you knew he was cheating.

Wallhack

This cheat allows the cheater to view other players through walls, usually by making the walls partially translucent, not transparent, often by messing with the graphics drivers. (With transparent walls, you’d continually run into invisible barriers.) Wallhacks can be quite confusing to play, but having the equivalent of X-ray vision can give cheaters quite an advantage.

Radar and Map ESP

When you play Counter-Strike, your radar normally shows dots for your teammates and various other gameplay objects you’re allowed to monitor. Some hacks add your enemies to the radar readout, making it trivial to track down your opponents. In a similar vein, people have managed to put a friend-and-foe mini-map in the corner of the screen in some later versions of Counter-Strike.

Modified player skins

Most players consider bright skins (either retextured or full-brightness character models) a cheat. Basically, this technique colors the character textures of other players so that they stand out from the background more. It’s much easier to find a high-contrast clown hiding in the shadows.

Stopping Cheaters with Anticheat Software

There are a variety of installable anticheating software mods for Half-Life, all of which have good and bad facets. Let’s check them out.

Cheating-Death

There’s an excellent explanation of “why Cheating-Death is different” on its official web page (http://www.unitedadmins.com/cdeath.php). In short:

The main difference between Cheating-Death (C-D) and the other anti-cheating packages available is that it does not have cheat specific detection methods. Instead, it tries to make cheats less effective, and to prevent cheats from getting information. In most cases this leads to cheats simply not working.

Cheating-Death is particularly good because it works from both the client and server side. Servers have the option of requiring clients to run the C-D client software or allowing clients to run without it while marking them as less trustworthy. This flexibility, combined with regular and excellent updates, make Cheating-Death the third-party anticheat utility of choice at the time of writing.

HLGuard

HLGuard ( http://www.unitedadmins.com/hlguard.php ) was once the best anticheat utility around. It’s still one of the few Half-Life tools with current updates. The downloadable server-only version (http://www.unitedadmins.com/hlguard-dl.php) can’t do some of the clever stuff Cheating-Death can, such as preventing cheating or incompatible players from ever joining the server in the first place, but it does stop some of the most obvious wallhacks, aimbots, and other hacks.

There’s also an excellent FAQ (http://docs.unitedadmins.com/hlguard/en/) for the title, which explains some of the neater features, including a Filescan feature to detect modified game files and some good aimbot detection. The latter is especially tricky; like many other systems, it calculates the accuracy of any given player and flags warnings and triggers actions (such as bans) if that player’s aiming skills obviously exceed human capabilities.

Valve Anticheating System (VAC)

Because Half-Life, Counter-Strike, and other Valve products are gradually transitioning over to a more secure framework on their Steam content delivery system, it’s natural that Half-Life creators Valve would eventually make their own in-house anticheat system. This has the distinct advantages of having input from the creators of the game and more concrete punishments for the bad guys, as you can see by the message if you join a VAC-enabled server over Steam:

You are joining a server that implements Valve’s anti-cheat system (VAC). Please note that the use of Cheats is a violation of your End User License Agreement for the software and/or your Steam Subscriber Agreement.

If Valve or the game host detects your use of Cheats on an VAC-enabled server, your Steam Subscription and/or your product key for the software will be banned from playing on VAC-enabled servers for one (1) year.

On the other hand, it’s hard to learn about the actual anticheat mechanisms and which cheats VAC detects, because the update information usually reads “New detections and detection strategies.” That’s very nonspecific when compared to the other, more transparent anticheat systems. On the other hand, while Cheating-Death is more watertight than VAC, it looks like VAC is catching up.

There’s no separate download location for updates to VAC. Steam automatically pushes down the latest fixes and patches automatically. Valve also promises VAC functionality for the forthcoming (at press time) Counter-Strike: Steam, hopefully meaning many more months and years of no cheating.

Identifying Cheaters by Behavior Alone

Suppose you can’t rely on technology because you’re playing on a server without anticheat devices installed, or you’re just obtuse and don’t want to use any of the anticheating tools mentioned earlier. Identifying a cheater can be difficult or even impossible. Competitive players are often so good at FPS games that they play better than people who cheat!

Fortunately, there are behaviors that may lead you to suspect that someone isn’t relying on skill alone.

Spotting a wallhack cheater

For example, a good player will know exactly where you are based on the sounds you make throughout the level. Based on those sounds, he can accurately predict your next move. However, this is also characteristic of someone using a wallhack, so what can you do?

For one, someone using a wallhack will spend a lot of time looking at otherwise uninteresting walls. Seeing someone strafing with his face up against a building, for example, should raise your warning flag. In a similar vein, if you see someone make good strategic judgments without ever looking into open space to get his bearings, he may already see open spaces—through the walls!

Spotting an aimbot cheater

It’s difficult, but not impossible to identify someone using an auto-aim cheat. Such a player will usually make a series of extremely quick, unfluid movements, too precise or odd to come from a human hand on a mouse or trackball. You may also see him lock onto other characters without first looking in the appropriate direction.

These cheats are never completely accurate, can be ineffective in laggy situations, and may not function well with projectile weapons, so pay attention to a suspect’s choice of weapon. The best weapons for auto-aim use super-swift bullets that reach the target immediately.

Warning

Auto-aiming is less effective with weapons that use projectiles because it takes too long for the projectile to reach the target, which often moves in the meantime.

Identifying Other Cheats

Unfortunately, from sight and play experience alone, it’s almost impossible to identify someone using bright skins, radar, map ESP, or similar hacks. (You can, at least, identify the very simple speed hacks; if someone’s running much faster than normal, he’s probably cheating.)

In these situations, because cheating can be very subtle, you can definitely identify only flagrantly obvious cheaters. The player will display similar characteristics to the very best conventional players. Fortunately, software anticheating measures can stop this little blighter from ever entering your Half-Life server in the first place.