Code Question

  • Marcel


    Is there a way to grab the current UPACS THREAD number from within the RetrieveOn function? I'd like to add that number to the OperatorConsole output when the server reports that it is "Sending File" . So it would read something like "UPACS THREAD ## : Sending file: filename.) . Or rather as it is in the code from line 17360 in dgate.cpp


    Code
    OperatorConsole.printf("Sending file : %s\n", Filename);

    I'd like to put something like

    Code
    OperatorConsole.printf("UPACS THREAD %d: Sending file : %s\n", Threadnum, Filename);

    Would that be possible? Thanks in advance.


    Mr Johnathan Bravo

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!