Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.46 KB | None | 0 0
  1.  
  2. #INSTANCE_ID = 'racine'
  3.  
  4.  
  5.  
  6. DB_ENGINE = 'mysql://may344:Racine@localhost/burlington'
  7.  
  8.  
  9. DB_POOL_RECYCLE = 600
  10.  
  11. AREA_NAME = 'SLC' # the city or region you are scanning
  12. LANGUAGE = 'EN' # ISO 639-1 codes EN, DE, ES, FR, IT, JA, KO, PT, or ZH for Pokémon/move names
  13. MAX_CAPTCHAS = 100 # stop launching new visits if this many CAPTCHAs are pending
  14. SCAN_DELAY = 10 # wait at least this many seconds before scanning with the same account
  15. SPEED_UNIT = 'miles' # valid options are 'miles', 'kilometers', 'meters'
  16. SPEED_LIMIT = 19.5 # limit worker speed to this many SPEED_UNITs per hour
  17.  
  18.  
  19. GRID = (0,0) # rows, columns
  20.  
  21.  
  22. MAP_START = (42.840370, -87.816088)
  23. MAP_END = (42.697489, -87.945806)
  24.  
  25.  
  26.  
  27.  
  28. GIVE_UP_KNOWN = 75 # try to find a worker for a known spawn for this many seconds before giving up
  29. GIVE_UP_UNKNOWN = 60 # try to find a worker for an unknown point for this many seconds before giving up
  30. SKIP_SPAWN = 180 # don't even try to find a worker for a spawn if the spawn time was more than this many seconds ago
  31.  
  32.  
  33. ACCOUNTS_HIBERNATE_CONFIG = {
  34. 'banned': 90.0, # Perma banned, we'd never know
  35. 'warn': 90.0, # Warned, mostly equal to code3
  36. 'sbanned': 90.0, # Shadow banned, will turn to warn/code3 in 3-5 days
  37. 'code3': 90.0, # Temp banned, might be good again in 2-4 weeks
  38. 'tempdisabled': 0.02083333333, # 30 mins. Something was messed up and login has been temp disabled for 15 mins.
  39. }
  40.  
  41.  
  42. SIMULTANEOUS_LOGINS = 3
  43.  
  44.  
  45. SIMULTANEOUS_SIMULATION = 4
  46.  
  47.  
  48. GOOD_ENOUGH = 0.1
  49.  
  50.  
  51. SEARCH_SLEEP = 2.5
  52.  
  53. HASH_KEY = ()
  54.  
  55. #GO_HASH = True
  56.  
  57.  
  58. #GO_HASH_KEY = '' # this is a fake key
  59.  
  60.  
  61. #GOHASH_ENDPOINT="http://hash.gomanager.biz"
  62.  
  63.  
  64. APP_SIMULATION = True # mimic the actual app's login requests
  65. COMPLETE_TUTORIAL = True # complete the tutorial process and configure avatar for all accounts that haven't yet
  66. INCUBATE_EGGS = True # incubate eggs if available
  67.  
  68.  
  69. ENCOUNTER = 'none'
  70.  
  71.  
  72.  
  73. SPIN_POKESTOPS = True # spin all PokéStops that are within range
  74. SPIN_COOLDOWN = 300 # spin only one PokéStop every n seconds (default 300)
  75.  
  76. ITEM_LIMITS = {
  77. 1: 50, # Poké Ball
  78. 2: 50, # Great Ball
  79. 3: 50, # Ultra Ball
  80. 4: 10, # Master Ball
  81. 101: 0, # Potion
  82. 102: 0, # Super Potion
  83. 103: 0, # Hyper Potion
  84. 104: 0, # Max Potion
  85. 201: 0, # Revive
  86. 202: 5, # Max Revive
  87. 301: 5, # Lucky Egg
  88. 401: 5, # Incense
  89. 501: 50, # Lure Module
  90. 701: 0, # Razz Berry
  91. 702: 0, # Bluk Berry
  92. 703: 0, # Nanab Berry
  93. 704: 0, # Wepar Berry
  94. 705: 20, # Pinap Berry
  95. 902: 5, # Incubator
  96. }
  97.  
  98.  
  99.  
  100. REFRESH_RATE = 0.75 # 750ms
  101.  
  102. STAT_REFRESH = 5
  103.  
  104. MAX_RETRIES = 3
  105.  
  106.  
  107. LOGIN_TIMEOUT = 2.5
  108.  
  109.  
  110. FORCED_KILL = False
  111.  
  112.  
  113. TRASH_IDS = (
  114. 16, 19, 21, 29, 32, 41, 46, 48, 50, 52, 56, 74, 77, 96, 111, 133,
  115. 161, 163, 167, 177, 183, 191, 194
  116. )
  117.  
  118.  
  119. RARE_IDS = (3, 6, 9, 45, 62, 71, 80, 85, 87, 89, 91, 94, 114, 130, 131, 134)
  120.  
  121. from datetime import datetime
  122. REPORT_SINCE = datetime(2017, 2, 17) # base reports on data from after this date
  123.  
  124.  
  125. GOOGLE_MAPS_KEY = '' # this key is fake
  126. REPORT_MAPS = True # Show maps on reports
  127. ALT_RANGE = (400, 600) # Fall back to altitudes in this range if Google query fails
  128.  
  129.  
  130. CAPTCHA_KEY = ''
  131.  
  132. CAPTCHAS_ALLOWED = 5
  133.  
  134. FAVOR_CAPTCHA = False
  135.  
  136. MAP_WORKERS = True
  137.  
  138. LAST_MIGRATION = 1511994446 # Nov. 29th, 2017
  139.  
  140.  
  141. FAILURES_ALLOWED = 10
  142.  
  143.  
  144. #PROXIES = ['http://p.goman.io:8000']
  145.  
  146.  
  147. LOAD_CUSTOM_HTML_FILE = False # File path MUST be 'templates/custom.html'
  148. LOAD_CUSTOM_CSS_FILE = False # File path MUST be 'static/css/custom.css'
  149. LOAD_CUSTOM_JS_FILE = False # File path MUST be 'static/js/custom.js'
  150.  
  151.  
  152. FIXED_OPACITY = False # Make marker opacity independent of remaining time
  153. SHOW_TIMER = False # Show remaining time on a label under each pokemon marker
  154. SHOW_TIMER_RAIDS = True # Show remaining time on a label under each raid marker
  155.  
  156.  
  157. NOTIFY = False # enable notifications
  158.  
  159.  
  160. TWEET_IMAGES = True
  161.  
  162. IMAGE_STATS = False
  163.  
  164.  
  165. HASHTAGS = {AREA_NAME, 'Monocle', 'PokemonGO'}
  166.  
  167.  
  168.  
  169. TIME_REQUIRED = 600 # 10 minutes
  170.  
  171.  
  172. IGNORE_IVS = True
  173.  
  174. FULL_TIME = 1800 # the number of seconds after a notification when only MINIMUM_SCORE will be required
  175. INITIAL_SCORE = 0.7 # the required score immediately after a notification
  176. MINIMUM_SCORE = 0.4 # the required score after FULL_TIME seconds have passed
  177.  
  178.  
  179. SB_DETECTOR = True
  180.  
  181.  
  182. CLEANUP_LIMIT = 100000
  183.  
  184. ## Table specific cleanup times. Set -1.0 to disable
  185. CLEANUP_RAIDS_OLDER_THAN_X_HR = 6.0
  186. CLEANUP_SIGHTINGS_OLDER_THAN_X_HR = 6.0
  187. CLEANUP_FORT_SIGHTINGS_OLDER_THAN_X_HR = 6.0
  188. CLEANUP_MYSTERY_SIGHTINGS_OLDER_THAN_X_HR = 24.0
  189.  
  190.  
  191. ## Monkey Dynamics
  192. #
  193. ## Set minimum bot to be training at any time
  194. BOT_MINIMUM = 3.0
  195. ## Set bot standby percent over the sum of all worker30s for all instances.
  196. BOT_STANDBY_PERCENT = 0.2
  197. #
  198. ##For example
  199. ## 1. If it is set to 1.0 and you have total of 99 worker30s in all instances combined, this instance will be training at least 99 accounts at any time.
  200. ## 2. If it is set to 0.2 and you have total of 100 worker30s in all instances combined, this instance will be training at least 20 accounts at any time.
  201. #
  202. ## Set parallel bindings for bot. Bots will always do parallel bindings for same accounts in same instance.
  203. ## Free slots will be skipped if an account is already binded to another instance for botting.
  204. #BOT_PARALLEL=1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement