Blockland Forums > Suggestions & Requests

save problem with blockland

Pages: << < (3/3)

Tendon:


--- Quote from: line 10415 ---ERROR: ServerLoadSaveFile_Tick() - Bad line "" -52.75 -70.75 1.9 1 0 4  0 0 1 1 1" - expected brick line but found no uiname
BackTrace: ->ServerLoadSaveFile_Tick
--- End quote ---

One of your brick add-ons may be planting bricks that don't have a ui name.  I've no idea which one.

I'll make a quick script to find out, hold on.

Tendon:

Ok, here is the script:
https://leopard.hosting/dl/ynmcz/Script_FindBlankBricks.zip

Enable it, run the server, then after you've spawned, grab "Blockland/base/blankbricks.txt" and upload it here.


--- Code: (server.cs) ---//Function which checks through the Datablock Group for blank ui names.
function findblankbricks()
{
if(!isObject(%dbg = DatablockGroup))
return;
%fo = new FileObject();
%fo.openForWrite("base/blankbricks.txt");
%count = %dbg.getCount();
for(%i=0;%i<%count;%i++)
{
%db = %dbg.getObject(%i);
if(%db.getClassName()!$="fxDTSBrickData")
continue;
if(%db.uiname$="")
{
%x++;
%fo.writeline(%db.getName()@"|"@%db.brickFile);
}
}
%fo.close();
%fo.delete();
if(%x>0)
{
echo("Found "@%x@" blank bricks.  Wrote to base/blankbricks.txt");
}
else
{
echo("Found no blank bricks.");
}
}

//Hook for executing function after all bricks datablocks have been created
package findblankbrickspackage
{
function onMissionLoaded()
{
Parent::onMissionLoaded();
findblankbricks();
}
};
activatepackage(findblankbrickspackage);
--- End code ---


Pages: << < (3/3)

Go to full version