Page 1 of 1

[Rseding91] [1.1.35] crash when using set_stack inside blueprint book

Posted: Wed Jun 23, 2021 10:16 pm
by justarandomgeek
Using set_stack() to replace an item in a blueprint book causes a crash

Repro command (imports a book containing an empty blueprint)

Code: Select all

/c game.player.cursor_stack.import_stack("0eNqrVkrKKU0tKMrMK4lPys/PVrKqRogUK1lFI3FBcpklqblKVkhiOkplqUXFmfl5SlZGFoYm5pZG5iYGxuZGJha1OkqZeSmpFUpWBrWxOhg6dcHW6SglJpdklqXGw5TiMa8WAESYOOY=") game.player.cursor_stack.get_inventory(defines.inventory.item_main)[1].set_stack("blueprint")

Re: [Rseding91] [1.1.35] crash when using set_stack inside blueprint book

Posted: Sun Jun 27, 2021 8:21 pm
by Rseding91
Thanks for the report. It's now fixed for the next release.