You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make it easier to add fake users with specific playtime or adjust existing users to have specific player time. Player time is used to calculate rank on login. This feature would be useful for testing.
The text was updated successfully, but these errors were encountered:
Execute command in iex: Teiserver.Account.update_user_stat(<ID>, %{"player_minutes"=> 100*60, "spectator_minutes"=>20*60, "total_minutes"=>130*60}) (you can only set spectator_minutes and player_minutes, only those are used for rank calculation)
Login as the user in game (playtime will be updated after the previous step, but rank is only recalculated on login)
Not necessarily, I am just showing an example of how it can be done if you need it right now for some tests. The issue is still valid and an easier way to do it would be nice.
Make it easier to add fake users with specific playtime or adjust existing users to have specific player time. Player time is used to calculate rank on login. This feature would be useful for testing.
The text was updated successfully, but these errors were encountered: