#Network performance issues
1 messages · Page 1 of 1 (latest)
I have a core system, which does a lot of stuff. And the core itself is actually barely taking resources in the timings report. But, I was able to point down that some features are causing network lag on the players, but 0 impact on the server.
Sometimes, players will straight up get disconnected, while the server is perfectly responsive. Yes, packets are used on the core a lot.
I'm trying to figure out how I can see exactly where the "dos" is coming from
Eventually, some things will make the server unplayable for the user, while the server is running at a average of 20tps and really stable mspt
The reason I believe so far to be the cause of this after extensive testing is this:
do you know which plugin is causing this
https://cdn.discordapp.com/attachments/1102067501594054686/1102067901441261668/image.png
This is a cell-system. each cell can have up to 16 guards. And so far, if I place 16 guards in a cell. There are no issues at all
But when I make more than 1 cell with guards, is when my players literally start getting "dos-ed" by the server, and their connection to the server rapidly becomes terrible.
damn howd youdo that
do you know which plugin is causing the lag
It's not server lag or client fps lag
It's network lag only for the client
And it's the core which manages these guards. Which I made
it might be the resoruce pack
Why would a resource pack cause network lag only for the client tho
well its pretty obviosu the guard entity has lots of small textures
But that's probably controlled by mythicmobs
And itemadder, and neither of those are taking any resources
i'm not sure
So what's happening is that you're blocking the network thread
The tps will be fine since it's messured on the main thread
If you block the network thread for too long it will cause the client to timeout and disconnect
Alright yeah, so far makes perfect sense, I knew it was going somewhere near there
But how can I debug, find out where exactly to then fix it
Never done anything this advanced with packets
But I want to laern too
@cosmic dune