Foxlider / FASTER

Full rebuild of Flax's tool for installing and updating Arma 3 server with built in features for managing Steam Workshop mods.
GNU General Public License v3.0
127 stars 36 forks source link

[BUG] Server.cfg - AdvancedOptions faulty implementation #221

Open OverlordZorn opened 4 days ago

OverlordZorn commented 4 days ago

server.cfg output

// INGAME SETTINGS
disableVoN = 1;             // If set to 1, Voice over Net will not be available
vonCodec = 0;               // If set to 1 then it uses IETF standard OPUS codec, if to 0 then it uses SPEEX codec (since Arma 3 update 1.58+)  
skipLobby = 0;              // Overridden by mission parameters
vonCodecQuality = 3;            // since 1.62.95417 supports range 1-20 //since 1.63.x will supports range 1-30 //8kHz is 0-10, 16kHz is 11-20, 32kHz(48kHz) is 21-30 
persistent = 0;             // If 1, missions still run on even after the last player disconnected.
timeStampFormat = "long";       // Set the timestamp format used on each report line in server-side RPT file. Possible values are "none" (default),"short","full".
BattlEye = 0;               // Server to use BattlEye system
queueSizeLogG = 1000000;            // If a specific players message queue is larger than 1MB and #monitor is running, dump his messages to a logfile for analysis 
LogObjectNotFound = False;      // When false to skip logging 'Server: Object not found messages'.
SkipDescriptionParsing = False;     // When true to skip parsing of description.ext/mission.sqm. Will show pbo filename instead of configured missionName. OverviewText and such won't work, but loading the mission list is a lot faster when there are many missions 
ignoreMissionLoadErrors = False;        // When set to true, the mission will load no matter the amount of loading errors. If set to false, the server will abort mission's loading and return to mission selection.
forcedDifficulty = Custom;          // Forced difficulty (Recruit, Regular, Veteran, Custom)

How it should be instead

class AdvancedOptions
{
    LogObjectNotFound = true;            // logging enabled
    SkipDescriptionParsing = false;        // parse description.ext
    ignoreMissionLoadErrors = false;    // do not ingore errors
    queueSizeLogG = 1000000;            // if a specific players message queue
                                        // is larger than 1MB and #monitor is running,
                                        // dump his messages to a logfile for analysis
};
OverlordZorn commented 4 days ago

dupe of #184 will be fixed by #186