Author Topic: Genuine game glitch?  (Read 2600 times)

Why does this:
Code: [Select]
for(%y=0;%y<=20;%y=%y+2)
{
for(%z=0;%z<=20;%z=%z+2)
{
for(%x=0;%x<=20;%x=%x+2)
{
%newbrick = new fxDTSBrick() {
dataBlock = "brick4xCubeData";
client = findClientByName(gen);
stackBL_ID = findClientByName(gen).BL_ID;
angleID = "0";
isBaseplate = "1";
colorID = "0";
colorFXID = "0";
shapeFXID = "0";
isPlanted = true;
};
%newbrick.setTransform(%x SPC %y SPC %z);
%newbrick.plant();
findclientbyname(gen).brickGroup.add(%newbrick);
}
}
}

Make a cube with missing pieces on my game?


When I save the bricks and load them they come out alright, also to mention.

GLITCH CONFIRMED.

I ran the script on a copy of V20 that I have, everything loads up fine.

Try adding %newbrick.setTrusted(1); before %newbrick.plant();

It still forgets up, it only forgets up with specific datablock types.

Edit: Out of place bricks also happen with the duplicator, but not as frequently. Saving and loading fixes the problem.

I assume the game was without any add-ons both times?

I assume the game was without any add-ons both times?
Yeah when I develop I disable all other add-ons.

bricks do goofy things like this sometimes when they're planted rapidly

schedule the plant calls

no-edit

sometimes, even with all the bricks appearing properly, collision will be messed up until a re-load.

Oh trust me... I did try schedule... it made some fancy missing brick patterns instead.

I've had this bug as well. I don't think I ever solved it.


I've had this bug as well. I don't think I ever solved it.


I suspect it's due to the recent Ghosting update

For me it wasn't a ghosting problem - the bricks actually didn't exist. Can you confirm this?

For me it wasn't a ghosting problem - the bricks actually didn't exist. Can you confirm this?
Idk I'm just assuming it is... I just thought that if the ghosting issue was on the servers side it would also cause collision problems... On the client side it only causes visual because collision is sent through a connection to the server

I'm an amateur coder lol don't listen to me... Either way it seems like an actual problem with the game.