Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?
You are not logged in.
for (int x = 2; x < 27; x++)
{
for (int y = 186; y < 200; y++)
{
if((x >= 2 && x < 26 && y == 186) || (y > 186 && y <= 198 && x == 26 ))
{
conn.Send(worldKey, 1, x, y, 9);
Console.WriteLine("Building bricks at {0} , {1}", x, y);
}
else if(x == 3 && y == 199)
{
conn.Send(worldKey, 1, x, y, 385, "Some text here");
Console.WriteLine("Building sign at {0} , {1}", x, y);
}
//Thread.Sleep(750);
}
For some reason blocks don't get built, but I'm not getting any error message and the console prints the lines I'm asking it to print. I'm pretty sure the worldKey is fine because I'm able to change the smiley of the bot.
Offline
Is there anything wrong with my code?
Offline
Such a thing is called lag.
My bot gets kicked out without without any message from ee when I place a ton of blocks without delay.
Currently I plave blocks with a delay of 50 ms.
If I put it any lower some blocks to all blocks aren't placed.
I'm looking if it's possible to place a couple without delay before throwing the delay back in again.
Offline
I see.
Offline
Such a thing is called lag.
My bot gets kicked out without without any message from ee when I place a ton of blocks without delay.
Currently I plave blocks with a delay of 50 ms.
If I put it any lower some blocks to all blocks aren't placed.I'm looking if it's possible to place a couple without delay before throwing the delay back in again.
I tried putting a 50ms delay, like you said, but blocks still do not get built. I also get this "Sync Error: Data received from your client does not match data from the server" message occasionally, and I think it is caused when I try to change my smiley. *smiley still gets changed tho*
Offline
Are you trying to build foreground or background blocks?
A bit odd, but foreground (so actual blocks) are on layer 0, not 1.
Offline
Are you trying to build foreground or background blocks?
A bit odd, but foreground (so actual blocks) are on layer 0, not 1.
oh my god............ Stupidity at its finest.
Offline
den3107 wrote:Are you trying to build foreground or background blocks?
A bit odd, but foreground (so actual blocks) are on layer 0, not 1.oh my god............ Stupidity at its finest.
Do update me if the bot still places all blocks if you reduce or remove the delay, please.
Offline
kurtv13 wrote:den3107 wrote:Are you trying to build foreground or background blocks?
A bit odd, but foreground (so actual blocks) are on layer 0, not 1.oh my god............ Stupidity at its finest.
Do update me if the bot still places all blocks if you reduce or remove the delay, please.
I will. Thanks for your help
Offline
▼Hidden textI will. Thanks for your help
That's what I'm here for, welcome and good luck with your bot.
Offline
I place blocks on a delay of 10 ms.
And it goes perfectly fine.
7 goes fine, too.
And I tried connecting 10 bots and making them place the same blocks I place except in different coords (all at the same time — without any delay between the bots) and then waiting around 10 ms and it worked, except there was a little bit of lag (since you're sending 11 packets all at the same time.)
So I might use them to place blocks faster whenever a project needs them.
Offline
10ms isn't causing any problems for me as well
Offline
Welp, I just guess my internet/laptop sucks then.
Any delay under 50ms makes the bot skip blocks...
Offline
[ Started around 1732440182.4242 - Generated in 0.099 seconds, 12 queries executed - Memory usage: 1.51 MiB (Peak: 1.67 MiB) ]