Poll

Should someone make this add on?

Yes
3 (100%)
No
0 (0%)

Total Members Voted: 1

Author Topic: Undo Delete  (Read 1049 times)

I need to know where the clients past brick data is stored, then access that and maybe I could do it, but I have other stuff. I think this is stored in the Undo stack thing, I'm still looking through the fill can server.cs file, I think this is possible, but I need to find out more things on bricks.
« Last Edit: May 10, 2009, 02:19:19 PM by AGlass0fMilk »

I need to know where the clients past brick data is stored, then access that and maybe I could do it, but I have other stuff.
I don't think that gets stored, you have to store it yerself.

I saved  my own undo stack, I can dump a client connection, and get their undo stack object id or something like that. I planted some bricks, and saved it to a file and the file has stuff like this:
Code: [Select]
//--- OBJECT WRITE BEGIN ---
new ScriptObject() {
   class = "QueueSO";
      val14 = "144325\tPLANT";
      val33 = "144363\tPLANT";
      val52 = "144401\tPLANT";
      val71 = "144439\tPLANT";
      val90 = "144778\tPLANT";
      val109 = "144816\tPLANT";
      val128 = "144854\tPLANT";
That goes up to 500 so I'm assuming that you can undo bricks up to 500. Now, I know where to access their planted bricks, I might be able to do this, but this is going to have to be a client sided mod.
« Last Edit: May 10, 2009, 03:27:06 PM by AGlass0fMilk »

Thank you for all of your comments.

I'll try to make this, I think we really need it.

If you make it, you can have a :cookie: for your GlassOfMilk. ROTFLOLMFAOMGBBQ!!!
« Last Edit: May 10, 2009, 05:45:08 PM by iBlock »