Page 1 of 1

How to rollback?

PostPosted: Sun Jan 29, 2017 12:18
by Sergey
After installation of the game, in single-player mode I have many privileges including rollback (which is shown by /privs command)

But executing /rollback gives me a message "Rollback functions are disabled".

How to rollback and remove everything I did for last few hours/minutes?

Re: How to rollback?

PostPosted: Sun Jan 29, 2017 12:49
by sfan5
Rollback is disabled by default because it's quite heavy on resources.
If you didn't enable it before using your world, you can't use it.

Re: How to rollback?

PostPosted: Sun Jan 29, 2017 15:11
by Sergey
sfan5 wrote:Rollback is disabled by default because it's quite heavy on resources.
If you didn't enable it before using your world, you can't use it.

You want to say that I can fix what I have done only AFTER I add
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
enable_rollback_recording = false
to my minetest.conf and NOT BEFORE?

Re: How to rollback?

PostPosted: Sun Jan 29, 2017 15:30
by Morn76
Sergey wrote:
sfan5 wrote:Rollback is disabled by default because it's quite heavy on resources.
If you didn't enable it before using your world, you can't use it.

You want to say that I can fix what I have done only AFTER I add
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
enable_rollback_recording = false
to my minetest.conf and NOT BEFORE?

I think you mean "= true"; false is the default value.

Re: How to rollback?

PostPosted: Sun Jan 29, 2017 16:12
by Sergey
Sure, I mean "true".
But I wanted to ask other thing. Only events happened after setting enable_rollback_recording = true can be rolled back? Right?

Re: How to rollback?

PostPosted: Sun Jan 29, 2017 17:01
by Krock
Sergey wrote:Sure, I mean "true".
But I wanted to ask other thing. Only events happened after setting enable_rollback_recording = true can be rolled back? Right?

Yes. Anything before is not recorded, thus you won't be able to roll back older actions.