This repository has been archived by the owner on Mar 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
basic.cfg.example
52 lines (43 loc) · 1.74 KB
/
basic.cfg.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
language="English";
adapter=-1;
3D_Performance=1;
Resolution_Bpp=32;
Windowed=0;
// Bandwidth the server is guaranteed to have (in bps). This value helps server
// to estimate bandwidth available. Increasing it to too optimistic values can
// increase lag and CPU load, as too many messages will be sent but discarded.
// Default: 131072
MinBandwidth=131072;
// Bandwidth the server is guaranteed to never have. This value helps the server
// to estimate bandwidth available.
MaxBandwidth=1073741824;
// Maximum number of messages that can be sent in one simulation cycle.
// Increasing this value can decrease lag on high upload bandwidth servers.
// Default: 128
MaxMsgSend=128;
// Maximum size of guaranteed packet in bytes (without headers). Small messages
// are packed to larger frames. Guaranteed messages are used for non-repetitive
// events like shooting.
// Default: 512
MaxSizeGuaranteed=512;
// Maximum size of non-guaranteed packet in bytes (without headers).
// Non-guaranteed messages are used for repetitive updates like soldier or
// vehicle position. Increasing this value may improve bandwidth requirement,
// but it may increase lag.
// Default: 256
MaxSizeNonguaranteed=256;
// Minimal error to send updates across network. Using a smaller value can make
// units observed by binoculars or sniper rifle to move smoother.
// Default: 0.001
MinErrorToSend=0.001;
// Minimal error to send updates across network for near units. Using larger
// value can reduce traffic sent for near units. Used to control client to
// server traffic as well.
// Default: 0.01
MinErrorToSendNear=0.01;
// (bytes) Users with custom face or custom sound larger than this size are
// kicked when trying to connect.
MaxCustomFileSize=0;
class sockets {
maxPacketSize=2048;
};