Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)


so just bought this and upon opening it, i get this error whenever i choose "no" when asked if i want to discard an item.

____________________________________
############################################################################################
ERROR in
action number 1
of Mouse Event for Left Released
for object obj_map_inventory_popup_button_no:

Variable <unknown_object>.map_inventory_update_shop(100162, -2147483648) not set before reading it.
 at gml_Object_obj_map_inventory_popup_button_no_Mouse_7 (line 5) - map_inventory_update_shop()
############################################################################################
gml_Object_obj_map_inventory_popup_button_no_Mouse_7 (line 5)

also there was some strange things after opening and closing the inventory the inventory and picking up and dropping items, at one point the items i picked up stopped appearing on the inventory. it is a little disappointing considering its kind of expensive as far as these things go. looking forward to it working correctly, seems like a ton of effort went into it.


EDIT----------

after playing around again here is another, this actually happened when i clicked yes to discard something, and also the last time i discarded an item before this error, it actually dropped three of the item.


############################################################################################
ERROR in
action number 1
of Mouse Event for Left Released
for object obj_map_inventory_popup_button_yes:

Unable to find any instance for object index '2' name 'obj_map_inventory_cursor_drag'
 at gml_Object_obj_map_inventory_popup_button_yes_Mouse_7 (line 136) -        if(!obj_map_inventory_cursor_drag.equipment){
############################################################################################
gml_Object_obj_map_inventory_popup_button_yes_Mouse_7 (line 136)

(1 edit) (+1)

Thank you for your feedback :) and to paste all the error code, I've tried a lot this script but it's difficult to try all the combination of drag and drop

Anyway, I've fixed the bugs (I forgot to check if exists an instance of the popup), please tell me if you find more