SATOTW #3: Enabling replay auto-upload

SATOTW #3: Enabling replay auto-upload

SpringRTS Perl Autohost for Dedicated Server

Moderators: Moderators, Lobby Developers, SPADS AutoHost

Post Reply
User avatar
bibim
Lobby Developer
Posts: 901
Joined: 06 Dec 2007, 11:12

SATOTW #3: Enabling replay auto-upload

Post by bibim » 03 Mar 2015, 01:21

SPADS Admin Tip Of The Week #3: Enabling replay auto-upload

Since version 0.10 SPADS supports automatic replay uploading to replays.springrts.com, which allows players to download and watch the replays of all the games played on your autohost.

To enable this functionality, you need to:
* log in once with a Spring account which will be the "owner" of the uploaded replays: http://replays.springrts.com/login/
* update endGameCommand, endGameCommandEnv and endGameCommandMsgsettings in spads.conf as follows (replace <owner> by the actual Spring account used in previous step):

Code: Select all

endGameCommand:python replay_upload.py -v -r %result -d %gameDuration "%type on %map" "autouploaded" "%type,%structure" "%demoFile" "<owner>"

endGameCommandEnv:XMLRPC_USER=%ahName;XMLRPC_PASSWORD=%ahPassword

endGameCommandMsg:(0)Demo file uploaded to http://replays.springrts.com/replay/%gameId|(1-9)Failed to upload demo file!
* WARNING: this configuration will send your autohost password to the replay site for authentication. If you don't want this to happen, you can create a new Spring account just to upload the replays (replace %ahName and %ahPassword by this account name and password in previous step)
* restart SPADS
If you want more information about the replay upload script, full documentation is available here. If you still have questions concerning this script or the Spring replays site, you can contact Dansan.
0 x

Post Reply

Return to “SPADS AutoHost”