[Opt-in] Demorec?

SacchoSaccho Posts: 1,577Player
edited April 2015 in Game Support
Looking for info on starting a demorec in a server.

I've heard "startDemorec" and, once you have a recording, "startDemoPlay [nameOfDemo]", but haven't been able to get it going. I'm getting "Command not recognized" for startDemorec and the plain ol' command "demorec" doesn't seem to do what I want, either -- that lags my machine and I can't find a way to properly terminate the recording.

Comments

  • DeltaKiloDeltaKilo Posts: 146Developer
    edited April 2015
    there is a server setting that will start the demorec for each round. It is on by default. You will know it is recording because you will see a player named "DemoRecSpectator" in the spectator list on the scoreboard. The files are stored on the server and you will have to copy them to a client to play them back. Put them in the folder /AAGame/Demos/

    Once you have them copied to your client you will use the command "demoplay FILENAME".
  • KartiganKartigan Posts: 84Developer
    Were you logged into the server as the administrator? Starting demorec on a server requires admin rights.
  • SacchoSaccho Posts: 1,577Player
    Kartigan -- Yes, I was logged in as admin.

    DeltaKilo -- Thanks, found the setting.

    [AAGame.AAGameInfo]
    bAutoDemoRecEnabled=true

    It had been false, not sure if that was a result of some stage in the update process or what. I'm fairly confident I hadn't switched that while setting up.
  • SacchoSaccho Posts: 1,577Player
    edited April 2015
    Alright, so I successfully recorded a slew of demos yesterday, but I haven't been able to play any back. They'll start to load the correct map, but crash before starting to play.

    Link to sample demo file: http://www.filehosting.org/file/details/483753/InSight_Gaming_(US_East)_BDX_Siege_C4-4-24-2015-7-19-23.demo

    Windows error log:
    Problem signature:
      Problem Event Name:	APPCRASH
      Application Name:	AAGame.exe
      Application Version:	0.0.0.0
      Application Timestamp:	55390cdd
      Fault Module Name:	AAGame.exe
      Fault Module Version:	0.0.0.0
      Fault Module Timestamp:	55390cdd
      Exception Code:	c0000005
      Exception Offset:	002b935a
      OS Version:	6.1.7601.2.1.0.256.4
      Locale ID:	1033
      Additional Information 1:	1bef
      Additional Information 2:	1bef4ecf67a8575a6c8afdfec3ed81d3
      Additional Information 3:	e523
      Additional Information 4:	e52304ed767b5af3328fa1a5c22311b3
    

    AAClient.log from loading demo forward:
    [0023.41] Log: Attempting to play demo InSight_Gaming_(US_East)_BDX_Siege_C4-4-24-2015-7-19-23
    [0023.41] Log: Starting demo playback with demo ..\..\AAGame\Demos\InSight_Gaming_(US_East)_BDX_Siege_C4-4-24-2015-7-19-23.demo recorded with version 9656
    [0023.52] Log: LoadMap: BDX_Siege_C4
    [0023.52] Log: --- LOADING MOVIE START ---
    [0024.03] ScriptLog: WARNING - Spectator only player leaving spectating state to go to None
    [0024.03] VoiceChat: Trying to Diconnect Local Client without server connection.
    [0024.03] VoiceChat: Failed to unregister local talker
    [0024.03] DevOnline: Clearing online delegates for AAPlayerController_0 (Player:AALocalPlayer_0)
    [0024.03] ScriptLog: Player controller logging out: AAPlayerController_0
    [0024.03] ScriptLog: AAPlayerController_0 Cleaning up PRI
    [0024.05] VoiceChat: Trying to StopClientVoiceProcessing without server connection.
    [0024.05] VoiceChat: Failed to stop local voice processing.
    [0038.14] Log: Primary PhysX scene will be in software.
    [0038.14] Log: Creating Primary PhysX Scene.
    [0038.15] Log: Bringing World BDX_Siege_C4.TheWorld up for play (0) at 2015.04.24-08.37.47
    [0038.15] Log: Bringing up level for play took: 0.018049
    [0038.15] ScriptWarning: Accessed None 'AAGRI'
    	AAPlayerController BDX_Siege_C4.TheWorld:PersistentLevel.AAPlayerController_1
    	Function AAGame.AAPlayerController:SetViewTarget:0014
    [0038.15] ScriptLog: ASTARKEY:: DisplayDebugVoiceFont SmallFont
    [0038.15] Log: Writing game stats recording file ..\..\AAGame\Stats\Client-BDX_Siege_C4-PC-1202061\BDX_Siege_C4-PC-24-08.37.47.gamestats...
    [0038.15] Log: ########### Finished loading level: 14.636186 seconds
    [0038.16] ScriptWarning: Accessed None 'AAGRI'
    	AADemoRecSpectator BDX_Siege_C4.TheWorld:PersistentLevel.AADemoRecSpectator_0
    	Function AAGame.AAPlayerController:SetViewTarget:0014
    [0038.16] ScriptLog: ASTARKEY:: DisplayDebugVoiceFont SmallFont
    [0038.16] Log: Writing game stats recording file ..\..\AAGame\Stats\Client-BDX_Siege_C4-PC-1202061\BDX_Siege_C4-PC-24-08.37.47.gamestats...
    [0038.16] Log: Failed to open file ..\..\AAGame\Stats\Client-BDX_Siege_C4-PC-1202061\BDX_Siege_C4-PC-24-08.37.47.gamestats for writing... 32
    [0038.16] VoiceChat: Trying to Diconnect Local Client without server connection.
    [0038.16] VoiceChat: Failed to unregister local talker
    [0038.16] DevOnline: Clearing online delegates for AAPlayerController_1 (Player:None)
    [0038.16] ScriptLog: Steam canceling ticket on termination from server, client object: None
    [0038.16] Log: WARNING: Steam AA4 authorization ticket did not cancel properly.  Restart Steam.
    [0038.17] VoiceChat: FVoiceInterfaceTS3::LocalClientConnect Entered
    [0038.17] VoiceChat: Server IP[:7778]
    [0038.17] VoiceChat: No server to join, returning failure.
    [0038.17] VoiceChat: Failed to register local talker
    [0038.17] Log: LocalPlayer 0 - Multiple UberPostProcessEffects present...
    [0038.17] ScriptWarning: Accessed None 'AAGRI'
    	AADemoRecSpectator BDX_Siege_C4.TheWorld:PersistentLevel.AADemoRecSpectator_0
    	Function AAGame.AAPlayerController:SetViewTarget:0014
    [0038.26] DevGFxUI: Scale9Grid for resource=436 has negative width -0.050000
    [0038.31] Warning: Warning, Failed to load 'SwfMovie ?INT?GFxUI.IME.MoviePath?': Failed to find object 'SwfMovie ?INT?GFxUI.IME.MoviePath?'
    [0038.31] Log: GFx attempted to load missing object [?INT?GFxUI.IME.MoviePath?]
    [0038.31] DevGFxUI: Loader failed to open '/ package/?INT?GFxUI/IME/MoviePath?'
    [0038.31] DevGFxUI: Failed loading URL "/ package/?INT?GFxUI/IME/MoviePath?"
    [0038.31] ScriptWarning: Accessed None 'AAGRI'
    	AADemoRecSpectator BDX_Siege_C4.TheWorld:PersistentLevel.AADemoRecSpectator_0
    	Function AAGame.AAPlayerController:SetViewTarget:0014
    [0038.31] VoiceChat: Trying to Allow Client Whisper without server connection.
    [0038.31] Log: AllowWhisper:104764350
    [0038.31] ScriptLog: WaitForOwnerSetup() with pri: AAPlayerReplicationInfo_1 and PC: None
    [0038.31] VoiceChat: Trying to Allow Client Whisper without server connection.
    [0038.31] Log: AllowWhisper:110757851
    [0038.31] ScriptLog: WaitForOwnerSetup() with pri: AAPlayerReplicationInfo_2 and PC: None
    [0038.31] VoiceChat: Trying to Allow Client Whisper without server connection.
    [0038.31] Log: AllowWhisper:83509335
    [0038.32] ScriptLog: WaitForOwnerSetup() with pri: AAPlayerReplicationInfo_3 and PC: None
    [0038.32] ScriptLog: WaitForOwnerSetup() with pri: AAPlayerReplicationInfo_4 and PC: None
    [0038.32] VoiceChat: Trying to Allow Client Whisper without server connection.
    [0038.32] Log: AllowWhisper:57482155
    [0038.32] ScriptLog: WaitForOwnerSetup() with pri: AAPlayerReplicationInfo_5 and PC: None
    [0038.32] VoiceChat: Trying to Allow Client Whisper without server connection.
    [0038.32] Log: AllowWhisper:50797491
    [0038.32] ScriptLog: WaitForOwnerSetup() with pri: AAPlayerReplicationInfo_6 and PC: None
    [0038.32] VoiceChat: Trying to Allow Client Whisper without server connection.
    [0038.32] Log: AllowWhisper:76451670
    [0038.32] ScriptLog: WaitForOwnerSetup() with pri: AAPlayerReplicationInfo_7 and PC: None
    [0038.32] ScriptLog: WaitForOwnerSetup() with pri: AAPlayerReplicationInfo_8 and PC: None
    [0038.32] ScriptLog: WaitForOwnerSetup() with pri: AAPlayerReplicationInfo_9 and PC: None
    [0038.32] Log: ActivateLevel ftx_threekings_landscape 1 1 0
    [0038.32] Log: ActivateLevel ftx_threekings_geo_transone 1 1 0
    [0038.32] Log: ActivateLevel bdx_siege_geo 1 1 0
    [0038.32] Log: ActivateLevel ftx_threekings_geo_transtwo 1 1 0
    [0038.32] Log: ActivateLevel ftx_threekings_background 1 1 0
    [0038.32] Log: ActivateLevel ftx_threekings_lighting 1 1 0
    [0038.32] Log: ActivateLevel ftx_threekings_aksound 1 1 0
    [0038.32] Log:  ##### WARNING ##### Function OnSpectatePlayerChanged not Found!!!
    [0038.39] DevGFxUI: 12
    
    [0038.40] DevGFxUI: updateLocation:mc_locationLabel.text: 
    
    [0038.47] ScriptWarning: Accessed None 'PlayerReplicationInfo'
    	AADemoRecSpectator BDX_Siege_C4.TheWorld:PersistentLevel.AADemoRecSpectator_0
    	Function AAGame.AAPlayerController:TeamMessage:0014
    [0038.47] Log: PunkBuster Client: PnkBstrA successfully loaded PnkBstrB
    [0038.47] VoiceChat: Trying to Allow Client Whisper without server connection.
    [0038.47] Log: AllowWhisper:104764350
    [0038.47] ScriptLog: W
    
  • SacchoSaccho Posts: 1,577Player
    Bump for added info.

    I can download and view the demos from FNG01 no problem, so it presumably isn't a client issue. I've tried multiple demos from the server; they show the correct map loading but then crash before starting to play it.

    Restarting server and hoping for better results.
  • Keebler750Keebler750 Posts: 3,607Beta Tester
    I'm interested in figuring out how to do this from a "Host a LAN" server from the launcher. I have no idea how to run a dedicated server, so...?
    ______

    This has been a test of the emergency flame-fest system. Please do not adjust your set.
  • SacchoSaccho Posts: 1,577Player
    I'm interested in figuring out how to do this from a "Host a LAN" server from the launcher. I have no idea how to run a dedicated server, so...?

    I'm out on a limb here, but...

    You could probably set your own AAGame.ini to auto-record and then run the same kind of LAN script that [Dev]Doc & [Dev]DeltaKilo posted on the previous forums. I think it's just a matter of making sure that flag is set in the right config file to get DemoRecSpectator watching you.
    start AAGame.exe server bdx_crossfire_ex?LAN
    PING 1.1.1.1 -n 1 -w 2000 >NUL
    start AAGame.exe 127.0.0.1?name=Player1
    PING 1.1.1.1 -n 1 -w 7000 >NUL
    start AAGame.exe 127.0.0.1?name=Player2
    
  • Keebler750Keebler750 Posts: 3,607Beta Tester
    edited April 2015
    Hmm. Thanks, BC...I think I better go read that stuff. If it doesn't have a GUI I'm lost....:)

    PS: my bAutoRec thing was False too...?!
    ______

    This has been a test of the emergency flame-fest system. Please do not adjust your set.
  • Keebler750Keebler750 Posts: 3,607Beta Tester
    I did get the demorec working. Although it's still a work in progress, it's pretty cool and should be a great addition to the game!
    ______

    This has been a test of the emergency flame-fest system. Please do not adjust your set.
Sign In or Register to comment.