Author Topic: Checkboxes when clearing bricks  (Read 688 times)

Basically something like this in the clear bricks menu

(I only used a forum checkbox because i'm to lazy to launch the game)
When the ID is checked their bricks are cleared if you hit "Clear Bricks". There would also be an option to check and uncheck all. It would be useful for clearing multiple bricks without having to constantly hit "Yes" to "Are you sure you want to clear these bricks?"
i would like this for saving bricks too
« Last Edit: October 21, 2013, 08:20:04 PM by Ghille »

i would like this for saving bricks too


i would like this for saving bricks too
I'll see if I can make this

done with the servercmd, testing now.. (sorry, dren, I really wanted to make the servercmd)

Edit:

Script_ClearGroups
commandToServer('clearBrickGroupList',"BL_ID BL_ID BL_ID");
Do not /clearBrickGroupList BL_ID BL_ID BL_ID for it will only clear the first one.

it will list the owners' name or their BL_ID WITH proper grammar:
1:
MARBLE MAN cleared Name's bricks

2:
MARBLE MAN cleared Name and BL_ID:999999's bricks

3+:
MARBLE MAN cleared Name, OtherName, and EndingWithS' bricks
« Last Edit: October 22, 2013, 05:18:20 PM by MARBLE MAN »

done with the servercmd, testing now.. (sorry, dren, I really wanted to make the servercmd)

Edit:

Script_ClearGroups
commandToServer('clearBrickGroupList',"BL_ID BL_ID BL_ID");
Do not /clearBrickGroupList BL_ID BL_ID BL_ID for it will only clear the first one.

it will list the owners' name or their BL_ID WITH proper grammar:
1:
MARBLE MAN cleared Name's bricks

2:
MARBLE MAN cleared Name and BL_ID:999999's bricks

3+:
MARBLE MAN cleared Name, OtherName, and EndingWithS' bricks

I only planned on making the saving part of that.
That's the difficult part.

Well, looks like SaveBricks_WriteSingleBrick and many other related functions are package protected.
If I wanted to make this, I'd have to rewrite the saving system.

I only planned on making the saving part of that.
That's the difficult part.

Well, looks like SaveBricks_WriteSingleBrick and many other related functions are package protected.
If I wanted to make this, I'd have to rewrite the saving system.
You'd have to do that anyways as brick ownership is not transmitted for bricks not on the ground.

You'd have to do that anyways as brick ownership is not transmitted for bricks not on the ground.
From what I saw it was possible to get ownership client side, though only the ground bricks actually save ownership.
I might be wrong though.

From what I saw it was possible to get ownership client side, though only the ground bricks actually save ownership.
I might be wrong though.
It's not.