celguar / spp-classics-cmangos

SPP Classics repack with ike3 playerbots. Based on cmangos. Supports 1.12, 2.4.3, 3.3.5. Check "Releases" for installer
https://discord.gg/s4JGKG2BUW
247 stars 60 forks source link

Random server lag #292

Open Duolol1 opened 2 months ago

Duolol1 commented 2 months ago

Hello,

Just wanted to report that sometimes I have an issue where people run in place and abilities don't go off for like 3-5 seconds, feels like lag as if the server was online. Tried everything I can think of, toning down the number of bots, turning off achievements etc. My rig is more than capable of handling the server, I9-13900k, RTX 4090, and 32 gb of ram. Was wondering if there's any way to possibly alleviate the issue? Tried uninstalling/reinstalling everything and such too, thanks!

sarge816 commented 2 months ago

I posted about this same thing in the Discord, was advised to disable "AutoDOquests" for the bots in their .conf file. Not only did it cure my server lag but it also made it far more stable.

Duolol1 commented 2 months ago

Thanks boss, will give it a try!

Hokken commented 2 months ago

Confirmed, that fix seems to solve the issue.

sarge816 commented 2 months ago

The only issue I see by disabling that setting is the bots tend to stand around alot, clump together, jump in place, seem rather aimless much of the time out in the world. I was told it was a known issue, so assuming it is being worked on.

Hokken commented 2 months ago

@sarge816 yes, unfortunately, it does break immersion as the bots are aimless (apart from combat) but until (if) it's fixed id rather disable that feature and enjoy a smoother gameplay.

Hokken commented 2 months ago

Actually after reducing the number of random bots from 1000 to 500 (a reset of random bots is needed, see in the terminal menu) my issue with those recurring game breaking pauses has stopped. I guess it depends on your hardware capability but that seems to do the trick for me. Hard to pin point to the cause, I don’t have access to the code. Could be a synchronous loop of hell pausing the execution of the main thread who knows.