[Rseding91] [0.16.7] game.player.opened = item_without_gui crashes game

This subforum contains all the issues which we already resolved.
Post Reply
Long Handed Inserter
Long Handed Inserter
Posts: 92
Joined: Tue Mar 07, 2017 8:50 pm

[Rseding91] [0.16.7] game.player.opened = item_without_gui crashes game

Post by dewiniaid » Sat Dec 23, 2017 10:08 pm

The following console command crashes vanilla 0.16.7 in a brand new game:

Code: Select all

/c game.player.opened = game.player.get_quickbar()[1]
It works if the first quickbar item is not an openable item (e.g. Modular Armor, etc.). If the first quickbar slot is empty, the crash still occurs.

The expected result was a console error message telling modders to stop doing stupid things.

(As an aside, would this -- or right-clicking on an inventory item -- raise `on_mod_item_opened` on an item that is `can_be_mod_opened`?)
Log moments after starting a new game with no mods enabled.
(55.1 KiB) Downloaded 22 times

Factorio Staff
Factorio Staff
Posts: 9851
Joined: Wed Jun 11, 2014 5:23 am

Re: [0.16.7] game.player.opened = item_without_gui crashes game

Post by Rseding91 » Sun Dec 24, 2017 12:49 am

Thanks for the report. I've fixed it for the next version of 0.16.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Resolved Problems and Bugs”

Who is online

Users browsing this forum: No registered users