Coder Social home page Coder Social logo

0ad-teamrating's Introduction

0ad-TeamRating

i dreaming for a second rating for a player called TeamRating

this a are very very first little modifications of the mod https://wildfiregames.com/forum/topic/28390-custom-rating/

many thanks to all the 0ad developers out there

cheers

Please look at LocalRatings (recomandet)

https://gitlab.com/mentula0ad/LocalRatings

LocalRatings is a 0 A.D. mod aimed at ranking players, rating their performance and providing statistical data based on previously played games.

backup rating

get a backup rating if rating server is not accessible. seem working in my first tests.

customrating0.25.2.zip 37 kB · 2 downloads

temporary solution. workaround:

it read from

~/snap/0ad/236/.config/0ad/config/user.cfg

first line

example:

UserRatingBackup = "950"

and update this number if server is available.

todo

read metadata.json

texts from https://wildfiregames.com/forum/topic/55450-howto-read-~snap0ad236localshare0adreplays00252021-08-05_0002metadatajson/?do=findComment&comment=452775

question

how to read howTo read metadata.json from a mod ? ( ~/snap/0ad/236/.local/share/0ad/replays/0.0.25/2021-08-05_0002/metadata.json )

help from bb_

That file is used in the replaymenu in the public mod. It is loaded via Engine.GetReplayMetadata called from replay_menu.js

0ad-teamrating's People

Contributors

sl5net avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.