puntigam How do I cheat?
Reputation: 0
Joined: 11 Sep 2013 Posts: 5
|
Posted: Tue Oct 15, 2013 7:17 pm Post subject: |
|
|
It is definitely possible, but the "how" depends on the game.
1) In some games with limited inventories (as GTA games have I think - there is a fixed slot for each type of item), having or not having a certain weapon might just be a flag, so adding a weapon might be as easy as giving yourself ammunition. I don't own any GTA games, so I can't really test it.
2) In games like D_iablo one (NOT 3 goddamnit!), with dynamically generated items and the likes, it will be quite a bit harder - with my average skills it might be next to impossible (I never tried, with enough time I might manage if the programmers don't try to hide it).
3) With slotted inventories that can contain any item you put in, but just one item type without too much randomness to them (Most old-school RPGs have inventories like this), it will be only a matter of finding the right value for an item, maybe things like durability and the correct addresses that are the representation of your inventory-slots.
Can't think of any more inventory possibilities right now. But yeah, it's doable in most cases.
Edit: On how to find the inventory slot: Depending on the game and inventory management you can try dropping it, moving it around in your inventory, selling it, rebuying it. Check for changed values after each action. The value will probably be 0 when there is no item in a certain slot.
Inventory Values might also be stored close to other values for your character (like health).
Checking that area in memory can be used when droppin or selling an item is not possible and you can just check if something changed on picking up an item. |
|