|Reported by:||Ardour||Owned by:||WillBy|
|Component:||Bots - TWD/TWL||Version:||Latest version from repository|
When a regular season match is played, bots will do all the calculations.
To calculate player values, the bots will just need to fetch the player value at the start when they get the twl teams rosters. (if this is how they work? or do they connect to the website and keep an alive connection and check every player as they are added if they are rostered to that squad?)
After the game is finished the bots need to calculate the player values change depending on their score and do a few SQL queries:
Update Player Values
Update TWLM history
Update Managers (relating to player value changes)
Update Managers (relating to bets)
I have not assigned this to myself as I am not a bot dev and I have loads of TWL web dev stuff to do at the moment which is priority. I will help anyone that can work on this with whatever they need to know about the workings of TWLM.