This service takes a look at the specific group of users, which have shown that they are willing to break the SSA.
the db folder contains json files which data is used to generate the site.
{
"time_stamp": [
1651416976,
1666372433
],
"id": "76561198192399786",
"game_count": [
6229,
22879
],
"region": [
"GB",
"TR"
]
}
everytime a new region is detected, the get added to the region, time_stamp and the game_count arrays. this means the game_count is a snapshot of what the account owned at the given time.
{
"time_stamp": 1680055383,
"id": "76561198192399786",
"game_count": 36647
}
we want to be able to easily see the difference in game_count between each region, but we also want to have an more accurate ladder game_count. getownedgames.json provides us with a way we can overwrite the snapshot game_count in order to place the account in the ladders.
{
"USD": {
"strCode": "USD",
"eCurrencyCode": 1,
"strSymbol": "$",
"bSymbolIsPrefix": true,
"bWholeUnitsOnly": false,
"strDecimalSymbol": ".",
"strThousandsSeparator": ",",
"strSymbolAndNumberSeparator": ""
}
}
we need the eCurrencyCode to convert the input-base_ keys in the pricing.json.
{
"usd1": {
"input-base_1": 99,
"input-base_2": 89,
"input-base_3": 99,
"input-base_5": 4200,
"input-base_7": 349,
"input-base_8": 12000,
"input-base_10": 969900,
"input-base_11": 300,
"input-base_12": 3595,
"input-base_13": 110,
"input-base_14": 2300,
"input-base_15": 1500000,
"input-base_16": 110000,
"input-base_17": 1100,
"input-base_18": 2600,
"input-base_19": 1339,
"input-base_20": 129,
"input-base_21": 150,
"input-base_22": 149,
"input-base_9": 1100,
"input-base_6": 449,
"input-base_4": 109,
"input-base_23": 600,
"input-base_24": 5200,
"input-base_25": 62000,
"input-base_26": 250,
"input-base_27": 280000,
"input-base_28": 1100,
"input-base_29": 700,
"input-base_30": 2200,
"input-base_31": 275,
"input-base_32": 300,
"input-base_34": 8200,
"input-base_35": 350,
"input-base_37": 30000,
"input-base_38": 20,
"input-base_39": 279,
"input-base_40": 50000,
"input-base_41": 3200,
"input-CIS_1": 90,
"input-SASIA_1": 90
}
}
pricing.json is valves recommended pricings for each tier. eCurrencyCode value is what we need to figure out what input-base_1 is. We can now convert input-base_1 to USD and resolve that.
WIP: valve_recommended_pricing
{
"time_stamp": [
1673046000,
1673650800,
1674435813,
1675040521,
1675645431,
1676250549,
1676855379,
1677460126,
1678068485,
1678672475,
1679277361,
1679881639
],
"countrycode": "US",
"countrycount": [
203,
203,
203,
203,
203,
202,
202,
202,
209,
213,
213,
213
]
}
WIP cc_history_2023.json is meant to keep a history of region changes each week. this is currently meant to only run for the year 2023. idea is that we can use this with pricing.json to see if there is a correlation between regional account changes as well.
{
"0": "None",
"1": "TemporaryFailure",
"2": "AccountDisabled",
"4": "AccountLockedDown",
"8": "AccountLimited",
"16": "TradeBanned",
"32": "AccountNotTrusted",
"64": "SteamGuardNotEnabled",
"128": "SteamGuardOnlyRecentlyEnabled",
"256": "RecentPasswordReset",
"512": "NewPaymentMethod",
"1024": "InvalidCookie",
"2048": "UsingNewDevice",
"4096": "RecentSelfRefund",
"8192": "NewPaymentMethodCannotBeVerified",
"16384": "NoRecentPurchases",
"32768": "AcceptedWalletGift"
}
WIP: getmarketeligibility.json gives us the capability to understand whether a regional change is on purpose or because the account has been reset by either the person behind the account or valve/steam.
WIP: May 26/27 -> around June 1. There was a region reset or glitch, which caused a lot of users to revert back to their origin account region. A small group of accounts ended up in a previously registered region. The affected regions were accounts placed in the AR, TR, and RU regions. We can use the timestamps between these 2 dates, if we want to create a more accurate country ladder or use it as a snapshot, as we do when we snapshot their game count during a region change, to indicate that this is most likely with a very high certainty that the account belongs in the said country. (db.json)