ineedbots / iw4_bot_warfare

The Bot Warfare mod for MW2
https://www.moddb.com/mods/bot-warfare
106 stars 25 forks source link

17 bots makes my custom game extremely laggy #45

Closed edustu closed 1 year ago

edustu commented 2 years ago

I play bot warfare on iw5 pluto and it runs very well, but on iw4x I get 350+ fps on a custom game with no bots, and as soon as I add 17 bots (or even less) it gets extremely laggy and the fps drops to 120sh (feels like 40 though). Is there a fix for it without having to create a dedicated server?? I just want to play it in custom games, thx in advance : )

ineedbots commented 1 year ago

engine related, iw5 (mw3) doesnt have this issue because the game is better optimized for separating the server thread and the render thread. iw4x could make a patch to fix this, I believe alteriwnet or fourdeltaone had this fixed once upon a time.

dedicated server is the only solution right now.

aAsm321 commented 6 months ago

Hey guys try this. Set com_maxfps to 0 For some reason, limiting the fps to less than a certain threshold (Monitor refresh rate possibly) makes the game have inconsistent frame times. image

The moment I change com_maxfps to 0 (AKA unlimited), the issue goes away. image