Ok i need the codes from baseplates so people can't plant with out a lot. I skimmed through the server.cs and found this:
%plantedBrick = %client.brickGroup.getObject(%client.brickGroup.getCount() - 1);
if(%plantedBrick.getDistanceFromGround() == 0 && %plantedBrick.getDatablock().category !$= "Baseplates")
{
%plantedBrick.delete();
commandToClient(%client,'MessageBoxOK',"Invalid Brick","You must start with a Baseplate.<bitmap:base/client/ui/brickIcons/16x16 Base>");
}
So i went ahead and pasted it into my own server.cs and it didn't work. So i put it some callbacks so it now looks like this:
%plantedBrick = %client.brickGroup.getObject(%client.brickGroup.getCount() - 1);
if(%plantedBrick.getDistanceFromGround() == 0 && %plantedBrick.getDatablock().category !$= "Baseplates")
{
%plantedBrick.delete();
commandToClient(%client,'MessageBoxOK',"Invalid Brick","You must start with a Baseplate.<bitmap:base/client/ui/brickIcons/16x16 Base>");
return;
} else {
messageClient(%client,'',%plantedBrick.getDistanceFromGround() @ %plantedBrick.getDatablock().category);
}
The result will message the client the "distance from the ground" SPC "category". The result: 2147483647 Bricks