CC: Tweaked

CC: Tweaked

42M Downloads

Certain embedded functions in .settings can cause computers to get "bricked" upon startup

Kan18 opened this issue ยท 1 comments

commented

Minecraft Version

1.19.x

Version

1.102.2

Details

Embedded functions in .settings which put an entry that textutils.serialize cannot serialize may result in computers not being able to boot. For example, this .settings file:

(function() a = {} return { a = {a, a} } end)()

image

The error may confuse users who are unsure how this can happen, especially if there is no startup file. The only way to fix this computer would be to put it into a disk drive and remove `.settings`. The error might be caused by the `reserialize` function in settings.lua.
commented

I assume you created this settings file manually? It shouldn't be possible to get a function in there normally.