Author Topic: Cant place 2x4 Brick  (Read 955 times)

What the hell. I plant a 2x4brick and it destroys itself right after. ANd when Sleven tried on his server it didn't work there either. I checked Console and nothing pops up. And it doesn't give me any print when I plant it, Just plants and destroys itself.

HABJNJNiinNiJind

Why do people keep enabling gamemode_tutorial

Now there are 50 topics about the same thing!

HABJNJNiinNiJind

Why do people keep enabling gamemode_tutorial

Now there are 50 topics about the same thing!
I didn't enable it.


Fixed it, But... Now.. uh. Dafuq.


badspot has already explained the solution.

badspot has already explained the solution.
What was it exactly.

badspot has already explained the solution.

when enabling add-ons before starting a server, disable gamemode_tutorial and then you'll be aloud to build 2x4.

What was it exactly.

Code: [Select]
function brick2x4Data::onTrustCheckFinished(%data, %brick)
   {
      %client = %brick.client;
      if(!isObject(%client))
         %client = %brick.getGroup().client;
      if(!isObject(%client))
         %client = clientGroup.getObject(0);
      if(!isObject(%client))
         return;

      %player = %client.player;
      if(!isObject(%player))
         return;

      //hack: don't do this while loading
      if(isObject($Server_LoadFileObj))
         return;

      //check if we've planted onto one of the build goals
      if(!%player.goalCompleted["Build1"])
      {
         %count = %brick.getNumDownBricks();
         for(%i = 0; %i < %count; %i++)
         {
            %downBrick = %brick.getDownBrick(%i);
            //echo("downbrick " @ %downbrick);
            if(%downBrick.getName() $= "_build1Platform")
            { 
               if(isObject(%client))
               {
                  %player.completeTutorialGoal("Build1");
                  openTutorialDoor("build1Door");
                  return;
               }     
            }
         }
         %brick.killBrick();
      }

The code is from GameMode_Tutorial.