View Issue Details

IDProjectCategoryLast Update
0010018Shattered HavenBug - GameplayJan 12, 2013 5:46 pm
ReporterGameMaker24 Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Summary0010018: Exit Game Mid-Way Inventory Cheat
DescriptionThe following was discovered in 050, Night Forest Fire, in case it matters.

If you collect some items in a level and then choose to end the game mid-level, then when you start your game again, you will be at the beginning of that level with all the inventory you had previously collected! This allows the player to cheat by collecting larger quantities of weapons than intended by the puzzle.

I think the players should always return to their games in the last overworld level they had saved to, with their overworld inventory.
TagsNo tags attached.
Internal WeightFix Before Major Release

Activities

Chris_McElligottPark

Jan 7, 2013 9:30 am

administrator   ~0029647

I think that if they were in a level it should return them there, as it does now, personally. Otherwise you might get into some backtracking situations in larger overworld areas.

However, this exploit is definitely also fixed by the following:

* Completely changed how the internal inventories are being stored. Previously it was being too clever for its own good with how it loaded and saved the overworld inventory into the "main" inventory, and this led to lots of edge case bugs.
** Now it simply keeps track of the "current instance-level" inventory (for when you're not in the overworld or a level connected to the overworld via non-portal connections), and it keeps track of the overworld inventory separately.
** This has a number of benefits. The overworld inventory can never be accidentally lost, is perhaps the biggest one. But also it now remembers where your button assignments were for the overworld inventory, so that when you come back out of a level it's no longer having you selected on the wrong stuff.


The non-overworld inventory is no longer saved to disk at all, even by accident, so there goes that. :)

GameMaker24

Jan 12, 2013 5:30 pm

manager   ~0029768

Out of paranoia, I tested this, and you're right, it's fixed. :)

Chris_McElligottPark

Jan 12, 2013 5:46 pm

administrator   ~0029770

Hooray!

Issue History

Date Modified Username Field Change
Dec 16, 2012 10:25 pm GameMaker24 New Issue
Dec 16, 2012 10:25 pm GameMaker24 Status new => assigned
Dec 16, 2012 10:25 pm GameMaker24 Assigned To => Chris_McElligottPark
Jan 7, 2013 9:30 am Chris_McElligottPark Note Added: 0029647
Jan 7, 2013 9:30 am Chris_McElligottPark Status assigned => resolved
Jan 7, 2013 9:30 am Chris_McElligottPark Resolution open => fixed
Jan 12, 2013 5:30 pm GameMaker24 Note Added: 0029768
Jan 12, 2013 5:46 pm Chris_McElligottPark Note Added: 0029770