This is a utility library for the various things we do at lobby and server
Please see the license.txt file
Shared python code between lobby/server
Home Page: http://www.faforever.com
License: GNU General Public License v3.0
Generate Map Upload may break the map
scenario.lua
map
key and replace it with a new one case sensitive. (Line 366 in 982073d
Line 276 in 982073d
https://faforever.slack.com/archives/general/p1485308092008963
Solution:
<mapname>.v<0-4version>
maps\<oldname>
with the new maps\<mapname>.v<0-4version>
@Cheyans
Also we still haven't discussed how you want a multi cardinality schema represented, e.g. https://github.com/FAForever/faftools/blob/feat/clan/faf/api/game_stats_schema.py
seeing how dragonfire has also ran into this issue, we should probably discuss a good solution
@IDragonfire Problem
API Clan/<id>
should provide
Without specifying versions, we're gambling and builds are not reliably reproducible.
We should explicitly define the version of each dependency.
Just making a note here, everything seems to work anyway, but installing faftools in Miniconda's Python 2.7.13 causes this error message:
Extracting faftools-0.1-py2.7.egg to c:\users\luke\miniconda2\envs\fafclient\lib\site-packages
File "c:\users\luke\miniconda2\envs\fafclient\lib\site-packages\faftools-0.1-py2.7.egg\faf\api\async_client\async_client.py", line 10
async def get(self, url, **kwargs):
^
SyntaxError: invalid syntax
As long as everything works anyway nothing needs to be done I guess.
minimal working example :
import faf.api.client
api = faf.api.client.ApiClient()
api.get("/maps")
The log complains about a list not having a get method here: https://github.com/FAForever/faftools/blob/develop/faf/api/client/client_base.py#L37
when downloading http://api.faforever.com/maps manually you can see that first
would be a list in this case ( similar stuff happens for .../mods)
As a spinoff from the discussion in this issue, we need a blueprint toolkit (here in faftools, or a new repo) that does the following:
Modifying the blueprints (Either using a comment or an actual value) for use by this toolkit would be acceptable in my mind.
When uploading a mod via the python-api with url = ""
in the mod_info.lua
, this exception is thrown:
File "/code/api/mods.py", line 85, in mods_upload
process_uploaded_mod(temp_mod_path)
File "/code/api/mods.py", line 206, in process_uploaded_mod
mod_info = parse_mod_info(temp_mod_path)
File "/usr/local/lib/python3.5/site-packages/faf/tools/fa/mods.py", line 52, in parse_mod_info
raise ValueError(errors)
ValueError: {'url': ['Not a valid URL.']}
That is probably too strict.
All those "Connecting to XYZ established" and similar messages make it really hard to find actual chat messages in the in-game lobby chat.
Maybe we could either colorize these messages so that they are easily distinguishable, or we could separate those messages from the chat window.
Only the ones with prefix ARMY_
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.