Zenith
Friendship Rank 2
Loving Cattails: Wildwood Story
Posts: 54
|
Post by Zenith on Jun 30, 2023 7:02:24 GMT -5
Hello, I noticed this bug when I was trying to buy multiple items from the task board shop. A window popped up and gave me this error:
___________________________________________
############################################################################################
ERROR in
action number 1
of Step Event0
for object modal_parent_obj:
ds_map_find_value argument 1 incorrect type (undefined) expecting a Number (YYGI32)############################################################################################
gml_Script_buy_variable_shop_item (line 25)
gml_Script_dialog_branch (line 55)
gml_Object_modal_parent_obj_Step_0 (line 1199)
gml_Object_gui_dialog_choices_box_obj_Step_0 (line 4)
This is on version beta 0.50 on a windows PC All you have to do is go to the task board shop and attempt to buy multiple items from it, I tried to buy multiple unidentified curios from it
|
|
|
Post by Agrith Dragonflame on Jun 30, 2023 10:28:27 GMT -5
What exactly did you do? I just did that myself. Bought 36 unidentified curios just fine.
Edit: Nevermind, found it. You can use the button to directly buy multiple just fine. But if you choose to buy the item, then select multiple, it crashes as Zenith got.
|
|
|
Post by Falcon Development on Jun 30, 2023 22:25:51 GMT -5
Thanks, this crash is mouse-specific and I'll have it patched in the next update. Appreciate the report!
In the meantime you can either use keyboard/gamepad to buy multiple or right click the item in the shop to avoid triggering the crash.
|
|
|
Post by vinnamah on Jul 18, 2023 4:57:42 GMT -5
Typing this up as I explore this bug.
Bumping this bug report because I am having this same exact bug affect me in Ember's shop as well. Tested it, and it only crashes when I use the mouse and click an item and then choose the "buy multiple" option from the pop-up. Using keyboard and right-clicking to buy multiple without getting the menu pop-up works fine as well.
I am getting a bug in the dev shop when I try to buy multiples too, though the game doesn't crash in that shop. It just is the wrong item once you get to the screen where you choose how many you want. If I try to buy multiples of catnip, it takes me to the "purchase multiples" screen for raspberries instead. Using the keyboard or right-clicking to bypass the menu lets me buy multiple of the correct item.
Curiously, when attempting to purchase multiples of an item in the dev shop, the incorrect item it chooses is the 2 pages previous from the item you chose, 2nd item from the bottom on that page. So if I attempt to buy anything on page 11 of the dev shop, it will ask me how many I want of the item that is in the 4th slot of page 9.
I would guess that the reason the crashes happen in other shops is because I am trying to buy items on page 1 or 2, and the game is trying to go backwards 2 pages to grab the 4th item on that page, but it cannot go 2 pages backwards. OKAY YES! I just tested it, and trying to buy multiple black roses from Ember does not crash the game! Black roses are on page 3, and it is asking how many rabbits I want to buy (which is the 4th item on page 1)
|
|