Jump to content
Sign in to follow this  
Kapral

dedicated server bandwidth

Recommended Posts

If someone can help me be great. I have this problem, when i host server i see ai have some lag. When there is many ai soldiers. Like in "back to eden" mission.

I look at my agreement internet and i see i have 8Mbit/s internet and 1024 kbit/s (upload?) i really dont know nothing about this.

Can someone write me good performance for server? 3-5 players. I do not know what be better for me.

My server_flashpoint look that : (i test it now, so bandwidth can be really bad...) :

MinErrorToSend=0.00500;

MaxMsgSend=512;

MaxSizeGuaranteed=256;

MaxSizeNonguaranteed=128;

MinBandwidth=3072000;

MaxBandwidth=4608000;

MaxCustomFileSize=1024000;

setTerrainGrid=3.125;

setViewDistance=900;

Product="Resistance";

Language="English";

HW_Type="Direct3D HW T&L";

Adapter=0;

3D_Performance="10714";

CPU_Benchmark=10714;

Resolution_W="1920";

Resolution_H="1080";

Resolution_Bpp="32";

LOD=7.500000;

Limit_LOD=0.000000;

Shadows_LOD=10.000000;

MaxObjects=256;

Cockpit_Textures=1024;

Landscape_Textures=1024;

Object_Textures=1024;

Animated_Textures=256;

Textures_Drop_Down=4;

Texture_Heap="16";

File_Heap="16";

Total_Memory="3000";

MaxLights=32;

Light_Explo=1;

Light_Missile=1;

Light_Static=1;

Frame_Rate_Pref=500;

Quality_Pref=500;

refresh=59;

EDIT

Looks i fing good configuration for me. Ai dont lagg anymore.

MinErrorToSend=0.00500;

MaxMsgSend=256;

MaxSizeGuaranteed=256;

MaxSizeNonguaranteed=128;

MinBandwidth=768000;

MaxBandwidth=860800;

MaxCustomFileSize=1024000;

setTerrainGrid=3.125;

setViewDistance=900;

Product="Resistance";

Language="English";

HW_Type="Direct3D HW T&L";

Adapter=0;

3D_Performance="10714";

CPU_Benchmark=10714;

Resolution_W="1920";

Resolution_H="1080";

Resolution_Bpp="32";

LOD=7.500000;

Limit_LOD=0.000000;

Shadows_LOD=10.000000;

MaxObjects=256;

Cockpit_Textures=1024;

Landscape_Textures=1024;

Object_Textures=1024;

Animated_Textures=256;

Textures_Drop_Down=4;

Texture_Heap="16";

File_Heap="16";

Total_Memory="3000";

MaxLights=32;

Light_Explo=1;

Light_Missile=1;

Light_Static=1;

Frame_Rate_Pref=500;

Quality_Pref=500;

refresh=59;

I hope... but if they be... :681:

EDIT: Sometime is still laggy, i dont know why. At one mission no ai lag, at another there is... some suggestion? Be nice:don 16:

Edited by Kapral

Share this post


Link to post
Share on other sites

Unfortunetly there is very little about server performace tweaks. With 1mb upload speed you're limited to start with. Upload speed is the base of a good server. For 3-5 players this will work as long as the misisons don't use heavy scripting.

One thing I see that will kill your FPS is:

setTerrainGrid=3.125;

This sets the terrain to the highest setting, either delete that line and let it default or use another value.

Operation Flashpoint, VBS1: Set desired terrain resolution (in meters). For default landscapes, supported resolutions are:

50 - smoothest, less lag

25 - default in multiplayer

12.5 - default in singleplayer

6.25

3.125 - bumpiest, higher lag

If you select unsupported resolutions, nearest supported value is used instead.

You can also play around with minbandwidth setting along with maxmsgsend settings.

Look here for more info:

http://www.apollon-domain.co.uk/?tag=ofp

and

http://community.bistudio.com/wiki/Operation_Flashpoint:Dedicated_Server

Edited by Zulu1

Share this post


Link to post
Share on other sites

Zulu1, i look at it. You have right, i have there setTerrainGrid=3.125;, but i dont notice this. I try about 6.25, that is high terrain i suppose. Thanks you. Before i think i must change some parametr in init.sqs in mission to use high or highest terrain in my server, but looks i dont need do that. I play ofp a long time but this kind of stuff is new for me. Thanks again.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×