undo last thing another player did via console
Moderator: ickputzdirwech
Re: undo last thing another player did via console
Yes. Me as griefer would just paste so much, that it is impossible to undo, to make sure, the game is ruined.
How do you you undo, when the griefer has made more things, than you can undo?
What will you do, when other players meanwhile have “overwritten” the things he has made?
How do you you undo, when the griefer has made more things, than you can undo?
What will you do, when other players meanwhile have “overwritten” the things he has made?
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Re: undo last thing another player did via console
Griefer enters the game, places a stupid bp and gets banned in less then a minute. That happened to me and this feature would help a lot
Re: undo last thing another player did via console
Thats like saying, if the method doesmnt help against 100% of griefers, its not worth doing at all. Reminds me of stupid NRA arguments.
- eradicator
- Smart Inserter
- Posts: 5211
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Re: undo last thing another player did via console
I don't see any way to access the undo functionality via the api, so there's no moddability for this either. Moddability would imho allow finer grained control than a one-shot command. So i'm not gonna +1 this because it's not about modding :o.
Deleting ghosts of a specific player is easy ofc:
@ssilk I have to agree with @OP that your sarcasm is not helpful. The mere possibility of circumvention is not a sufficient reason to not have a system at all. (Not saying there aren't possibly other valid reasons.)
Deleting ghosts of a specific player is easy ofc:
Code: Select all
/c local griefer_name = "PutPlayerNameHere" for _,s in pairs(game.surfaces) do for k,v in pairs(s.find_entities_filtered{name='entity-ghost'}) do if v.last_user.name == griefer_name then v.destroy() end end end
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Re: undo last thing another player did via console
What your script does is not undo, it destroys everything a griefer has done.
There is also not as much sense as you think in a interface for undo for modders: you cannot undo only things from one player, when another player has pasted over that afterwards - the result is not repeatable. You need to undo in the correct order.
If you mean deleting, then we can rename the subject of this thread, because “undo” always has this interference with time. That’s the idea of an undo.
But also then: I can easily paste some really big bp over everything before being kicked. We had that already viewtopic.php?f=6&t=43310
And I don’t understand why pointing out weaknesses in suggestions should be sarcastic. I see that as service and part of my “job” in this subboard.
There is also not as much sense as you think in a interface for undo for modders: you cannot undo only things from one player, when another player has pasted over that afterwards - the result is not repeatable. You need to undo in the correct order.
If you mean deleting, then we can rename the subject of this thread, because “undo” always has this interference with time. That’s the idea of an undo.
But also then: I can easily paste some really big bp over everything before being kicked. We had that already viewtopic.php?f=6&t=43310
And I don’t understand why pointing out weaknesses in suggestions should be sarcastic. I see that as service and part of my “job” in this subboard.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
- eradicator
- Smart Inserter
- Posts: 5211
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Re: undo last thing another player did via console
ichVII wrote: Sat Sep 26, 2020 10:58 pm Griefer enters the game, places a stupid bp and gets banned in less then a minute.
Don't remember saying anything else. That in itself *is* ofc a partial undo going by the meaning of the word even if it doesn't use what the engine calls "undo".ssilk wrote: Tue Sep 29, 2020 3:31 am What your script does is not undo, it destroys everything a griefer has done.
You're focussing on an edge case again. At least from my experience players are usually far away from each other. And in any case the engine *already* has to deal with that. So in the best case you can undo 100 steps (or whatever the max undo history length is), worst case you can only undo 10 steps because someone wasn't properly educated on not to manually mess with griefed blueprints. Exposing undo/redo to the API doesn't change that. It is already possible to maintain a full history of build/destroy events on the lua side and use that, but that's a lot of redundant data if the engine is keeping it already.ssilk wrote: Tue Sep 29, 2020 3:31 am There is also not as much sense as you think in a interface for undo for modders: you cannot undo only things from one player, when another player has pasted over that afterwards
Since when do threads get renamed based on what I say?ssilk wrote: Tue Sep 29, 2020 3:31 am If you mean deleting, then we can rename the subject of this thread
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Re: undo last thing another player did via console
Well,ok, I have been irritated by the word undo. And still be.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Re: undo last thing another player did via console
Sorry for the bump, but for anyone who needs this, you can use /swap-player <griefer> and then press Ctrl+Z.