Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+11)

Alpha4. 

Game Crash when I have a full inventory and I want use a object. 

(+1)

i have the same problem i can use items but when the stack is empty and i would get new place then the game chrashes

(+2)

I have the same problem. When inventory is full game crashes on many different actions:

___________________________________________
############################################################################################
FATAL ERROR in
action number 1
of Mouse Event for Left Pressed
for object objRingMenuItem:

Push :: Execution Error - Variable Index [20,0] out of range [20,-1] - 3.<unknown variable>(100048,640000)
at gml_Script_RemoveItem
############################################################################################
--------------------------------------------------------------------------------------------
stack frame is
gml_Script_RemoveItem (line 0)
gml_Object_objRingMenuItem_Mouse_4

(+1)

yeah, pretty much all my game did was crash when i loaded back in and go rid of a sunflower,crash ate a fruit,crash even when i started a new save and did anything,crash ok i'm done now

(1 edit) (+2)

Same problem, made 2 saves but both are unplayable because of this bug. When the inventory fills up, any action that would bring one of the inventory items to 0 (eating your only fish, putting all your gold in the forge, etc) crashes the game with a bug report tailored for the action you did (left click, right click, ctrl+click, whatever you pressed to do it.) Might go back to the previous version for a while so I can play past level 5, even if I can't save... 

Code error examples: threw an item out of inventory

___________________________________________
############################################################################################
FATAL ERROR in
action number 1
of Mouse Event for Glob Left Button
for object objPlayer: Push :: Execution Error - Variable Index [20,0] out of range [20,-1] - 101055.inventory(100048,640000)
at gml_Script_RemoveItem
############################################################################################
--------------------------------------------------------------------------------------------
stack frame is
gml_Script_RemoveItem (line 0)
gml_Object_objPlayer_Mouse_50

ate an item

___________________________________________
############################################################################################
FATAL ERROR in
action number 1
of Mouse Event for Glob Right Button
for object objPlayer: Push :: Execution Error - Variable Index [20,0] out of range [20,-1] - 101055.inventory(100048,640000)
at gml_Script_RemoveItem
############################################################################################
--------------------------------------------------------------------------------------------
stack frame is
gml_Script_RemoveItem (line 0)
gml_Object_objPlayer_Mouse_51

put all of an item into the forge

___________________________________________
############################################################################################
FATAL ERROR in
action number 1
of Mouse Event for Left Pressed
for object objRingMenuItem: Push :: Execution Error - Variable Index [20,0] out of range [20,-1] - 3.<unknown variable>(100048,640000)
at gml_Script_RemoveItem
############################################################################################
--------------------------------------------------------------------------------------------
stack frame is
gml_Script_RemoveItem (line 0)
gml_Object_objRingMenuItem_Mouse_4
(+1)

I've been having the same issue. I have a full inventory, and about two clicks in I get this. 

___________________________________________
############################################################################################
FATAL ERROR in
action number 1
of Mouse Event for Glob Left Button
for object objPlayer:

Push :: Execution Error - Variable Index [20,0] out of range [20,-1] - 101177.inventory(100048,640000)
at gml_Script_RemoveItem
############################################################################################
--------------------------------------------------------------------------------------------
stack frame is
gml_Script_RemoveItem (line 0)
gml_Object_objPlayer_Mouse_50