ElenaiDev / ElenaiDodge2.0

Other
8 stars 9 forks source link

General lag/unresponsiveness (19.2 Forge) #87

Open ranenvious opened 1 year ago

ranenvious commented 1 year ago

I'm playing with a large pack on 19.2 forge and, while I don't believe any individual mod is to blame (I may be wrong on that and will do further testing) dodging seems to be delayed/laggy.

There is no rubberbanding or anything, but reliably when I hit my dodge key there are a few fractions of a second where nothing happens, and in extreme cases well OVER a second can pass before I actually dodge. In even the best of cases though it's extremely noticable and even the couple-tick delay makes it feel noticably slugish and uncomfortable to use.

I can't speak for why this is, if I had to guess it might be waiting for the server to perform a check before it lets me dodge as opposed to doing the checks client side, but that's just my best guess, so far I haven't been able to pin anything concrete down. It would explain why there is a short delay, and why that delay is quite varied, but it's still pretty unsubstantiated. To be clear, these were tested in singleplayer but from my - admittedly limited - understanding of minecraft's internals there is still a distinct client-server relationship even in singleplayer; so the server can be hitched generating new chunks whereas the client continues to be able to move about and interact freely, albiet with restrictions such as no block-updates occuring until the server can catch up. My modpack generates new chunks rather slowly, so I believe the most likely culprit is that it's waiting for the server to perform some check before letting the player dodge, instead of just doing it first and letting the server catch up when it's ready.

I'll be doing more tests in the next few days as I round out my personal modpack and I'll dedicate a few hours to seeing if I can more extensively test this, but I've already done several binary tests debugging other mods already and, while I wasn't going out of my way to test dodging, it did feel like a fairly linear correlation between amount of mods and delay. (if I don't edit this or reply with a comment in the next 1-2 days, it means that, as I currently suspect, there is no specific mod to blame and it appears to just be general lag)

Flapjack24 commented 10 months ago

Nope I am having this exact same problem too