View topic - spring replay site



All times are UTC + 1 hour


Post new topic Reply to topic  [ 70 posts ]  Go to page 1, 2, 3, 4  Next
Author Message
 Post subject: spring replay site
PostPosted: 11 Apr 2012, 01:30 

Joined: 29 May 2010, 22:40
I will hopefully get an alpha version online {end of, next} week.


Attachments:
srs.jpg [98.96 KiB]
Downloaded 5 times
Top
 Offline Profile  
 
 Post subject: Re: spring replay site
PostPosted: 11 Apr 2012, 01:30 
Tournaments Moderator
User avatar

Joined: 08 Dec 2007, 17:39
Location: UK - England
I love you.


Top
 Offline Profile  
 
 Post subject: Re: spring replay site
PostPosted: 11 Apr 2012, 01:33 
Content Developer
User avatar

Joined: 13 Jan 2005, 00:46
Location: ModalitÃ
very cool dan!


Top
 Offline Profile  
 
 Post subject: Re: spring replay site
PostPosted: 11 Apr 2012, 11:47 
Moderator
User avatar

Joined: 22 Feb 2006, 01:02
Location: cheap kitchen
yay!


Top
 Offline Profile  
 
 Post subject: Re: spring replay site
PostPosted: 11 Apr 2012, 17:26 
AI Coder
User avatar

Joined: 14 Sep 2004, 10:32
Location: Cookieland
What have you built this in?


Top
 Offline Profile  
 
 Post subject: Re: spring replay site
PostPosted: 11 Apr 2012, 17:35 
Content Developer
User avatar

Joined: 13 Jan 2005, 00:46
Location: ModalitÃ
AF wrote:
What have you built this in?

Image
he built it in a van down by the river


Top
 Offline Profile  
 
 Post subject: Re: spring replay site
PostPosted: 11 Apr 2012, 20:39 

Joined: 29 May 2010, 22:40
AF wrote:
What have you built this in?
Django (Python), the design is from oswd.org. Will soonish push all to github and inform here.


Top
 Offline Profile  
 
 Post subject: Re: spring replay site
PostPosted: 14 Apr 2012, 08:03 
Conflict Terra Developer
User avatar

Joined: 21 Jan 2010, 06:21
Location: Tucson
smoth wrote:
AF wrote:
What have you built this in?

Image
he built it in a van down by the river


lol, +1 for Smoth

+1 also for the topic of this thread :-)


Top
 Offline Profile  
 
 Post subject: Re: spring replay site
PostPosted: 20 Apr 2012, 14:26 

Joined: 29 May 2010, 22:40
Oh well... took longer than I thought (it always does :).

Site: http://replays.admin-box.com/
GitHub: https://github.com/dansan/spring-replay-site/

Needs a lot of polishing, esp. the HTML. If anyone wants to do a nicer template I'll happily use it.

The data model is stable I think, so you can register and upload stuff. I will try to not delete anything, but I cannot guarantee that atm. But as far as I can see it. it's mostly "view" stuff that needs (a lots of) editing...

If this works out well, maybe the domain replays.springrts.com could be set to the servers IP?

Please report issues here or on github.


Top
 Offline Profile  
 
 Post subject: Re: spring replay site
PostPosted: 21 Apr 2012, 04:37 
User avatar

Joined: 06 Sep 2010, 21:59
THANKS DANSAN! Nice work ;)


Top
 Offline Profile  
 
 Post subject: Re: spring replay site
PostPosted: 25 Apr 2012, 14:31 
Moderator
User avatar

Joined: 22 Feb 2006, 01:02
Location: cheap kitchen
i uploaded a replay:
http://replays.admin-box.com/replay/214 ... 01cdf4421/

when i first clicked "submit" i got an error:
Quote:
Warning at /upload/
Out of range value adjusted for column 'accountid' at row 1

http://pastebin.com/en1Qv81y
(pastebin of the html)

then i clicked back, hit submit again and it worked..
Though notice that it does not list players and the title/description does not show eithe.

Also here:
http://replays.admin-box.com/players/
it lists [2up]knorke but when clicked it does not link the game.



random things:
-make it possible to login with lobby account
iirc that is somehow possible for websites and eg zerok does it.

-spoiler function. (do not show winner until clicking something)

-dl links for map+game


Top
 Offline Profile  
 
 Post subject: Re: spring replay site
PostPosted: 30 Apr 2012, 16:05 

Joined: 29 May 2010, 22:40
oops... sorry... didnt notice your post.

knorke wrote:
i uploaded a replay:
http://replays.admin-box.com/replay/214 ... 01cdf4421/

when i first clicked "submit" i got an error:
Quote:
Warning at /upload/
Out of range value adjusted for column 'accountid' at row 1

http://pastebin.com/en1Qv81y
(pastebin of the html)
Thank you for reporting. It is a bug that is semi-fixed now. I was assigning 999999999 as accountID for players without account - that worked with sqlite, but is to big for mysql xD
Still players without an account is a problem, as I didnt plan for that, and now some links/queries brake...

Quote:
then i clicked back, hit submit again and it worked..
Though notice that it does not list players and the title/description does not show eithe.
reuploading isnt supported atm, so data ends up incomplete... have to impl. a roll-back mechanism if things go bad.
I reuploaded, now its better: http://replays.admin-box.com/replay/214 ... 01cdf4421/ but the links on the players names are broken (account-thingy), in other replay-details its ok...
Quote:
Also here:
http://replays.admin-box.com/players/
it lists [2up]knorke but when clicked it does not link the game.
Player-without-account-problem...
Quote:
random things:
-make it possible to login with lobby account
iirc that is somehow possible for websites and eg zerok does it.
I'd love to... I guess it has to move to springrts-server for that. Once site is working properly I'd like to do that (if admins approve).
Quote:
-spoiler function. (do not show winner until clicking something)
really? :D OK... uhm... someone knows JS and can code a little something?

Quote:
-dl links for map+game
queued


Top
 Offline Profile  
 
 Post subject: Re: spring replay site
PostPosted: 01 May 2012, 08:15 
Moderator
User avatar

Joined: 22 Feb 2006, 01:02
Location: cheap kitchen
ah good. cool that there might soon be replay site again :)


Top
 Offline Profile  
 
 Post subject: Re: spring replay site
PostPosted: 01 May 2012, 09:34 
Lobby Developer
User avatar

Joined: 14 Aug 2007, 15:15
dansan wrote:
OK... uhm... someone knows JS and can code a little something?
template --> http://ladder.springrts.com/help


Top
 Offline Profile  
 
 Post subject: Re: spring replay site
PostPosted: 01 May 2012, 19:27 

Joined: 29 May 2010, 22:40
koshi wrote:
Oh that's beautiful - thank you.
I will use it also to show/hide stuff that's seldom of interest like {map,mod}options, host etc.


Top
 Offline Profile  
 
 Post subject: Re: spring replay site
PostPosted: 01 May 2012, 22:48 
AI Coder
User avatar

Joined: 14 Sep 2004, 10:32
Location: Cookieland
This is what things like twitter bootstrap are for


Top
 Offline Profile  
 
 Post subject: Re: spring replay site
PostPosted: 02 May 2012, 09:28 

Joined: 29 May 2010, 22:40
Thank you for the pointer. I'm really a web-noob, these infos help me :)

(When I started coding the site I was naively hoping to somehow get around html/css/js coding.... :roll: )


Top
 Offline Profile  
 
 Post subject: Re: spring replay site
PostPosted: 02 May 2012, 15:18 
Tournaments Moderator
User avatar

Joined: 08 Dec 2007, 17:39
Location: UK - England
Don't work too hard on the current design. Come the start of Summer I'll have tons of free time and might end up designing and coding a site for you :P


Top
 Offline Profile  
 
 Post subject: Re: spring replay site
PostPosted: 03 May 2012, 00:19 
User avatar

Joined: 14 Jan 2009, 14:20
AWSOME, we can finally play the mar-contest again


Top
 Offline Profile  
 
 Post subject: Re: spring replay site
PostPosted: 05 May 2012, 00:50 

Joined: 29 May 2010, 22:40
What's the "mar-contest"?

Good news everyone:
  • I implemented lobby account auth. You can now login with your lobby account. I'm waiting for a small protocol change by the ZeroK-team (https://code.google.com/p/zero-k/issues ... 1336036144) to make it resistant against renames. Existing accounts continue to work.
  • I added a XML-RPC interface that allows for automatic uploading (example client: https://github.com/dansan/spring-replay ... _client.py). I asked bibim if he can add a command to spads to use it, so that tourney admins can switch auto-upload on and off, and can later edit all uploaded replays :P

PS: api.springfiles.com is down, so atm you cannot upload replays that use unknown maps (known maps: http://replays.admin-box.com/maps/).


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 70 posts ]  Go to page 1, 2, 3, 4  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Site layout created by Roflcopter et al.