dreignier / cgstats Goto Github PK
View Code? Open in Web Editor NEWCodinGame statistic tool
Home Page: http://cgstats.magusgeek.com/
License: GNU General Public License v3.0
CodinGame statistic tool
Home Page: http://cgstats.magusgeek.com/
License: GNU General Public License v3.0
See this screenshot : https://prnt.sc/rqub9t
Line 130 in fe61e72
they added 1000 users cap so this code no longer works as expected.
it is possible to call getFilteredPuzzleLeaderboard
instead with body
[game, user.publicHandle,,{active: true, column: "CODINGAMER", filter: "FOLLOWING"}]
but there is no easy way to get user's handle by user's name.
pboss4 11:18PM
La plupart du temps l'info que je cherche elle est dans le tableau, pas dans le titre cgstats, dans les notes ou dans l'interface
Magus 11:18PM
ah oui tu veux scroller devant le tableau
c'est facile à faire aussi
pboss4 11:19PM
Si le scroll par défaut pouvait être sur le tableau ça serait idéal, quitte à remonter pour changer la recherche
Voilà
To avoid many useless requests, the puzzle list requests should be cached for at least 24 hours.
Please, add Tic Tac Toe:
Sometime the cgstats nodejs program crash with this stack :
/home/dreignier/cgstats/cgstats.js:190
resolve(body.success);
^
TypeError: Cannot read property 'success' of undefined
at Request._callback (/home/dreignier/cgstats/cgstats.js:190:19)
at Request.self.callback (/home/dreignier/cgstats/node_modules/request/request.js:198:22)
at emitTwo (events.js:125:13)
at Request.emit (events.js:213:7)
at Request.<anonymous> (/home/dreignier/cgstats/node_modules/request/request.js:1063:14)
at emitOne (events.js:120:20)
at Request.emit (events.js:210:7)
at IncomingMessage.<anonymous> (/home/dreignier/cgstats/node_modules/request/request.js:1009:12)
at emitNone (events.js:110:20)
at IncomingMessage.emit (events.js:207:7)
The fast solution is to protect the code of course.
Add an option that ignores any game where one of the 2 AIs is not the latest push.
pboss4 11:16PM
Remplacer le pseudo du joueur dans la liste par un lien hypertexte vers le classement de ce joueur dans le même multi
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.