How to output console output to a file?

Bashar_al-AssadBashar_al-Assad Posts: 579Player
Is it possible to redirect the output in console(thing you get by pressing ~ key) to a file? Need this for a small "Match Summary" program I am working on.

Comments

  • [ENG]Uni-Sol[ENG]Uni-Sol Posts: 3,193Player
    Dont know an awful lot about using the console but if theres anything pertaining to what you need.. it might be somewhere here

    https://udn.epicgames.com/Three/ConsoleCommands.html

    If my trollery drives you crazy, you'd better put on your seatbelt.






  • SacchoSaccho Posts: 1,577Player
    I looked around pretty extensively and didn't find anything helpful :( I was hoping for a way to pipe the in-game console text to the AAClient log, maybe through a debug flag, but came up empty.
  • weakness_aaweakness_aa Posts: 148Player
    Pvt.Phushi wrote: »
    Is it possible to redirect the output in console(thing you get by pressing ~ key) to a file? Need this for a small "Match Summary" program I am working on.

    Can you be more specific as to the data your looking to collect? The AAClient.log does not record deaths, kills, stats, etc. All of that information is contained in the server logs.
  • Keebler750Keebler750 Posts: 3,621Beta Tester
    edited July 2016
    EDIT. Oh ya.....client vs server. Doh
    ______

    This has been a test of the emergency flame-fest system. Please do not adjust your set.
  • Bashar_al-AssadBashar_al-Assad Posts: 579Player
    Saccho wrote: »
    I looked around pretty extensively and didn't find anything helpful :( I was hoping for a way to pipe the in-game console text to the AAClient log, maybe through a debug flag, but came up empty.

    Yo thanks for trying.
  • Bashar_al-AssadBashar_al-Assad Posts: 579Player
    Pvt.Phushi wrote: »
    Is it possible to redirect the output in console(thing you get by pressing ~ key) to a file? Need this for a small "Match Summary" program I am working on.

    Can you be more specific as to the data your looking to collect? The AAClient.log does not record deaths, kills, stats, etc. All of that information is contained in the server logs.

    Just everything you see when you open the console.. including who killed who, chat, etc.
  • SacchoSaccho Posts: 1,577Player
    As others hinted at, if it's your server, the AAServer log should have the info you want. Otherwise, you could try to see if the server owner would send you the log.

    Disclaimer: I haven't run an AAPG server in a long while so I'm not up to date on what those logs look like now.
  • jonnie.ringojonnie.ringo Posts: 20Player
    Yes server logs will show what he is looking for, example below

    [3630.59] ScriptLog: "$ternn" killed "jonnie.ringo" with damage: AADmgType_M4A1Rifle KilledPawn.Weapon:'None' at time: 2016/06/30 - 19:25:11
    [3630.60] ScriptLog: removing player in 5 seconds
    [3635.56] ScriptLog: "jonnie.ringo"'s Pawn has been medic evaced at 2016/06/30 - 19:25:16
    [3637.90] ScriptLog: "BudSeeker" killed "$ternn" with damage: AADmgType_M870Shotgun KilledPawn.Weapon:'AAWeap_M4A1Rifle_38' at time: 2016/06/30 - 19:25:18
    [3639.03] ScriptLog: BudSeeker started self treatment
    [3660.14] ScriptLog: "BudSeeker" killed "CaptainCrunch" with damage: AADmgType_M870Shotgun KilledPawn.Weapon:'AAWeap_M249LMG_7' at time: 2016/06/30 - 19:25:40
    [3674.28] ScriptLog: "Bandito1919" revived "$ternn" at 2016/06/30 - 19:25:55
    [3675.58] ScriptLog: "jonnie.ringo"'s Pawn has been medic evaced at 2016/06/30 - 19:25:56
    [3679.74] ScriptLog: Bandito1919 started self treatment
    [3680.68] ScriptLog: "BudSeeker" killed "Bandito1919" with damage: AADmgType_M870Shotgun KilledPawn.Weapon:'AAWeap_Gauze_82' at time: 2016/06/30 - 19:26:01
    [3681.52] Log: PunkBuster Server: Auto Screenshot 001262 Requested from 2 $ternn
    [3683.51] ScriptLog: "<I<R<O<N" secured "CaptainCrunch" at 2016/06/30 - 19:26:04
    [3683.71] ScriptLog: "BudSeeker" killed "$ternn" with damage: AADmgType_M870Shotgun KilledPawn.Weapon:'None' at time: 2016/06/30 - 19:26:04
    [3683.71] ScriptLog: removing player in 5 seconds
    [3684.05] ScriptLog: INFORMATION: Round ending because: LastTeam: Team 0 died.
    [3684.05] ScriptLog: ========= End of Round 8 Time: 2016/06/30 - 19:26:04 =========
  • weakness_aaweakness_aa Posts: 148Player
    Pvt.Phushi wrote: »
    Pvt.Phushi wrote: »
    Is it possible to redirect the output in console(thing you get by pressing ~ key) to a file? Need this for a small "Match Summary" program I am working on.

    Can you be more specific as to the data your looking to collect? The AAClient.log does not record deaths, kills, stats, etc. All of that information is contained in the server logs.

    Just everything you see when you open the console.. including who killed who, chat, etc.

    You will need access to the server log files to get the data you've asked for.
Sign In or Register to comment.