mpg-coach-bot
mpg-coach-bot copied to clipboard
MPG (Mon Petit Gazon) coach bot, to automate and optimize weekly actions
From https://github.com/axel3rd/mpg-coach-bot/actions/runs/6029845209 we can see that: ``` The following actions uses node12 which is deprecated and will be forced to run on node16: actions/create-release@v1, actions/upload-release-asset@v1 ``` Both actions generate some:...
Sample: https://github.com/axel3rd/mpg-coach-bot/pull/241 ; but seems not so simple: [How to use SonarCloud with a forked repository on GitHub?](https://community.sonarsource.com/t/how-to-use-sonarcloud-with-a-forked-repository-on-github/7363)
With #139 support, an automatic mercato feature can be implemented. Options to support (with default values): ``` # Amount by line (sum
https://github.com/axel3rd/mpg-coach-bot/blob/fb6414898f4f08194f71c217915e93f549052b2d/src/main/java/org/blondin/mpg/root/model/SelectedBonus.java#L12-L18 Bonus have changed, new bonus are: ```json { "bonuses": { "blockTacticalSubs": 1, "boostAllPlayers": 1, "boostOnePlayer": 3, "fourStrikers": 1, "mirror": 1, "nerfGoalkeeper": 2, "removeGoal": 1, "removeRandomPlayer": 1 } } ```...
MPG provides a new Champions League mode. It should be supported
With new MPG APIs from mobile app usage (#191), the *multiple division support* (#129) was removed ; because APIs have completely change and I haven't this MPG use case. Some...
This weekend in PL, Liverpool vs West Ham is postponed (Liverpool has to play the club world cup) => 3 Rotaldo in the team. This kind of postponed matchs should...
Suggestion: what about using the winning chance % from MPGStat to adjust the efficiency? for example: player.matchs / championshipDays * player.average * (1 + player.goals() * efficiency.coeff * (50%/(1-winning chance)...
Origine: #274 At February beginning, some change have been observed on MPG website & Android app ; the necessity to re-login. From this date https://api.mpg.football/user/sign-in URL doesn't work for new...
**Describe the bug** Client seems to stop working. I got ``` Exception in thread "main" java.lang.UnsupportedOperationException: Unsupported status code: 400 Bad Request / Content: {"statusCode":400,"error":"Bad Request","message":"Bad Request"} at org.blondin.mpg.AbstractClient.call(AbstractClient.java:159) at...