Alpha4.
Game Crash when I have a full inventory and I want use a object.
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
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
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