Coder Social home page Coder Social logo

bananas's Introduction

BaNaNaS database

This is the production database for OpenTTD's content service, called BaNaNaS. It works together with bananas-api, which serves the HTTP API.

See introduction.md for more documentation about the different BaNaNaS components and how they work together.

NOTE: to make changes to your BaNaNaS content, use the website; do not use Pull Requests for this purpose.

bananas's People

Contributors

ahyangyi avatar brickblock1 avatar frosch123 avatar glx22 avatar lordaro avatar planetmaker avatar truebrain avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

bananas's Issues

BaNaNas not being updated with new content in-game

It does not seem like uploads are being updated in this database anymore.

New uploads that show on bananas.openttd.org are not showing in-game:
image

And updated versions are also not being updated ingame:
image

The last update to this database was 2023-06-12, before the infra changes.

Policy: Uploads which are not usable with main/trunk OpenTTD

There are uploads on Bananas which don't work with main/trunk OpenTTD, as they require features in non-main versions such as patchpacks. This is a policy query about how these and similar content in future should/shouldn't be addressed.

At the moment these show up in the content list when queried from main/trunk OpenTTD, and can be downloaded, however they don't work when trying to use them.

  • Saves and scenarios will not load at all
  • Scripts (AI/GS) should print an informative message but might just fail or print something cryptic
  • NewGRFs should print an informative message and disable themselves but might just fail or print something cryptic

(Scripts and NewGRFs where any extra functionality is optional and not required should just work without the user needing to be informed. The majority of NewGRFs which use extra features should do this.)

This seems non-ideal for main/trunk users and could result in user support issues.
Paying to host content which your users can't use and which could create extra work could also be seen as a bit problematic.

Some questions:

  • Should such content go on Bananas at all? I had been pondering setting something else up but that is just thoughts at the moment.
  • Is there any suggested tagging, version range or other identifier which should be used?
  • Should any technical measures (e.g. to the TCP content protocol) be taken to remove/hide/omit content which is not compatible with main/trunk OpenTTD?

Some examples of uploads on Bananas:
https://github.com/OpenTTD/BaNaNaS/blob/756b70df03253461991cbe03364629d9e1e02cc1/scenario/000018b2/global.yaml
https://github.com/OpenTTD/BaNaNaS/blob/756b70df03253461991cbe03364629d9e1e02cc1/game-script/454e5054/global.yaml
https://github.com/OpenTTD/BaNaNaS/blob/756b70df03253461991cbe03364629d9e1e02cc1/newgrf/51420102/versions/20201015T123843Z.yaml

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.