2 // Configure module gateway for front end operation
\r
5 // Add a security plugin (will add player info on player module proxy)
\r
6 "gw.securityCreate FESecurity",
\r
7 // create a front end service transport
\r
8 "gw.transportAdd FEServer fes",
\r
9 // set the transport option (need PeerInvisible and Firewalled)
\r
10 "gw.transportOptions fes(PeerInvisible Firewalled)",
\r
11 // open the transport
\r
12 "gw.transportCmd fes(open)",
\r
16 // UDP port for client communication
\r
17 //FrontendPort = 47851;
\r
19 ListenAddress = FSListenHost+":"+FSUDPPort;
\r
21 // Maximum size that can be read from a client message
\r
22 DatagramLength = 10000;
\r
24 // Time-out before removing a client when it does not send any more data
\r
25 ClientTimeOut = 600000; // 10 min
\r
27 // Time-out before removing a limbo client when it does not send any more data
\r
28 LimboTimeOut = 60000; // 1 min
\r
30 // Maximum bytes per game cycle sent to all clients (currently not used/implemented)
\r
31 TotalBandwidth = 536870911; // <512 MB : max value for 32 bit bitsize !
\r
33 // Maximum bytes per game cycle sent to a client, including all headers
\r
34 ClientBandwidth = 332 * BandwidthRatio; // 332 <=> 13 kbit/s at 5 Hz; 202 <=> 16 kbit/s at 10 Hz
\r
36 // Maximum bytes for impulsion channels per datagram sent to a client
\r
37 ImpulsionByteSize0 = 20 * BandwidthRatio;
\r
38 ImpulsionByteSize1 = 200 * BandwidthRatio;
\r
39 ImpulsionByteSize2 = 200 * BandwidthRatio;
\r
40 NbMinimalVisualBytes = 50;
\r
42 // Distance/delta ratio that triggers the sending of a position
\r
43 DistanceDeltaRatioForPos = 100;
\r
45 // Number of game cycles per front-end cycle
\r
47 // Execution period of distance calculation
\r
48 CalcDistanceExecutionPeriod = 8;
\r
49 // Execution period of position prioritization
\r
50 PositionPrioExecutionPeriod = 2;
\r
51 // Execution period of orientation prioritization
\r
52 OrientationPrioExecutionPeriod = 8;
\r
53 // Execution period of discreet properties prioritization
\r
54 DiscreetPrioExecutionPeriod = 2;
\r
56 SortPrioExecutionPeriod = 1;
\r
58 // Display or not the "FE" nlinfos
\r
61 // Prioritizer mode (currently the only mode is 1 for DistanceDelta)
\r
64 // Strategy for selecting pairs to prioritize (Power2WithCeiling=0, Scoring=1)
\r
65 SelectionStrategy = 1;
\r
67 // Minimum number of pairs to select for prioritization
\r
68 MinNbPairsToSelect = 2000;
\r
70 // Index of client to monitor, or 0 for no monitoring
\r
73 // Allow or not beeping
\r
76 //NegFiltersDebug += { "FESEND", "FERECV", "FETIME", "FEMMAN", "TICK", "TOCK" };
\r
77 //NegFiltersInfo += { "FESEND", "FERECV", "FETIME", "FEMMAN", "FESTATS" };
\r
79 Lag = 0; // The lag on the simulated network (used by simlag)
\r
80 PacketLoss = 0; // percentage of lost packet (used by simlag)
\r
81 PacketDuplication = 0; // percentage of duplicated packet (used by simlag)
\r
82 PacketDisordering = 0; // percentage of disordered packet (used by simlag) (Lag must be >100 to use disordering)
\r
84 // ----------------------------------------
\r
85 // Frontend/Patch mode settings
\r
87 // If 1, the frontend server is used in Patch/Frontend mode (0 = only frontend mode, old behaviour)
\r
88 UseWebPatchServer = 1;
\r
90 // If 0, the frontend service is in Patch mode at startup, and it won't accept clients unless WS tells it to do so.
\r
91 AcceptClientsAtStartup = 1;
\r
93 // Patch URL footer. PatchURL will look like 'http://223.254.124.23:43435/patch'
\r
94 PatchingURLFooter = ":80/patch";
\r
96 // System command to be executed when FS tries to start Web Patch server (ideally at FS startup)
\r
97 StartWebServerSysCommand = "";
\r
99 // System command to be executed when FS tries to stop Web Patch server (ideally when FS turns to frontend mode)
\r
100 StopWebServerSysCommand = "";
\r
102 // Use Thread for sending
\r
105 // Unidirectional Mirror mode (FS part)
\r