
skyresource tileEntityblocks eatup all bandwidth
CatAndHorse opened this issue · 3 comments
Each skyresource tileEntityblock cost 5KB/s constantly , so each mid game player can eat upto 1mbps+ with about 20 machine
I saw you notify tileEntityupdate every tick even machine is not working
static final int skipConst = 100;
int skipCounter = 0;
public void markDirty()
{
if(skipCounter <= 0)
{
super.markDirty();
world.notifyBlockUpdate(getPos(), world.getBlockState(getPos()), world.getBlockState(getPos()), 3);
skipCounter = skipConst;
}
skipCounter -= 1;
}
I made a temporary fix for my own server.Works fine.
By modify TileBase.java and simply skip 99% markDirty,my server come back to life again
Maybe you can temporarily use this before your Ultimate solution is done