branchrust_reboot/main/premium_serverscancel

26 Commits over 28 Days - 0.04cph!

2 Months Ago
Fixed incorrect PremiumClientCache refresh delay
2 Months Ago
Fixed premium refresh interval being set <5s, clamp it from 30s -> 1hr
2 Months Ago
Indicate which `hello` api call is the first one
2 Months Ago
Final fix for premium status not deserializing properly
2 Months Ago
Initial refresh premium status 60s after launch to reduce worst case players waiting 10m before seeing their initial premium status
2 Months Ago
Print out content as warning if HTTP request fails and slight cleanup
2 Months Ago
Switch PremiumStatusResult from struct -> class because it seems IL2CPP can't deserialize JSON into a struct
2 Months Ago
Cherrpick rest of commits from `manual_refresh` -> `premium_servers` after the merge from main (so we don't take staging updates onto `premium_servers`)
2 Months Ago
merge from manual_refresh -> premium_servers (before the merge from main)
2 Months Ago
merge from ranking_change -> premium_servers
2 Months Ago
Hide current inventory value (since we don't have that exposed in API yet) and shift "Not Active" text over to compensate
2 Months Ago
merge from premium-servers-ui-tweaks -> premium_servers
2 Months Ago
Hide logging behind `log_premium_status` convar
2 Months Ago
Add PremiumClientCache - stores last premium result in PlayerPref so it will show last result if web api has issues - queries web api every 10min to recheck premium status - switch from convars to check premium to using web api - add convar `qualify_premium_override` to manually override whether you qualify for premium on the client - add convar `recheck_premium` to manually refresh premium status ` add convar `premium_refresh_interval` to control how often client checks premium api (default 10min)
2 Months Ago
Refactor `CheckIfPlayerIsPremium()` so it can be called from both server and client - don't print errors on client since it will cause a kick - return struct instead of bool so can get the string message we want to reject connection attempt with
2 Months Ago
merge from main -> premium_servers
3 Months Ago
Fix premium tag having to be clicked twice to open premium modal
3 Months Ago
Include 2 more background images for the premium modal
3 Months Ago
Fix premium tag offset vertically in loading screen
3 Months Ago
Remove `premiumfilter` test convar
3 Months Ago
merge from main -> premium_servers
3 Months Ago
merge from main -> premium_servers
3 Months Ago
merge from server_browser -> premium_servers
3 Months Ago
merge from server_browser -> premium_servers
3 Months Ago
Recheck premium status for connected players, kick if they change status after joining the server
3 Months Ago
Check if accounts have premium status when connecting to servers