-
Notifications
You must be signed in to change notification settings - Fork 0
/
Parameters.py
37 lines (33 loc) · 2.12 KB
/
Parameters.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Basic Parameters
Game = "tf" # cstrike, tf, hl2, hl2mp, csgo
Filename = "output.csv" # file to read and write
Filelog = "stats.log" # file to read and write
Filenamepng = "output.png" # name of the figure
MapsToShow = 15 # How many maps to show in order of popularity
ColorIntensity = 3 # Changes the rate at which the colors change Low being very small changes and High being very big changes.
# Reader date range to read
Start_Date = "2001-10-02" # date range to use
End_Date = "2040-10-02" # date range to use
# Filters for fixing the map names
NoFilter = False # Disables filtering
VersionFilter = "abcvdf" # looks for version names with the following letters. Ex. "a" would look for a0-9 or 0-9a
WordFilter = "final|redux|rc|test|fix|skial|censored|blw|vrs|alpha|beta|fin" # USE None for no filtering Suffixes to remove Ex. Final
GameModeRead = "ctf_" # Gamemodes to read to the output csv. EX. "all" for all Gamemodes. "dr_" for deathrun.
OnlyMapsContaining = [""] # Empty for all maps. Only show maps containing string value Ex. ["Bazinga","Playstation"] ["unspecified"] for maps without a prefix
# Data Ignore
IpBlackList = ['94.226.97.69'] # servers that are using fake clients
# Advanced Parameters
OutputDimensions = (12,6)
LabelTransparency = 0.5
Percision = 2 # How many digits to display in map labels for percentage
timeout_query = 0.5 # How long to wait for each individual server to respond during slow search
timeout_master = 60 # How long to wait for the master server to respond during slow search
regionserver= "all" # Looks for servers in a specfic region
RuntimeMinutes = 60 # For how many minutes to run.
RunForever = True # True will run forever. Set to False to use runtime
AverageDays = 1 # How many days each bar represents
ColorForOtherMaps = (0.5,0.5,0.5) # Color of the "Other Maps bars"
XaxisDates = 5 # How many dates to show in the figure. Maximum is the amount of bars. Minimum is 2
GameModeWrite = "all" # Gamemodes to write to the output csv. It's a good idea to leave this to all.
IpcountList = 5 #How many maps to show at once in the writer.
FastWriteDelay = 10 #How often to run the FastWriter