-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto-Import Website Maps #118
Comments
Currently there is a category Can't help myself but having maps as add-on(s) doesn't work well yet. The reasons are:
Maybe the workflow for packing a map as addon can be simplified. E.g. add a menu entry in the editors Main menu I try to look at all stuff from a players point of view, that's all... |
I am thinking about having best of both worlds. Installing maps via the game is a nice feature. But displaying (single) maps with its information isn't nice (yet). Displaying maps is better on the website. Also it is much easier to upload a map on the website. How about adding a new UI "Maps" in the game which shows maps with its information, gathered from the website Database? Including a button for easy download (without a player has to know where to save the map). The thing is: I have no clue about where to put a probably new UI "Maps" :-D |
|
Assigned to Nordfriese |
Mirrored from Codeberg I now have a functional WL branch locally and a corresponding server branch running on alpha that allows you to view and download website maps. I would like to provide more integration so the download counter is incremented and you can also vote and comment from the add-ons client as you would on the website. So two questions:
<@>frankystone <@>janus |
Mirrored from Codeberg
I think we should only have one program which have write access to the website database. I fear otherwise there might be two processes writing at the same time which can lead to misbehavior. On the other side i think maria-db should handle such things correctly, but i am not sure though.
On the website we use a third party app called django.star-ratings which does the average calculation after a rating has been saved to the database. This is done by sending a django I'll try to contact janus over IRC. |
The add-ons server should be able to autogenerate an add-on for each map on the website's Maps section, to allow downloading website-uploaded maps in the add-ons manager.
This could be handled by frequently (every day or so) running a function from the sync thread that checks for any not-yet-imported entries in the maps database and generates an add-on for each of them.
Data about all maps and all their details is readily available in the website database. A map's files (the
.wmf
for the map,.png
for the minimap) are publicly available and can be downloaded with acurl
request.Complications:
The text was updated successfully, but these errors were encountered: