Jump to content

Recommended Posts

Posted

The client PC's have serious LAG after playing multiplayer on LAN for a while. How can I resolve this? All the clients have 32gb's ram.

Posted

Can you provide more details? Original post not making any sense to me.

Posted (edited)

When we start playing multiplayer with 10 people on the LAN every thing runs smoothly, but after about an hour there is a lot of lag. It's kinda like all the aircraft that get shot down during play are still there in the scenario using up resources. You can select an airplane that has been shot down because it's still there, unlike IL2 1946 where the downed aircraft is completely gone after "Refly."

Edited by MadDad
Posted (edited)
6 hours ago, MadDad said:

When we start playing multiplayer with 10 people on the LAN every thing runs smoothly, but after about an hour there is a lot of lag. It's kinda like all the aircraft that get shot down during play are still there in the scenario using up resources. You can select an airplane that has been shot down because it's still there, unlike IL2 1946 where the downed aircraft is completely gone after "Refly."

Shot down planes not despawning will really slow a server down. We've see this in some established servers where the FPS rate in the vicinity of a crashed plane grinds to a crawl. Sometimes the planes are underwater and not visible but you find them by cycling through external views.

 

You'll want to look into a despawn script, the ATAG forum would be the best place to find this information. In the short term you could try jumping into the problem plane with aircraft switching and jumping back out. If I remember correctly that's been said to despawn the planes faster.

Edited by Dawson
  • Like 1
Posted

Thank you Dawson!

  • Like 1
  • Upvote 1
FTC_Rostic
Posted (edited)

Well, for dogfight servers, mission author should write a script that will remove aircrafts from mission.

 

Though, game automatically destroy damaged aircrafts after 10 minutes and this is hardcoded. Though, if player left intact aircraft, AI will take control over it.

 

Another issue could be when server was started through in game menu Local Server. That one has very bad performance. I created mission with 216 AI in the air and local server worked very bad. But when I started mission in dedicated server app on my PC and then connected to it from same my PC I had much better performance in game.

 

By the way, in that mission script was not removing damaged aircrafts crash landed  outside active airfields and AI controlled aircrafts successfully landed. By the end of mission about 100 aircrafts were parked at home airfields. Players reported two freezes about 2 hours after mission started.

Edited by FTC_Rostic
FTC_Rostic
Posted

Though having 216 aircrafts from mission start plus about 60 players connected was pretty smooth during first hour. But, getting freezes closer to the end of missions with just few players left and definitely less survived AI is a strange thing.

batmacumba
Posted

This could be a memory leak. If you get the chance, please check the memory usage of the process in the beginning of the mission and by the end of it. 👍

Posted

Thanks for responding y'all! I prefer using BOS for LAN dogfights since I don't have this problem, but BOS doesn't have multiplayer maps to choose from.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...