Sign in to follow this  
NeverAgain

[SOLVED] [Solved]Admin log

12 posts in this topic

Hi admin log does work....please help

LogAdminActions = "true";	/* "LogAdminActions": Sends actions done by each admin to the server to log it to the .txt file (if infiSTAR dlls are used) and .rpt file + sends it back to all other admins. */
enableIngameLogs = "true";	/* These logs are shown in the admin menu (disabling it might lower performance cost, since it sends a lot of big strings through the network) */
/*
	ARMA_LOG.dll SETTINGS
	You need to create the defined folder if it doesn't exist. If you don't create it - the DLL won't be able to write any Log files ! ! !
*/
LOG_PATH = "_____LOGS/";
WRITE_LOG_FILES = "true";

No admin log...

infiSTAR

Thanks

 

Edited by NeverAgain

Share this post


Link to post
Share on other sites

You need to update your infiSTAR mate

The config looks like this

WRITE_LOG_FILES = "true";
MY_LOG_FOLDER = "";	/* MY_LOG_FOLDER = "infiSTAR Logs"; - would create a folder named "infiSTAR Logs" */

 

this

LOG_PATH = "_____LOGS/";

is outdated ..

  • Like 2

Share this post


Link to post
Share on other sites
Advertisement
4 hours ago, infiSTAR said:

You need to update your infiSTAR mate

The config looks like this


WRITE_LOG_FILES = "true";
MY_LOG_FOLDER = "";	/* MY_LOG_FOLDER = "infiSTAR Logs"; - would create a folder named "infiSTAR Logs" */

 

this


LOG_PATH = "_____LOGS/";

is outdated ..

I have

Version: 87
Last update: 02.11.2017 20:27
Thanks

Share this post


Link to post
Share on other sites
9 hours ago, hogansheroes said:

do you know how to set this up for the logs never

WRITE_LOG_FILES = "true";
MY_LOG_FOLDER = "";	/* MY_LOG_FOLDER = "infiSTAR Logs"; - would create a folder named "infiSTAR Logs" */

This i use..

Edited by NeverAgain

Share this post


Link to post
Share on other sites

well you are doing this so wrong  i repeat soooooooooooooo wrong.

This is what you do so just copy paste what i send 

open up fn_preInit.sqf and search for this

Spoiler

    FN_CALL_LOG_DLL = {
        params [["_filename", "LOG", [""]], ["_logentry", "NO INPUT", [""]]];
        _filename = format["A3_%1_%2_%3", briefingName select [0,10], worldName select [0,10], _filename];
        "armalog" callExtension ("2"+_filename+"|"+_logentry);
    };
    FN_CALL_LOG_DLL = compileFinal ([FN_CALL_LOG_DLL] call fnc_CompilableString);

this will be on lines 124 to129 and replace it with this below

Spoiler

    FN_CALL_LOG_DLL = {
        params [["_filename", "LOG", [""]], ["_logentry", "NO INPUT", [""]]];
        _filename = format["A3_%1_%2_%3", briefingName select [0,10], worldName select [0,10], _filename];
        "armalog" callExtension ("2"+"MY_LOG_FOLDER\"+_filename+"|"+_logentry);
    };
    FN_CALL_LOG_DLL = compileFinal ([FN_CALL_LOG_DLL] call fnc_CompilableString);

as you can see i made a folder inside your root arma called MY_LOG_FOLDER.

easy peasy

Edited by hogansheroes

Share this post


Link to post
Share on other sites
15 hours ago, hogansheroes said:

well you are doing this so wrong  i repeat soooooooooooooo wrong.

This is what you do so just copy paste what i send 

open up fn_preInit.sqf and search for this

  Hide contents

    FN_CALL_LOG_DLL = {
        params [["_filename", "LOG", [""]], ["_logentry", "NO INPUT", [""]]];
        _filename = format["A3_%1_%2_%3", briefingName select [0,10], worldName select [0,10], _filename];
        "armalog" callExtension ("2"+_filename+"|"+_logentry);
    };
    FN_CALL_LOG_DLL = compileFinal ([FN_CALL_LOG_DLL] call fnc_CompilableString);

this will be on lines 124 to129 and replace it with this below

  Hide contents

    FN_CALL_LOG_DLL = {
        params [["_filename", "LOG", [""]], ["_logentry", "NO INPUT", [""]]];
        _filename = format["A3_%1_%2_%3", briefingName select [0,10], worldName select [0,10], _filename];
        "armalog" callExtension ("2"+"MY_LOG_FOLDER\"+_filename+"|"+_logentry);
    };
    FN_CALL_LOG_DLL = compileFinal ([FN_CALL_LOG_DLL] call fnc_CompilableString);

as you can see i made a folder inside your root arma called MY_LOG_FOLDER.

easy peasy

Hmm wierd i have in fn_preinit.sqf only this:

/*
	Author: Chris(tian) "infiSTAR" Lorenzen
	Contact: infiSTAR23@gmail.com // www.infiSTAR.de
	
	Copyright infiSTAR - 2011 - 2017. All rights reserved.
	Christian (Chris) L. (infiSTAR23@gmail.com) Developer of infiSTAR
	
	Description:
	Arma AntiHack & AdminTools - infiSTAR.de
	
	UPDATEEMAIL for http://update.infiSTAR.de is:
	'xxxxxx@xxxxxx'
	
	Last download was on:
	'31-10-2017 15-26-49';
	
	NOTE:
	THIS FILE SHOULD NOT BE TOUCHED UNLESS YOU REALLY KNOW WHAT YOU ARE DOING!
*/
if(uiNameSpace getVariable ["infistar_run",false])exitWith{
	diag_log format["<infiSTAR.de> infiSTAR was already started! Make sure that your mission is not looping due to config errors.."];
	diag_log format["<infiSTAR.de> You need to restart your server properly to start infiSTAR. Just restarting the mission does not work."];
};
uiNameSpace setVariable ["infistar_run",true];

 

Share this post


Link to post
Share on other sites
Advertisement
Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.