Log path (writing infiSTAR log files into a subfolder) ENGLISH & GERMAN

    Log path (writing infiSTAR log files into a subfolder) ENGLISH & GERMAN

    Hey,
    the installation instructions within the readme file has been changed:

    04. Move the whole "@infiSTAR_Exile" including the dll files and the addons\a3_infiSTAR_Exile.pbo to your ARMA3_SERVER_FOLDER

    (you should read the whole new readme file)

    Logs are now being created in the "@infiSTAR_Exile" folder (as that is the folder where the .dll files are being placed now)

    If you still want to log to a different folder, you have to open the "fn_preInit.sqf"

    and search for:

    Source Code

    1. FN_CALL_LOG_DLL = {
    2. params [["_filename", "LOG", [""]], ["_logentry", "", [""]]];
    3. _filename = format["A3_%1_%2_%3", briefingName select [0,10], worldName select [0,10], _filename];
    4. infiSTAR_DLL_Name callExtension format["2%1|%2", _filename, _logentry];
    5. };
    6. FN_CALL_LOG_DLL = compileFinal ([FN_CALL_LOG_DLL] call fnc_CompilableString);


    example will create log files within a subfolder named "MY_LOG_FOLDER":

    Source Code

    1. FN_CALL_LOG_DLL = {
    2. params [["_filename", "LOG", [""]], ["_logentry", "", [""]]];
    3. _filename = format["A3_%1_%2_%3", briefingName select [0,10], worldName select [0,10], _filename];
    4. _path = "MY_LOG_FOLDER";
    5. infiSTAR_DLL_Name callExtension format["2%1/%2|%3", _path, _filename, _logentry];
    6. };
    7. FN_CALL_LOG_DLL = compileFinal ([FN_CALL_LOG_DLL] call fnc_CompilableString);

    Hey
    ich habe die Installationsanleitung in der readme.txt geändert bezüglich der dll Dateien

    04. Move the whole "@infiSTAR_Exile" including the dll files and the addons\a3_infiSTAR_Exile.pbo to your ARMA3_SERVER_FOLDER

    (am besten mal die ganze Anleitung ansehen)

    dadurch werden dann die Logs im Prinzip direkt in dem "@infiSTAR_Exile" Ordner erstellt.

    Den Log Pfad habe ich dann als solches entfernt weil nun die dlls ohnehin im passendem Ordner liegen

    Ich kann es wieder hinzufügen, müsste dann allerdings die DLL insofern ändern dass sie auch den neuen Pfad annimmt, habe ich noch nicht probiert ob es noch funktioniert.

    Nun als übergang für dich / euch könntest du es einmal probieren - und zwar über die fn_preInit.sqf

    Dort findest du:

    Source Code

    1. FN_CALL_LOG_DLL = {
    2. params [["_filename", "LOG", [""]], ["_logentry", "", [""]]];
    3. _filename = format["A3_%1_%2_%3", briefingName select [0,10], worldName select [0,10], _filename];
    4. infiSTAR_DLL_Name callExtension format["2%1|%2", _filename, _logentry];
    5. };
    6. FN_CALL_LOG_DLL = compileFinal ([FN_CALL_LOG_DLL] call fnc_CompilableString);


    Beispiel für Logs im Ordner:

    Source Code

    1. FN_CALL_LOG_DLL = {
    2. params [["_filename", "LOG", [""]], ["_logentry", "", [""]]];
    3. _filename = format["A3_%1_%2_%3", briefingName select [0,10], worldName select [0,10], _filename];
    4. _path = "MeinLogOrnder";
    5. infiSTAR_DLL_Name callExtension format["2%1/%2|%3", _path, _filename, _logentry];
    6. };
    7. FN_CALL_LOG_DLL = compileFinal ([FN_CALL_LOG_DLL] call fnc_CompilableString);