spring replay site
Moderator: Moderators
Re: spring replay site
just perfect <3
Re: spring replay site
Bibim added more variables to SPADS, and now, if correctly configured, games will NOT to be uploaded that:
* never started or
* were shorter than 3 minutes or
* !stop AND shorter than 6 minutes
* never started or
* were shorter than 3 minutes or
* !stop AND shorter than 6 minutes
Re: spring replay site
* RSS feed: newest uploads: http://replays.springrts.com/feeds/latest/
* RSS feed: newest uploads of specific uploader: /feeds/uploader/<username>/ (for autohost owners e.g. bibim, fabrice)
* no-auto-upload lowered to 3 min. game-running-time
* site for testing: replays-test.springrts.com
* web site statistics (deactivate here)
* playing with caching... no idea if for better or worse...
* RSS feed: newest uploads of specific uploader: /feeds/uploader/<username>/ (for autohost owners e.g. bibim, fabrice)
* no-auto-upload lowered to 3 min. game-running-time
* site for testing: replays-test.springrts.com
* web site statistics (deactivate here)
* playing with caching... no idea if for better or worse...
- danil_kalina
- Posts: 505
- Joined: 08 Feb 2010, 22:21
Re: spring replay site
I wanted to search replays with Godde - typed "Godde" in search window and hit enterdansan wrote:* RSS feed: newest uploads: http://replays.springrts.com/feeds/latest/
* RSS feed: newest uploads of specific uploader: /feeds/uploader/<username>/ (for autohost owners e.g. bibim, fabrice)
* no-auto-upload lowered to 3 min. game-running-time
* site for testing: replays-test.springrts.com
* web site statistics (deactivate here)
* playing with caching... no idea if for better or worse...
Site returned an error
Re: spring replay site
Godde is too powerful for a webserver to handle
Re: spring replay site
oops... forbidding to caching a non-cachable thingy makes funny error :Ddanil_kalina wrote:I wanted to search replays with Godde - typed "Godde" in search window and hit enter :P
Site returned an error
Thank you for reporting - is fixed.
- danil_kalina
- Posts: 505
- Joined: 08 Feb 2010, 22:21
Re: spring replay site
when I search something by typing someone powerful, like Godde Results are:
so many useless stuff like
Search parameters ( Description, Comment, Player, Include spectators )
As for me, I hate them
Why do I need that stuff ? if you have Search window and there is an Advanced link next to search.
P.S. Get rid of them if this is not an advanced searching
so many useless stuff like
Search parameters ( Description, Comment, Player, Include spectators )
As for me, I hate them
Why do I need that stuff ? if you have Search window and there is an Advanced link next to search.
P.S. Get rid of them if this is not an advanced searching
Re: spring replay site
Reasoning was: "all searches are technically advanced searches" - but your ui reasoning is sound :) So I fixed that with some conditional JS show/hide.
- danil_kalina
- Posts: 505
- Joined: 08 Feb 2010, 22:21
Re: spring replay site
When replays are ready in notalobby we can cooperate to make user friendly UI for replays web site.
Re: spring replay site
Looking forward to it - I'm happy for all input :)
- danil_kalina
- Posts: 505
- Joined: 08 Feb 2010, 22:21
Re: spring replay site
dansan, you are dealing with replays.
How to find out what team won ?
How to find out what team won ?
Re: spring replay site
parse the command stream to find the last team still alive
Re: spring replay site
If the demo file is complete, then an array of allyteams that won is stored after the cmd stream:
https://github.com/dansan/spring-replay ... ile.py#L89
https://github.com/spring/spring/blob/m ... r.cpp#L196
If it is not complete, then you have to do, what koshi writes. (check out his ladder code: https://github.com/renemilk/spring-ladd ... oparser.py)
Luckily all of this is OSS, so the knowledge can be shared between fellow devs :)
https://github.com/dansan/spring-replay ... ile.py#L89
https://github.com/spring/spring/blob/m ... r.cpp#L196
If it is not complete, then you have to do, what koshi writes. (check out his ladder code: https://github.com/renemilk/spring-ladd ... oparser.py)
Luckily all of this is OSS, so the knowledge can be shared between fellow devs :)
- danil_kalina
- Posts: 505
- Joined: 08 Feb 2010, 22:21
Re: spring replay site
Is it for complete replays too ?koshi wrote:parse the command stream to find the last team still alive
- danil_kalina
- Posts: 505
- Joined: 08 Feb 2010, 22:21
Re: spring replay site
@dansan
Thank you for detailed answer.
We think we should consider complete replays only for determining the winner
Thank you for detailed answer.
We think we should consider complete replays only for determining the winner
- danil_kalina
- Posts: 505
- Joined: 08 Feb 2010, 22:21
Re: spring replay site
Who knows how to Host a replay ? what script should we use ?
Re: spring replay site
I cant get the replay uploading working, it get this error:
I guess that's error code 1. I have these settings:
Code: Select all
* BadCharm won!
* Server stopped (running time: 14 minutes and 13 seconds)
* unknown, inactive or invalid *uploader* account
The account exists and I logged on with it. But could the problem be the brackets in the username?endGameCommand:python replay_upload.py -v -r %result -d %gameDuration "%type on %map" "uploaded from Semprini" "%type,%structure" "%demoFile" "[semprini]Replaybot"
endGameCommandEnv:XMLRPC_USER=[semprini]Replaybot;XMLRPC_PASSWORD=<pass>
endGameCommandMsg:(0)Demo file uploaded to http://replays.springrts.com/replay/%gameId|(1) unknown, inactive or invalid *uploader* account|(2) unknown or inactive *owner* account (remember to log in via web interface once):%|(3) replay already exists (same gameID)|(4) server or network error|(5) no error, but the match did not start or was shorter than 3 min. and thus the replay was not uploaded|(6) could not read spring demo file from disk|(7-9)Failed to upload demo file!
Re: spring replay site
Hmm... the brackets should be no problem. I see that the "[semprini]Replaybot" account successfully uploaded manually, but I cannot find any attempt to upload by XMLRPC in the logs. Maybe the problem is with the password - does it contain $ or | or ; or symbols that are relevant for perl?
I am online with the account Dansan_IRC atm. Maybe we can find out interactively.
I am online with the account Dansan_IRC atm. Maybe we can find out interactively.
Re: spring replay site
Jools, you can set spadsLogLevel to 5 (debug) to see the end game command in the log as it is executed by SPADS.
Re: spring replay site
No, it's one of the stupidest passwords that exist, qwerty followed by some numbers. I think the problem may lie with Python. I tried with Python 3.3.0 64-bit first, now I've tried with 2.7.3 x86. Both for windows and I put the install folder in %path%