Author Topic: Brick ownership not loading.  (Read 410 times)

Hello, I am currently hosting a server that needs the ownership saved on the bricks, but no matter what I do, the ownership will not save/load. I have saved bricks manually and with autosaver. Both had the "Save brick ownership" box checked. I have tried loading with dediload, and manual load. I still can't get the bricks to load with ownership. Does anyone have a solution to this?

Thanks for any help,

-Gypsum BLID 10130

EDIT: I figured out why this is happened. Because the bricks are on baseplates under my ownership. Is there any way to make it so that they stay in the other players ownership?

I can't offer a fix, I can offer a workaround - http://forum.blockland.us/index.php?topic=198228.0

ownershipper. just hit the baseplate and it'll set ownership.

I had a fix for this from November 2011.

GO to server.cs, replace
Code: [Select]
if(%ownership && %brick.isBasePlate() && !$Server::LAN)
%file.writeLine("+-OWNER " @ getBrickGroupFromObject(%brick).bl_id);

with

Code: [Select]
if(%ownership && !$Server::LAN)
%file.writeLine("+-OWNER " @ getBrickGroupFromObject(%brick).bl_id);

I had a fix for this from November 2011.

GO to server.cs, replace
Code: [Select]
if(%ownership && %brick.isBasePlate() && !$Server::LAN)
%file.writeLine("+-OWNER " @ getBrickGroupFromObject(%brick).bl_id);

with

Code: [Select]
if(%ownership && !$Server::LAN)
%file.writeLine("+-OWNER " @ getBrickGroupFromObject(%brick).bl_id);
server.cs of what?