dansan / spring-replay-site Goto Github PK
View Code? Open in Web Editor NEWWebsite to upload, comment and download replays from/for the SpringRTS engine
Home Page: http://replays.springrts.com/
License: GNU General Public License v3.0
Website to upload, comment and download replays from/for the SpringRTS engine
Home Page: http://replays.springrts.com/
License: GNU General Public License v3.0
similar to zero-ks (http://zero-k.info/Maps/Detail/19784)? imo zoom is a little annoying...
take/link images from/to them?
i joined this game:
http://replays.springrts.com/replay/10751c50456e082c1134f23e79b8f899/
when it already run for ~15 minutes. i'm not displayed at the spectators list...
(not sure if this is the correct place for the bug report)
The table-class uses GET for pagination, but I use POST for the search parameters...
when using the search: list maps, players, tags and comments found, not just replays containing them
configurable by dropdown?
save personal preference in cookie or / and user profile?
Support for this will land in BA > 7.83 through luamsg: http://imolarpg.dyndns.org/trac/balatest/changeset/1786
images: http://imolarpg.dyndns.org/trac/balatest/browser/trunk/luarules/images?rev=1786&order=name
depends on #45
creates new django-user cause of different name, but fails when it sees existing userprofile with unique accountid
makes lists and search able to sort/filter by autohost name (uploader != autohost)
Tables srs_modoption and srs_mapmodoption have both 10^6 lines entries, but those are never queried except for displaying. Dumping as json or pickle into string saves a lot of DB size at almost no cost.
to save disk-space...
easiest would be to compress it gzip and decompress it on the fly when needed.
I screwed up the PlayerAccount model, so it allows only 1 smurf account... doh.
Doesn't work atm, bc the models don't match the shown data, so it cannot be sorted by the DB.
Data must be filled in as dict, which is probably bad for performance, and definitively bad for maintenance, but will allow sorting….. should just be tried out to see impact.
Not with facebook, g+ or stuff, but:
parse chat - see http://springrts.com/phpbb/viewtopic.php?t=29496&p=534693#p534694
dependent on #45
can knorkes battlereports (http://knorke.net23.net/battlereports/) be integrated? I'll have to ask him how they are produced... in winter...
makes springlobby think engine version of replay is "djIdWC" instead of 89.0 :-D
mark broken demofiles accordingly,
depends on #45 to distinguish draw-matches from incomplete demofiles
discussed this with flopflop:
a user that didn't play >3 matches last month will have:
For dot-war-movies from NOTA guys or callonge-bracket-pics.
IMO for privileged users only.
to circumvent inconsistent data in case of later exception (like game version detection)
EvoRTS with or without a "-" cause problems, BARC just clashed with BA... it's a total mess!
I guess that information has become more important as I had anticipated in the beginning - should be converted from a function to an attribute.
djmad is shown as spec of BA Chicken Def match http://replays.springrts.com/replay/3f20de50212d2d74c175f0b7783ff94e/ on his players page (http://replays.springrts.com/player/53139/). Why?
if startpostype = 3 -> team { startposx, startposz } ...
dependent on #45
I wonder if common/all_page_infos() is making the site slow? The infos it has must be collected for every single page request... insanely inefficient...
It'd be enough to update those statistics after every upload - not every page request :D
bc column-clicks make a GET, and the search uses POST
what about html tags... or at least links? (like to challonge)
using a widget in spring-headless maybe...??
from PM from pepeampere...
I'll dig into that in winter
Started work on that by importing BDs and koshis demofile parser in 1f3e169 and 5bb6020 and some adjustment to fit into this project 49d5727
Codes used in demoparser.py are from https://github.com/spring/spring/blob/develop/rts/Net/Protocol/BaseNetProtocol.h
use filter(unixTime__range=...) in models.update_stats()
atm the time in the sdf is stored, but shown is the local time, so searches can miss them if the day changes bc of diff timezones
hide match winner with JS
Create list of gameIds whose replay contains gameOver messages with empty winningAllyTeams.
depends on #45
for post-tournament uploads
BA, TA, RD, NOTA, etc without versions
currently each replay seems to create its own .jpgs but they should be shared to save bandwith / disk storage.
easiest would be to reuse the jpgs returned by api.springfiles.com...
It would be really nice to have the Team Trueskill-Averages right of the Team-Labels before the Match and in () the Afters
like:
Team 1 19.01 (20.44)
Member 1 (Trueskill)
Member 2 (Trueskill)
Member 3 (Trueskill)
Member 4 (Trueskill)
Team 2 ...
....
and sorted the Playernames by Trueskill
the side calculates them anywhay for printout the page so it should be a 10 minute Hack
btw nice page :-) really like it
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.