OpenBlocks

OpenBlocks

56M Downloads

Lag caused in fresh world

mikeemoo opened this issue ยท 4 comments

commented

14:58:54 "Eyamaz": it was causing some really bad lag in monster. server to client side.
14:59:07 "Mikeemoo": Any idea which block?
14:59:08 "Eyamaz": i havent been able to pinpoint WHAT was the issue
14:59:18 "Eyamaz": thats the thing
14:59:29 "Mikeemoo": if it's tanks, any block in openblocks can be disabled by setting the ID to 0
14:59:41 "Eyamaz": this was on fresh worlds
14:59:51 "Eyamaz": and removing openblocks stopped the lag

commented

15:04:09 "Eyamaz": litterally, it only got removed because we were getting 3 to 4 seconds of block lag every 10 seconds with it in on the test server
15:04:20 "Eyamaz": i had few issues withit in ssp

commented

Oooh! OpenBlocks is causing that? Yeah I couldn't troubleshoot this but it's server side too if I recall.
Are we doing anything timed? Or using any maps or array lists like every tick?

commented

Very hard to replicate this. I can't really see anything in the code that could be causing it.

I guess the places to look are any tick handlers, and any events that are regularly being called.
I know onLivingUpdate forge event is constantly being called, so I'll take a look at that tonight and find a more efficient way of doing it. I doubt that's the issue, though.

commented

Can't replicate, no new info, no reports from users. Closing.