This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (some parts allow HTTP, instead of redirecting HTTP to HTTPS, because the OpenTTD client cannot use HTTPS) | |
| HTTP+HTTPS binaries.openttd via ALB | |
| /bananas -> forwarded ECS openttd/content-server | |
| /installer -> redirect 301 installer.cdn.openttd.org | |
| HTTPS binaries.openttd via ALB | |
| /bananas -> 404 (files changed to md5-name) | |
| /binaries -> redirect 301 cdn.openttd.org | |
| /extra -> redirect 301 cdn.openttd.org |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| UniqueIDs are named differently per content-type, so let's start with that: | |
| NewGRF -> GRFID (char[4]) | |
| Scripts -> short_name (string of 4 letters) | |
| Base Sets -> shortname (string of 4 letters) | |
| Scenario -> .scn.id (a decimal value) | |
| Heightmap -> .png.id (a decimal value) | |
| They all have a slightly different way of storing their data, but they all end up as an uint32. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| github.com/OpenTTD/BaNaNaS | |
| Repository full with meta data | |
| First level folders are the type (AI, Base Graphics, ..) | |
| In these folders are folders with the IDs (in hex) of the uploads. | |
| In there are "branches"; currently unused, but in there is for now a single .ini file. | |
| These ini files are like described in https://github.com/OpenTTD/musa/blob/master/example.ini | |
| They describe the current (latest) upload | |
| Possibly a few references extra to find the file back on the CDN, but those are minor details | |
| For example: MD5 + ID of upload should be in there too | |
| MD5s will be encrypted, to avoid people finding the old MD5s of an ID. ottd_content and frontend are the only ones that needs to be able to decrypt it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Workflows | |
| - Listen to "issue created" | |
| - Validate content of issue | |
| - Pick up on which team it is someone requested access to | |
| - Post a reply: | |
| - Thank the user, tell him to wait | |
| - List the current teams the user is already on | |
| - Ask for approval by any core developers | |
| - Mention the team he is asking permission to again (to avoid user editing his post sneaky) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class AggressiveTown(Town): | |
| class table: | |
| pass | |
| class actions: | |
| bribe = Action(String("Bribe"), AggressiveTown._onActionBribe) | |
| grow_town = Action(String("Grow town"), AggressiveTown._onActionGrowTown) | |
| class storage: |
NewerOlder