Computercraft - Dealing With Chunk Loading/Unloading (State Persistence)

Описание к видео Computercraft - Dealing With Chunk Loading/Unloading (State Persistence)

Because this is my first video, it was pretty hard for me to express myself and say everything I had in mind. If Im wrong about something or something is unclear, I'll to reply to the comments.

In Short
Computercraft hasn't a (reliable) way of a tracking state. The proposed workaround is to write the data into a file on the turtle's disk. The problem with this is that the data desyncynchronizes.
Maybe this can work in a regular computer doing tasks every so often, but it's a deal breaker for turtles.

My workaround is to try to write programs that are intelligent enough to deduce what they need to do from their surroundings and a set of check points - to try to make an enviornment that would help the turtle do what it has to do.

Комментарии

Информация по комментариям в разработке