Author Topic: Redo  (Read 8612 times)

Redo
By AGlass0fMilk

You know Undo! Meet Redo!

Well, a while ago, I was building and it occurred blatantly obvious to me that we have undo, why not redo? At that time, I didn't have the coding knowledge (or skill) to make such a mod. A couple days ago, I picked this one out of the dusty archives of my coding projects folder, and said "Let's have another go at this one." Over these past few days, I have been making this work with the things Undo does, and fixing the many bugs it has. And now it's done, so here it is! Redo!

Now onto the information about this command.

This command is sadly, not client-sided. And I have no intention of making it client-sided. In order to have the keybind for it (by default it gets bound to cntrl-y, but you can switch it in Options) you have to have the redo command as it comes with the client-sided file that give you the keybind. Otherwise, you can type '/redoBrick' to do it, but it's rather slow. It currently redoes bricks, Painting, ColorFx, ShapeFx (Undulo), and Prints (like Undo). I made the default limit of the back-history for Redo 500, but you can change it using the RTB server control (Requires server restart). I don't know what else there is to say. This is for those "oops" wand moments on floors (better for small builds =I) and when you undo something you didn't want to. It doesn't apply events, lights, emitters, or items back to the recreated brick, maybe in a later version. It doesn't redo entire builds at a time if you wand a baseplate with only one press of cntrl-y, as Truce said it should, but I hope this revolutionizes building.

Tell me of any bugs you find and I will probably fix them if they are major. Have fun!

Pics:

No it's not camera magic, it actually works


And it works on Prints, ColorFx, Painting, and ShapeFx like I said above!

Download it here! Snipped until floating bricks are fixed

How to install add-ons
« Last Edit: August 08, 2009, 01:51:37 PM by AGlass0fMilk »

:D
And to bad for the client sided. :(
« Last Edit: August 08, 2009, 12:21:10 PM by Plornt »

Remember, report any bugs to me!

yeah
did rtb approve it?
oh, no they didn't (yet)

Warning - while you were typing a new reply has been posted. You may wish to review your post.

dang
« Last Edit: August 08, 2009, 12:22:26 PM by chilmans »

Maybe PM Badspot so that he might include this in v13?

Remember, report any bugs to me!
The one I reported to you which is quite severe and you released it anyway?

yeah
did rtb approve it?
oh, no they didn't (yet)
There is a reason for this, but for some reason you people keep posting your broken mods here instead of actually fixing them for RTB.

No, Space Guy raised an issue with it.

For some reason, his Redo Back-History is set to 1 so he can only redo one action.

But it works for me, also, it replants floating bricks, which I intentionally did so you can redo wanded floors of things. It's not for massive 12k builds, it's more for small "Oop's" moments.

I replied to you Space, check it out. It is not broken, Floating bricks are intentional, and I can't recreate your history bug :<

This is not quality enough to be in V13 as Badspot could do something better because he can do whatever in his game.
« Last Edit: August 08, 2009, 12:25:16 PM by AGlass0fMilk »

I was running it without RTB installed. In which case, it's broken for them. It can't be included in v13 because it doesn't work.

And even if the back history is set at one you shouldn't be able to make floating bricks. It should check for that and remove them.

I could do that, but then it wouldn't redo all bricks that you wand. A simple /clearfloatingbricks command would fix any stupid people that spam floating bricks. I can fix it, but it won't be as functional.

It should redo from the bottom of the stack instead of from the top. It seems to redo the baseplate, then the top-most brick, then down from there.

Did you include the if-you-delete-multiple-bricks-at-once-they-all-get-redo'd-at-once?

Did you include the if-you-delete-multiple-bricks-at-once-they-all-get-redo'd-at-once?

You've got high hopes for this milk guy haha

Also:

At that time, I didn't have the coding knowledge (or skill) to make such a mod.

It seems you still don't considering the number of times you had to post in Coding Help to even get this far, and apparently its still broken and missing important features?
« Last Edit: August 08, 2009, 01:14:10 PM by Ephialtes »

You've got high hopes for this milk guy haha

I was talking to him in-game and he seemed to keep making excuses to why he's "not intentionally doing that" (when really it seems like he hasn't a clue, which I assume to be true).

EDIT:

Oh hurr I guess not. This seems completely worthless now.

It doesn't redo entire builds at a time if you wand a baseplate with only one press of cntrl-y, as Truce said it should, but I hope this revolutionizes building.
« Last Edit: August 08, 2009, 01:14:58 PM by Truce »

I asked myself this once, good work :D

I posted once in Coding help. Yeah, a lot of times. The first time was like a couple months ago I think? And I gave up. If you took the time to read the description, you could see that I said I was going to do it a couple months ago or so, and then gave up.

I stopped making the redo-all-at once thing because I saw many bugs up ahead that would be hard to iron out. I still have a prototype of the Multi Redo thing, but it doesn't work.

It's not all terrain, it is useful for small mess-ups, not entire builds.

I will work towards fixing floating bricks so they get put at they get put at the bottom, this works for now.

I will also try to get Multi Redo working as I already have the skeleton of it, but it doesn't work yet. As I said up there^ this works for now. It's in version 1 lighten up.

There will most likely be updates in the future.
« Last Edit: August 08, 2009, 01:38:17 PM by AGlass0fMilk »