Author Topic: Bug: loading builds from tutorial mode  (Read 1198 times)

I was not sure where to go with this, as there does not seem to be a specific place for bug reports, but when playing on the tutorial level, if you save the bricks and try and load them in another game mode or later on, it just gets stuck loading the build forever. I know it was not always like this because I recall loading builds from the current tutorial in the past, it seems to be a newer bug (I also recall that most of the bricks that are part of the tutorial do not save, and you just get your bricks loaded, which kind of screws up the save. I do not know if that is a bug or not, but it is not helpful.).

So nobody else has this issue? or a fix?

see if you can got into the tutorial gamemode zip and get the .bls file out of it and move it to your saves folder

but yea, alot of the stuff in the tutorial seems heavily scripted, post a console log with you attempting to load the tutorial save plx.

This appears to happen because of a bug where the client does not save the brick uiNames. I read through the tutorial code and cannot find anything that appears to do this intentionally.

I read through the tutorial code and cannot find anything that appears to do this intentionally.
Line 2202 - 2213
Code: ("Line 2202-2213") [Select]
      //loop through all datablocks, clear out uinames for all bricks except 2x4
      %group = DataBlockGroup;
      %count = DataBlockGroup.getCount();
      for(%i = 0; %i < %count; %i++)
      {
         %data = %group.getObject(%i);
         if(%data.getClassName() !$= "fxDTSBrickData")
            continue;

         if(%data.uiName !$= "2x4")
            %data.uiName = "";
      }

I've attached the save from Gamemode_Tutorial, just toss it in your saves folder and it should load.

Line 2202 - 2213
Code: ("Line 2202-2213") [Select]
      //loop through all datablocks, clear out uinames for all bricks except 2x4
      %group = DataBlockGroup;
      %count = DataBlockGroup.getCount();
      for(%i = 0; %i < %count; %i++)
      {
         %data = %group.getObject(%i);
         if(%data.getClassName() !$= "fxDTSBrickData")
            continue;

         if(%data.uiName !$= "2x4")
            %data.uiName = "";
      }

I've attached the save from Gamemode_Tutorial, just toss it in your saves folder and it should load.
What file is that in? It's not in any of the Gamemode_Tutorial scripts.

What file is that in? It's not in any of the Gamemode_Tutorial scripts.
Nevermind, I found it. You just typoed the starting line.