 For example, if one file represents the items in a treasure chest, while another represents the player's inventory, then the player can save the game before and after picking up an item from the chest, and continue play using the treasure chest file before the item was picked up, and the inventory file from afterward.A similar method for cheating in online games involves editing packets to modify outbound network traffic, thus affecting the state of the game.Although this was more common in the past, modern games are developed with robustness against network and packet modifications, and the terms of service for most games explicitly forbid this form of cheating.