text
stringlengths
1
2.83M
id
stringlengths
16
152
metadata
dict
__index_level_0__
int64
0
949
:root { color: blue; }
modernweb-dev/web/packages/rollup-plugin-html/test/fixtures/assets/styles.css/0
{ "file_path": "modernweb-dev/web/packages/rollup-plugin-html/test/fixtures/assets/styles.css", "repo_id": "modernweb-dev", "token_count": 12 }
193
<html> <body> <p>inject a service worker into /index.html</p> </body> </html>
modernweb-dev/web/packages/rollup-plugin-html/test/fixtures/inject-service-worker/index.html/0
{ "file_path": "modernweb-dev/web/packages/rollup-plugin-html/test/fixtures/inject-service-worker/index.html", "repo_id": "modernweb-dev", "token_count": 38 }
194
:root { color: blue; }
modernweb-dev/web/packages/rollup-plugin-html/test/fixtures/rollup-plugin-html/styles.css/0
{ "file_path": "modernweb-dev/web/packages/rollup-plugin-html/test/fixtures/rollup-plugin-html/styles.css", "repo_id": "modernweb-dev", "token_count": 12 }
195
const badImage1 = new URL('/absolute-path.svg', import.meta.url).href; const badImage2 = new URL('../../missing-relative-path.svg', import.meta.url).href; console.log(badImage1, badImage2);
modernweb-dev/web/packages/rollup-plugin-import-meta-assets/test/fixtures/bad-url-entrypoint.js/0
{ "file_path": "modernweb-dev/web/packages/rollup-plugin-import-meta-assets/test/fixtures/bad-url-entrypoint.js", "repo_id": "modernweb-dev", "token_count": 66 }
196
import { imageOne, nameOne } from '../../../one.js'; import { imageTwo, nameTwo } from '../../two.js'; import { imageThree, nameThree } from '../three.js'; import { imageFour, nameFour } from './four.js'; console.log({ [nameOne]: imageOne, [nameTwo]: imageTwo, [nameThree]: imageThree, [nameFour]: imageFour, });
modernweb-dev/web/packages/rollup-plugin-import-meta-assets/test/fixtures/one/two/three/four/multi-level-entrypoint-deep.js/0
{ "file_path": "modernweb-dev/web/packages/rollup-plugin-import-meta-assets/test/fixtures/one/two/three/four/multi-level-entrypoint-deep.js", "repo_id": "modernweb-dev", "token_count": 111 }
197
# @web/rollup-plugin-polyfills-loader ## 2.1.1 ### Patch Changes - 1c0088de: Update Rollup to version 4. ## 2.1.0 ### Minor Changes - c185cbaa: Set minimum node version to 18 ### Patch Changes - Updated dependencies [c185cbaa] - @web/polyfills-loader@2.2.0 ## 2.0.1 ### Patch Changes - f6ba53f0: Export types with package ## 2.0.0 ### Major Changes - febd9d9d: Set node 16 as the minimum version. - 72c63bc5: Require Rollup@v3.x and update all Rollup related dependencies to latest. ### Patch Changes - Updated dependencies [febd9d9d] - @web/polyfills-loader@2.0.0 ## 1.3.1 ### Patch Changes - e9508a24: fix: support node 17 & 18 by using md5 hashing - Updated dependencies [e9508a24] - @web/polyfills-loader@1.3.4 ## 1.3.0 ### Minor Changes - 03f1481c: Add option to externalize polyfills loader script ### Patch Changes - Updated dependencies [03f1481c] - @web/polyfills-loader@1.3.0 ## 1.2.0 ### Minor Changes - ea4ccb03: use modulepreload-shim for es-module-shims ## 1.1.1 ### Patch Changes - e40335a4: Update main entrypoint to point to dist ## 1.1.0 ### Minor Changes - 205bf88f: Retain script attributes ### Patch Changes - Updated dependencies [0892bddd] - @web/polyfills-loader@1.1.0 ## 1.0.7 ### Patch Changes - f2733bb5: allow changing filetype for only modern output ## 1.0.6 ### Patch Changes - 338f22b6: Inject the polyfills loader also when only using regeneratorRuntime with 'always' value. ## 1.0.5 ### Patch Changes - 2c616b84: fix pathToRoot ## 1.0.4 ### Patch Changes - ac379b48: fix(rollup-plugin-polyfills-loader): fix relative paths to polyfills with `flattenOutput: false` - Updated dependencies [ac379b48] - @web/polyfills-loader@1.0.2 ## 1.0.3 ### Patch Changes - 2006211: update minimum systemjs version - Updated dependencies [2006211] - @web/polyfills-loader@1.0.1 ## 1.0.2 ### Patch Changes - 9680970: Add missing files to the npm artifact ## 1.0.1 ### Patch Changes - da360bc: correctly preload non-module entrypoints ## 1.0.0 ### Major Changes - 8a48245: Initial implementation ### Patch Changes - Updated dependencies [369308b] - @web/polyfills-loader@1.0.0
modernweb-dev/web/packages/rollup-plugin-polyfills-loader/CHANGELOG.md/0
{ "file_path": "modernweb-dev/web/packages/rollup-plugin-polyfills-loader/CHANGELOG.md", "repo_id": "modernweb-dev", "token_count": 815 }
198
<html><head> <link rel="preload" href="./entrypoint-a.js" as="script" crossorigin="anonymous" /> </head><body><script src="loader.js"></script></body></html>
modernweb-dev/web/packages/rollup-plugin-polyfills-loader/test/snapshots/external-script.html/0
{ "file_path": "modernweb-dev/web/packages/rollup-plugin-polyfills-loader/test/snapshots/external-script.html", "repo_id": "modernweb-dev", "token_count": 54 }
199
# rollup-plugin-workbox [![Published on npm](https://img.shields.io/npm/v/rollup-plugin-workbox.svg)](https://www.npmjs.com/package/rollup-plugin-workbox) Rollup plugin that builds a service worker with workbox as part of your rollup build ## Usage This package provides two rollup plugins: one that generates a complete service worker for you and one that generates a list of assets to precache that is injected into a service worker file. The plugins are implemented as two function in the rollup-plugin-workbox module, named `generateSW` and `injectManifest`. ### `generateSW` Import the `generateSW` plugin from `rollup-plugin-workbox`, and add it to your `plugins` array in your `rollup.config.js`. The plugin takes a workbox config object, and an optional render function as the second argument. You can find a detailed list of supported properties for the workbox config object [here](https://developers.google.com/web/tools/workbox/modules/workbox-build#generatesw_mode). ```js const { generateSW } = require('rollup-plugin-workbox'); module.exports = { input: 'main.js', output: { file: 'dist/bundle.js', format: 'esm', }, plugins: [ generateSW({ swDest: '/dist/sw.js', globDirectory: 'demo/dist/', }), ], }; ``` You can also `require` your `workbox-config.js` file and pass it to the plugin. ```js const { generateSW } = require('rollup-plugin-workbox'); const workboxConfig = require('./workbox-config.js'); module.exports = { // ... plugins: [generateSW(workboxConfig)], }; ``` You can also customize the console output after workbox has generated your service worker by passing an optional render function as the second argument to the plugin: ```js const { generateSW } = require('rollup-plugin-workbox'); const workboxConfig = require('./workbox-config.js'); module.exports = { // ... plugins: [ generateSW(workboxConfig, { render: ({ swDest, count, size }) => { console.log('📦', swDest, '#️⃣', count, '🐘', size); }, }), ], }; ``` ### `injectManifest` Import the `injectManifest` plugin from `rollup-plugin-workbox`, and add it to your `plugins` array in your `rollup.config.js`. The plugin takes a workbox config object, and an optional render function as the second argument. You can find a detailed list of supported properties for the workbox config object [here](https://developers.google.com/web/tools/workbox/modules/workbox-build#injectmanifest_mode). ```js const { injectManifest } = require('rollup-plugin-workbox'); module.exports = { input: 'main.js', output: { file: 'dist/bundle.js', format: 'esm', }, plugins: [ injectManifest({ swSrc: 'sw.js', swDest: '/dist/sw.js', globDirectory: 'demo/dist/', }), ], }; ``` You can also `require` your `workbox-config.js` file and pass it to the plugin. ```js const { injectManifest } = require('rollup-plugin-workbox'); const workboxConfig = require('./workbox-config.js'); module.exports = { // ... plugins: [injectManifest(workboxConfig)], }; ``` You can also customize the console output after workbox has created your service worker by passing an optional render function as the second argument to the plugin: ```js const { injectManifest } = require('rollup-plugin-workbox'); const workboxConfig = require('./workbox-config.js'); module.exports = { // ... plugins: [ injectManifest(workboxConfig, { render: ({ swDest, count, size }) => { console.log('📦', swDest, '#️⃣', count, '🐘', size); }, }), ], }; ``` ### Bundling When using `injectManifest`, your service worker will also automatically get bundled via `esbuild`. During bundling, any mentions of Workbox's internal usage of `process.env` variables will also be replaced, so you'll end up with a service worker that will have browser-compatible syntax only. You can override the `esbuild` options used like so: ```js const { injectManifest } = require('rollup-plugin-workbox'); const workboxConfig = require('./workbox-config.js'); module.exports = { // ... plugins: [ injectManifest(workboxConfig, { esbuild: { minify: false, }, }), ], }; ```
modernweb-dev/web/packages/rollup-plugin-workbox/README.md/0
{ "file_path": "modernweb-dev/web/packages/rollup-plugin-workbox/README.md", "repo_id": "modernweb-dev", "token_count": 1410 }
200
import type { Plugin } from 'esbuild'; export function esbuildPluginCommonjsNamedExports(module: string, namedExports: string[]): Plugin { return { name: 'commonjs-named-exports', setup(build) { build.onResolve({ filter: new RegExp(`^${module}$`) }, args => { return { path: args.path, namespace: `commonjs-named-exports-${module}`, pluginData: { resolveDir: args.resolveDir, }, }; }); build.onLoad({ filter: /.*/, namespace: `commonjs-named-exports-${module}` }, async args => { return { resolveDir: args.pluginData.resolveDir, contents: ` import { default as commonjsExports } from '${module}?force-original'; ${namedExports .map(name => { if (name === 'default') { return `export default commonjsExports;`; } else { return `export const ${name} = commonjsExports.${name};`; } }) .join('\n')} `, }; }); }, }; }
modernweb-dev/web/packages/storybook-builder/src/esbuild-plugin-commonjs-named-exports.ts/0
{ "file_path": "modernweb-dev/web/packages/storybook-builder/src/esbuild-plugin-commonjs-named-exports.ts", "repo_id": "modernweb-dev", "token_count": 556 }
201
# @web/storybook-framework-web-components ## 0.1.1 ### Patch Changes - ac6a79d1: Include package.json in package exports ## 0.1.0 ### Minor Changes - 659ed7e2: initial release of @web/storybook-framework-web-components ### Patch Changes - Updated dependencies [659ed7e2] - @web/storybook-builder@0.1.0
modernweb-dev/web/packages/storybook-framework-web-components/CHANGELOG.md/0
{ "file_path": "modernweb-dev/web/packages/storybook-framework-web-components/CHANGELOG.md", "repo_id": "modernweb-dev", "token_count": 115 }
202
import { html } from 'lit'; export default { title: 'Test/Stories', }; export const TestStory = () => html`<div>Test Story works</div>`;
modernweb-dev/web/packages/storybook-framework-web-components/tests/fixtures/all-in-one/stories/test.stories.js/0
{ "file_path": "modernweb-dev/web/packages/storybook-framework-web-components/tests/fixtures/all-in-one/stories/test.stories.js", "repo_id": "modernweb-dev", "token_count": 48 }
203
import { BrowserLauncher, TestRunnerCoreConfig } from '@web/test-runner-core'; import { WebdriverLauncher } from '@web/test-runner-webdriver'; import browserstack from 'browserstack-local'; import ip from 'ip'; import { registerBrowserstackLocal, unregisterBrowserstackLocal, localId, } from './browserstackManager.js'; export interface BrowserstackLauncherArgs { capabilities: Record<string, unknown>; localOptions?: Partial<browserstack.Options>; } const REQUIRED_CAPABILITIES = ['name', 'browserstack.user', 'browserstack.key', 'project', 'build']; const localIp = ip.address(); export class BrowserstackLauncher extends WebdriverLauncher { constructor( private capabilities: Record<string, unknown>, public name: string, private localOptions?: Partial<browserstack.Options>, ) { super({ capabilities: capabilities, hostname: 'hub.browserstack.com', protocol: 'http', port: 80, path: '/wd/hub', user: capabilities['browserstack.user'] as string, key: capabilities['browserstack.key'] as string, }); } async initialize(config: TestRunnerCoreConfig) { await registerBrowserstackLocal( this, this.capabilities['browserstack.key'] as string, this.localOptions, ); await super.initialize(config); } startSession(sessionId: string, url: string) { return super.startSession(sessionId, url.replace(/(localhost|127\.0\.0\.1)/, localIp)); } async startDebugSession() { throw new Error('Starting a debug session is not supported in browserstack'); } stop() { const stopPromise = super.stop(); unregisterBrowserstackLocal(this); return stopPromise; } } export function browserstackLauncher(args: BrowserstackLauncherArgs): BrowserLauncher { if (!args || !args.capabilities) { throw new Error('Missing capabilities in browserstackLauncher'); } for (const capability of REQUIRED_CAPABILITIES) { if (!args.capabilities[capability]) { throw new Error(`Missing capability: ${capability} in browserstack launcher config.`); } } const caps = args.capabilities; const browserName = `${caps.browser ?? caps.browserName ?? caps.device ?? 'unknown'}${ caps.browser_version ? ` ${caps.browser_version}` : '' }` + ` (${caps.os} ${caps.os_version})`; const capabilities = { ...args.capabilities }; capabilities['timeout'] = 300; capabilities['browserstack.local'] = true; capabilities['browserstack.localIdentifier'] = localId; // we need to allow popups since we open new windows capabilities['browserstack.ie.enablePopups'] = true; capabilities['browserstack.edge.enablePopups'] = true; capabilities['browserstack.safari.enablePopups'] = true; return new BrowserstackLauncher(capabilities, browserName, args.localOptions); }
modernweb-dev/web/packages/test-runner-browserstack/src/browserstackLauncher.ts/0
{ "file_path": "modernweb-dev/web/packages/test-runner-browserstack/src/browserstackLauncher.ts", "repo_id": "modernweb-dev", "token_count": 887 }
204
// this file exists to make the import for /plugins work on node v10 module.exports = require('./dist/index');
modernweb-dev/web/packages/test-runner-commands/plugins.js/0
{ "file_path": "modernweb-dev/web/packages/test-runner-commands/plugins.js", "repo_id": "modernweb-dev", "token_count": 31 }
205
import path from 'path'; import { runTests } from '@web/test-runner-core/test-helpers'; import { chromeLauncher } from '@web/test-runner-chrome'; import { playwrightLauncher } from '@web/test-runner-playwright'; import { emulateMediaPlugin } from '../../src/emulateMediaPlugin.js'; describe('emulateMediaPlugin', function test() { this.timeout(20000); it('can emulate media on puppeteer', async () => { await runTests({ files: [ path.join(__dirname, 'browser-test.js'), path.join(__dirname, 'prefers-reduced-motion-test.js'), ], browsers: [chromeLauncher()], plugins: [emulateMediaPlugin()], }); }); it('can emulate media on playwright', async () => { await runTests({ files: [ path.join(__dirname, 'browser-test.js'), path.join(__dirname, 'prefers-reduced-motion-test.js'), ], browsers: [ playwrightLauncher({ product: 'chromium' }), playwrightLauncher({ product: 'firefox' }), playwrightLauncher({ product: 'webkit' }), ], plugins: [emulateMediaPlugin()], }); }); it('can emulate forced-colors on playwright, except webkit', async () => { await runTests({ files: [path.join(__dirname, 'forced-colors-test.js')], browsers: [ playwrightLauncher({ product: 'chromium' }), playwrightLauncher({ product: 'firefox' }), ], plugins: [emulateMediaPlugin()], }); }); });
modernweb-dev/web/packages/test-runner-commands/test/emulate-media/emulateMediaPlugin.test.ts/0
{ "file_path": "modernweb-dev/web/packages/test-runner-commands/test/emulate-media/emulateMediaPlugin.test.ts", "repo_id": "modernweb-dev", "token_count": 579 }
206
import { setUserAgent } from '../../browser/commands.mjs'; import { expect } from '../chai.js'; it('can set the user agent', async () => { const userAgent = 'x'; expect(navigator.userAgent).to.not.equal(userAgent); await setUserAgent(userAgent); expect(navigator.userAgent).to.equal(userAgent); });
modernweb-dev/web/packages/test-runner-commands/test/set-user-agent/browser-test.js/0
{ "file_path": "modernweb-dev/web/packages/test-runner-commands/test/set-user-agent/browser-test.js", "repo_id": "modernweb-dev", "token_count": 103 }
207
// this file is autogenerated with the generate-mjs-dts-entrypoints script import cjsEntrypoint from './dist/index.js'; const { constants, TestRunner, TestRunnerCli, BufferedLogger, TestSessionManager, SESSION_STATUS, EventEmitter, isTestFilePath, fetchSourceMap, } = cjsEntrypoint; export { constants, TestRunner, TestRunnerCli, BufferedLogger, TestSessionManager, SESSION_STATUS, EventEmitter, isTestFilePath, fetchSourceMap, };
modernweb-dev/web/packages/test-runner-core/index.mjs/0
{ "file_path": "modernweb-dev/web/packages/test-runner-core/index.mjs", "repo_id": "modernweb-dev", "token_count": 167 }
208
import { TestSession } from '../test-session/TestSession'; import { TestSessionManager } from '../test-session/TestSessionManager'; import { TestRunnerCoreConfig } from '../config/TestRunnerCoreConfig'; import { TestCoverage } from '../coverage/getTestCoverage'; import { Logger } from '../logger/Logger'; import { BrowserLauncher } from '../browser-launcher/BrowserLauncher'; export interface ReporterArgs { config: TestRunnerCoreConfig; sessions: TestSessionManager; browsers: BrowserLauncher[]; browserNames: string[]; testFiles: string[]; startTime: number; } export interface ReportTestResultsArgs { logger: Logger; sessionsForTestFile: TestSession[]; testFile: string; testRun: number; } export interface GetTestProgressArgs { sessions: TestSession[]; testRun: number; focusedTestFile?: string; testCoverage?: TestCoverage; } export interface TestRunArgs { testRun: number; } export interface TestRunStartedArgs extends TestRunArgs {} export interface TestRunFinishedArgs extends TestRunArgs { sessions: TestSession[]; testCoverage?: TestCoverage; focusedTestFile?: string; } export interface StopArgs { sessions: TestSession[]; testCoverage?: TestCoverage; focusedTestFile?: string; } export interface ReporterConstructor {} export interface Reporter { reportTestFileResults?(args: ReportTestResultsArgs): void; getTestProgress?(args: GetTestProgressArgs): string | string[]; onTestRunStarted?(args: TestRunStartedArgs): void; onTestRunFinished?(args: TestRunFinishedArgs): void; start?(args: ReporterArgs): void | Promise<void>; stop?(args: StopArgs): void | Promise<void>; }
modernweb-dev/web/packages/test-runner-core/src/reporter/Reporter.ts/0
{ "file_path": "modernweb-dev/web/packages/test-runner-core/src/reporter/Reporter.ts", "repo_id": "modernweb-dev", "token_count": 480 }
209
import { Context, getRequestFilePath, ServerStartParams, WebSocket } from '@web/dev-server-core'; import { MapBrowserUrl } from '@web/browser-logs'; import parse from 'co-body'; import { TestRunnerCoreConfig } from '../../../config/TestRunnerCoreConfig.js'; import { TestSessionManager } from '../../../test-session/TestSessionManager.js'; import { PARAM_SESSION_ID } from '../../../utils/constants.js'; import { TestRunnerPlugin } from '../../TestRunnerPlugin.js'; import { SESSION_STATUS } from '../../../test-session/TestSessionStatus.js'; import { TestSession } from '../../../test-session/TestSession.js'; import { parseBrowserResult } from './parseBrowserResult.js'; import { TestRunner } from '../../../runner/TestRunner.js'; import { createSourceMapFunction, SourceMapFunction } from './createSourceMapFunction.js'; import { DebugTestSession } from '../../../test-session/DebugTestSession.js'; interface SessionMessage extends Record<string, unknown> { sessionId: string; testFile: string; } function createMapBrowserUrl(rootDir: string) { return function mapBrowserUrl(url: URL) { if (url.pathname.startsWith('/__web-test-runner__/test-framework')) { return url.pathname.substring('/__web-test-runner__/test-framework'.length); } return getRequestFilePath(url.href, rootDir); }; } class TestRunnerApiPlugin implements TestRunnerPlugin { public name = 'test-runner-api'; public injectWebSocket = true; private config: TestRunnerCoreConfig; private plugins: TestRunnerPlugin[]; private testRunner: TestRunner; private sessions: TestSessionManager; private sourceMapFunction: SourceMapFunction; private mapBrowserUrl: MapBrowserUrl; /** key: session id, value: browser url */ private testSessionUrls = new Map<string, string>(); constructor( config: TestRunnerCoreConfig, testRunner: TestRunner, sessions: TestSessionManager, plugins: TestRunnerPlugin[], ) { this.config = config; this.testRunner = testRunner; this.sessions = sessions; this.plugins = plugins; this.mapBrowserUrl = createMapBrowserUrl(config.rootDir); this.sourceMapFunction = createSourceMapFunction( this.config.protocol, this.config.hostname, this.config.port, ); this.testRunner.on('test-run-started', ({ testRun }) => { if (testRun !== 0) { // create a new source map function to clear the cached source maps this.sourceMapFunction = createSourceMapFunction( this.config.protocol, this.config.hostname, this.config.port, ); } }); } getSession(sessionId: string) { const session = this.sessions.get(sessionId) || this.sessions.getDebug(sessionId); if (!session) { throw new Error(`Session id ${sessionId} not found`); } return session; } parseSessionMessage(data: Record<string, unknown>) { if (typeof data.sessionId === 'string') { return { message: data as any as SessionMessage, session: this.getSession(data.sessionId) }; } throw new Error('Missing sessionId in browser websocket message.'); } async transform(context: Context) { if (context.response.is('html')) { const sessionId = context.URL.searchParams.get(PARAM_SESSION_ID); if (!sessionId) { return; } try { this.testSessionUrls.set( sessionId, `${this.config.protocol}//${this.config.hostname}:${this.config.port}${context.url}`, ); } catch (error) { this.config.logger.error('Error while creating test file import path'); this.config.logger.error(error); context.status = 500; } } } serverStart({ webSockets }: ServerStartParams) { webSockets!.on('message', async ({ webSocket, data }) => { if (!data.type.startsWith('wtr-')) { return; } const { session, message } = this.parseSessionMessage(data); if (data.type === 'wtr-session-started') { if (!data.testFile && !session.debug) { // handle started only when session isn't debug or manual this._onSessionStarted(session); webSocket.on('close', async () => { this._waitForDisconnect(session.id, session.testRun); }); } return; } if (data.type === 'wtr-session-finished') { this._onSessionFinished(data, session, message); return; } if (data.type === 'wtr-command') { this._onCommand(webSocket, session, message); return; } }); } async serve(context: Context) { if (context.path === '/__web-test-runner__/wtr-legacy-browser-api') { const data = await parse.json(context); const { session, message } = this.parseSessionMessage(data); if (data.type === 'wtr-session-started') { if (!data.testFile && !session.debug) { // handle started only when session isn't debug or manual this._onSessionStarted(session); setTimeout(() => { this._waitForDisconnect(session.id, session.testRun); }, this.config.testsFinishTimeout); } return { body: 'OK', type: 'text' }; } if (data.type === 'wtr-session-finished') { this._onSessionFinished(data, session, message); return { body: 'OK', type: 'text' }; } return { body: 'Commands are not supported', type: 'text', status: 500 }; } } private _onSessionStarted(session: TestSession) { if (session.status !== SESSION_STATUS.INITIALIZING) { this._onMultiInitialized(session); return; } // mark the session as started this.sessions.updateStatus(session, SESSION_STATUS.TEST_STARTED); } private async _onSessionFinished( rawData: Record<string, unknown>, session: TestSession | DebugTestSession, message: SessionMessage, ) { if (session.debug) return; if (typeof message.result !== 'object') { throw new Error('Missing result in session-finished message.'); } if (!rawData.userAgent || typeof rawData.userAgent !== 'string') { throw new Error('Missing userAgent in session-finished message.'); } const result = await parseBrowserResult( this.config, this.mapBrowserUrl, this.sourceMapFunction, rawData.userAgent, message.result as Partial<TestSession>, ); this.sessions.updateStatus({ ...session, ...result }, SESSION_STATUS.TEST_FINISHED); } private async _onCommand( webSocket: WebSocket, session: TestSession | DebugTestSession, message: SessionMessage, ) { const { id, command, payload } = message; if (typeof id !== 'number') throw new Error('Missing message id.'); if (typeof command !== 'string') throw new Error('A command name must be provided.'); for (const plugin of this.plugins) { try { const result = await plugin.executeCommand?.({ command, payload, session }); if (result != null) { webSocket.send( JSON.stringify({ type: 'message-response', id, response: { executed: true, result }, }), ); return; } } catch (error) { this.config.logger.error(error); webSocket.send( JSON.stringify({ type: 'message-response', id, error: (error as Error).message }), ); return; } } // no command was matched webSocket.send(JSON.stringify({ type: 'message-response', id, response: { executed: false } })); } /** * Waits for web socket to become disconnected, and checks after disconnect if it was expected * or if some error occurred. */ private async _waitForDisconnect(sessionId: string, testRun: number) { const session = this.sessions.get(sessionId); if (session?.testRun !== testRun) { // a new testrun was started return; } if (session?.status !== SESSION_STATUS.TEST_STARTED) { // websocket closed after finishing the tests, this is expected return; } // the websocket disconnected while the tests were still running, this can happen for many reasons. // we wait 2000ms (magic number) to let other handlers come up with a more specific error message await new Promise(r => setTimeout(r, 2000)); const updatedSession = this.sessions.get(sessionId); if (updatedSession?.status !== SESSION_STATUS.TEST_STARTED) { // something else handled the disconnect return; } if (updatedSession?.testRun !== testRun) { // a new testrun was started return; } const startUrl = this.testSessionUrls.get(updatedSession.id); const currentUrl = await updatedSession.browser.getBrowserUrl(updatedSession.id); if (!currentUrl || startUrl !== currentUrl) { this._setSessionFailed( updatedSession, `Tests were interrupted because the page navigated to ${ currentUrl ? currentUrl : 'another origin' }. ` + 'This can happen when clicking a link, submitting a form or interacting with window.location.', ); } else { this._setSessionFailed( updatedSession, 'Tests were interrupted because the browser disconnected.', ); } } private _onMultiInitialized(session: TestSession) { this._setSessionFailed( session, 'Tests were interrupted because the page was reloaded. ' + 'This can happen when clicking a link, submitting a form or interacting with window.location.', ); } private _setSessionFailed(session: TestSession, message: string) { this.sessions.updateStatus( { ...session, errors: [...(session.errors ?? []), { message }] }, SESSION_STATUS.TEST_FINISHED, ); } } export function testRunnerApiPlugin( config: TestRunnerCoreConfig, testRunner: TestRunner, sessions: TestSessionManager, plugins: TestRunnerPlugin[], ) { return new TestRunnerApiPlugin(config, testRunner, sessions, plugins); }
modernweb-dev/web/packages/test-runner-core/src/server/plugins/api/testRunnerApiPlugin.ts/0
{ "file_path": "modernweb-dev/web/packages/test-runner-core/src/server/plugins/api/testRunnerApiPlugin.ts", "repo_id": "modernweb-dev", "token_count": 3699 }
210
import { mapFileCommentRegex, fromSource, SourceMapConverter, fromJSON } from 'convert-source-map'; import path from 'path'; import { RequestOptions } from 'http'; import { request } from './request.js'; function is2xxResponse(status?: number) { return typeof status === 'number' && status >= 200 && status < 300; } interface FetchCodeArgs { protocol: string; host: string; port: number; browserUrl: string; userAgent?: string; } interface FetchCodeReturnValue { source?: string; sourceMap?: SourceMapConverter; } async function doFetchSourceMap( code: string, browserUrl: string, reqOpts: RequestOptions, ): Promise<SourceMapConverter | undefined> { try { const match = code.match(mapFileCommentRegex); if (!match || !match[0]) { return; } const [sourceMapComment] = match; const sourceMapUrl = sourceMapComment.replace('//# sourceMappingURL=', ''); if (sourceMapUrl.startsWith('data')) { // this is a data url return fromSource(code) ?? undefined; } // this is a source map pointing to another file, fetch it const dir = path.posix.dirname(browserUrl.split('?')[0].split('#')[0]); const sourcMapPath = path.join(dir, sourceMapUrl); const { response: sourceMapResponse, body: sourceMap } = await request({ ...reqOpts, path: encodeURI(sourcMapPath), }); if (!is2xxResponse(sourceMapResponse.statusCode) || !sourceMap) { return; } return fromJSON(sourceMap); } catch (error) { console.error(`Error retrieving source map for ${browserUrl}`); console.error(error); } } /** * Fetches the source maps for a file by retreiving the original source code from the server, and * reading the source maps if there are any available. */ export async function fetchSourceMap(args: FetchCodeArgs): Promise<FetchCodeReturnValue> { const headers: Record<string, string> = args.userAgent ? { 'user-agent': args.userAgent } : {}; const reqOpts: RequestOptions = { protocol: args.protocol, host: args.host, port: String(args.port), method: 'GET', headers, timeout: 5000, }; // fetch the source code used by the browser, using the browser's user agent to // account for accurate transformation const { response, body: source } = await request({ ...reqOpts, path: encodeURI(args.browserUrl), }); // we couldn't retreive this file, this could be because it is a generated file // from a server plugin which no longer exists if (!is2xxResponse(response.statusCode) || !source) { return {}; } const sourceMap = await doFetchSourceMap(source, args.browserUrl, reqOpts); if (!sourceMap) { return { source }; } return { source, sourceMap }; }
modernweb-dev/web/packages/test-runner-core/src/utils/fetchSourceMap.ts/0
{ "file_path": "modernweb-dev/web/packages/test-runner-core/src/utils/fetchSourceMap.ts", "repo_id": "modernweb-dev", "token_count": 905 }
211
# @web/test-runner-coverage-v8 ## 0.8.0 ### Minor Changes - c185cbaa: Set minimum node version to 18 ### Patch Changes - Updated dependencies [c185cbaa] - @web/test-runner-core@0.13.0 ## 0.7.3 ### Patch Changes - Updated dependencies [43be7391] - @web/test-runner-core@0.12.0 ## 0.7.2 ### Patch Changes - 640ba85f: added types for main entry point - Updated dependencies [640ba85f] - @web/test-runner-core@0.11.6 ## 0.7.1 ### Patch Changes - 8040495d: fix: ensure the size of source files is calculcated correctly when caching them ## 0.7.0 ### Minor Changes - 3c33d74a: Cache sourcemap resolution across v8-to-istanbul calls to avoid heavy FS reads ## 0.6.1 ### Patch Changes - 58b560ae: fix: reset coverage result converters between Chrome session runs ## 0.6.0 ### Minor Changes - ca715faf: Upgrade lru-cache dependency & add a file cache for v8-to-istanbul conversions - febd9d9d: Set node 16 as the minimum version. ### Patch Changes - Updated dependencies [febd9d9d] - @web/test-runner-core@0.11.0 ## 0.5.0 ### Minor Changes - acca5d51: Update dependency v8-to-istanbul to v9 ## 0.4.9 ### Patch Changes - 2b6854cd: Ignore external urls from coverage ## 0.4.8 ### Patch Changes - 33ada3d8: Align @web/test-runner-core version ## 0.4.7 ### Patch Changes - dd775c5d: Update dependency v8-to-istanbul to v8 ## 0.4.6 ### Patch Changes - 3885b33e: configure timeout for fetching source maps for code coverage - Updated dependencies [3885b33e] - @web/test-runner-core@0.10.9 ## 0.4.5 ### Patch Changes - 4a609a18: skip non-http coverage files ## 0.4.4 ### Patch Changes - e3314b02: update dependency on core ## 0.4.3 ### Patch Changes - 9ecb49f4: release test coverage package ## 0.4.2 ### Patch Changes - ad815710: fetch source map from server when generating code coverage reports. this fixes errors when using build tools that generate source maps on the fly, which don't exist on the file system - Updated dependencies [ad815710] - Updated dependencies [c4738a40] - @web/test-runner-core@0.10.5 ## 0.4.1 ### Patch Changes - d5a5f2bf: Add undeclared dependencies - Updated dependencies [8e3b1128] - Updated dependencies [d5a5f2bf] - @web/test-runner-core@0.10.3 ## 0.4.0 ### Minor Changes - a7d74fdc: drop support for node v10 and v11 - 1dd7cd0e: version bump after breaking change in @web/test-runner-core ### Patch Changes - Updated dependencies [1dd7cd0e] - Updated dependencies [a7d74fdc] - @web/test-runner-core@0.10.0 ## 0.3.0 ### Minor Changes - 6e313c18: merged @web/test-runner-cli package into @web/test-runner ### Patch Changes - Updated dependencies [6e313c18] - Updated dependencies [0f613e0e] - @web/test-runner-core@0.9.0 ## 0.2.3 ### Patch Changes - 0614acf: update v8-to-istanbul - Updated dependencies [2278a95] - @web/test-runner-core@0.8.11 ## 0.2.2 ### Patch Changes - 382affc: don't require files to exist on disk for coverage ## 0.2.1 ### Patch Changes - 416c0d2: Update dependencies - Updated dependencies [aadf0fe] - @web/test-runner-core@0.8.4 ## 0.2.0 ### Minor Changes - 2291ca1: replaced HTTP with websocket for server-browser communication this improves test speed, especially when a test file makes a lot of concurrent requests it lets us us catch more errors during test execution, and makes us catch them faster ### Patch Changes - Updated dependencies [2291ca1] - @web/test-runner-core@0.8.0 ## 0.1.3 ### Patch Changes - 611bb0f: updated to v8-to-istanbul v5 ## 0.1.2 ### Patch Changes - ce2a2e6: align dependencies ## 0.1.1 ### Patch Changes - aa65fd1: run build before publishing - Updated dependencies [aa65fd1] - @web/test-runner-core@0.7.1 ## 0.1.0 ### Minor Changes - 9be1f95: Added native node es module entrypoints. This is a breaking change. Before, native node es module imports would import a CJS module as a default import and require destructuring afterwards: ```js import playwrightModule from '@web/test-runner-playwright'; const { playwrightLauncher } = playwrightModule; ``` Now, the exports are only available directly as a named export: ```js import { playwrightLauncher } from '@web/test-runner-playwright'; ``` ### Patch Changes - Updated dependencies [cdddf68] - Updated dependencies [fdcf2e5] - Updated dependencies [62ff8b2] - Updated dependencies [9be1f95] - @web/test-runner-core@0.7.0 ## 0.0.4 ### Patch Changes - ad11e36: resolve coverage include/exclude patterns ## 0.0.3 ### Patch Changes - db5baff: cleanup and sort dependencies - Updated dependencies [db5baff] - @web/test-runner-core@0.6.9 ## 0.0.2 ### Patch Changes - 835b30c: update dependencies ## 0.0.1 ### Patch Changes - 3dab600: profile test coverage through v8/chromium - Updated dependencies [3dab600] - @web/test-runner-core@0.6.2
modernweb-dev/web/packages/test-runner-coverage-v8/CHANGELOG.md/0
{ "file_path": "modernweb-dev/web/packages/test-runner-coverage-v8/CHANGELOG.md", "repo_id": "modernweb-dev", "token_count": 1720 }
212
import '../../../../../node_modules/chai/chai.js'; const inc = x => x + 1; const compose2 = (f, g) => x => f(g(x)); describe('given a functor f', function() { describe('and a function a -> b', function() { describe('map f map g f a' , function() { it('is equivalent to map (f.g) f a', function () { const actual = [1].map(inc).map(inc) const expected = [1].map(compose2(inc, inc)) chai.expect(actual).to.eql(expected) }); }) }) })
modernweb-dev/web/packages/test-runner-junit-reporter/test/fixtures/multiple/nested-test.js/0
{ "file_path": "modernweb-dev/web/packages/test-runner-junit-reporter/test/fixtures/multiple/nested-test.js", "repo_id": "modernweb-dev", "token_count": 203 }
213
import { sessionStarted, sessionFinished as testRunnerOnSessionFinished, sessionFailed, getConfig, } from '../../test-runner-core/browser/session.js'; import '../../../node_modules/mocha/mocha.js'; import { collectTestResults } from './collectTestResults.js'; import { setupMocha } from './mochaSetup.js'; const mocha = (window as any).mocha as BrowserMocha; sessionStarted(); export async function runTests(testFn: () => unknown | Promise<unknown>) { const { debug, testFrameworkConfig } = await getConfig(); setupMocha(debug, testFrameworkConfig); // setup the tests try { await testFn(); } catch (error) { sessionFailed(error as Error); return; } // run the tests, and notify the test runner after finishing const mochaRunner = mocha.run(sessionFinished); (window as any).__WTR_MOCHA_RUNNER__ = mochaRunner; } export function sessionFinished() { // setTimeout to wait for event loop to unwind and collect all logs setTimeout(() => { const { testResults, hookErrors, passed } = collectTestResults(mocha); testRunnerOnSessionFinished({ passed: hookErrors.length === 0 && passed, errors: hookErrors, testResults, }); }); } export { mocha, sessionFailed };
modernweb-dev/web/packages/test-runner-mocha/src/standalone.ts/0
{ "file_path": "modernweb-dev/web/packages/test-runner-mocha/src/standalone.ts", "repo_id": "modernweb-dev", "token_count": 420 }
214
export function stripColor(str: string): string { // eslint-disable-next-line no-control-regex return str.replace(/\x1B[[(?);]{0,2}(;?\d)*./g, ''); }
modernweb-dev/web/packages/test-runner-module-mocking/src/stripColor.ts/0
{ "file_path": "modernweb-dev/web/packages/test-runner-module-mocking/src/stripColor.ts", "repo_id": "modernweb-dev", "token_count": 65 }
215
# Migration ## From version 0.15.x to 0.16.0 The re-exports of Puppeteer devices is removed and can be imported from Puppeteer directly. ```ts import { KnownDevices } from 'puppeteer'; ```
modernweb-dev/web/packages/test-runner-puppeteer/MIGRATION.md/0
{ "file_path": "modernweb-dev/web/packages/test-runner-puppeteer/MIGRATION.md", "repo_id": "modernweb-dev", "token_count": 65 }
216
# @web/test-runner-saucelabs ## 0.11.1 ### Patch Changes - e657791f: Vulnerability fix in `ip` package. For more info, see: - https://github.com/advisories/GHSA-78xj-cgh5-2h22 - https://github.com/indutny/node-ip/issues/136#issuecomment-1952083593 ## 0.11.0 ### Minor Changes - c185cbaa: Set minimum node version to 18 ### Patch Changes - Updated dependencies [c185cbaa] - @web/test-runner-webdriver@0.8.0 ## 0.10.1 ### Patch Changes - 640ba85f: added types for main entry point - Updated dependencies [640ba85f] - @web/test-runner-webdriver@0.7.1 ## 0.10.0 ### Minor Changes - 812400a3: Update `webdriver` to version 8 ### Patch Changes - Updated dependencies [812400a3] - @web/test-runner-webdriver@0.7.0 ## 0.9.0 ### Minor Changes - febd9d9d: Set node 16 as the minimum version. ### Patch Changes - Updated dependencies [febd9d9d] - @web/test-runner-webdriver@0.6.0 ## 0.8.1 ### Patch Changes - b25d3fd3: Update `@web/test-runner-webdriver` dependency to `^0.5.1`. ## 0.8.0 ### Minor Changes - 94291532: Update SauceLabs version to 7.2.0 ## 0.7.3 ### Patch Changes - Updated dependencies [064b9dde] - @web/test-runner-webdriver@0.5.0 ## 0.7.2 ### Patch Changes - 7e46ba7c: Pin saucelabs version to 6.1.0 minor ## 0.7.1 ### Patch Changes - bfa1d1ca: Update webdriver dependency to 7.16.0 - Updated dependencies [bfa1d1ca] - @web/test-runner-webdriver@0.4.3 ## 0.7.0 ### Minor Changes - 6fb8910c: Update dependency saucelabs to v6 ## 0.6.3 ### Patch Changes - d4f92e25: Replace uuid dependency with nanoid ## 0.6.2 ### Patch Changes - 33ada3d8: Align @web/test-runner-core version - Updated dependencies [33ada3d8] - @web/test-runner-webdriver@0.4.2 ## 0.6.1 ### Patch Changes - 6014eba2: Bump webdriverio dependency to 7.9.0 - Updated dependencies [6014eba2] - @web/test-runner-webdriver@0.4.1 ## 0.6.0 ### Minor Changes - 5d440dbd: Bump webdriverio to 7.7.4 ### Patch Changes - Updated dependencies [5d440dbd] - @web/test-runner-webdriver@0.4.0 ## 0.5.0 ### Minor Changes - d1227d88: Update webdriverio dependency to v7 ### Patch Changes - Updated dependencies [d1227d88] - @web/test-runner-webdriver@0.3.0 ## 0.4.2 ### Patch Changes - 8861ded8: feat(dev-server-core): share websocket instances with iframe parent - Updated dependencies [8861ded8] - @web/test-runner-webdriver@0.2.2 ## 0.4.1 ### Patch Changes - 967f12d9: Fix intermittent testsStartTimeout on Safari on Sauce - Updated dependencies [967f12d9] - @web/test-runner-webdriver@0.2.1 ## 0.4.0 ### Minor Changes - a7d74fdc: drop support for node v10 and v11 - 1dd7cd0e: version bump after breaking change in @web/test-runner-core ### Patch Changes - Updated dependencies [a7d74fdc] - Updated dependencies [1dd7cd0e] - @web/test-runner-webdriver@0.2.0 ## 0.3.3 ### Patch Changes - 69b2d13d: use about:blank to kill stale browser pages, this makes tests that rely on browser focus work with puppeteer - Updated dependencies [69b2d13d] - Updated dependencies [c7f8d271] - @web/test-runner-webdriver@0.1.3 - @web/dev-server-esbuild@0.2.10 ## 0.3.2 ### Patch Changes - 75fba3d0: lazily create webdriver connection - Updated dependencies [75fba3d0] - @web/test-runner-webdriver@0.1.2 ## 0.3.1 ### Patch Changes - 5b117da4: add heartbeat to webdriver launcher - Updated dependencies [5b117da4] - @web/test-runner-webdriver@0.1.1 ## 0.3.0 ### Minor Changes - 6e313c18: merged @web/test-runner-cli package into @web/test-runner ### Patch Changes - Updated dependencies [6e313c18] - @web/test-runner-webdriver@0.1.0 - @web/dev-server-esbuild@0.2.9 ## 0.2.0 ### Minor Changes - 18b3766: Use Webdriver launcher, support JWP capabilities ## 0.1.3 ### Patch Changes - b6e703a: clear heartbeat interval properly - Updated dependencies [b6e703a] - @web/test-runner-selenium@0.3.3 ## 0.1.2 ### Patch Changes - 9cf02b9: add heartbeat interval to keep connection alive - Updated dependencies [9cf02b9] - @web/test-runner-selenium@0.3.2 ## 0.1.1 ### Patch Changes - 416c0d2: Update dependencies - Updated dependencies [416c0d2] - @web/test-runner-selenium@0.3.1 ## 0.1.0 ### Minor Changes - 2291ca1: replaced HTTP with websocket for server-browser communication this improves test speed, especially when a test file makes a lot of concurrent requests it lets us us catch more errors during test execution, and makes us catch them faster ### Patch Changes - Updated dependencies [2291ca1] - @web/test-runner-selenium@0.3.0 ## 0.0.9 ### Patch Changes - bd27fff: improve browser and proxy close logic ## 0.0.8 ### Patch Changes - 38d8f03: turn on selenium iframe mode by default - Updated dependencies [38d8f03] - @web/test-runner-selenium@0.2.9 ## 0.0.7 ### Patch Changes - f5d6086: improve iframe mode speed - Updated dependencies [f5d6086] - @web/test-runner-selenium@0.2.8 ## 0.0.6 ### Patch Changes - 88cc7ac: Reworked concurrent scheduling logic When running tests in multiple browsers, the browsers are no longer all started in parallel. Instead a new `concurrentBrowsers` property controls how many browsers are run concurrently. This helps improve speed and stability. - Updated dependencies [88cc7ac] - @web/test-runner-selenium@0.2.7 ## 0.0.5 ### Patch Changes - 4ac0b3a: added experimental iframes mode to test improve speed when testing with selenium - Updated dependencies [4ac0b3a] - @web/test-runner-selenium@0.2.6 ## 0.0.4 ### Patch Changes - c25acbc: use webdriver endpoint from saucelabs library - ae6fd15: close webdriver before proxy - Updated dependencies [994f6e4] - @web/test-runner-selenium@0.2.5 ## 0.0.3 ### Patch Changes - a77914f: improved closing of saucelabs tunnel connection ## 0.0.2 ### Patch Changes - dbbb6db: run tests in parallel - Updated dependencies [dbbb6db] - @web/test-runner-selenium@0.2.3 ## 0.0.1 ### Patch Changes - d2e8b16: first implementation
modernweb-dev/web/packages/test-runner-saucelabs/CHANGELOG.md/0
{ "file_path": "modernweb-dev/web/packages/test-runner-saucelabs/CHANGELOG.md", "repo_id": "modernweb-dev", "token_count": 2236 }
217
import { BrowserLauncher, TestRunnerCoreConfig } from '@web/test-runner-core'; import { Builder, WebDriver } from 'selenium-webdriver'; import { getBrowserLabel, getBrowserName } from './utils.js'; import { IFrameManager } from './IFrameManager.js'; export interface SeleniumLauncherArgs { driverBuilder: Builder; } export class SeleniumLauncher implements BrowserLauncher { public name = 'Initializing...'; public type = 'selenium'; private config?: TestRunnerCoreConfig; private driver?: WebDriver; private debugDriver: undefined | WebDriver = undefined; private iframeManager?: IFrameManager; private __iframeManagerPromise?: Promise<IFrameManager>; private isIE = false; private pendingHeartbeat!: ReturnType<typeof setInterval>; constructor(private driverBuilder: Builder) {} async initialize(config: TestRunnerCoreConfig) { this.config = config; const cap = this.driverBuilder.getCapabilities(); this.driverBuilder.withCapabilities(cap); this.name = getBrowserLabel(cap); const browserName = getBrowserName(cap).toLowerCase().replace(/_/g, ' '); this.isIE = (browserName.includes('internet') && browserName.includes('explorer')) || browserName === 'ie' || browserName === 'ie11'; } async stop() { try { await this.driver?.quit(); await this.debugDriver?.quit(); // If there is still pending heartbeat, clear the interval if (this.pendingHeartbeat) { clearInterval(this.pendingHeartbeat); } this.driver = undefined; this.debugDriver = undefined; this.iframeManager = undefined; } catch { // } } async startSession(id: string, url: string) { await this.ensureIframeManagerInitialized(); return this.iframeManager!.queueStartSession(id, url); } isActive(id: string) { return !!this.iframeManager?.isActive(id); } getBrowserUrl(sessionId: string) { if (!this.iframeManager) { throw new Error('Not initialized'); } return this.iframeManager.getBrowserUrl(sessionId); } async stopSession(id: string) { return this.iframeManager!.queueStopSession(id); } async startDebugSession(_: string, url: string) { if (this.debugDriver) { await this.debugDriver.quit(); } this.debugDriver = await this.driverBuilder.build(); await this.debugDriver.navigate().to(url); } private async ensureIframeManagerInitialized(): Promise<void> { if (this.iframeManager) { return; } if (this.__iframeManagerPromise) { await this.__iframeManagerPromise; return; } this.__iframeManagerPromise = this.createiframeManager(); await this.__iframeManagerPromise; this.__iframeManagerPromise = undefined; } private async createiframeManager() { if (!this.config) throw new Error('Not initialized'); this.driver = await this.driverBuilder.build(); this.iframeManager = new IFrameManager(this.config, this.driver, this.isIE); this.heartbeat(); return this.iframeManager; } private heartbeat() { // Heartbeat function to keep alive sessions on Sauce Labs via WebDriver calls this.pendingHeartbeat = setInterval(async () => { if (!this.driver) { return; } try { await this.driver.getTitle(); } catch (e) { // Do nothing, just clear the timeout clearInterval(this.pendingHeartbeat); } return; }, 60000); } } export function seleniumLauncher(args: SeleniumLauncherArgs) { if (!args?.driverBuilder) { throw new Error(`Selenium launcher requires a driverBuilder property.`); } if (!(args?.driverBuilder instanceof Builder)) { throw new Error(`driverBuild must be a Builder`); } return new SeleniumLauncher(args.driverBuilder); }
modernweb-dev/web/packages/test-runner-selenium/src/seleniumLauncher.ts/0
{ "file_path": "modernweb-dev/web/packages/test-runner-selenium/src/seleniumLauncher.ts", "repo_id": "modernweb-dev", "token_count": 1291 }
218
import selenium from 'selenium-standalone'; import { Builder } from 'selenium-webdriver'; import { Options as ChromeOptions } from 'selenium-webdriver/chrome'; import { Options as FirefoxOptions } from 'selenium-webdriver/firefox'; import { runIntegrationTests } from '../../../integration/test-runner'; import { seleniumLauncher } from '../src/seleniumLauncher'; async function startSeleniumServer() { let server: selenium.ChildProcess; try { await selenium.install({ drivers: { chrome: { version: 'latest' }, firefox: { version: 'latest' }, }, }); } catch (err) { console.error('Error occurred when installing selenium.'); throw err; } try { server = await selenium.start({ drivers: { chrome: { version: 'latest' }, firefox: { version: 'latest' }, }, seleniumArgs: ['--port', '8888'], }); } catch (err) { console.error('Error occurred when starting selenium.'); console.log(err); throw err; } return server; } let seleniumServer: selenium.ChildProcess; describe('test-runner-selenium', function testRunnerSelenium() { this.timeout(50000); before(async function () { seleniumServer = await startSeleniumServer(); }); after(() => { seleniumServer.kill(); }); function createConfig() { return { browserStartTimeout: 1000 * 60 * 2, testsStartTimeout: 1000 * 60 * 2, testsFinishTimeout: 1000 * 60 * 2, browsers: [ seleniumLauncher({ driverBuilder: new Builder() .forBrowser('chrome') .setChromeOptions(new ChromeOptions().headless()) .usingServer('http://localhost:8888/wd/hub'), }), seleniumLauncher({ driverBuilder: new Builder() .forBrowser('firefox') .setFirefoxOptions(new FirefoxOptions().headless()) .usingServer('http://localhost:8888/wd/hub'), }), ], }; } runIntegrationTests(createConfig, { basic: true, many: true, focus: false, groups: true, parallel: true, testFailure: true, // FIXME: timed out with selenium-standalone v7 locationChanged: false, }); });
modernweb-dev/web/packages/test-runner-selenium/test/seleniumLauncher.test.ts/0
{ "file_path": "modernweb-dev/web/packages/test-runner-selenium/test/seleniumLauncher.test.ts", "repo_id": "modernweb-dev", "token_count": 868 }
219
{ "name": "@web/test-runner-webdriver", "version": "0.8.0", "publishConfig": { "access": "public" }, "description": "Webdriver browser launcher for Web Test Runner", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/modernweb-dev/web.git", "directory": "packages/test-runner-webdriver" }, "author": "modern-web", "homepage": "https://github.com/modernweb-dev/web/tree/master/packages/test-runner-webdriver", "main": "dist/index.js", "exports": { ".": { "types": "./index.d.ts", "import": "./index.mjs", "require": "./dist/index.js" } }, "engines": { "node": ">=18.0.0" }, "scripts": { "build": "tsc", "test": "mocha test/**/*.test.ts --require ts-node/register --reporter dot", "test:watch": "mocha test/**/*.test.ts --require ts-node/register --watch --watch-files src,test" }, "files": [ "*.d.ts", "*.js", "*.mjs", "dist", "src" ], "keywords": [ "web", "test", "runner", "testrunner", "webdriver", "webdriverio", "wdio", "browser", "launcher" ], "dependencies": { "@web/test-runner-core": "^0.13.0", "webdriverio": "^8.8.6" }, "devDependencies": { "@types/selenium-standalone": "^7.0.1", "selenium-standalone": "^8.0.4" } }
modernweb-dev/web/packages/test-runner-webdriver/package.json/0
{ "file_path": "modernweb-dev/web/packages/test-runner-webdriver/package.json", "repo_id": "modernweb-dev", "token_count": 606 }
220
import { expect } from '@esm-bundle/chai'; it('can run a test with focus a', async () => { const input = document.createElement('input'); document.body.appendChild(input); let firedEvent = false; input.addEventListener('focus', () => { firedEvent = true; }); input.focus(); await new Promise(r => setTimeout(r, 100)); expect(firedEvent).to.be.true; });
modernweb-dev/web/packages/test-runner/demo/focus/test/focus-a.test.js/0
{ "file_path": "modernweb-dev/web/packages/test-runner/demo/focus/test/focus-a.test.js", "repo_id": "modernweb-dev", "token_count": 124 }
221
import { playwrightLauncher } from '@web/test-runner-playwright'; export default /** @type {import('@web/test-runner').TestRunnerConfig} */ ({ nodeResolve: true, rootDir: '../../', groups: [ { name: 'group-a', files: 'demo/test/pass-1.test.js', }, { name: 'group-b', files: 'demo/test/pass-2.test.js', }, ], });
modernweb-dev/web/packages/test-runner/demo/groups-shared-browser.config.mjs/0
{ "file_path": "modernweb-dev/web/packages/test-runner/demo/groups-shared-browser.config.mjs", "repo_id": "modernweb-dev", "token_count": 160 }
222
/* @web/test-runner snapshot v1 */ export const snapshots = {}; snapshots["snapshot-a"] = `some snapshot A5`; /* end snapshot snapshot-a */ snapshots["snapshot-b"] = `some snapshot B5`; /* end snapshot snapshot-b */ snapshots["snapshot-c"] = `some snapshot C5`; /* end snapshot snapshot-c */
modernweb-dev/web/packages/test-runner/demo/test/__snapshots__/pass-snapshot-5.test.snap.js/0
{ "file_path": "modernweb-dev/web/packages/test-runner/demo/test/__snapshots__/pass-snapshot-5.test.snap.js", "repo_id": "modernweb-dev", "token_count": 103 }
223
import { expect } from './chai.js'; it('only fails on safari', () => { if (/^((?!chrome|android).)*safari/i.test(navigator.userAgent)) { expect(true).to.be.false; } });
modernweb-dev/web/packages/test-runner/demo/test/fail-safari.test.js/0
{ "file_path": "modernweb-dev/web/packages/test-runner/demo/test/fail-safari.test.js", "repo_id": "modernweb-dev", "token_count": 71 }
224
import { setViewport, emulateMedia } from '@web/test-runner-commands'; import { expect } from './chai.js'; it('can resize to a small viewport', async () => { await setViewport({ height: 200, width: 100 }); expect(window.innerHeight).to.equal(200); expect(window.innerWidth).to.equal(100); }); it('can resize to a medium viewport', async () => { await setViewport({ height: 400, width: 200 }); expect(window.innerHeight).to.equal(400); expect(window.innerWidth).to.equal(200); }); it('can resize to a large viewport', async () => { await setViewport({ height: 1600, width: 1400 }); expect(window.innerHeight).to.equal(1600); expect(window.innerWidth).to.equal(1400); }); it('can emulate print media type', async () => { await emulateMedia({ media: 'print' }); expect(matchMedia('print').matches).to.be.true; await emulateMedia({ media: 'screen' }); expect(matchMedia('screen').matches).to.be.true; }); it('can emulate color scheme', async () => { await emulateMedia({ colorScheme: 'dark' }); expect(matchMedia('(prefers-color-scheme: dark)').matches).to.be.true; await emulateMedia({ colorScheme: 'light' }); expect(matchMedia('(prefers-color-scheme: light)').matches).to.be.true; });
modernweb-dev/web/packages/test-runner/demo/test/pass-commands.test.js/0
{ "file_path": "modernweb-dev/web/packages/test-runner/demo/test/pass-commands.test.js", "repo_id": "modernweb-dev", "token_count": 402 }
225
import './shared-a.js'; import './shared-b.js';
modernweb-dev/web/packages/test-runner/demo/tsc/dist/test/pass-2.test.d.ts/0
{ "file_path": "modernweb-dev/web/packages/test-runner/demo/tsc/dist/test/pass-2.test.d.ts", "repo_id": "modernweb-dev", "token_count": 20 }
226
import { TestFramework, TestRunnerCoreConfig, TestRunnerGroupConfig } from '@web/test-runner-core'; import { RollupNodeResolveOptions } from '@web/dev-server'; export interface TestRunnerConfig extends Omit<TestRunnerCoreConfig, 'testFramework'> { groups?: string | string[] | TestRunnerGroupConfig[]; nodeResolve?: boolean | RollupNodeResolveOptions; preserveSymlinks?: boolean; esbuildTarget?: string | string[]; testFramework?: Partial<TestFramework>; }
modernweb-dev/web/packages/test-runner/src/config/TestRunnerConfig.ts/0
{ "file_path": "modernweb-dev/web/packages/test-runner/src/config/TestRunnerConfig.ts", "repo_id": "modernweb-dev", "token_count": 133 }
227
import { TestSession, TestResultError, Logger } from '@web/test-runner-core'; import { gray, red } from 'nanocolors'; import { getFailedOnBrowsers } from './utils/getFailedOnBrowsers.js'; function isSameError(a: TestResultError, b: TestResultError) { return a.message === b.message && a.stack === b.stack; } interface ErrorReport { testFile: string; failedBrowsers: string[]; error: TestResultError; } export function reportTestFileErrors( logger: Logger, browserNames: string[], favoriteBrowser: string, sessionsForTestFile: TestSession[], logFileNames?: boolean, ) { const reports: ErrorReport[] = []; for (const session of sessionsForTestFile) { for (const error of session.errors) { let report = reports.find(r => isSameError(r.error, error)); if (!report) { report = { testFile: session.testFile, failedBrowsers: [], error, }; reports.push(report); } report.failedBrowsers.push(session.browser.name); if (session.browser.name === favoriteBrowser) { report.error = error; } } } for (const report of reports) { const { name, message = 'Unknown error' } = report.error; const errorMsg = name ? `${name}: ${message}` : message; const failedOn = getFailedOnBrowsers(browserNames, report.failedBrowsers); if (report.error.stack) { // there was a stack trace, take the first line and decorate it with an icon and which browsers it failed on logger.log(` ❌ ${red(errorMsg)} ${failedOn}`); // if there was more to the stack trace, print it logger.group(); logger.group(); logger.log(gray(report.error.stack)); logger.groupEnd(); logger.groupEnd(); } else { // there was no stack trace, so just print the error message logger.log(` ❌ ${errorMsg} ${failedOn}`); } if (logFileNames) { logger.log(` ${report.testFile}`); } logger.log(''); } }
modernweb-dev/web/packages/test-runner/src/reporter/reportTestFileErrors.ts/0
{ "file_path": "modernweb-dev/web/packages/test-runner/src/reporter/reportTestFileErrors.ts", "repo_id": "modernweb-dev", "token_count": 749 }
228
import fs from 'fs'; import path from 'path'; import { createRequire } from 'module'; import { packages } from '../workspace-packages.mjs'; const require = createRequire(import.meta.url); for (const pkg of packages) { if (pkg.type === 'ts' && pkg.environment === 'node') { const pkgPath = path.join(process.cwd(), 'packages', pkg.name); const pkgJson = require(path.join(pkgPath, 'package.json')); if (!pkgJson.exports) { throw new Error(`Package ${pkg.name} is missing an exports field.`); } for (const [key, val] of Object.entries(pkgJson.exports)) { // parse exports field entry, generate a .d.ts and .mjs if necessary // this is not a complete implementation, we only implement what we need // at the moment const entrypoint = key === '.' ? 'index' : key.substring(2); if (entrypoint.includes('/')) { // skip entrypoints with deep paths continue; } let exportedFile; let createEsmWrapper = false; if (typeof val === 'string') { exportedFile = val; } else if (typeof val === 'object') { if (val.default) { exportedFile = val.default; } else if (val.require) { exportedFile = typeof val.require === 'object' ? val.require.default : val.require; createEsmWrapper = true; } else if (val.import) { exportedFile = val.import; } else { throw new Error( `Export map in package ${pkg.name} has an object but no default, import or require field.`, ); } } else { throw new Error('Export map is not an object or string.'); } if (createEsmWrapper) { // create a ESM wrapper const cjsModule = require(path.join(pkgPath, exportedFile)); const namedExports = Object.keys(cjsModule) .filter(name => name !== 'default' && !name.startsWith('_')) .join(', '); const esmEntrypoint = namedExports.length === 0 ? '' : `// this file is autogenerated with the generate-mjs-dts-entrypoints script import cjsEntrypoint from '${exportedFile}'; const { ${namedExports} } = cjsEntrypoint; export { ${namedExports} };`; fs.writeFileSync(path.join(pkgPath, `${entrypoint}.mjs`), esmEntrypoint); } const esmEntrypointDts = `// this file is autogenerated with the generate-mjs-dts-entrypoints script export * from '${exportedFile}';`; fs.writeFileSync(path.join(pkgPath, `${entrypoint}.d.ts`), esmEntrypointDts); } } }
modernweb-dev/web/scripts/generate-mjs-dts-entrypoints.mjs/0
{ "file_path": "modernweb-dev/web/scripts/generate-mjs-dts-entrypoints.mjs", "repo_id": "modernweb-dev", "token_count": 1044 }
229
node_modules build testcafe
odota/web/.eslintignore/0
{ "file_path": "odota/web/.eslintignore", "repo_id": "odota", "token_count": 10 }
230
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>OpenDota - Dota 2 Statistics</title> <meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-status-bar-style" content="black"> <meta name="apple-mobile-web-app-title" content="OpenDota"> <link rel="apple-touch-icon" href="/assets/images/icons/icon-72x72.png" sizes="72x72"> <link rel="apple-touch-icon" href="/assets/images/icons/icon-96x96.png" sizes="96x96"> <link rel="apple-touch-icon" href="/assets/images/icons/icon-128x128.png" sizes="128x128"> <link rel="apple-touch-icon" href="/assets/images/icons/icon-144x144.png" sizes="144x144"> <link rel="apple-touch-icon" href="/assets/images/icons/icon-152x152.png" sizes="152x152"> <link rel="apple-touch-icon" href="/assets/images/icons/icon-192x192.png" sizes="192x192"> <link rel="apple-touch-icon" href="/assets/images/icons/icon-384x384.png" sizes="384x384"> <link rel="apple-touch-icon" href="/assets/images/icons/icon-512x512.png" sizes="512x512"> <meta name="msapplication-TileImage" content="/assets/images/icons/icon-144x144.png"> <meta name="msapplication-TileColor" content="#000"> <meta name="description" content="Open source Dota 2 match data and player statistics"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="theme-color" content="#000000"> <meta name="explanation" content="Microsoft browsers require custom 404 pages to be at least 512 bytes in length."> <link rel="icon" type="image/png" href="/assets/images/logo.png"> <meta property="og:image" content="/assets/images/logo-preview.jpg" /> <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5591574346816667" crossorigin="anonymous"></script> <script type="module" src="./src/index.jsx"></script> </head> <body> <noscript> <h3>Looks like your browser isn't allowing scripts! Enable JavaScript to run this app.</h3> </noscript> <div id="root"></div> </body> </html>
odota/web/index.html/0
{ "file_path": "odota/web/index.html", "repo_id": "odota", "token_count": 734 }
231
<svg xmlns="http://www.w3.org/2000/svg" height="480" width="640" viewBox="0 0 640 480"> <defs> <clipPath id="a"> <path fill="gray" d="M67.64-154h666v666h-666z"/> </clipPath> </defs> <g transform="matrix(.961 0 0 .7207 -65 110.99)" clip-path="url(#a)"> <g fill-rule="evenodd" stroke-width="1pt"> <path fill="#319400" d="M0-154h333v666H0z"/> <path fill="#ffd600" d="M333-154h666v333H333z"/> <path fill="#de2110" d="M333 179h666v333H333z"/> </g> </g> </svg>
odota/web/public/assets/images/flags/bj.svg/0
{ "file_path": "odota/web/public/assets/images/flags/bj.svg", "repo_id": "odota", "token_count": 249 }
232
<svg xmlns="http://www.w3.org/2000/svg" height="480" width="640" viewBox="0 0 640 480"> <defs> <clipPath id="a"> <path fill-opacity=".67" d="M-12.355 32h640v480h-640z"/> </clipPath> </defs> <g clip-path="url(#a)" fill-rule="evenodd" transform="translate(12.355 -32)"> <path fill="#00f" d="M-52 32h719.29v118.94H-52z"/> <path fill="#ff0" d="M-52 391.65h719.29V512H-52z"/> <path fill="#009a00" d="M-52 271.3h719.29v120.35H-52z"/> <path fill="#fff" d="M-52 150.94h719.29v120.35H-52z"/> <path fill="red" d="M247.7 32.474h119.88v479.53H247.7z"/> <path fill="#ff0" d="M99.253 137.653L67.837 115.93l-31.314 21.937 10.87-36.717-30.457-23.118 38.14-.968 12.49-36.22 12.702 36.113 38.173.732-30.284 23.288"/> </g> </svg>
odota/web/public/assets/images/flags/cf.svg/0
{ "file_path": "odota/web/public/assets/images/flags/cf.svg", "repo_id": "odota", "token_count": 390 }
233
<svg xmlns="http://www.w3.org/2000/svg" height="480" width="640" viewBox="0 0 640 480"> <path fill="#ffce00" d="M0 320h640v160.002H0z"/> <path d="M0 0h640v160H0z"/> <path fill="#d00" d="M0 160h640v160H0z"/> </svg>
odota/web/public/assets/images/flags/de.svg/0
{ "file_path": "odota/web/public/assets/images/flags/de.svg", "repo_id": "odota", "token_count": 106 }
234
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" height="480" width="640" viewBox="0 0 640 480"> <defs> <path stroke-miterlimit="10" d="M-28.58 47.5l1.733 1 46.713-80.91c2.732-.73 4.232-3.33 5.732-5.927 1-1.732 5-8.66 6.734-17.663-6.93 6.003-10.93 12.93-11.93 14.663-1.5 2.598-3 5.196-2.268 7.928z" id="a"/> </defs> <path d="M0 0h640v480H0z" fill="#fff"/> <path d="M0 0h640v144H0z"/> <path d="M0 336h640v144H0z" fill="#060"/> <g id="b" transform="matrix(3 0 0 3 320 240)"> <use height="100%" width="100%" xlink:href="#a" stroke="#000"/> <use height="100%" width="100%" xlink:href="#a" fill="#fff"/> </g> <use height="100%" width="100%" xlink:href="#b" transform="matrix(-1 0 0 1 640 0)"/> <path d="M640.5 168H377c-9-24-39-72-57-72s-48 48-57 72H-.227v144H263c9 24 39 72 57 72s48-48 57-72h263.5V168z" fill="#b00"/> <path id="c" d="M377 312c9-24 15-48 15-72s-6-48-15-72c-9 24-15 48-15 72s6 48 15 72"/> <use height="100%" width="100%" xlink:href="#c" transform="matrix(-1 0 0 1 640 0)"/> <g transform="matrix(3 0 0 3 320 240)" fill="#fff"> <ellipse rx="4" ry="6"/> <path id="d" d="M1 5.85s4 8 4 21-4 21-4 21z"/> <use height="100%" width="100%" xlink:href="#d" transform="scale(-1)"/> <use height="100%" width="100%" xlink:href="#d" transform="scale(-1 1)"/> <use height="100%" width="100%" xlink:href="#d" transform="scale(1 -1)"/> </g> </svg>
odota/web/public/assets/images/flags/ke.svg/0
{ "file_path": "odota/web/public/assets/images/flags/ke.svg", "repo_id": "odota", "token_count": 673 }
235
<svg xmlns="http://www.w3.org/2000/svg" height="480" width="640" viewBox="0 0 640 480"> <defs> <clipPath id="a"> <path fill-opacity=".67" d="M0 0h682.67v512H0z"/> </clipPath> </defs> <g clip-path="url(#a)" fill-rule="evenodd" transform="scale(.9375)"> <path fill="#fff" d="M0 .084h767.87v511.92H0z"/> <path fill="#006" d="M0 0h232.74v232.75H0z"/> <path fill="#c00" d="M0 464.87h767.89v47.127H0z"/> <path fill="#c00" d="M0 465.43h767.89v46.574H0zM0 372.52h767.89v46.21H0zM0 279.26h765.96v46.7H0zM232.67.055h535.17v46.494H232.67zM232.67 186.06h535.17v46.796H232.67zM232.67 93.361h535.17v46.494H232.67z"/> <path d="M166.35 177.47l-50.71-30.98-50.465 31.29 18.769-50.85-50.373-31.394 62.321-.438 19.328-50.691 19.744 50.574 62.321.067-50.115 31.693 19.184 50.732z" fill="#fff"/> </g> </svg>
odota/web/public/assets/images/flags/lr.svg/0
{ "file_path": "odota/web/public/assets/images/flags/lr.svg", "repo_id": "odota", "token_count": 438 }
236
<svg xmlns="http://www.w3.org/2000/svg" height="480" width="640" viewBox="0 0 640 480"> <g fill-rule="evenodd"> <path fill="#fff" d="M640 480H0V0h640z"/> <path fill="#dc143c" d="M640 480H0V240h640z"/> </g> </svg>
odota/web/public/assets/images/flags/pl.svg/0
{ "file_path": "odota/web/public/assets/images/flags/pl.svg", "repo_id": "odota", "token_count": 106 }
237
<svg xmlns="http://www.w3.org/2000/svg" height="480" width="640" viewBox="0 0 640 480"> <defs> <clipPath id="a"> <path fill-opacity=".67" d="M0 0h682.67v512H0z"/> </clipPath> </defs> <g fill-rule="evenodd" clip-path="url(#a)" transform="scale(.9375)" stroke-width="1pt"> <path fill="red" d="M0 0h992.13v512H0z"/> <path d="M0 512l992.12-170.67V512H0z" fill="#090"/> <path d="M0 512l992.12-341.33v170.67L0 512z" fill="#fff"/> <path d="M0 512V0h330.71L0 512z" fill="#009"/> <path d="M0 512L330.71 0h330.71L0 512z" fill="#ff0"/> </g> </svg>
odota/web/public/assets/images/flags/sc.svg/0
{ "file_path": "odota/web/public/assets/images/flags/sc.svg", "repo_id": "odota", "token_count": 286 }
238
<svg xmlns="http://www.w3.org/2000/svg" height="480" width="640" viewBox="0 0 640 480"> <path fill="#fff" d="M0 0h640v480H0z"/> <path d="M463.663 480L.05 1.003 0 479.747l463.663.253zM176.337 0L639.95 478.997 640 .253 176.337 0z" fill-rule="evenodd" fill="#e00000"/> <path d="M27.74.23h118.597l468.176 479.315h-122.35L27.738.229z" fill-rule="evenodd"/> </svg>
odota/web/public/assets/images/flags/tt.svg/0
{ "file_path": "odota/web/public/assets/images/flags/tt.svg", "repo_id": "odota", "token_count": 172 }
239
<svg xmlns="http://www.w3.org/2000/svg" height="480" width="640" viewBox="0 0 640 480"> <defs> <clipPath id="a"> <path fill-opacity=".67" d="M-85.334 0h682.67v512h-682.67z"/> </clipPath> </defs> <g fill-rule="evenodd" clip-path="url(#a)" transform="translate(80.001) scale(.9375)"> <path fill="#ec0015" d="M-128 0h768v512h-768z"/> <path d="M349.59 381.05l-89.576-66.893-89.137 67.55 33.152-109.77-88.973-67.784 110.08-.945 34.142-109.44 34.873 109.19 110.08.144-88.517 68.423 33.884 109.53z" fill="#ff0"/> </g> </svg>
odota/web/public/assets/images/flags/vn.svg/0
{ "file_path": "odota/web/public/assets/images/flags/vn.svg", "repo_id": "odota", "token_count": 271 }
240
const reduceArray = backwards => (array, val) => { if (array.length !== 0 || val.games !== 0) { if (backwards) { array.unshift(val); } else { array.push(val); } } return array; }; export default function transformHistograms(data) { return data.reduceRight(reduceArray(true), []); }
odota/web/src/actions/transformHistograms.js/0
{ "file_path": "odota/web/src/actions/transformHistograms.js", "repo_id": "odota", "token_count": 121 }
241
// eslint-disable-next-line no-redeclare /* global localStorage */ import React from 'react'; import PropTypes from 'prop-types'; import RaisedButton from 'material-ui/RaisedButton'; import { connect } from 'react-redux'; import styled from 'styled-components'; import ReactMarkdown from 'react-markdown'; import { getGithubPulls } from '../../actions'; import constants from '../constants'; const StyledDiv = styled.div` display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; background-color: #008eff; & main, & aside { padding: 8px 20px; } & main { flex-grow: 1; & > div, & a, & p { font-size: ${constants.fontSizeMedium}; margin: 0; opacity: 0.85; } & a { color: ${constants.textColorPrimary}; &:hover { text-decoration: underline; } } & h4 { font-weight: ${constants.fontWeightMedium}; font-size: ${constants.fontSizeCommon}; line-height: ${constants.fontSizeCommon}; margin: 0 0 2px; & svg { height: 16px; fill: ${constants.textColorPrimary}; vertical-align: sub; } } & ul { margin: 2px 0 0; padding-left: 20px; & li { list-style-type: circle; &::first-letter { text-transform: capitalize; } } } } & aside { flex-shrink: 0; } `; const Announce = ({ title, body, onClick, link, strings, }) => ( <StyledDiv> <main> <h4>{title}</h4> {body && <ReactMarkdown source={body} />} </main> <aside> <RaisedButton backgroundColor={constants.colorBlue} href={link} target="_blank" label={strings.announce_github_more} /> </aside> <aside> <RaisedButton backgroundColor={constants.colorBlue} onClick={onClick} label={strings.announce_dismiss} /> </aside> </StyledDiv> ); Announce.propTypes = { title: PropTypes.string, body: PropTypes.string, onClick: PropTypes.func, link: PropTypes.string, strings: PropTypes.shape({}), }; class RequestLayer extends React.Component { static propTypes = { getPulls: PropTypes.func, error: PropTypes.string, loading: PropTypes.bool, data: PropTypes.oneOfType([ PropTypes.object, PropTypes.array, ]), strings: PropTypes.shape({}), }; constructor() { super(); this.state = {}; this.dismiss = (value) => { if (localStorage) { localStorage.setItem('dismiss', value); } this.setState({ dismissed: true }); }; this.getDate = (days) => { const msPerDay = 24 * 60 * 60 * 1000; const date = new Date(new Date() - (msPerDay * days)); return date.toISOString().split('T')[0]; }; } componentDidMount() { this.props.getPulls(this.getDate(5)); } render() { const { error, loading, data, strings, } = this.props; if (!error && !loading && data) { if (data.items && data.items[0]) { const { title, body, number, html_url: link, } = data.items[0]; if (localStorage && !this.state.dismissed && Number(localStorage.getItem('dismiss')) < number) { return <Announce title={title} body={body} onClick={() => this.dismiss(number)} link={link} location={window.location} strings={strings} />; } } } return null; } } const mapStateToProps = (state) => { const { error, loading, data } = state.app.ghPulls; return { error, loading, data, strings: state.app.strings, }; }; const mapDispatchToProps = dispatch => ({ getPulls: repo => dispatch(getGithubPulls(repo)), }); export default connect(mapStateToProps, mapDispatchToProps)(RequestLayer);
odota/web/src/components/Announce/index.jsx/0
{ "file_path": "odota/web/src/components/Announce/index.jsx", "repo_id": "odota", "token_count": 1648 }
242
import React from 'react'; import PropTypes from 'prop-types'; import Heading from '../Heading'; import Error from '../Error'; import ContainerSkeleton from '../Skeletons/ContainerSkeleton'; const { bool, node, string, shape, number, } = PropTypes; const Container = ({ title, subtitle, style, className, children, error, loading, hide, titleTo, loaderWidth, loaderHeight, }) => (!hide ? ( <div className={className} style={{ ...style }}> {title && <Heading title={title} subtitle={subtitle} titleTo={titleTo} />} {error && <Error />} {!error && loading && <ContainerSkeleton width={loaderWidth || 400} height={loaderHeight || 160} />} {!error && !loading && children} </div> ) : null); Container.propTypes = { title: string, subtitle: string, style: shape({}), className: string, loading: bool, error: bool, children: node, hide: bool, titleTo: string, loaderWidth: number, loaderHeight: number, }; export default Container;
odota/web/src/components/Container/index.jsx/0
{ "file_path": "odota/web/src/components/Container/index.jsx", "repo_id": "odota", "token_count": 311 }
243
export default { mega_creep_wins: { sql: ` SELECT match_id, leagues.name from matches JOIN leagues USING(leagueid) WHERE (radiant_win = TRUE AND barracks_status_radiant = 0) OR (radiant_win = FALSE AND barracks_status_dire = 0) ORDER BY match_id DESC `, }, heroes_most_picked_banned: { name: 'Heroes, most picked/banned', sql: ` SELECT h.localized_name, sum(case when ((pm.player_slot < 128) = m.radiant_win) then 1 else 0 end) wins, sum(case when is_pick is true then 1 else 0 end) picks, sum(case when is_pick is false then 1 else 0 end) bans FROM picks_bans pb LEFT JOIN matches m ON pb.match_id = m.match_id LEFT JOIN player_matches pm ON pb.hero_id = pm.hero_id AND pm.match_id = m.match_id LEFT JOIN heroes h ON pb.hero_id = h.id GROUP BY h.localized_name ORDER BY picks DESC; `, }, heroes_most_midas: { name: 'Heroes, most Hand of Midas built', sql: ` SELECT h.localized_name, sum((purchase->>'hand_of_midas')::int) FROM player_matches pm JOIN heroes h ON pm.hero_id = h.id GROUP by h.localized_name ORDER by sum DESC NULLS LAST; `, }, matches_most_recent: { name: 'Matches, most recent', sql: ` SELECT match_id, t1.name AS radiant_team_name, t2.name AS dire_team_name, le.name, start_time, duration FROM matches ma JOIN leagues le ON ma.leagueid = le.leagueid LEFT JOIN teams t1 ON radiant_team_id = t1.team_id LEFT JOIN teams t2 ON dire_team_id = t2.team_id WHERE ma.leagueid > 0 ORDER BY match_id DESC LIMIT 100; `, }, /* "metadata_columns": { "name": "Metadata, columns", "sql": ` SELECT * FROM information_schema.columns WHERE table_schema = "public"; `, }, */ hero_most_picked: ` SELECT h.localized_name, count(*) FROM picks_bans pb JOIN heroes h ON pb.hero_id = h.id JOIN match_patch mp ON mp.match_id = pb.match_id JOIN matches m on mp.match_id = m.match_id WHERE is_pick IS TRUE AND to_timestamp(m.start_time) > '2016-07-01' GROUP BY h.localized_name ORDER BY count DESC; `, hero_most_banned: ` SELECT h.localized_name, count(*) FROM picks_bans pb JOIN heroes h ON pb.hero_id = h.id JOIN match_patch mp ON mp.match_id = pb.match_id JOIN matches m on mp.match_id = m.match_id WHERE is_pick IS FALSE AND to_timestamp(m.start_time) > '2016-07-01' GROUP BY h.localized_name ORDER BY count DESC; `, hero_highest_win_rate: ` SELECT h.localized_name, sum(case when ((pm.player_slot < 128) = m.radiant_win) then 1 else 0 end)/count(*)::float winrate FROM player_matches pm JOIN heroes h ON pm.hero_id = h.id JOIN match_patch mp ON mp.match_id = pm.match_id JOIN matches m ON pm.match_id = m.match_id WHERE to_timestamp(m.start_time) > '2016-07-01' GROUP BY h.localized_name HAVING count(*) > 5 ORDER BY winrate DESC `, hero_highest_kill_avg: ` SELECT h.localized_name, avg(kills) FROM player_matches pm JOIN heroes h ON pm.hero_id = h.id JOIN match_patch mp ON mp.match_id = pm.match_id JOIN matches m on mp.match_id = m.match_id WHERE to_timestamp(m.start_time) > '2016-07-01' GROUP BY h.localized_name HAVING count(*) > 5 ORDER BY avg DESC `, hero_highest_assist_avg: ` SELECT h.localized_name, avg(assists) FROM player_matches pm JOIN heroes h ON pm.hero_id = h.id JOIN match_patch mp ON mp.match_id = pm.match_id JOIN matches m on mp.match_id = m.match_id WHERE to_timestamp(m.start_time) > '2016-07-01' GROUP BY h.localized_name HAVING count(*) > 5 ORDER BY avg DESC `, hero_lowest_death_avg: ` SELECT h.localized_name, avg(deaths) FROM player_matches pm JOIN heroes h ON pm.hero_id = h.id JOIN match_patch mp ON mp.match_id = pm.match_id JOIN matches m on mp.match_id = m.match_id WHERE to_timestamp(m.start_time) > '2016-07-01' GROUP BY h.localized_name HAVING count(*) > 5 ORDER BY avg ASC `, hero_highest_last_hits_avg: ` SELECT h.localized_name, avg(last_hits) FROM player_matches pm JOIN heroes h ON pm.hero_id = h.id JOIN match_patch mp ON mp.match_id = pm.match_id JOIN matches m on mp.match_id = m.match_id WHERE to_timestamp(m.start_time) > '2016-07-01' GROUP BY h.localized_name HAVING count(*) > 5 ORDER BY avg DESC `, hero_highest_gpm_avg: ` SELECT h.localized_name, avg(gold_per_min) FROM player_matches pm JOIN heroes h ON pm.hero_id = h.id JOIN match_patch mp ON mp.match_id = pm.match_id JOIN matches m on mp.match_id = m.match_id WHERE to_timestamp(m.start_time) > '2016-07-01' GROUP BY h.localized_name HAVING count(*) > 5 ORDER BY avg DESC `, team_most_kills: ` SELECT t.name, avg(kills) FROM player_matches pm JOIN notable_players np ON pm.account_id = np.account_id LEFT JOIN teams t ON np.team_id = t.team_id JOIN match_patch mp ON mp.match_id = pm.match_id JOIN matches m on mp.match_id = m.match_id WHERE to_timestamp(m.start_time) > '2016-07-01' AND (t.name LIKE 'OG Dota2' OR t.name LIKE 'Team Liquid' OR t.name LIKE 'Newbee' OR t.name LIKE 'LGD-GAMING' OR t.name LIKE 'MVP Phoenix' OR t.name LIKE 'Natus Vincere' OR t.name LIKE 'Evil Geniuses' OR t.name LIKE 'the wings gaming' OR t.name LIKE 'Team Secret' OR t.name LIKE 'Digital Chaos' OR t.name LIKE 'Alliance' OR t.name LIKE 'Fnatic' OR t.name LIKE 'compLexity Gaming' OR t.name LIKE 'EHOME' OR t.name LIKE 'Execration' OR t.name LIKE 'Vici_Gaming Reborn' OR t.name LIKE 'TNC Pro Team' OR t.name LIKE 'Escape Gaming') GROUP BY t.team_id ORDER BY avg DESC LIMIT 100 `, team_least_deaths: ` SELECT t.name, avg(deaths) FROM player_matches pm JOIN notable_players np ON pm.account_id = np.account_id LEFT JOIN teams t ON np.team_id = t.team_id JOIN match_patch mp ON mp.match_id = pm.match_id JOIN matches m on mp.match_id = m.match_id WHERE to_timestamp(m.start_time) > '2016-07-01' AND (t.name LIKE 'OG Dota2' OR t.name LIKE 'Team Liquid' OR t.name LIKE 'Newbee' OR t.name LIKE 'LGD-GAMING' OR t.name LIKE 'MVP Phoenix' OR t.name LIKE 'Natus Vincere' OR t.name LIKE 'Evil Geniuses' OR t.name LIKE 'the wings gaming' OR t.name LIKE 'Team Secret' OR t.name LIKE 'Digital Chaos' OR t.name LIKE 'Alliance' OR t.name LIKE 'Fnatic' OR t.name LIKE 'compLexity Gaming' OR t.name LIKE 'EHOME' OR t.name LIKE 'Execration' OR t.name LIKE 'Vici_Gaming Reborn' OR t.name LIKE 'TNC Pro Team' OR t.name LIKE 'Escape Gaming') GROUP BY t.team_id ORDER BY avg ASC LIMIT 100 `, team_most_assists: ` SELECT t.name, avg(assists) FROM player_matches pm JOIN notable_players np ON pm.account_id = np.account_id LEFT JOIN teams t ON np.team_id = t.team_id JOIN match_patch mp ON mp.match_id = pm.match_id JOIN matches m on mp.match_id = m.match_id WHERE to_timestamp(m.start_time) > '2016-07-01' AND (t.name LIKE 'OG Dota2' OR t.name LIKE 'Team Liquid' OR t.name LIKE 'Newbee' OR t.name LIKE 'LGD-GAMING' OR t.name LIKE 'MVP Phoenix' OR t.name LIKE 'Natus Vincere' OR t.name LIKE 'Evil Geniuses' OR t.name LIKE 'the wings gaming' OR t.name LIKE 'Team Secret' OR t.name LIKE 'Digital Chaos' OR t.name LIKE 'Alliance' OR t.name LIKE 'Fnatic' OR t.name LIKE 'compLexity Gaming' OR t.name LIKE 'EHOME' OR t.name LIKE 'Execration' OR t.name LIKE 'Vici_Gaming Reborn' OR t.name LIKE 'TNC Pro Team' OR t.name LIKE 'Escape Gaming') GROUP BY t.team_id ORDER BY avg DESC LIMIT 100 `, team_longest_match: ` SELECT t.name, avg(m.duration) FROM player_matches pm JOIN notable_players np ON pm.account_id = np.account_id LEFT JOIN teams t ON np.team_id = t.team_id JOIN match_patch mp ON mp.match_id = pm.match_id JOIN matches m ON pm.match_id = m.match_id WHERE to_timestamp(m.start_time) > '2016-07-01' AND (t.name LIKE 'OG Dota2' OR t.name LIKE 'Team Liquid' OR t.name LIKE 'Newbee' OR t.name LIKE 'LGD-GAMING' OR t.name LIKE 'MVP Phoenix' OR t.name LIKE 'Natus Vincere' OR t.name LIKE 'Evil Geniuses' OR t.name LIKE 'the wings gaming' OR t.name LIKE 'Team Secret' OR t.name LIKE 'Digital Chaos' OR t.name LIKE 'Alliance' OR t.name LIKE 'Fnatic' OR t.name LIKE 'compLexity Gaming' OR t.name LIKE 'EHOME' OR t.name LIKE 'Execration' OR t.name LIKE 'Vici_Gaming Reborn' OR t.name LIKE 'TNC Pro Team' OR t.name LIKE 'Escape Gaming') GROUP BY t.team_id ORDER BY avg DESC LIMIT 100 `, team_shortest_match: ` SELECT t.name, avg(duration) FROM player_matches pm JOIN notable_players np ON pm.account_id = np.account_id LEFT JOIN teams t ON np.team_id = t.team_id JOIN match_patch mp ON mp.match_id = pm.match_id JOIN matches m ON pm.match_id = m.match_id WHERE to_timestamp(m.start_time) > '2016-07-01' AND (t.name LIKE 'OG Dota2' OR t.name LIKE 'Team Liquid' OR t.name LIKE 'Newbee' OR t.name LIKE 'LGD-GAMING' OR t.name LIKE 'MVP Phoenix' OR t.name LIKE 'Natus Vincere' OR t.name LIKE 'Evil Geniuses' OR t.name LIKE 'the wings gaming' OR t.name LIKE 'Team Secret' OR t.name LIKE 'Digital Chaos' OR t.name LIKE 'Alliance' OR t.name LIKE 'Fnatic' OR t.name LIKE 'compLexity Gaming' OR t.name LIKE 'EHOME' OR t.name LIKE 'Execration' OR t.name LIKE 'Vici_Gaming Reborn' OR t.name LIKE 'TNC Pro Team' OR t.name LIKE 'Escape Gaming') GROUP BY t.team_id ORDER BY avg ASC LIMIT 100 `, team_most_heroes: ` SELECT t.name, count(distinct h.localized_name) FROM player_matches pm JOIN notable_players np ON pm.account_id = np.account_id LEFT JOIN teams t ON np.team_id = t.team_id JOIN match_patch mp ON mp.match_id = pm.match_id JOIN heroes h ON pm.hero_id = h.id JOIN matches m on mp.match_id = m.match_id WHERE to_timestamp(m.start_time) > '2016-07-01' AND (t.name LIKE 'OG Dota2' OR t.name LIKE 'Team Liquid' OR t.name LIKE 'Newbee' OR t.name LIKE 'LGD-GAMING' OR t.name LIKE 'MVP Phoenix' OR t.name LIKE 'Natus Vincere' OR t.name LIKE 'Evil Geniuses' OR t.name LIKE 'the wings gaming' OR t.name LIKE 'Team Secret' OR t.name LIKE 'Digital Chaos' OR t.name LIKE 'Alliance' OR t.name LIKE 'Fnatic' OR t.name LIKE 'compLexity Gaming' OR t.name LIKE 'EHOME' OR t.name LIKE 'Execration' OR t.name LIKE 'Vici_Gaming Reborn' OR t.name LIKE 'TNC Pro Team' OR t.name LIKE 'Escape Gaming') GROUP BY t.team_id ORDER BY count DESC LIMIT 100 `, team_least_heroes: ` SELECT t.name, count(distinct h.localized_name) FROM player_matches pm JOIN notable_players np ON pm.account_id = np.account_id LEFT JOIN teams t ON np.team_id = t.team_id JOIN match_patch mp ON mp.match_id = pm.match_id JOIN heroes h ON pm.hero_id = h.id JOIN matches m on mp.match_id = m.match_id WHERE to_timestamp(m.start_time) > '2016-07-01' AND (t.name LIKE 'OG Dota2' OR t.name LIKE 'Team Liquid' OR t.name LIKE 'Newbee' OR t.name LIKE 'LGD-GAMING' OR t.name LIKE 'MVP Phoenix' OR t.name LIKE 'Natus Vincere' OR t.name LIKE 'Evil Geniuses' OR t.name LIKE 'the wings gaming' OR t.name LIKE 'Team Secret' OR t.name LIKE 'Digital Chaos' OR t.name LIKE 'Alliance' OR t.name LIKE 'Fnatic' OR t.name LIKE 'compLexity Gaming' OR t.name LIKE 'EHOME' OR t.name LIKE 'Execration' OR t.name LIKE 'Vici_Gaming Reborn' OR t.name LIKE 'TNC Pro Team' OR t.name LIKE 'Escape Gaming') GROUP BY t.team_id ORDER BY count ASC LIMIT 100 `, player_highest_kills_avg: ` SELECT np.name, avg(kills) FROM player_matches pm JOIN notable_players np ON pm.account_id = np.account_id JOIN match_patch mp ON mp.match_id = pm.match_id JOIN teams t ON np.team_id = t.team_id JOIN matches m on mp.match_id = m.match_id WHERE to_timestamp(m.start_time) > '2016-07-01' AND (t.name LIKE 'OG Dota2' OR t.name LIKE 'Team Liquid' OR t.name LIKE 'Newbee' OR t.name LIKE 'LGD-GAMING' OR t.name LIKE 'MVP Phoenix' OR t.name LIKE 'Natus Vincere' OR t.name LIKE 'Evil Geniuses' OR t.name LIKE 'the wings gaming' OR t.name LIKE 'Team Secret' OR t.name LIKE 'Digital Chaos' OR t.name LIKE 'Alliance' OR t.name LIKE 'Fnatic' OR t.name LIKE 'compLexity Gaming' OR t.name LIKE 'EHOME' OR t.name LIKE 'Execration' OR t.name LIKE 'Vici_Gaming Reborn' OR t.name LIKE 'TNC Pro Team' OR t.name LIKE 'Escape Gaming') GROUP BY np.name HAVING count(*) > 5 ORDER BY avg DESC LIMIT 100 `, player_lowest_deaths_avg: ` SELECT np.name, avg(deaths) FROM player_matches pm JOIN notable_players np ON pm.account_id = np.account_id JOIN match_patch mp ON mp.match_id = pm.match_id JOIN teams t ON np.team_id = t.team_id JOIN matches m on mp.match_id = m.match_id WHERE to_timestamp(m.start_time) > '2016-07-01' AND (t.name LIKE 'OG Dota2' OR t.name LIKE 'Team Liquid' OR t.name LIKE 'Newbee' OR t.name LIKE 'LGD-GAMING' OR t.name LIKE 'MVP Phoenix' OR t.name LIKE 'Natus Vincere' OR t.name LIKE 'Evil Geniuses' OR t.name LIKE 'the wings gaming' OR t.name LIKE 'Team Secret' OR t.name LIKE 'Digital Chaos' OR t.name LIKE 'Alliance' OR t.name LIKE 'Fnatic' OR t.name LIKE 'compLexity Gaming' OR t.name LIKE 'EHOME' OR t.name LIKE 'Execration' OR t.name LIKE 'Vici_Gaming Reborn' OR t.name LIKE 'TNC Pro Team' OR t.name LIKE 'Escape Gaming') GROUP BY np.name HAVING count(*) > 5 ORDER BY avg ASC LIMIT 100 `, player_highest_assists_avg: ` SELECT np.name, avg(assists) FROM player_matches pm JOIN notable_players np ON pm.account_id = np.account_id JOIN match_patch mp ON mp.match_id = pm.match_id JOIN teams t ON np.team_id = t.team_id JOIN matches m on mp.match_id = m.match_id WHERE to_timestamp(m.start_time) > '2016-07-01' AND (t.name LIKE 'OG Dota2' OR t.name LIKE 'Team Liquid' OR t.name LIKE 'Newbee' OR t.name LIKE 'LGD-GAMING' OR t.name LIKE 'MVP Phoenix' OR t.name LIKE 'Natus Vincere' OR t.name LIKE 'Evil Geniuses' OR t.name LIKE 'the wings gaming' OR t.name LIKE 'Team Secret' OR t.name LIKE 'Digital Chaos' OR t.name LIKE 'Alliance' OR t.name LIKE 'Fnatic' OR t.name LIKE 'compLexity Gaming' OR t.name LIKE 'EHOME' OR t.name LIKE 'Execration' OR t.name LIKE 'Vici_Gaming Reborn' OR t.name LIKE 'TNC Pro Team' OR t.name LIKE 'Escape Gaming') GROUP BY np.name HAVING count(*) > 5 ORDER BY avg DESC LIMIT 100 `, player_highest_last_hits_avg: ` SELECT np.name, avg(last_hits) FROM player_matches pm JOIN notable_players np ON pm.account_id = np.account_id JOIN match_patch mp ON mp.match_id = pm.match_id JOIN teams t ON np.team_id = t.team_id JOIN matches m on mp.match_id = m.match_id WHERE to_timestamp(m.start_time) > '2016-07-01' AND (t.name LIKE 'OG Dota2' OR t.name LIKE 'Team Liquid' OR t.name LIKE 'Newbee' OR t.name LIKE 'LGD-GAMING' OR t.name LIKE 'MVP Phoenix' OR t.name LIKE 'Natus Vincere' OR t.name LIKE 'Evil Geniuses' OR t.name LIKE 'the wings gaming' OR t.name LIKE 'Team Secret' OR t.name LIKE 'Digital Chaos' OR t.name LIKE 'Alliance' OR t.name LIKE 'Fnatic' OR t.name LIKE 'compLexity Gaming' OR t.name LIKE 'EHOME' OR t.name LIKE 'Execration' OR t.name LIKE 'Vici_Gaming Reborn' OR t.name LIKE 'TNC Pro Team' OR t.name LIKE 'Escape Gaming') GROUP BY np.name HAVING count(*) > 5 ORDER BY avg DESC LIMIT 100 `, player_highest_gpm_avg: ` SELECT np.name, avg(gold_per_min) FROM player_matches pm JOIN notable_players np ON pm.account_id = np.account_id JOIN match_patch mp ON mp.match_id = pm.match_id JOIN teams t ON np.team_id = t.team_id JOIN matches m on mp.match_id = m.match_id WHERE to_timestamp(m.start_time) > '2016-07-01' AND (t.name LIKE 'OG Dota2' OR t.name LIKE 'Team Liquid' OR t.name LIKE 'Newbee' OR t.name LIKE 'LGD-GAMING' OR t.name LIKE 'MVP Phoenix' OR t.name LIKE 'Natus Vincere' OR t.name LIKE 'Evil Geniuses' OR t.name LIKE 'the wings gaming' OR t.name LIKE 'Team Secret' OR t.name LIKE 'Digital Chaos' OR t.name LIKE 'Alliance' OR t.name LIKE 'Fnatic' OR t.name LIKE 'compLexity Gaming' OR t.name LIKE 'EHOME' OR t.name LIKE 'Execration' OR t.name LIKE 'Vici_Gaming Reborn' OR t.name LIKE 'TNC Pro Team' OR t.name LIKE 'Escape Gaming') GROUP BY np.name HAVING count(*) > 5 ORDER BY avg DESC LIMIT 100 `, player_most_heroes: ` SELECT np.name, count(distinct pm.hero_id) FROM player_matches pm JOIN notable_players np ON pm.account_id = np.account_id JOIN match_patch mp ON mp.match_id = pm.match_id JOIN teams t ON np.team_id = t.team_id JOIN matches m on mp.match_id = m.match_id WHERE to_timestamp(m.start_time) > '2016-07-01' AND (t.name LIKE 'OG Dota2' OR t.name LIKE 'Team Liquid' OR t.name LIKE 'Newbee' OR t.name LIKE 'LGD-GAMING' OR t.name LIKE 'MVP Phoenix' OR t.name LIKE 'Natus Vincere' OR t.name LIKE 'Evil Geniuses' OR t.name LIKE 'the wings gaming' OR t.name LIKE 'Team Secret' OR t.name LIKE 'Digital Chaos' OR t.name LIKE 'Alliance' OR t.name LIKE 'Fnatic' OR t.name LIKE 'compLexity Gaming' OR t.name LIKE 'EHOME' OR t.name LIKE 'Execration' OR t.name LIKE 'Vici_Gaming Reborn' OR t.name LIKE 'TNC Pro Team' OR t.name LIKE 'Escape Gaming') GROUP BY np.name HAVING count(*) > 5 ORDER BY count DESC LIMIT 100 `, tournament_heroes_picked: ` SELECT count(distinct hero_id) FROM (SELECT * FROM picks_bans pb WHERE is_pick IS TRUE ORDER BY pb.match_id DESC LIMIT 1500) x `, tournament_heroes_banned: ` SELECT count(distinct hero_id) FROM (SELECT * FROM picks_bans pb WHERE is_pick IS FALSE ORDER BY pb.match_id DESC LIMIT 1500) x `, tournament_kills_in_game: ` SELECT sum(kills) FROM (SELECT * FROM player_matches pm ORDER BY pm.match_id DESC LIMIT 1500) x GROUP BY match_id ORDER BY sum DESC LIMIT 1; `, tournament_longest_game: ` SELECT max(duration) as seconds FROM (SELECT * FROM player_matches pm JOIN matches m ON pm.match_id = m.match_id ORDER BY pm.match_id DESC LIMIT 1500) x `, tournament_shortest_game: ` SELECT min(duration) as seconds FROM (SELECT * FROM player_matches pm JOIN matches m ON pm.match_id = m.match_id ORDER BY pm.match_id DESC LIMIT 1500) x `, tournament_most_kills_on_hero: ` SELECT max(kills) FROM (SELECT * FROM player_matches pm ORDER BY pm.match_id DESC LIMIT 1500) x `, tournament_most_deaths_on_hero: ` SELECT max(deaths) FROM (SELECT * FROM player_matches pm ORDER BY pm.match_id DESC LIMIT 1500) x `, tournament_most_assists_on_hero: ` SELECT max(assists) FROM (SELECT * FROM player_matches pm ORDER BY pm.match_id DESC LIMIT 1500) x `, tournament_highest_gpm_on_hero: ` SELECT max(gold_per_min) FROM (SELECT * FROM player_matches pm ORDER BY pm.match_id DESC LIMIT 1500) x `, };
odota/web/src/components/Explorer/queries.js/0
{ "file_path": "odota/web/src/components/Explorer/queries.js", "repo_id": "odota", "token_count": 7077 }
244
import { IconButton, List, ListItem, ListItemText, Menu, MenuItem, SwipeableDrawer, } from '@material-ui/core'; import { BugReport, Menu as MenuIcon, Settings } from '@material-ui/icons'; import LogOutButton from 'material-ui/svg-icons/action/power-settings-new'; import ActionSearch from 'material-ui/svg-icons/action/search'; import { Toolbar, ToolbarGroup } from 'material-ui/Toolbar'; import PropTypes from 'prop-types'; import React, { useCallback, useEffect, useState, useRef } from 'react'; import { useSelector } from 'react-redux'; import { Link } from 'react-router-dom'; import styled from 'styled-components'; import config from '../../config'; import AccountWidget from '../AccountWidget'; import AppLogo from '../App/AppLogo'; import constants from '../constants'; import LocalizationMenu from '../Localization'; import SearchForm from '../Search/SearchForm'; const REPORT_BUG_PATH = `//github.com/${config.GITHUB_REPO}/issues`; const VerticalAlignToolbar = styled(ToolbarGroup)` display: flex; align-items: center; justify-content: center; `; const VerticalAlignDiv = styled.div` display: flex; align-items: center; justify-content: center; `; const TabContainer = styled.div` display: flex; flex-direction: column; font-weight: ${constants.fontWeightNormal}; height: 100%; justify-content: center; margin: 0 12px; text-align: center; position: relative; line-height: 1; @media only screen and (max-width: 1500px) { display: none; } `; const AppLogoWrapper = styled.div` line-height: 1; `; const DropdownMenu = styled(Menu)` & .MuiMenu-paper { background: ${constants.primarySurfaceColor}; } `; const DropdownMenuItem = styled(MenuItem)` color: ${constants.primaryTextColor} !important; padding-bottom: 12px !important; padding-top: 12px !important; `; const ToolbarHeader = styled(Toolbar)` backdrop-filter: blur(16px); background-color: rgba(19, 111, 149, 37%) !important; box-shadow: 2px 2px 3px -2px rgb(0 0 0 / 23%); height: 56px; left: 0; padding: 8px 16px !important; position: fixed; top: 0; width: 100%; z-index: 200; & a { color: ${constants.primaryTextColor}; &:hover { color: ${constants.primaryTextColor}; opacity: 0.6; } } `; const MenuContent = styled.div` background: ${constants.primarySurfaceColor}; max-width: 300px; height: 100%; overflow: auto; min-width: 220px; `; const MenuLogoWrapper = styled.div` align-items: center; display: flex; justify-content: center; padding: 24px 0; `; const DrawerLink = styled(Link)` color: ${constants.textColorPrimary}; & li:hover { background-color: rgba(0, 0, 0, 0.08); transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; } `; const LinkGroup = ({ navbarPages }) => ( <VerticalAlignToolbar> {navbarPages.map((page) => ( <TabContainer key={page.key}> <Link to={page.to}>{page.label}</Link> {Boolean(page.feature) && <div style={{ position: 'absolute', textTransform: 'uppercase', fontSize: '10px', top: '-10px', right: '0', color: 'lightblue' }}>{page.feature}</div>} </TabContainer> ))} </VerticalAlignToolbar> ); LinkGroup.propTypes = { navbarPages: PropTypes.shape([{}]), }; const SettingsGroup = ({ children }) => { const [anchorEl, setAnchorEl] = useState(null); const buttonRef = useRef(); const handleClose = useCallback(() => { setAnchorEl(undefined); }, [setAnchorEl]); return ( <> <IconButton ref={buttonRef} aria-label="settings menu" color="inherit" onClick={(e) => setAnchorEl(e.currentTarget)} > <Settings /> </IconButton> {buttonRef.current && ( <DropdownMenu anchorEl={buttonRef.current} open={Boolean(anchorEl)} onClose={handleClose} PaperProps={{ style: { maxHeight: 600 } }} > {children} </DropdownMenu> )} </> ); }; const MenuButtonWrapper = styled.div` margin-right: 12px; @media only screen and (min-width: 1500px) { display: none; } `; const LogoGroup = ({ onMenuClick }) => ( <div style={{ marginRight: 16 }}> <VerticalAlignToolbar> <MenuButtonWrapper> <IconButton aria-label="main menu" edge="start" color="inherit" onClick={onMenuClick}> <MenuIcon /> </IconButton> </MenuButtonWrapper> <AppLogoWrapper> <AppLogo /> </AppLogoWrapper> </VerticalAlignToolbar> </div> ); LogoGroup.propTypes = { onMenuClick: PropTypes.func, }; const SearchGroup = () => ( <VerticalAlignToolbar style={{ marginLeft: 'auto' }}> <ActionSearch style={{ marginRight: 6, opacity: '.6' }} /> <SearchForm /> </VerticalAlignToolbar> ); const AccountGroup = () => ( <VerticalAlignToolbar> <AccountWidget /> </VerticalAlignToolbar> ); const ReportBug = ({ strings }) => ( <DropdownMenuItem component="a" href={REPORT_BUG_PATH} target="_blank" rel="noopener noreferrer" > <BugReport style={{ marginRight: 32, width: 24, height: 24 }} /> {strings.app_report_bug} </DropdownMenuItem> ); ReportBug.propTypes = { strings: PropTypes.shape({}), }; const LogOut = ({ strings }) => ( <DropdownMenuItem component="a" href={`${config.VITE_API_HOST}/logout`} rel="noopener noreferrer" > <LogOutButton style={{ marginRight: 32, width: 24, height: 24 }} /> {strings.app_logout} </DropdownMenuItem> ); LogOut.propTypes = { strings: PropTypes.shape({}), }; const Header = ({ location, disableSearch }) => { const [Announce, setAnnounce] = useState(null); const [menuIsOpen, setMenuState] = useState(false); const small = useSelector((state) => state.browser.greaterThan.small); const user = useSelector((state) => state.app.metadata.data.user); const strings = useSelector((state) => state.app.strings); useEffect(() => { import('../Announce').then((ann) => setAnnounce(ann.default)); }, []); const navbarPages = [ { key: 'header_matches', to: '/matches', label: strings.header_matches, }, { key: 'header_heroes', to: '/heroes', label: strings.header_heroes, }, { key: 'header_teams', to: '/teams', label: strings.header_teams, }, { key: 'header_explorer', to: '/explorer', label: strings.header_explorer, }, { key: 'header_combos', to: '/combos', label: strings.combos, }, { key: 'header_distributions', to: '/distributions', label: strings.header_distributions, }, { key: 'header_records', to: '/records', label: strings.header_records, }, { key: 'header_scenarios', to: '/scenarios', label: strings.header_scenarios, }, { key: 'header_api', to: '/api-keys', label: strings.header_api, }, { key: 'header_subscribe', to: '/subscribe', label: strings.header_subscribe, }, // { // key: 'header_predictions', // to: '/predictions', // label: 'TI Predictions', // }, ]; const drawerPages = [ ...navbarPages, ]; return ( <> <ToolbarHeader> <VerticalAlignDiv> <LogoGroup onMenuClick={() => setMenuState(true)} /> {small && <LinkGroup navbarPages={navbarPages} />} </VerticalAlignDiv> {!disableSearch && <SearchGroup />} <VerticalAlignDiv> {small && <AccountGroup />} <SettingsGroup> <LocalizationMenu /> <ReportBug strings={strings} /> {user ? <LogOut strings={strings} /> : null} </SettingsGroup> </VerticalAlignDiv> <SwipeableDrawer onOpen={() => setMenuState(true)} onClose={() => setMenuState(false)} open={menuIsOpen} > <MenuContent> <MenuLogoWrapper> <div> <AppLogo onClick={() => setMenuState(false)} /> </div> </MenuLogoWrapper> <List> {drawerPages.map((page) => ( <DrawerLink key={`drawer__${page.to}`} to={page.to} onClick={() => setMenuState(false)} > <ListItem> <ListItemText primary={page.label} /> </ListItem> </DrawerLink> ))} </List> <List> {user ? ( <> <DrawerLink to={`/players/${user.account_id}`}> <ListItem button onClick={() => setMenuState(false)}> <ListItemText primary={strings.app_my_profile} /> </ListItem> </DrawerLink> <DrawerLink as="a" href={`${config.VITE_API_HOST}/logout`} > <ListItem button onClick={() => setMenuState(false)}> <ListItemText primary={strings.app_logout} /> </ListItem> </DrawerLink> </> ) : ( <DrawerLink as="a" href={`${config.VITE_API_HOST}/login`} > <ListItem button onClick={() => setMenuState(false)}> <ListItemText primary={strings.app_login} /> </ListItem> </DrawerLink> )} </List> </MenuContent> </SwipeableDrawer> </ToolbarHeader> {location.pathname !== '/' && Announce && <Announce />} </> ); }; Header.propTypes = { location: PropTypes.shape({}), disableSearch: PropTypes.bool, navbarPages: PropTypes.shape([{}]), drawerPages: PropTypes.shape([{}]), }; export default Header;
odota/web/src/components/Header/Header.jsx/0
{ "file_path": "odota/web/src/components/Header/Header.jsx", "repo_id": "odota", "token_count": 4508 }
245
import React from 'react'; import propTypes from 'prop-types'; import styled from 'styled-components'; import BenchmarkGraph from './BenchmarkGraph'; import constants from '../constants'; const Wrapper = styled.div` display: flex; flex-wrap: wrap; margin: 48px -8px; @media screen and (max-width: ${constants.wrapMobile}) { display: block; margin-left: 0; margin-right: 0; } `; const mapData = (data, key) => data.map(item => ({ Percentage: (`${item.percentile * 100}%`), Value: typeof item[key] === 'number' && Number(item[key].toFixed(2)) })); const getData = (data, strings) => [ { title: strings.tooltip_gold_per_min, data: mapData(data, 'gold_per_min'), color: constants.golden }, { title: strings.tooltip_xp_per_min, data: mapData(data, 'xp_per_min'), color: constants.blue }, { title: strings.tooltip_hero_damage_per_min, data: mapData(data, 'hero_damage_per_min'), color: constants.red }, { title: strings.tooltip_hero_healing_per_min, data: mapData(data, 'hero_healing_per_min'), color: constants.green }, { title: strings.tooltip_kills_per_min, data: mapData(data, 'kills_per_min'), color: constants.yelor }, { title: strings.tooltip_last_hits_per_min, data: mapData(data, 'last_hits_per_min'), color: constants.colorBlueGray }, { title: strings.tooltip_lhten, data: mapData(data, 'lhten'), color: constants.golden }, { title: strings.tooltip_stuns_per_min, data: mapData(data, 'stuns_per_min'), color: constants.red }, ]; const renderGraphs = data => data.map(graphData => <BenchmarkGraph key={graphData.title} data={graphData} />); const BenchmarkGraphs = ({ data, strings }) => { const mappedData = getData(data, strings); return ( <Wrapper> { renderGraphs(mappedData) } </Wrapper> ); }; BenchmarkGraphs.propTypes = { data: propTypes.arrayOf(propTypes.shape({})), strings: propTypes.shape({}), }; export default BenchmarkGraphs;
odota/web/src/components/Hero/BenchmarkGraphs.jsx/0
{ "file_path": "odota/web/src/components/Hero/BenchmarkGraphs.jsx", "repo_id": "odota", "token_count": 675 }
246
import React from 'react'; import FlatButton from 'material-ui/FlatButton'; import { connect } from 'react-redux'; import styled from 'styled-components'; import { ButtonsDiv } from './Styled'; import config from '../../config'; import { HomePageProps } from './Home'; const StyledDiv = styled.div` display: flex; flex-direction: column; align-items: center; margin-top: 30px; margin-bottom: 20px; text-align: center; & .headline { text-transform: uppercase; margin-bottom: 20px; font-size: 20px; } & img { height: 32px; margin: 10px 15px; transition: var(--normalTransition); } & a { background-color: transparent !important; padding: 0 !important; border-width: 1px !important; border-radius: 0 !important; } `; const Sponsors = ({ strings }: HomePageProps) => ( <StyledDiv> <div className="headline">{strings.home_sponsored_by}</div> <div className="images"> {config.VITE_ENABLE_DOTACOACH && ( <a href="https://dota-coach.com?s=OpenDota&c=main" target="_blank" rel="noopener noreferrer" > <img src="/assets/images/dotaCoachLogo.svg" alt="Logo for sponsor, Dota-Coach.com" /> </a> )} <a href="https://www.openai.com/" target="_blank" rel="noopener noreferrer" > <img src="/assets/images/openai-logo.png" alt="Open AI home" /> </a> {config.VITE_ENABLE_RIVALRY && ( <a href="https://www.rivalry.com/opendota" target="_blank" rel="noopener noreferrer" > <img src="/assets/images/rivalry-logo.png" alt="Logo for sponsor, Rivalry.com" /> </a> )} {config.VITE_ENABLE_GOSUAI && ( <a href="https://gosu.ai/dota/?utm_source=opendota&utm_medium=cpc&utm_campaign=Home" target="_blank" rel="noopener noreferrer" > <img src="/assets/images/gosu-logo.png" alt="Logo for sponsor, Gosu.ai" /> </a> )} </div> <ButtonsDiv> <FlatButton label={ <span style={{ fontWeight: 300 }}>{strings.home_become_sponsor}</span> } href="mailto:sponsor@opendota.com" /> </ButtonsDiv> </StyledDiv> ); const mapStateToProps = (state: any) => ({ strings: state.app.strings, }); export default connect(mapStateToProps)(Sponsors);
odota/web/src/components/Home/Sponsors.tsx/0
{ "file_path": "odota/web/src/components/Home/Sponsors.tsx", "repo_id": "odota", "token_count": 1120 }
247
import React from 'react'; import styled from 'styled-components'; import constants from '../constants'; const icon = props => ( <svg {...props} viewBox="0 0 300 300"> <path d="M150,106.4c0,0,6.6,0,8,0.5c1.4,0.5,2.3,4.2,5.2,5.2c2.3,0.9,35.6,1.4,35.2,3.7c0,2.3-2.3,2.8-2.8,3.8 c-0.5,1.4,1.4,3.3-3.3,3.8c-4.7,0.9-5.6-3.3-5.6-3.3s-8.9-1.4-15.5,0.5c-3.3,0.9-5.6,4.2-8,6.6c-2.3,2.3-4.2,3.3-4.7,4.2 c-0.9,2.3-0.5,5.6,0.5,6.1c0.9,0.5,4.2-4.7,5.6-5.6c0.5-0.5,4.2-1.4,8.9-1.9c1.9-0.5,3.8,0.5,5.6,0c3.8-0.5,7-1.9,9.8-2.8 c5.6-1.4,10.3-2.3,10.3-2.8c0.9-0.9,0.5-4.2,0.5-4.2s1.9-0.9,1.9-1.9s-0.9-1.9-1.4-2.3c-0.5-0.5,0-4.7-1.4-6.1 c-1.4-1.4-23-3.8-23.9-5.2c-0.9-1.4,1.4-2.8,0.5-6.6c-0.9-3.8-1.9-12.7-1.9-12.7s0-13.6-0.5-15.5c-0.5-1.9-0.5-0.9-1.4-2.3 c-0.9-1.4-1.4-10.8-1.4-10.8s2.3,0.5,3.8-0.5c1.4-0.9,2.8-5.6,2.8-5.6s4.2-0.5,4.7-0.9c0.5-0.5,0.9-3.3,0.9-4.2 c0-1.4-0.9-1.9-0.9-3.8c0-1.9,0.5-6.1,0.5-6.6c0.5,0-1.4-0.5-1.9-1.4c-0.5-0.9-1.9-3.3-1.9-3.3s5.2,3.8,7,0.9s0.9-7,0.9-7 s-3.3-6.1-3.3-7.5s0.9-7.5,0.9-7.5l1.4-1.4c0,0-2.3-3.3-2.3-4.2c0-0.9,1.4-3.8,2.8-3.8c1.4,0,1.9,3.8,1.9,3.8s0.5,3.3,0.9,6.1 c0.5,2.8,5.2,10.3,5.2,10.3s-1.4,8,0,9.4c1.4,1.4,3.3-2.3,4.2-0.5c0.9,1.9-1.4,1.4-0.9,5.2s2.8,3.3,2.8,3.3s-0.5,4.2-0.5,7 c0.5,2.8,1.9,5.2,1.9,5.2s-9.4,7.5-7.5,9.8c1.9,2.3,5.6,2.3,8,0.9c2.3-0.9,6.6-5.6,6.6-5.6s1.9,1.9,1.4,2.3 c-0.5,0.5-1.9,1.9-0.9,4.2s4.2,2.8,4.2,2.8s-1.4,4.7-2.3,5.6c-0.9,0.9-3.3,0.5-3.3,0.5s-1.4,1.4-2.3,1.9c-0.9,0.5-4.2,0.9-4.2,0.9 l0.9,2.8c0,0-4.7,2.3-2.3,3.8c4.2,2.8,8.9-1.9,8.9-1.9s1.4,0.9,2.8,0.5c1.4-0.5,1.4-1.9,1.4-1.9h2.8c0,0-2.3,5.6-1.4,6.6 c0.9,1.4,6.1-2.3,5.6,0.9c-0.9,2.8-10.3,2.3-13.1,5.6c-2.8,3.3-0.5,6.6,0.9,6.6c1.4,0.5,18.3-8.4,19.7-5.2c1.9,3.3-3.8,5.6-2.8,8.4 c0.9,2.8,8-2.3,8,1.4c0,3.3-9.4,7.5-8,10.3c1.4,2.8,3.8,0.9,3.8,0.9s4.2,1.9,4.7,2.8c0.5,0.9-4.7,1.9-4.7,1.9l-0.5,1.9l4.2,0.5 c0,0,3.3,3.7,3.8,5.2c0,1.4-13.1,4.2-13.1,5.6c-0.5,1.4,0.5,1.9,0.5,1.9s-3.3-0.5-4.7,0c-1.4,0.5-5.6,3.7-5.6,3.7 s-7.5-1.9-10.3-1.4c-2.8,0.5-7.5,2.3-7.5,2.3l3.8,0.9l-3.8,3.8c0,0,5.6,1.9,9.4,1.4c3.8-0.5,10.8-5.2,12.7-6.1 c1.9-0.5,8.4-0.5,8.4-0.5s10.8-7.5,13.1-5.6c2.3,2.3-0.5,8.9-0.5,11.3s0.9,8,0.9,8s-15.5,0-19.7,1.4c-3.8,0.9-6.6,2.8-6.6,2.8h-4.7 l-1.4,5.2c0,0-14.5,0-14.1,0.9c0.5,0.9,4.2,0.9,4.7,1.9c0.9,0.9,0,2.3,0,2.3h-5.2l-11.3,2.3l16.9,1.4c0,0-0.5,7-1.9,8 s-4.7,0.5-5.6-0.5s-2.3-1.9-2.3-1.9s-12.7,8-13.1,11.3c-0.5,2.8,5.2-0.5,8.4,2.8c1.4,1.9,0.5,3.8-0.5,5.2c-0.5,1.4,0,1.9-0.9,2.8 c-1.4,2.3-8.9,2.8-7.5,6.1c3.3,3.3,4.7-1.4,6.6-0.5c1.9,0.9-0.5,8.9-0.5,8.9s-13.1,3.8-11.3,7s5.6-2.3,8.4-0.5 c2.8,1.4,0.9,9.8,0.9,9.8s-5.2-0.5-5.2,1.4s5.6-0.9,6.1,1.4c0.5,2.3-1.9,2.8-1.9,2.8s0,8.4,0.5,9.4c0.5,0.9,2.8,0.9,2.8,0.9 s-1.4,3.3-5.2,5.6c-3.3,1.9-4.7-2.3-6.6-0.9s3.3,5.2,3.3,5.2s-1.9,2.8-2.8,7.5c-0.9,4.7-0.9,11.7-0.9,11.7s-5.2,4.2-6.6,8 c-1.4,3.8-3.8,13.1-4.7,14.5c-1.4,1.4-7,6.1-7,6.1V106.4z" /> <path d="M170.2,102.2l-6.6-0.9c0,0,0.9-2.3,0.9-4.2c0-2.3-0.9-4.2,0.5-7c1.4-2.8,2.8-8.4,2.8-8.4s0.9,9.8,2.3,13.1 C172,98,170.2,102.2,170.2,102.2z" /> <path d="M201.6,215.2c0,0-8.9,2.3-10.3,4.2c-1.4,1.9-1.4,10.8-1.4,10.8s3.8,0.9,9.4,5.6s9.8,8,9.8,8s1.9-6.6,0.5-9.4 c-1.4-2.8-2.8-4.2-2.8-4.2s1.9-3.3,0.5-7C206.3,219.4,201.6,215.2,201.6,215.2z" /> <path d="M203.4,258.3c0,0-2.3,0.5-6.1,4.7c-4.2,4.2-3.3,5.6-3.3,5.6s6.6,5.6,11.3,7.5s6.6,0.9,10.3,3.3 s10.3,8.9,12.2,6.6c1.9-2.8-2.8-4.7-9.4-11.3C212.3,267.7,203.4,258.3,203.4,258.3z" /> <path d="M199.2,191.3c0,0,9.8-17.3,15.9-19.7s15,2.8,15.9,1.4c0.9-1.4-3.3-3.7-3.3-3.7l7-3.8c0,0,0.5,1.9,3.7,2.8 c3.3,0.9,12.2-1.4,12.2-1.4l-13.1,6.1c0,0,7,1.4,11.3,4.2c4.2,2.3,7,6.1,7,6.1l7.5,1.4c0,0-0.5,3.3-4.7,3.3s-23-1.4-23-1.4 s-7,4.2-5.2,5.6c1.9,1.4,12.2-0.5,12.2-0.5l-6.1,4.2l-6.1,2.3c0,0,3.8,3.8,8.9,4.7c5.2,0.9,12.7-1.9,12.7-1.9s1.9,3.8,3.8,6.1 c1.9,2.3,23.4,15,23.4,15s-0.9,3.8-7.5,3.3c-6.1-0.5-22-6.6-23.4-6.1c-1.4,0.5-3.3,1.4-3.3,1.4s-1.4-5.2-2.8-6.1 c-1.4-0.9-5.6-0.5-5.6-0.5l-11.3-8.4c0,0-3.3,10.3,8,17.8c10.8,7.5,20.6,3.8,20.6,3.8s9.4,9.8,14.5,12.2 c5.2,2.3,19.2,9.4,17.3,10.3c-0.5,0.5-2.3,0.9-3.3,0.5c-2.3-0.9-4.2-4.2-7.5-5.2c-4.7-1.4-9.4,0.5-9.4,0.5l-4.2-1.9l-13.1,0.5 l-4.7,3.3l-8.4-1.9c0,0,0.5,6.6,4.7,9.4c4.2,2.8,8.4,1.9,8.4,1.9s18.3,20.6,30.5,26.7c12.2,5.6,21.1,8.4,21.1,8.4s-20.6-3.8-28.6-8 c-13.6-7.5-20.6-13.6-28.1-18.8c-7.5-5.2-23-8-23-8s0.5-10.3-0.5-14.1c-0.9-3.7-6.6-8-6.6-8s0.9-5.2,0.9-7.5s-2.3-2.8-2.3-2.8 l-0.9-4.7c0,0-6.1-8.9-6.1-13.1c0-4.2,0.9-8.9,0.9-8.9s1.4-6.6-0.9-6.6C203,191.3,199.2,191.3,199.2,191.3z" /> <path d="M241.4,75c0,0,3.3,0.5,7.5,3.3c4.2,2.8,4.2,7.5,8.4,7.5c4.2,0,11.7-11.7,14.5-13.1c3.3-1.4,5.2,1.4,5.2,1.4 l9.4-15l-5.2-2.8c0,0-6.6,7.5-8.9,7c-2.8,0-6.1-0.5-6.1-0.5s-5.2,13.1-8.4,13.6c-3.3,0.5-0.5-11.7,0.9-15 c1.4-2.8,10.3-3.8,10.3-3.8l8.9-17.3c0,0-2.8,3.8-5.2,5.6c-2.3,1.9-13.6-0.5-16.4,0.5c-2.3,0.9-6.6,1.9-6.6,1.9s0-4.2,1.4-8 c1.4-3.8,7-7,7.5-9.4s0-5.2,1.4-7c1.9-1.4,7-7.5,7-7.5s-8.4,3.8-10.3,6.1c-1.9,2.3-2.8,8-4.7,11.7c-2.3,4.2-13.1,8.4-13.1,8.4 s3.8,5.6,4.7,8c1.4,2.3-1.9,5.2-1.9,5.2s2.8,4.7,3.3,8C245.6,67,241.4,75,241.4,75z" /> <polygon points="236.7,73.6 240.5,66.6 238.1,60.9 234.4,48.3 234.4,56.7 232,63.3" /> <polygon points="227.3,41.7 236.3,24.4 233.4,25.8 225,33.3" /> <path d="M150,106.4c0,0-6.6,0-8,0.5c-1.4,0.5-2.3,4.2-5.2,5.2c-2.3,0.9-35.6,1.4-35.2,3.7c0,2.3,2.3,2.8,2.8,3.8 c0.5,1.4-1.4,3.3,3.3,3.8c4.7,0.9,5.6-3.3,5.6-3.3s8.9-1.4,15.5,0.5c3.3,0.9,5.6,4.2,8,6.6c2.3,2.3,4.2,3.3,4.7,4.2 c0.9,2.3,0.5,5.6-0.5,6.1c-1.4,0-4.2-4.7-5.6-5.6c-0.5-0.5-4.2-1.4-8.9-1.9c-1.9-0.5-3.8,0.5-5.6,0c-3.8-0.5-7-1.9-9.8-2.8 c-5.6-1.4-10.3-2.3-10.3-2.8c-0.9-0.9-0.5-4.2-0.5-4.2s-1.9-0.9-1.9-1.9c0-1.4,0.9-1.9,1.4-2.3c0.5-0.5,0-4.7,1.4-6.1 c1.4-1.4,23-3.8,23.9-5.2c0.9-1.4-1.4-2.8-0.5-6.6c0.9-3.8,1.9-12.7,1.9-12.7s0-13.6,0.5-15.5s0.5-0.9,1.4-2.3s1.4-10.8,1.4-10.8 s-1.9-0.5-3.3-1.4s-2.8-5.6-2.8-5.6s-4.2-0.5-4.7-0.9c-0.5-0.5-0.9-3.3-0.9-4.2c0-1.4,0.9-1.9,0.9-3.8c0-1.9-0.5-6.1-0.5-6.6 c-0.5,0,1.4-0.5,1.9-1.4c0.5-0.9,1.4-2.3,1.4-2.3s-5.2,3.8-7,0.9s-0.9-7-0.9-7s3.3-6.1,3.3-7.5s-1.4-7.5-1.4-7.5L114.4,8 c0,0,2.3-3.3,2.3-4.2c0.5-0.9-0.9-3.7-2.3-3.7c-0.9,0-1.9,3.8-1.9,3.8S112,7,111.6,9.8c-0.5,2.8-5.2,10.3-5.2,10.3s1.4,8,0,9.4 c-1.4,1.4-3.3-2.3-4.2-0.5c-0.9,1.9,1.4,1.4,0.9,5.2s-2.8,3.3-2.8,3.3s0.5,4.2,0.5,7s-2.3,4.7-2.3,4.7s9.4,7.5,7.5,9.8 s-5.6,2.3-8,0.9c-2.3-0.9-6.6-5.6-6.6-5.6s-1.9,1.9-1.4,2.3c0.5,0.5,1.9,1.9,0.9,4.2c-0.9,2.3-4.2,2.8-4.2,2.8s1.4,4.7,2.3,5.6 c0.9,0.9,3.3,0.5,3.3,0.5s1.4,1.4,2.3,1.9c0.9,0.5,4.2,0.9,4.2,0.9L98,75.5c0,0,4.7,2.3,2.3,3.8c-4.2,2.8-8.9-1.9-8.9-1.9 s-1.4,0.9-2.8,0.5c-1.4-0.5-1.4-1.9-1.4-1.9h-2.8c0,0,2.3,5.6,1.4,6.6c-0.9,1.4-6.1-2.3-5.6,0.9c0.9,2.8,10.3,2.3,13.1,5.6 c2.8,3.3,0.5,6.6-0.9,6.6c-1.4,0.5-18.3-8.4-19.7-5.2c-1.9,3.3,3.8,5.6,2.8,8.4c-0.9,2.8-8-2.3-8,1.4c0,3.3,9.4,7.5,8,10.3 c-1.4,2.8-3.8,0.9-3.8,0.9s-4.2,1.9-4.7,2.8c-0.5,0.9,4.7,1.9,4.7,1.9l0.5,1.9l-4.2,0.5c0,0-3.3,3.7-3.8,5.2 c-0.5,1.4,13.1,4.2,13.1,5.6c0.5,1.4-0.5,1.9-0.5,1.9s3.3-0.5,4.7,0c1.4,0.5,5.6,3.7,5.6,3.7s7.5-1.9,10.3-1.4 c2.8,0.5,7.5,2.3,7.5,2.3l-3.8,0.9l3.8,3.8c0,0-5.6,1.9-9.4,1.4c-3.8-0.5-10.8-5.2-12.7-6.1c-1.9-0.9-8.4-0.5-8.4-0.5 s-10.8-7.5-13.1-5.6c-2.3,2.3,0.5,8.9,0.5,11.3s-0.9,8-0.9,8s15.5,0,19.7,1.4c4.2,1.4,6.6,2.8,6.6,2.8h4.7l1.4,4.2 c0,0,14.5,0,14.1,0.9c0,0.9-4.2,0.9-4.7,1.9c-0.9,0.9,0,2.3,0,2.3h5.2l11.3,2.3l-16.9,1.4c0,0,0.5,7,1.9,8c1.4,0.9,4.7,0.5,5.6-0.5 c1.9,0.5,2.8-0.5,2.8-0.5s12.7,8,13.1,11.3c0.5,3.3-5.2-0.5-8.4,2.8c-1.4,1.9-0.5,3.8,0.5,5.2c0.5,1.4,0,1.9,0.9,2.8 c1.4,2.3,8.9,2.8,7.5,6.1c-3.3,3.3-4.7-1.4-6.6-0.5c-1.9,0.9,0.5,8.9,0.5,8.9s13.1,3.8,11.3,7c-1.9,3.3-5.6-2.3-8.4-0.5 c-2.8,1.4-0.9,9.8-0.9,9.8s5.2-0.5,5.2,1.4s-5.6-0.9-6.1,1.4c-0.9,1.9,1.9,2.8,1.9,2.8s0,8.4-0.5,9.4c-0.5,0.9-2.8,0.9-2.8,0.9 s1.4,3.3,5.2,5.6c3.3,1.9,4.7-2.3,6.6-0.9c1.9,1.4-3.3,5.2-3.3,5.2s1.9,2.8,2.8,7.5c0.9,4.7,0.9,11.7,0.9,11.7s5.2,4.2,6.6,8 c1.4,3.8,3.7,13.1,4.7,14.5c0.9,1.4,7,6.1,7,6.1V106.4z" /> <path d="M98.4,215.2c0,0,8.9,2.3,10.3,4.2c1.4,2.3,1.4,10.8,1.4,10.8s-3.8,0.9-9.4,5.6s-9.8,8-9.8,8s-1.9-6.6-0.5-9.4 c1.4-2.8,2.8-4.2,2.8-4.2s-1.9-3.3-0.5-7C93.8,219.4,98.4,215.2,98.4,215.2z" /> <path d="M96.6,258.3c0,0,2.3,0.5,6.1,4.7c3.7,4.2,3.3,5.6,3.3,5.6s-6.6,5.6-11.3,7.5s-6.6,0.9-10.3,3.3 s-10.3,8.9-12.2,6.6c-1.9-2.8,2.8-4.7,9.4-11.3C87.7,267.7,96.6,258.3,96.6,258.3z" /> <path d="M100.8,191.3c0,0-9.8-17.3-15.9-19.7c-6.1-2.3-15,2.8-15.9,1.4c-0.9-1.4,3.3-3.7,3.3-3.7l-7-3.8 c0,0-0.5,1.9-3.8,2.8c-3.3,0.9-12.2-1.4-12.2-1.4l13.1,6.1c0,0-7,1.4-11.3,4.2c-4.2,2.8-7,5.6-7,5.6l-7.5,1.4c0,0,0.5,3.3,4.7,3.3 s23-1.4,23-1.4s7,4.2,5.2,5.6c-1.9,1.4-12.2-0.5-12.2-0.5l6.1,4.2l6.1,2.3c0,0-3.8,3.8-8.9,4.7c-5.2,0.9-12.7-1.9-12.7-1.9 s-2.3,3.3-4.2,5.6c-1.9,2.3-23.4,15-23.4,15s0.9,3.8,7.5,3.3c6.6-0.5,22-6.6,23.4-6.1c1.4,0.5,3.3,1.4,3.3,1.4s1.4-5.2,2.8-6.1 c1.4-0.9,5.6-0.5,5.6-0.5l11.3-8.4c0,0,3.3,10.3-8,17.8c-11.3,7.5-20.6,3.8-20.6,3.8s-9.4,9.8-14.5,12.2s-19.2,9.4-17.3,10.3 c0.5,0.5,2.3,0.9,3.3,0.5c2.3-0.9,4.2-4.2,7.5-5.2c4.7-1.4,9.4,0.5,9.4,0.5l4.2-1.9l13.1,0.9l4.7,3.3l8.4-1.9c0,0-0.5,6.6-4.7,9.4 s-8,2.8-8,2.8S33.3,278,21.1,284.1C8.4,289.7,0,292,0,292s20.6-3.8,28.6-8c13.6-7.5,20.6-13.6,28.1-18.8s23-8,23-8 s-0.5-10.3,0.5-14.1c0.9-3.7,6.6-8,6.6-8s-0.9-5.2-0.9-7.5s2.3-2.8,2.3-2.8l0.9-4.7c0,0,6.1-8.9,6.1-13.1c0-4.2-0.9-8.9-0.9-8.9 s-1.4-6.6,0.9-6.6S100.8,191.3,100.8,191.3z" /> <path d="M58.6,75c0,0-3.3,0.5-7.5,3.3c-4.2,2.8-4.2,7.5-8.4,7.5S30.9,74.1,28.1,72.7c-3.3-1.4-5.2,1.4-5.2,1.4l-9.4-15 l5.2-2.8c0,0,6.6,7.5,8.9,7c2.8,0,6.1-0.5,6.1-0.5s5.2,13.1,8.4,13.6c3.3,0.5,0.5-11.7-0.9-15c-1.4-2.8-10.3-3.8-10.3-3.8L22,40.3 c0,0,2.8,3.8,5.2,5.6c2.3,1.9,13.6-0.5,16.4,0.5c2.3,0.9,6.6,1.9,6.6,1.9s0-4.2-1.4-8c-1.4-3.8-7-7-7.5-9.4c-0.5-2.3,0-5.2-1.4-7 c-1.4-1.9-7-7.5-7-7.5s8.4,3.8,10.3,6.1c2.3,2.8,2.8,8,4.7,11.7c2.3,4.2,13.1,8.4,13.1,8.4s-3.8,5.6-4.7,8 c-1.4,2.3,1.9,5.2,1.9,5.2s-2.8,4.7-3.3,8C54.8,68,58.6,75,58.6,75z" /> </svg> ); export default styled(icon)`filter: drop-shadow(0 0 5px ${constants.colorDanger}); fill: black !important; `;
odota/web/src/components/Icons/Dire.jsx/0
{ "file_path": "odota/web/src/components/Icons/Dire.jsx", "repo_id": "odota", "token_count": 9511 }
248
import React from 'react'; export default props => ( <svg {...props} viewBox="0 0 300 300"> <path d="M299.9,47.8c0-1.9-0.1-3.5-0.1-4.9h-54.1C246.7,19.7,246,0,246,0s-64,0-95.5,0c-0.2,0-0.4,0-0.7,0 c-0.2,0-0.4,0-0.7,0c-31.5,0-95.7,0-95.7,0s-0.7,19.7,0.3,42.9H0.2H0v13.8c0,0.1,0,0.2,0,0.2v7.4h0.1c0.5,17.5,3.3,40.8,15,64.8 c9.9,20.3,24,37.3,42.2,50.5c15,10.9,32.2,18.8,51,23.5c10.9,11.6,21.6,18,31,20.6v23.9c-1.3,7.1-9.5,31.1-66.1,31.1h-8.9V300h171.4 v-21.4h-8.8c-66.5,0-66.2-33-66.2-33v-21.9c9.4-2.6,19.9-9,30.7-20.5c19-4.7,36.2-12.6,51.3-23.6c18.1-13.2,32.3-30.2,42.2-50.5 C300.8,96.4,300.2,64.8,299.9,47.8z M34.3,119.7c-9.7-19.9-12.2-40-12.8-55.4h33.8c0.6,6,1.3,11.9,2.2,17.4 c5.7,34,13.5,63.9,28.4,90.4C63.3,160.6,45.5,142.7,34.3,119.7z M265.7,119.7c-11.3,23.2-29.2,41.1-52,52.6 c14.9-26.5,22.6-56.6,28.4-90.6c0.9-5.5,1.7-11.4,2.2-17.4h34.2C277.9,79.7,275.3,99.8,265.7,119.7z" /> </svg> );
odota/web/src/components/Icons/Trophy.jsx/0
{ "file_path": "odota/web/src/components/Icons/Trophy.jsx", "repo_id": "odota", "token_count": 731 }
249
import Draft from './Draft'; export default Draft;
odota/web/src/components/Match/Draft/index.js/0
{ "file_path": "odota/web/src/components/Match/Draft/index.js", "repo_id": "odota", "token_count": 14 }
250
import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import styled from 'styled-components'; import { isRadiant, getTeamName } from '../../utility'; import Heading from '../Heading'; import Table from '../Table'; import PicksBans from './Overview/PicksBans'; // Displayed only on `Overview` page const StyledDiv = styled.div` .teamtable { position: relative; &:after { content: ""; position: absolute; top: 0px; left: 0px; bottom: 0px; right: 0px; height: 8px; } `; const isBestValueInMatch = players => (field, row, underline) => { const values = players.map(player => player[field]); const bestValue = underline === 'max' ? Math.max(...values) : Math.min(...values); return bestValue === row[field]; }; const keyFn = row => row && row.player_slot + 1; const getHighlightFn = loggedInId => (row) => { const s = { style: {} }; if (loggedInId && row.account_id === loggedInId) { if (row.player_slot < 5) { s.style.backgroundColor = 'rgba(18, 156, 40, 0.09)'; } else { s.style.backgroundColor = 'rgba(156, 18, 18, 0.09)'; } } return s; }; const filterMatchPlayers = (players, team = '') => players.filter(player => ((team === 'radiant' && isRadiant(player.player_slot)) || (team === 'dire' && !isRadiant(player.player_slot)) || team === '')).sort((a, b) => a.player_slot - b.player_slot); class TeamTable extends React.Component { static propTypes = { gameMode: PropTypes.number, players: PropTypes.arrayOf({}), columns: PropTypes.arrayOf({}), heading: PropTypes.string, picksBans: PropTypes.arrayOf({}), radiantTeam: PropTypes.shape({}), direTeam: PropTypes.shape({}), summable: PropTypes.bool, hoverRowColumn: PropTypes.bool, loggedInId: PropTypes.number, buttonLabel: PropTypes.string, buttonTo: PropTypes.string, buttonIcon: PropTypes.string, customWidth: PropTypes.number, radiantWin: PropTypes.bool, overflowAuto: PropTypes.bool, hideWinnerTag: PropTypes.bool, }; constructor() { super(); this.teamTableRef = null; } componentDidMount() { this.addListeners(); } componentDidUpdate() { this.addListeners(); } setTeamTableRef = (node) => { this.teamTableRef = node; } addListeners() { const tableCells = this.teamTableRef.querySelectorAll('td:not(.no-col-hover), th:not(.no-col-hover)'); for (let i = 0; i < tableCells.length; i += 1) { tableCells[i].onmouseenter = () => { const { cellIndex } = tableCells[i]; const rowCells = this.teamTableRef.querySelectorAll(`td:nth-child(${cellIndex + 1}), th:nth-child(${cellIndex + 1})`); for (let j = 0; j < rowCells.length; j += 1) { rowCells[j].classList.add('col_highlight'); } }; tableCells[i].onmouseleave = () => { const { cellIndex } = tableCells[i]; const rowCells = this.teamTableRef.querySelectorAll(`td:nth-child(${cellIndex + 1}), th:nth-child(${cellIndex + 1})`); for (let j = 0; j < rowCells.length; j += 1) { rowCells[j].classList.remove('col_highlight'); } }; } } render() { const { gameMode, players = [], columns, heading = '', picksBans = [], radiantTeam = {}, direTeam = {}, summable = false, hoverRowColumn = false, loggedInId, buttonLabel, buttonTo, buttonIcon, customWidth, radiantWin, overflowAuto, hideWinnerTag = false, } = this.props; const tableProps = { columns, summable, hoverRowColumn, highlightFn: getHighlightFn(loggedInId), keyFn, customWidth, isBestValueInMatch: isBestValueInMatch(players), overflowAuto, }; return ( <StyledDiv ref={this.setTeamTableRef} > <Heading title={`${getTeamName(radiantTeam, true)} - ${heading}`} buttonLabel={buttonLabel || ''} buttonTo={buttonTo || ''} buttonIcon={buttonIcon || ''} winner={!hideWinnerTag && radiantWin} /> <div className="teamtable teamtable-radiant"> <Table data={filterMatchPlayers(players, 'radiant')} {...tableProps} /> </div> { gameMode === 22 ? <> {picksBans && picksBans.length > 0 && <PicksBans gameMode={gameMode} data={picksBans.filter(pb => pb.team === 0 && pb.is_pick)} /> /* team 0 - radiant */} {picksBans && picksBans.length > 0 && <PicksBans gameMode={gameMode} data={picksBans.filter(pb => pb.team === 0 && !pb.is_pick)} /> /* team 0 - radiant */} </> : picksBans && picksBans.length > 0 && <PicksBans gameMode={gameMode} data={picksBans.filter(pb => pb.team === 0)} /> /* team 0 - radiant */ } <Heading title={`${getTeamName(direTeam, false)} - ${heading}`} winner={!hideWinnerTag && !radiantWin} /> <div className="teamtable teamtable-dire"> <Table data={filterMatchPlayers(players, 'dire')} {...tableProps} /> </div> { gameMode === 22 ? <> {picksBans && picksBans.length > 0 && <PicksBans gameMode={gameMode} data={picksBans.filter(pb => pb.team === 1 && pb.is_pick)} /> /* team 1 - dire */} {picksBans && picksBans.length > 0 && <PicksBans gameMode={gameMode} data={picksBans.filter(pb => pb.team === 1 && !pb.is_pick)} /> /* team 1 - dire */} </> : picksBans && picksBans.length > 0 && <PicksBans gameMode={gameMode} data={picksBans.filter(pb => pb.team === 1)} /> /* team 1 - dire */ } </StyledDiv> ); } } const mapStateToProps = state => ({ loggedInId: state.app.metadata.data.user ? state.app.metadata.data.user.account_id : null, }); export default connect(mapStateToProps)(TeamTable);
odota/web/src/components/Match/TeamTable.jsx/0
{ "file_path": "odota/web/src/components/Match/TeamTable.jsx", "repo_id": "odota", "token_count": 2547 }
251
import PercentContainer from './PercentContainer'; export default PercentContainer;
odota/web/src/components/PercentContainer/index.js/0
{ "file_path": "odota/web/src/components/PercentContainer/index.js", "repo_id": "odota", "token_count": 17 }
252
import React from 'react'; import { displayHeroId } from '../../../../utility'; import { TableLink } from '../../../Table'; export const playerHeroesOverviewColumns = (playerId, strings) => [{ displayName: strings.th_hero_id, tooltip: strings.tooltip_hero_id, field: 'hero_id', displayFn: displayHeroId, sortFn: row => row.last_played, }, { displayName: strings.th_games, tooltip: strings.tooltip_played_as, field: 'games', displayFn: row => <TableLink to={`/players/${playerId}/matches?hero_id=${row.hero_id}`}>{row.games}</TableLink>, sortFn: true, relativeBars: true, }, { displayName: strings.th_win, tooltip: strings.tooltip_win_pct_as, field: 'win', sortFn: row => row.win / row.games, percentBars: true, }]; const restColumns = (playerId, strings) => [{ displayName: strings.th_with_games, tooltip: strings.tooltip_played_with, field: 'with_games', displayFn: row => <TableLink to={`/players/${playerId}/matches?with_hero_id=${row.hero_id}`}>{row.with_games}</TableLink>, sortFn: true, relativeBars: true, }, { displayName: strings.th_with_win, tooltip: strings.tooltip_win_pct_with, field: 'with_win', sortFn: row => row.with_win / row.with_games, percentBars: true, }, { displayName: strings.th_against_games, tooltip: strings.tooltip_played_against, field: 'against_games', displayFn: row => <TableLink to={`/players/${playerId}/matches?against_hero_id=${row.hero_id}`}>{row.against_games}</TableLink>, sortFn: true, relativeBars: true, }, { displayName: strings.th_against_win, tooltip: strings.tooltip_win_pct_against, field: 'against_win', sortFn: row => row.against_win / row.against_games, percentBars: true, }]; export const playerHeroesColumns = (playerId, strings) => [ ...playerHeroesOverviewColumns(playerId, strings), ...restColumns(playerId, strings), ];
odota/web/src/components/Player/Pages/Heroes/playerHeroesColumns.jsx/0
{ "file_path": "odota/web/src/components/Player/Pages/Heroes/playerHeroesColumns.jsx", "repo_id": "odota", "token_count": 690 }
253
import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { withRouter } from 'react-router-dom'; import { getPlayerRecords } from '../../../../actions'; import Table from '../../../Table'; import Container from '../../../Container'; import dataColumns from '../matchDataColumns'; import ButtonGarden from '../../../ButtonGarden'; import playerRecordsColumns from './playerRecordsColumns'; const excludedColumns = ['win_rate', 'level']; const recordsColumns = dataColumns.filter(col => !excludedColumns.includes(col)); const Records = ({ routeParams, data, error, loading, playerId, history, strings, }) => { const selected = routeParams.subInfo || recordsColumns[0]; return ( <div style={{ fontSize: 10 }}> <ButtonGarden onClick={(buttonName) => { history.push(`/players/${playerId}/records/${buttonName}${window.location.search}`); }} buttonNames={recordsColumns} selectedButton={selected} /> <Container title={strings.heading_records} error={error} loading={loading}> <Table columns={playerRecordsColumns(strings).concat({ displayName: strings[`th_${selected}`] || strings.th_record, displayFn: (row, col, field) => (field && field.toFixed ? Number(field.toFixed(2)) : ''), field: selected, relativeBars: true, })} data={data} /> </Container> </div>); }; Records.propTypes = { routeParams: PropTypes.shape({}), history: PropTypes.shape({}), data: PropTypes.arrayOf({}), error: PropTypes.string, playerId: PropTypes.string, loading: PropTypes.bool, strings: PropTypes.shape({}), }; const getData = (props) => { props.getPlayerRecords(props.playerId, props.location.search, props.routeParams.subInfo || recordsColumns[0]); }; class RequestLayer extends React.Component { static propTypes = { location: PropTypes.shape({ key: PropTypes.string, }), playerId: PropTypes.string, strings: PropTypes.shape({}), } componentDidMount() { getData(this.props); } componentDidUpdate(prevProps) { if (this.props.playerId !== prevProps.playerId || this.props.location.key !== prevProps.location.key) { getData(this.props); } } render() { return <Records {...this.props} />; } } const mapStateToProps = state => ({ data: state.app.playerRecords.data, error: state.app.playerRecords.error, loading: state.app.playerRecords.loading, strings: state.app.strings, }); const mapDispatchToProps = dispatch => ({ getPlayerRecords: (playerId, options, subInfo) => dispatch(getPlayerRecords(playerId, options, subInfo)), }); export default withRouter(connect(mapStateToProps, mapDispatchToProps)(RequestLayer));
odota/web/src/components/Player/Pages/Records/Records.jsx/0
{ "file_path": "odota/web/src/components/Player/Pages/Records/Records.jsx", "repo_id": "odota", "token_count": 1035 }
254
import ProgressBar from './ProgressBar'; export default ProgressBar;
odota/web/src/components/ProgressBar/index.js/0
{ "file_path": "odota/web/src/components/ProgressBar/index.js", "repo_id": "odota", "token_count": 17 }
255
import React from 'react'; import { BulletList } from 'react-content-loader'; const ContainerSkeleton = props => ( <BulletList primaryColor="#666" secondaryColor="#ecebeb" {...props} /> ); export default ContainerSkeleton;
odota/web/src/components/Skeletons/ContainerSkeleton.jsx/0
{ "file_path": "odota/web/src/components/Skeletons/ContainerSkeleton.jsx", "repo_id": "odota", "token_count": 80 }
256
export { default } from './TabBar';
odota/web/src/components/TabBar/index.js/0
{ "file_path": "odota/web/src/components/TabBar/index.js", "repo_id": "odota", "token_count": 11 }
257
import React from 'react'; import PropTypes from 'prop-types'; import Helmet from 'react-helmet'; import { connect } from 'react-redux'; import { getTeam, getTeamHeroes, getTeamMatches, getTeamPlayers } from '../../actions'; import Spinner from '../Spinner'; import TabBar from '../TabBar'; import teamPages from './teamPages'; import getTeamHeader from './TeamHeader'; import { Column } from './TeamStyled'; const getData = (props) => { const { teamId } = props.match.params; props.dispatchTeam(teamId); props.dispatchTeamMatches(teamId); props.dispatchTeamHeroes(teamId); props.dispatchTeamPlayers(teamId); }; class Team extends React.Component { static propTypes = { generalData: PropTypes.shape({ data: PropTypes.shape({ team_id: PropTypes.number, rating: PropTypes.number, wins: PropTypes.number, losses: PropTypes.number, last_match_time: PropTypes.number, name: PropTypes.string, tag: PropTypes.string, logo_url: PropTypes.string, }), loading: PropTypes.bool, error: PropTypes.string, }), matchData: PropTypes.shape({ data: PropTypes.arrayOf(PropTypes.object), loading: PropTypes.bool, error: PropTypes.string, }), heroData: PropTypes.shape({ data: PropTypes.arrayOf(PropTypes.object), loading: PropTypes.bool, error: PropTypes.string, }), playerData: PropTypes.shape({ data: PropTypes.arrayOf(PropTypes.object), loading: PropTypes.bool, error: PropTypes.string, }), match: PropTypes.shape({ params: PropTypes.shape({ teamId: PropTypes.string, info: PropTypes.string, }), }), strings: PropTypes.shape({}), } componentDidMount() { getData(this.props); } componentDidUpdate(prevProps) { if (this.props.match.params.teamId !== prevProps.match.params.teamId) { getData(this.props); } } render() { const { strings } = this.props; const { teamId } = this.props.match.params; const info = this.props.match.params.info || 'overview'; const page = teamPages(teamId, strings).find(_page => _page.key === info); const teamName = this.props.generalData.data.name; const title = page ? `${teamName} - ${page.name}` : teamName; return ( <div> <Helmet title={title} /> <Column> {getTeamHeader(this.props.generalData, strings)} <TabBar info={info} tabs={teamPages(teamId, strings)} /> {page ? page.content(this.props.generalData, this.props.matchData, this.props.heroData, this.props.playerData) : <Spinner />} </Column> </div> ); } } const mapStateToProps = state => ({ generalData: state.app.team, heroData: state.app.teamHeroes, matchData: state.app.teamMatches, playerData: state.app.teamPlayers, strings: state.app.strings, }); const mapDispatchToProps = dispatch => ({ dispatchTeam: teamId => dispatch(getTeam(teamId)), dispatchTeamHeroes: teamId => dispatch(getTeamHeroes(teamId)), dispatchTeamMatches: teamId => dispatch(getTeamMatches(teamId)), dispatchTeamPlayers: teamId => dispatch(getTeamPlayers(teamId)), }); export default connect(mapStateToProps, mapDispatchToProps)(Team);
odota/web/src/components/Team/index.jsx/0
{ "file_path": "odota/web/src/components/Team/index.jsx", "repo_id": "odota", "token_count": 1256 }
258
import styled from 'styled-components'; import React from 'react'; import TextField from 'material-ui/TextField'; import PropTypes from 'prop-types'; import ActionSearch from 'material-ui/svg-icons/action/search'; const StyledHorizontalMenuFilter = styled.div` display: flex; align-items: center; .reset-button { display: inline-block; font-size: 22px; opacity: 0.5; cursor: pointer; margin-left: 10px; &:hover { opacity: 1; } } `; const HorizontalMenuFilter = ({ handleChange, value, setInputRef, reset, filterText, }) => ( <StyledHorizontalMenuFilter> <ActionSearch style={{ marginRight: 6, opacity: '.6' }} /> <TextField ref={setInputRef} hintText={filterText} value={value} onChange={handleChange} style={{ width: 150 }} /> <div className="reset-button" onClick={reset} onKeyPress={reset} role="button" tabIndex="0" > x </div> </StyledHorizontalMenuFilter> ); HorizontalMenuFilter.propTypes = { handleChange: PropTypes.func, value: PropTypes.number, setInputRef: PropTypes.func, reset: PropTypes.func, filterText: PropTypes.string, }; export const StyledHeroHorizontalMenu = styled.div` width: 100%; overflow-x: scroll; white-space: nowrap; background: rgba(0, 0, 0, 0.27); padding: 3px; min-height: 76px; margin-top: 15px; `; class HorizontalMenu extends React.Component { inputRef = null; horizontalMenuRef = null; static propTypes = { filterAndRenderElements: PropTypes.func, filterText: PropTypes.string, strings: PropTypes.shape({}), }; state = { searchValue: '', }; onWheel = (e) => { // eslint-disable-line react/sort-comp e.preventDefault(); this.horizontalMenuRef.scrollLeft += e.deltaY; } componentDidMount() { this.horizontalMenuRef.addEventListener('wheel', this.onWheel); } componentWillUnmount() { this.horizontalMenuRef.removeEventListener('wheel', this.onWheel); } setInputRef = (input) => { this.inputRef = input; }; sethorizontalMenuRef = (node) => { this.horizontalMenuRef = node; }; resetSearchValue = () => { if (this.state.searchValue.length > 0) { this.inputRef.focus(); } this.setState({ searchValue: '' }); }; handleChange = e => this.setState({ searchValue: e.target.value }); render() { return ( <React.Fragment> <StyledHeroHorizontalMenu ref={this.sethorizontalMenuRef}> {this.props.filterAndRenderElements( this.state.searchValue, this.resetSearchValue, )} </StyledHeroHorizontalMenu> <HorizontalMenuFilter handleChange={this.handleChange} value={this.state.searchValue} reset={this.resetSearchValue} setInputRef={this.setInputRef} filterText={this.props.filterText} /> </React.Fragment> ); } } export default HorizontalMenu;
odota/web/src/components/Visualizations/HorizontalMenu.jsx/0
{ "file_path": "odota/web/src/components/Visualizations/HorizontalMenu.jsx", "repo_id": "odota", "token_count": 1190 }
259
{ "yes": "ja", "no": "nee", "abbr_thousand": "k", "abbr_million": "m", "abbr_billion": "mld", "abbr_trillion": "t", "abbr_quadrillion": "q", "abbr_not_available": "N.v.t.", "abbr_pick": "P", "abbr_win": "W", "abbr_number": "Nr.", "analysis_eff": "Lane-efficiëntie", "analysis_farm_drought": "Laagste GPM in een vijfminuutsinterval", "analysis_skillshot": "Vaardigheidsschoten geraakt", "analysis_late_courier": "Upgradevertraging koerier", "analysis_wards": "Wards geplaatst", "analysis_roshan": "Roshans gedood", "analysis_rune_control": "Runes gepakt", "analysis_unused_item": "Ongebruikte actieve voorwerpen", "analysis_expected": "van", "announce_dismiss": "Sluiten", "announce_github_more": "Op GitHub bekijken", "api_meta_description": "De OpenDota-API geeft je toegang tot alle geavanceerde Dota 2-statistieken die door het OpenDota-platform worden aangeboden. Krijg toegang tot prestatiegrafieken, heatmaps, woordwolken en meer. Ga gratis aan de slag.", "api_title": "De OpenDota-API", "api_subtitle": "Ontwikkel verder op het OpenDota-platform. Breng je app geavanceerde statistieken en je gebruikers diepe inzichten.", "api_details_free_tier": "Free Tier", "api_details_premium_tier": "Premium Tier", "api_details_price": "Prijs", "api_details_price_free": "Gratis", "api_details_price_prem": "$price per $unit aanroepen", "api_details_key_required": "Sleutel vereist?", "api_details_key_required_free": "Nee", "api_details_key_required_prem": "Ja - betaalmethode vereist", "api_details_call_limit": "Aanroeplimiet", "api_details_call_limit_free": "$limit per maand", "api_details_call_limit_prem": "Onbeperkt", "api_details_rate_limit": "Aanroeplimiet", "api_details_rate_limit_val": "$num aanroepen per minuut", "api_details_support": "Ondersteuning", "api_details_support_free": "Communityondersteuning via de Discord-server", "api_details_support_prem": "Ondersteuning met prioriteit van de ontwikkelaars", "api_get_key": "Get my key", "api_docs": "Documentatie lezen", "api_header_details": "Details", "api_charging": "Er wordt $cost per aanroep in rekening gebracht, afgerond op hele centen.", "api_credit_required": "Om een API-sleutel te krijgen is een gekoppelde betaalmethode vereist. We zullen verschuldigde kosten automatisch aan het begin van de maand bij de kaart in rekening brengen.", "api_failure": "Vijfhonderd fouten tellen niet als gebruik, aangezien wij dan iets enorm fout hebben gedaan!", "api_error": "Er is een fout bij het verzoek opgetreden. Probeer het opnieuw. Neem contact op met support@opendota.com als deze melding aanhoudt.", "api_login": "Log in voor toegang tot de API-sleutel", "api_update_billing": "Update billing method", "api_delete": "Sleutel verwijderen", "api_key_usage": "Voeg $param toe als zoekparameter aan je API-verzoek om je sleutel te gebruiken:", "api_billing_cycle": "De huidige factureringscyclus eindigt op $date.", "api_billed_to": "We'll automatically bill the $brand ending in $last4.", "api_support": "Ondersteuning nodig? Stuur dan een e-mail naar $email.", "api_header_usage": "Je gebruik", "api_usage_calls": "Aantal API-aanroepen", "api_usage_fees": "Geschatte kosten", "api_month": "Maand", "api_header_key": "Je sleutel", "api_header_table": "Ga gratis aan de slag. Blijf doorgaan tegen een belachelijk lage prijs.", "app_name": "OpenDota", "app_language": "Taal", "app_localization": "Lokalisatie", "app_description": "Open source Dota 2 data platform", "app_about": "Over", "app_privacy_terms": "Privacy en voorwaarden", "app_api_docs": "API-documentatie", "app_blog": "Blog", "app_translate": "Vertalen", "app_donate": "Doneren", "app_gravitech": "Een site van Gravitech LLC", "app_powered_by": "mogelijk gemaakt door", "app_donation_goal": "Maandelijkse donatiedoel", "app_sponsorship": "Uw sponsoring maakt de service gratis voor iedereen.", "app_twitter": "Volg ons op Twitter", "app_github": "Broncode op GitHub", "app_discord": "Chat op Discord", "app_steam_profile": "Steam-profiel", "app_confirmed_as": "Bevestigd als", "app_untracked": "Deze gebruiker heeft een tijdje niet de website bezocht en herhalingen van nieuwe wedstrijden zullen niet automatisch worden verwerkt.", "app_tracked": "Deze gebruiker heeft recentelijk de website bezocht en herhalingen van nieuwe wedstrijden zullen automatisch worden verwerkt.", "app_cheese_bought": "Kaas gekocht", "app_contributor": "Deze gebruiker heeft bijgedragen aan de ontwikkeling van het OpenDota-project", "app_dotacoach": "Raadpleeg een coach", "app_pvgna": "Gids zoeken", "app_pvgna_alt": "Dota 2-gids op Pvgna zoeken", "app_rivalry": "Wedden op professionele wedstrijden", "app_rivalry_team": "Wedden op {0} wedstrijden", "app_refresh": "Vernieuw match geschiedenis: Plan een scan om de door privacy settings ontbrekende matches te zoeken", "app_refresh_label": "Vernieuwen", "app_login": "Inloggen", "app_logout": "Uitloggen", "app_results": "resultaat/resultaten", "app_report_bug": "Bug melden", "app_pro_players": "Pro Spelers", "app_public_players": "Publieke Spelers", "app_my_profile": "Mijn profiel", "barracks_value_1": "Dire Onder Melee", "barracks_value_2": "Dire Onder Ranged", "barracks_value_4": "Dire Midden Melee", "barracks_value_8": "Dire Midden Ranged", "barracks_value_16": "Dire Boven Melee", "barracks_value_32": "Dire Boven Ranged", "barracks_value_64": "Radiant Beneden Melee", "barracks_value_128": "Radiant Beneden Ranged", "barracks_value_256": "Radiant Midden Melee", "barracks_value_512": "Radiant Midden Ranged", "barracks_value_1024": "Radiant Boven Melee", "barracks_value_2048": "Radiant Boven Ranged", "benchmarks_description": "{0} {1} is gelijk aan of hoger dan {2}% van de recente prestaties met deze held", "fantasy_description": "{0} voor {1} punten", "building_melee_rax": "Melee Barracks", "building_range_rax": "Ranged Barracks", "building_lasthit": "kreeg de last hit", "building_damage": "ontvangen schade", "building_hint": "Iconen op de map hebben werktips", "building_denied": "afgewezen", "building_ancient": "Ancient", "CHAT_MESSAGE_TOWER_KILL": "Toren", "CHAT_MESSAGE_BARRACKS_KILL": "Barakken", "CHAT_MESSAGE_ROSHAN_KILL": "Roshan", "CHAT_MESSAGE_AEGIS": "Heeft de Aegis opgepakt", "CHAT_MESSAGE_FIRSTBLOOD": "Eerste slachtoffer", "CHAT_MESSAGE_TOWER_DENY": "Toren Geweigerd", "CHAT_MESSAGE_AEGIS_STOLEN": "Heeft de Aegis gestolen", "CHAT_MESSAGE_DENIED_AEGIS": "Aegis geweigerd", "distributions_heading_ranks": "Rang Divisie Distributie", "distributions_heading_mmr": "Solo MMR Verdeling", "distributions_heading_country_mmr": "Gemiddelde solo-MMR per land", "distributions_tab_ranks": "Rank Divisie", "distributions_tab_mmr": "Solo-MMR", "distributions_tab_country_mmr": "Solo-MMR per land", "distributions_warning_1": "Deze dataset is gelimiteerd tot spelers die MMR op hun profiel laten zien en openbare spel gegevens delen.", "distributions_warning_2": "Spelers hoeven niet in te loggen, maar dee data wordt op opt-in basis verzameld. Hierdoor zijn gemiddelden waarschijnlijk hoger dan verwacht.", "error": "Fout", "error_message": "Oeps! Er is iets misgegaan.", "error_four_oh_four_message": "De opgevraagde pagina kan niet gevonden worden.", "explorer_title": "Data Verkenner", "explorer_subtitle": "Statistieken van professioneel Dota 2", "explorer_description": "Voer geavanceerde zoekopdrachten uit op professionele wedstrijden (exclusief amateurcompetities)", "explorer_schema": "Schema", "explorer_results": "Resultaten", "explorer_num_rows": "rij(en)", "explorer_select": "Selecteer", "explorer_group_by": "Sorteren op", "explorer_hero": "Held", "explorer_patch": "Patch", "explorer_min_patch": "Min. patch", "explorer_max_patch": "Max. patch", "explorer_min_mmr": "Min. MMR", "explorer_max_mmr": "Max. MMR", "explorer_min_rank_tier": "Minimale Divisie", "explorer_max_rank_tier": "Maximale Divisie", "explorer_player": "Speler", "explorer_league": "Competitie", "explorer_player_purchased": "Speler gekocht", "explorer_duration": "Duur", "explorer_min_duration": "Min. duur", "explorer_max_duration": "Max. duur", "explorer_timing": "Timing", "explorer_uses": "Gebruikt", "explorer_kill": "Kill Time", "explorer_side": "Kant", "explorer_toggle_sql": "Toggle SQL", "explorer_team": "Huidig team", "explorer_lane_role": "Pad", "explorer_min_date": "Min. datum", "explorer_max_date": "Max. datum", "explorer_hero_combos": "Hero Combos", "explorer_hero_player": "Held-Speler", "explorer_player_player": "Speler-Speler", "explorer_sql": "SQL", "explorer_postgresql_function": "PostgreSQL-functie", "explorer_table": "Tabel", "explorer_column": "Kolom", "explorer_query_button": "Table", "explorer_cancel_button": "Annuleren", "explorer_table_button": "Tabel", "explorer_api_button": "API", "explorer_json_button": "JSON", "explorer_csv_button": "CSV", "explorer_donut_button": "Donut", "explorer_bar_button": "Staaf", "explorer_timeseries_button": "Tijdserie", "explorer_chart_unavailable": "Grafiek niet beschikbaar, probeer een GROUP BY toe te voegen", "explorer_value": "Waarde", "explorer_category": "Categorie", "explorer_region": "Regio", "explorer_picks_bans": "Gekozen/Verbannen", "explorer_counter_picks_bans": "Tegen Gekozen/Verbannen", "explorer_organization": "Organisatie", "explorer_order": "Volgorde", "explorer_asc": "Oplopend", "explorer_desc": "Aflopend", "explorer_tier": "Divisie", "explorer_having": "Minimaal deze hoeveelheid spellen", "explorer_limit": "Limiet", "explorer_match": "Spel", "explorer_is_ti_team": "Is een TI{number}-team", "explorer_mega_comeback": "Gewonnen tegen megacreeps", "explorer_max_gold_adv": "Max. goudvoordeel", "explorer_min_gold_adv": "Min. goudvoordeel", "farm_heroes": "Helden gedood", "farm_creeps": "Pad monsters gedood", "farm_neutrals": "Neutrale monsters gedood (inclusief Ancients)", "farm_ancients": "Ancient-creeps gedood", "farm_towers": "Torens vernietigd", "farm_couriers": "Koeriers gedood", "farm_observers": "Observers vernietigd", "farm_sentries": "Sentry's vernietigd", "farm_roshan": "Roshans verslagen", "farm_necronomicon": "Necronomicon-eenheden gedood", "filter_button_text_open": "Filteren", "filter_button_text_close": "Sluiten", "filter_hero_id": "Held", "filter_is_radiant": "Kant", "filter_win": "Resultaat", "filter_lane_role": "Pad", "filter_patch": "Patch", "filter_game_mode": "Spelmodus", "filter_lobby_type": "Lobby Type", "filter_date": "Datum", "filter_region": "Regio", "filter_with_hero_id": "Geallieerde helden", "filter_against_hero_id": "Opposing Heroes", "filter_included_account_id": "Ingesloten account-ID", "filter_excluded_account_id": "Uitgesloten account-ID", "filter_significant": "Irrevelant", "filter_significant_include": "Insluiten", "filter_last_week": "Afgelopen week", "filter_last_month": "Afgelopen maand", "filter_last_3_months": "Afgelopen 3 maanden", "filter_last_6_months": "Afgelopen 6 maanden", "filter_error": "Selecteer een item uit de keuzelijst", "filter_party_size": "Groepsgrootte", "game_mode_0": "Onbekend", "game_mode_1": "Kies een held", "game_mode_2": "Aanvoerdersmodus", "game_mode_3": "Willekeurige trekking", "game_mode_4": "Enkele trekking", "game_mode_5": "Alles willekeurig", "game_mode_6": "Introductie", "game_mode_7": "Diretide", "game_mode_8": "Omgekeerde aanvoerdersmodus", "game_mode_9": "De Greeviling", "game_mode_10": "Tutorial", "game_mode_11": "Alleen midden", "game_mode_12": "Minst gespeeld", "game_mode_13": "Beperkte helden", "game_mode_14": "Compendium", "game_mode_15": "Aangepast", "game_mode_16": "Aanvoerderstrekking", "game_mode_17": "Gebalanceerde trekking", "game_mode_18": "Vaardigheidstrekking", "game_mode_19": "Evenement", "game_mode_20": "Willekeurige deathmatch", "game_mode_21": "1v1 Solo Mid", "game_mode_22": "All Draft", "game_mode_23": "Turbo", "game_mode_24": "Mutatie", "general_unknown": "Onbekend", "general_no_hero": "Geen held", "general_anonymous": "Anoniem", "general_radiant": "Radiant", "general_dire": "Dire", "general_standard_deviation": "Standaardafwijking", "general_matches": "Spellen", "general_league": "Competitie", "general_randomed": "Willekeurig gekozen", "general_repicked": "Opn. gekozen", "general_predicted_victory": "Overwinning voorspeld", "general_show": "Weergeven", "general_hide": "Verbergen", "gold_reasons_0": "Overig", "gold_reasons_1": "Dood", "gold_reasons_2": "Terugkopen", "NULL_gold_reasons_5": "Verlaten", "NULL_gold_reasons_6": "Verkopen", "gold_reasons_11": "Gebouw", "gold_reasons_12": "Held", "gold_reasons_13": "Creep", "gold_reasons_14": "Roshan", "NULL_gold_reasons_15": "Koerier", "header_request": "Verzoek", "header_distributions": "Rangen", "header_heroes": "Helden", "header_blog": "Blog", "header_ingame": "In spel", "header_matches": "Spellen", "header_records": "Records", "header_explorer": "Verkenner", "header_teams": "Teams", "header_meta": "Meta", "header_scenarios": "Scenario's", "header_api": "API", "heading_lhten": "Last Hits @ 10", "heading_lhtwenty": "Last Hits @ 20", "heading_lhthirty": "Laatste Hits @ 30", "heading_lhforty": "Laatste Hits @ 40", "heading_lhfifty": "Laatste Hits @ 50", "heading_courier": "Koerier", "heading_roshan": "Roshan", "heading_tower": "Toren", "heading_barracks": "Barakken", "heading_shrine": "Altaar", "heading_item_purchased": "Item gekocht", "heading_ability_used": "Vaardigheid gebruikt", "heading_item_used": "Item gebruikt", "heading_damage_inflictor": "Damage Inflictor", "heading_damage_inflictor_received": "Damage Inflictor Received", "heading_damage_instances": "Damage Instances", "heading_camps_stacked": "Kampen gestackt", "heading_matches": "Recente spellen", "heading_heroes": "Gespeelde helden", "heading_mmr": "MMR-geschiedenis", "heading_peers": "Players Played With", "heading_pros": "Pro Players Played With", "heading_rankings": "Heldklassementen", "heading_all_matches": "In alle spellen", "heading_parsed_matches": "In geanalyseerde spellen", "heading_records": "Records", "heading_teamfights": "Teamfights", "heading_graph_difference": "Radiant-voordeel", "heading_graph_gold": "Goud", "heading_graph_xp": "Ervaring", "heading_graph_lh": "Laatste treffers", "heading_overview": "Overzicht", "heading_ability_draft": "Gekozen vaardigheden", "heading_buildings": "Gebouwenkaart", "heading_benchmarks": "Benchmarks", "heading_laning": "Laning", "heading_overall": "Overall", "heading_kills": "Kills", "heading_deaths": "Deaths", "heading_assists": "Assists", "heading_damage": "Schade", "heading_unit_kills": "Unit Kills", "heading_last_hits": "Laatste treffers", "heading_gold_reasons": "Goudbronnen", "heading_xp_reasons": "XP-bronnen", "heading_performances": "Prestaties", "heading_support": "Support", "heading_purchase_log": "Purchase Log", "heading_casts": "Spreuken", "heading_objective_damage": "Objective Damage", "heading_runes": "Runes", "heading_vision": "Zicht", "heading_actions": "Acties", "heading_analysis": "Analyse", "heading_cosmetics": "Cosmetics", "heading_log": "Logboek", "heading_chat": "Chat", "heading_story": "Verhaal", "heading_fantasy": "Fantasy", "heading_wardmap": "Wardkaart", "heading_wordcloud": "Woordwolk", "heading_wordcloud_said": "Words said (all chat)", "heading_wordcloud_read": "Words read (all chat)", "heading_kda": "KDA", "heading_gold_per_min": "Goud per min.", "heading_xp_per_min": "XP per min.", "heading_denies": "Afwijzingen", "heading_lane_efficiency_pct": "EFF@10", "heading_duration": "Duur", "heading_level": "Level", "heading_hero_damage": "Schade aan helden", "heading_tower_damage": "Schade aan torens", "heading_hero_healing": "Hero Healing", "heading_tower_kills": "Tower Kills", "heading_stuns": "Verlammingen", "heading_neutral_kills": "Neutral Kills", "heading_courier_kills": "Courier Kills", "heading_purchase_tpscroll": "TP's gekocht", "heading_purchase_ward_observer": "Observers gekocht", "heading_purchase_ward_sentry": "Sentry's gekocht", "heading_purchase_gem": "Gems gekocht", "heading_purchase_rapier": "Rapiers gekocht", "heading_pings": "Kaartpings", "heading_throw": "Throw", "heading_comeback": "Comeback", "heading_stomp": "Stomp", "heading_loss": "Nederlaag", "heading_actions_per_min": "Acties per minuut", "heading_leaver_status": "Leaver Status", "heading_game_mode": "Spelmodus", "heading_lobby_type": "Lobby Type", "heading_lane_role": "Lane Role", "heading_region": "Regio", "heading_patch": "Patch", "heading_win_rate": "Win Rate", "heading_is_radiant": "Kant", "heading_avg_and_max": "Gemiddelden/maxima", "heading_total_matches": "Totaal aantal spellen", "heading_median": "Mediaan", "heading_distinct_heroes": "Onderscheidende helden", "heading_team_elo_rankings": "Elo-klassementen team", "heading_ability_build": "Vaardigheidsbuild", "heading_attack": "Basisaanval", "heading_attack_range": "Aanvalsbereik", "heading_attack_speed": "Aanvalssnelheid", "heading_projectile_speed": "Projectielsnelheid", "heading_base_health": "Gezondheid", "heading_base_health_regen": "Gezondheidsherstel", "heading_base_mana": "Mana", "heading_base_mana_regen": "Manaherstel", "heading_base_armor": "Basispantser", "heading_base_mr": "Magieweerstand", "heading_move_speed": "Bewegingssnelheid", "heading_turn_rate": "Draaisnelheid", "heading_legs": "Aantal benen", "heading_cm_enabled": "CM enabled", "heading_current_players": "Huidige spelers", "heading_former_players": "Voormalige spelers", "heading_damage_dealt": "Damage Dealt", "heading_damage_received": "Damage Received", "show_details": "Details tonen", "hide_details": "Details verbergen", "subheading_avg_and_max": "in last {0} displayed matches", "subheading_records": "In ranked matches. Records reset monthly.", "subheading_team_elo_rankings": "k=32, init=1000", "hero_pro_tab": "Professioneel", "hero_public_tab": "Openbaar", "hero_pro_heading": "Helden in professionele spellen", "hero_public_heading": "Helden in openbare spellen (steekproef)", "hero_this_month": "spellen in afgelopen 30 dagen", "hero_pick_ban_rate": "Pro P+B%", "hero_pick_rate": "Pro Pick%", "hero_ban_rate": "Pro Ban%", "hero_win_rate": "Pro Win%", "hero_5000_pick_rate": ">5K P%", "hero_5000_win_rate": ">5K W%", "hero_4000_pick_rate": "4K P%", "hero_4000_win_rate": "4K W%", "hero_3000_pick_rate": "3K P%", "hero_3000_win_rate": "3K W%", "hero_2000_pick_rate": "2K P%", "hero_2000_win_rate": "2K W%", "hero_1000_pick_rate": "<2K P%", "hero_1000_win_rate": "<2K W%", "home_login": "Inloggen", "home_login_desc": "for automatic replay parsing", "home_parse": "Request", "home_parse_desc": "a specific match", "home_why": "", "home_opensource_title": "Open Source", "home_opensource_desc": "Alle projectcode is open source en beschikbaar voor bijdragers om te verbeteren en aan te passen.", "home_indepth_title": "In-Depth Data", "home_indepth_desc": "Parsing replay files provides highly detailed match data.", "home_free_title": "Kosteloos", "home_free_desc": "De servers worden door sponsors gefinancierd en de code wordt door vrijwilligers onderhouden. De dienst kan zo gratis worden aangeboden.", "home_background_by": "Achtergrondafbeelding door", "home_sponsored_by": "Gesponsord door", "home_become_sponsor": "Sponsor worden", "items_name": "Itemnaam", "items_built": "Number of times this item was built", "items_matches": "Number of matches where this item was built", "items_uses": "Number of times this item was used", "items_uses_per_match": "Mean number of times this item was used in matches where it was built", "items_timing": "Mean time this item was built at", "items_build_pct": "Percentage of matches this item was built in", "items_win_pct": "Percentage of matches won where this item was built", "lane_role_0": "Onbekend", "lane_role_1": "Safe", "lane_role_2": "Mid", "lane_role_3": "Off", "lane_role_4": "Jungle", "lane_pos_1": "Bot", "lane_pos_2": "Mid", "lane_pos_3": "Top", "lane_pos_4": "Radiant Jungle", "lane_pos_5": "Dire Jungle", "leaver_status_0": "Geen", "leaver_status_1": "Veilig verlaten", "leaver_status_2": "Verlaten (DC)", "leaver_status_3": "Verlaten", "leaver_status_4": "Verlaten (AFK)", "leaver_status_5": "Nooit verbonden", "leaver_status_6": "Nooit verbonden (time-out)", "lobby_type_0": "Normaal", "lobby_type_1": "Oefenen", "lobby_type_2": "Toernooi", "lobby_type_3": "Tutorial", "lobby_type_4": "Co-Op Bots", "lobby_type_5": "Ranked Team MM (Legacy)", "lobby_type_6": "Ranked Solo MM (Legacy)", "lobby_type_7": "Ranked", "lobby_type_8": "1v1 Mid", "lobby_type_9": "Battle Cup", "match_radiant_win": "Radiant Victory", "match_dire_win": "Dire Victory", "match_team_win": "Victory", "match_ended": "Ended", "match_id": "Spel-ID", "match_region": "Regio", "match_avg_mmr": "Gem. MMR", "match_button_parse": "Parse", "match_button_reparse": "Re-parse", "match_button_replay": "Herhaling", "match_button_video": "Video ophalen", "match_first_tower": "Eerste toren", "match_first_barracks": "Eerste barakken", "match_pick": "Pick", "match_ban": "Ban", "matches_highest_mmr": "Top Public", "matches_lowest_mmr": "Lage MMR", "meta_title": "Meta", "meta_description": "Run advanced queries on data from sampled public matches in previous 24h", "mmr_not_up_to_date": "Waarom is de MMR niet up-to-date?", "npc_dota_beastmaster_boar_#": "Boar", "npc_dota_lesser_eidolon": "Lesser Eidolon", "npc_dota_eidolon": "Eidolon", "npc_dota_greater_eidolon": "Greater Eidolon", "npc_dota_dire_eidolon": "Dire Eidolon", "npc_dota_invoker_forged_spirit": "Forged Spirit", "npc_dota_furion_treant_large": "Greater Treant", "npc_dota_beastmaster_hawk_#": "Hawk", "npc_dota_lycan_wolf#": "Lycan Wolf", "npc_dota_neutral_mud_golem_split_doom": "Doom Shard", "npc_dota_broodmother_spiderling": "Spiderling", "npc_dota_broodmother_spiderite": "Spiderite", "npc_dota_furion_treant": "Treant", "npc_dota_unit_undying_zombie": "Undying Zombie", "npc_dota_unit_undying_zombie_torso": "Undying Zombie", "npc_dota_brewmaster_earth_#": "Earth Brewling", "npc_dota_brewmaster_fire_#": "Fire Brewling", "npc_dota_lone_druid_bear#": "Spirit Bear", "npc_dota_brewmaster_storm_#": "Storm Brewling", "npc_dota_visage_familiar#": "Familiar", "npc_dota_warlock_golem_#": "Warlock Golem", "npc_dota_warlock_golem_scepter_#": "Warlock Golem", "npc_dota_witch_doctor_death_ward": "Death Ward", "npc_dota_tusk_frozen_sigil#": "Frozen Sigil", "npc_dota_juggernaut_healing_ward": "Healing Ward", "npc_dota_techies_land_mine": "Proximity Mine", "npc_dota_shadow_shaman_ward_#": "Serpent Ward", "npc_dota_pugna_nether_ward_#": "Nether Ward", "npc_dota_venomancer_plague_ward_#": "Plague Ward", "npc_dota_rattletrap_cog": "Power Cog", "npc_dota_templar_assassin_psionic_trap": "Psionic Trap", "npc_dota_techies_remote_mine": "Remote Mine", "npc_dota_techies_stasis_trap": "Stasis Trap", "npc_dota_phoenix_sun": "Supernova", "npc_dota_unit_tombstone#": "Tombstone", "npc_dota_treant_eyes": "Eyes in the Forest", "npc_dota_gyrocopter_homing_missile": "Homing Missile", "npc_dota_weaver_swarm": "The Swarm", "objective_tower1_top": "T1", "objective_tower1_mid": "M1", "objective_tower1_bot": "B1", "objective_tower2_top": "T2", "objective_tower2_mid": "M2", "objective_tower2_bot": "B2", "objective_tower3_top": "T3", "objective_tower3_mid": "M3", "objective_tower3_bot": "B3", "objective_rax_top": "RaxT", "objective_rax_mid": "RaxM", "objective_rax_bot": "RaxB", "objective_tower4": "T4", "objective_fort": "Anc", "objective_shrine": "Altaar", "objective_roshan": "Rosh", "tooltip_objective_tower1_top": "Damage dealt to top Tier 1 tower", "tooltip_objective_tower1_mid": "Damage dealt to middle Tier 1 tower", "tooltip_objective_tower1_bot": "Damage dealt to bottom Tier 1 tower", "tooltip_objective_tower2_top": "Damage dealt to top Tier 2 tower", "tooltip_objective_tower2_mid": "Damage dealt to middle Tier 2 tower", "tooltip_objective_tower2_bot": "Damage dealt to bottom Tier 2 tower", "tooltip_objective_tower3_top": "Damage dealt to top Tier 3 tower", "tooltip_objective_tower3_mid": "Damage dealt to middle Tier 3 tower", "tooltip_objective_tower3_bot": "Damage dealt to bottom Tier 3 tower", "tooltip_objective_rax_top": "Damage dealt to top barracks", "tooltip_objective_rax_mid": "Damage dealt to middle barracks", "tooltip_objective_rax_bot": "Damage dealt to bottom barracks", "tooltip_objective_tower4": "Damage dealt to middle Tier 4 towers", "tooltip_objective_fort": "Damage dealt to ancient", "tooltip_objective_shrine": "Damage dealt to shrines", "tooltip_objective_roshan": "Damage dealt to Roshan", "pagination_first": "Eerste", "pagination_last": "Laatste", "pagination_of": "van", "peers_none": "This player has no peers.", "rank_tier_0": "Niet gekalibreerd", "rank_tier_1": "Herald", "rank_tier_2": "Guardian", "rank_tier_3": "Crusader", "rank_tier_4": "Archon", "rank_tier_5": "Legend", "rank_tier_6": "Ancient", "rank_tier_7": "Divine", "rank_tier_8": "Immortal", "request_title": "Request a Parse", "request_match_id": "Spel-ID", "request_invalid_match_id": "Ongeldig spel-ID", "request_error": "Spelgegevens ophalen mislukt", "request_submit": "Verzenden", "roaming": "Roaming", "rune_0": "Double Damage", "rune_1": "Haste", "rune_2": "Illusion", "rune_3": "Invisibility", "rune_4": "Regeneration", "rune_5": "Bounty", "rune_6": "Arcane", "rune_7": "Water", "search_title": "Search by player name, match ID...", "skill_0": "Unknown Skill", "skill_1": "Normal Skill", "skill_2": "High Skill", "skill_3": "Very High Skill", "story_invalid_template": "(ongeldig sjabloon)", "story_error": "Er is een fout opgetreden bij het samenstellen van het verhaal voor dit spel", "story_intro": "on {date}, two teams decided to play {game_mode_article} {game_mode} game of Dota 2 in {region}. Little did they know, the game would last {duration_in_words}", "story_invalid_hero": "Niet-herkende held", "story_fullstop": ".", "story_list_2": "{1} en {2}", "story_list_3": "{1}, {2} en {3}", "story_list_n": "{i}, {rest}", "story_firstblood": "first blood was drawn when {killer} killed {victim} at {time}", "story_chatmessage": "\"{message}\", {said_verb} {player}", "story_teamfight": "{winning_team} won a teamfight by trading {win_dead} for {lose_dead}, resulting in a net worth increase of {net_change}", "story_teamfight_none_dead": "{winning_team} won a teamfight by killing {lose_dead} without losing any heroes, resulting in a net worth increase of {net_change}", "story_teamfight_none_dead_loss": "{winning_team} somehow won a teamfight without killing anyone, and losing {win_dead}, resulting in a net worth increase of {net_change}", "story_lane_intro": "At 10 minutes into the game, the lanes had gone as follows:", "story_lane_radiant_win": "{radiant_players} won {lane} Lane against {dire_players}", "story_lane_radiant_lose": "{radiant_players} lost {lane} Lane to {dire_players}", "story_lane_draw": "{radiant_players} drew even in {lane} Lane with {dire_players}", "story_lane_free": "{players} had a free {lane} lane", "story_lane_empty": "there was nobody in {lane} lane", "story_lane_jungle": "{players} farmed the jungle", "story_lane_roam": "{players} roamde(n)", "story_roshan": "{team} killed Roshan", "story_aegis": "{player} {action} de Aegis", "story_gameover": "The match ended in a {winning_team} victory at {duration} with a score of {radiant_score} to {dire_score}", "story_during_teamfight": "tijdens het gevecht {events}", "story_after_teamfight": "na het gevecht {events}", "story_expensive_item": "at {time}, {player} purchased {item}, which was the first item in the game with a price greater than {price_limit}", "story_building_destroy": "{building} was destroyed", "story_building_destroy_player": "{player} destroyed {building}", "story_building_deny_player": "{player} denied {building}", "story_building_list_destroy": "{buildings} were destroyed", "story_courier_kill": "{team}'s courier was killed", "story_tower": "{team}'s Tier {tier} {lane} tower", "story_tower_simple": "een van de torens van {team}", "story_towers_n": "{n} van de torens van {team}", "story_barracks": "{team}'s {lane} {rax_type}", "story_barracks_both": "both of {team}'s {lane} Barracks", "story_time_marker": "{minutes} Minutes In", "story_item_purchase": "{player} purchased a {item} at {time}", "story_predicted_victory": "{players} voorspelde(n) dat {team} zou winnen", "story_predicted_victory_empty": "Niemand", "story_networth_diff": "{percent}% / {gold} Diff", "story_gold": "goud", "story_chat_asked": "vroeg", "story_chat_said": "zei", "tab_overview": "Overzicht", "tab_matches": "Spellen", "tab_heroes": "Helden", "tab_peers": "Medespelers", "tab_pros": "Pro's", "tab_activity": "Activiteit", "tab_records": "Records", "tab_totals": "Totaal", "tab_counts": "Aantal", "tab_histograms": "Histogrammen", "tab_trends": "Trends", "tab_items": "Items", "tab_wardmap": "Wardkaart", "tab_wordcloud": "Woordwolk", "tab_mmr": "MMR", "tab_rankings": "Klassement", "tab_drafts": "Opstelling", "tab_benchmarks": "Benchmarks", "tab_performances": "Prestaties", "tab_damage": "Schade", "tab_purchases": "Aankopen", "tab_farm": "Farm", "tab_combat": "Combat", "tab_graphs": "Grafieken", "tab_casts": "Spreuken", "tab_vision": "Zicht", "tab_objectives": "Doelen", "tab_teamfights": "Teamgevechten", "tab_actions": "Acties", "tab_analysis": "Analyse", "tab_cosmetics": "Cosmetics", "tab_log": "Logboek", "tab_chat": "Chat", "tab_story": "Verhaal", "tab_fantasy": "Fantasy", "tab_laning": "Laning", "tab_recent": "Recent", "tab_matchups": "Match-ups", "tab_durations": "Duur", "tab_players": "Spelers", "placeholder_filter_heroes": "Helden filteren", "td_win": "Spel gewonnen", "td_loss": "Spel verloren", "td_no_result": "Geen resultaat", "th_hero_id": "Held", "th_match_id": "ID", "th_account_id": "Account-ID", "th_result": "Resultaat", "th_skill": "Skill", "th_duration": "Duur", "th_games": "MP", "th_games_played": "Spellen", "th_win": "Win %", "th_advantage": "Voordeel", "th_with_games": "Met", "th_with_win": "Win with %", "th_against_games": "Tegen", "th_against_win": "Win against %", "th_gpm_with": "GPM met", "th_xpm_with": "XPM met", "th_avatar": "Speler", "th_last_played": "Laatste", "th_record": "Record", "th_title": "Titel", "th_category": "Categorie", "th_matches": "Spellen", "th_percentile": "Percentiel", "th_rank": "Rang", "th_items": "Items", "th_stacked": "Gestackt", "th_multikill": "Multikill", "th_killstreak": "Killstreak", "th_stuns": "Verlammingen", "th_dead": "Dood", "th_buybacks": "Buybacks", "th_biggest_hit": "Biggest Hit", "th_lane": "Lane", "th_map": "Kaart", "th_lane_efficiency": "EFF@10", "th_lhten": "LT@10", "th_dnten": "AFW@10", "th_tpscroll": "TP", "th_ward_observer": "Observer", "th_ward_sentry": "Sentry", "th_smoke_of_deceit": "Smoke", "th_dust": "Dust", "th_gem": "Gem", "th_time": "Tijd", "th_message": "Bericht", "th_heroes": "Helden", "th_creeps": "Creeps", "th_neutrals": "Neutrals", "th_ancients": "Ancients", "th_towers": "Torens", "th_couriers": "Koeriers", "th_roshan": "Roshan", "th_necronomicon": "Necronomicon", "th_other": "Other", "th_cosmetics": "Cosmetics", "th_damage_received": "Ontvangen", "th_damage_dealt": "Gedaan", "th_players": "Spelers", "th_analysis": "Analyse", "th_death": "Dood", "th_damage": "Schade", "th_healing": "Genezing", "th_gold": "G", "th_xp": "XP", "th_abilities": "Vaardigheden", "th_target_abilities": "Ability Targets", "th_mmr": "MMR", "th_level": "LVL", "th_kills": "K", "th_kills_per_min": "KPM", "th_deaths": "D", "th_assists": "A", "th_last_hits": "LT", "th_last_hits_per_min": "LHM", "th_denies": "AFW", "th_gold_per_min": "GPM", "th_xp_per_min": "XPM", "th_stuns_per_min": "SPM", "th_hero_damage": "HS", "th_hero_damage_per_min": "HSM", "th_hero_healing": "HG", "th_hero_healing_per_min": "HGM", "th_tower_damage": "TS", "th_tower_damage_per_min": "TSM", "th_kda": "KDA", "th_actions_per_min": "APM", "th_pings": "PNG (M)", "th_DOTA_UNIT_ORDER_MOVE_TO_POSITION": "MV (P)", "th_DOTA_UNIT_ORDER_MOVE_TO_TARGET": "MV (T)", "th_DOTA_UNIT_ORDER_ATTACK_TARGET": "ATK (T)", "th_DOTA_UNIT_ORDER_ATTACK_MOVE": "ATK (P)", "th_DOTA_UNIT_ORDER_CAST_POSITION": "CST (P)", "th_DOTA_UNIT_ORDER_CAST_TARGET": "CST (T)", "th_DOTA_UNIT_ORDER_CAST_NO_TARGET": "CST (N)", "th_DOTA_UNIT_ORDER_HOLD_POSITION": "HLD", "th_DOTA_UNIT_ORDER_GLYPH": "GLYPH", "th_DOTA_UNIT_ORDER_RADAR": "SCN", "th_ability_builds": "VO", "th_purchase_shorthand": "PUR", "th_use_shorthand": "USE", "th_duration_shorthand": "DUUR", "th_country": "Land", "th_count": "Aantal", "th_sum": "Sum", "th_average": "Gemiddelde", "th_name": "Naam", "th_team_name": "Teamnaam", "th_score": "Score", "th_casts": "Spreuken", "th_hits": "Slagen", "th_wins": "Gewonnen", "th_losses": "Verloren", "th_winrate": "Winratio", "th_solo_mmr": "Solo-MMR", "th_party_mmr": "Groeps-MMR", "th_estimated_mmr": "Geschatte MMR", "th_permanent_buffs": "Buffs", "th_winner": "Winnaar", "th_played_with": "Mijn record met", "th_obs_placed": "Observer Wards Placed", "th_sen_placed": "Sentry Wards Placed", "th_obs_destroyed": "Observer Wards Destroyed", "th_sen_destroyed": "Sentry Wards Destroyed", "th_scans_used": "Scans Used", "th_glyphs_used": "Glyphs Used", "th_legs": "Benen", "th_fantasy_points": "Fantasy Pts", "th_rating": "Beoordeling", "th_teamfight_participation": "Deelname", "th_firstblood_claimed": "Eerste slachtoffer", "th_observers_placed": "Observers", "th_camps_stacked": "Stacks", "th_league": "Competitie", "th_attack_type": "Attack Type", "th_primary_attr": "Primair attribuut", "th_opposing_team": "Opposing Team", "ward_log_type": "Soort", "ward_log_owner": "Eigenaar", "ward_log_entered_at": "Geplaatst", "ward_log_left_at": "Resterend", "ward_log_duration": "Levensduur", "ward_log_killed_by": "Vernietigd door", "log_detail": "Details", "log_heroes": "Specify Heroes", "tier_professional": "Professioneel", "tier_premium": "Premium", "time_past": "{0} geleden", "time_just_now": "zojuist", "time_s": "een seconde", "time_abbr_s": "{0}s", "time_ss": "{0} seconden", "time_abbr_ss": "{0}s", "time_m": "een minuut", "time_abbr_m": "{0}m", "time_mm": "{0} minuten", "time_abbr_mm": "{0}m", "time_h": "een uur", "time_abbr_h": "{0}u", "time_hh": "{0} uur", "time_abbr_hh": "{0}u", "time_d": "een dag", "time_abbr_d": "{0}d", "time_dd": "{0} dagen", "time_abbr_dd": "{0}d", "time_M": "een maand", "time_abbr_M": "{0}mnd", "time_MM": "{0} maanden", "time_abbr_MM": "{0}mnd", "time_y": "een jaar", "time_abbr_y": "{0}j", "time_yy": "{0} jaar", "time_abbr_yy": "{0}j", "timeline_firstblood": "drew first blood", "timeline_firstblood_key": "drew first blood by killing", "timeline_aegis_picked_up": "picked up", "timeline_aegis_snatched": "snatched", "timeline_aegis_denied": "afgewezen", "timeline_teamfight_deaths": "Deaths", "timeline_teamfight_gold_delta": "goudverschil", "title_default": "OpenDota - Dota 2-statistieken", "title_template": "%s - OpenDota - Dota 2-statistieken", "title_matches": "Matches", "title_request": "Request a Parse", "title_search": "Zoeken", "title_status": "Status", "title_explorer": "Data Verkenner", "title_meta": "Meta", "title_records": "Records", "title_api": "De OpenDota-API: Geavanceerde Dota 2-statistieken voor je app", "tooltip_mmr": "Solo MMR of the player", "tooltip_abilitydraft": "Gekozen vaardigheid", "tooltip_level": "Level achieved by hero", "tooltip_kills": "Number of kills by hero", "tooltip_deaths": "Number of deaths by hero", "tooltip_assists": "Number of assists by hero", "tooltip_last_hits": "Number of last hits by hero", "tooltip_denies": "Number of denied creeps", "tooltip_gold": "Total gold farmed", "tooltip_gold_per_min": "Gold farmed per minute", "tooltip_xp_per_min": "Experience gained per minute", "tooltip_stuns_per_min": "Seconds of hero stuns per minute", "tooltip_last_hits_per_min": "Laatste treffers per minuut", "tooltip_kills_per_min": "Kills per minute", "tooltip_hero_damage_per_min": "Hero damage per minute", "tooltip_hero_healing_per_min": "Hero healing per minute", "tooltip_tower_damage_per_min": "Tower damage per minute", "tooltip_actions_per_min": "Actions performed by player per minute", "tooltip_hero_damage": "Amount of damage dealt to heroes", "tooltip_tower_damage": "Amount of damage dealt to towers", "tooltip_hero_healing": "Amount of health restored to heroes", "tooltip_duration": "De spelduur", "tooltip_first_blood_time": "The time first blood occurred", "tooltip_kda": "(Kills + Assists) / (Deaths + 1)", "tooltip_stuns": "Seconds of disable on heroes", "tooltip_dead": "Time dead", "tooltip_buybacks": "Number of buybacks", "tooltip_camps_stacked": "Kampen gestackt", "tooltip_tower_kills": "Aantal vernietigde torens", "tooltip_neutral_kills": "Aantal gedode neutrale creeps", "tooltip_courier_kills": "Aantal gedode koeriers", "tooltip_purchase_tpscroll": "Gekochte Town Portal Scrolls", "tooltip_purchase_ward_observer": "Gekochte Observer Wards", "tooltip_purchase_ward_sentry": "Gekochte Sentry Wards", "tooltip_purchase_smoke_of_deceit": "Gekochte Smoke of Deceits", "tooltip_purchase_dust": "Gekochte Dust of Appearances", "tooltip_purchase_gem": "Gekochte Gem of True Sights", "tooltip_purchase_rapier": "Gekochte Divine Rapiers", "tooltip_purchase_buyback": "Keren teruggekocht", "tooltip_duration_observer": "Gemiddelde levensduur van Observer Wards", "tooltip_duration_sentry": "Gemiddelde levensduur van Sentry Wards", "tooltip_used_ward_observer": "Number of Observer Wards placed during the game", "tooltip_used_ward_sentry": "Number of Sentry Wards placed during the game", "tooltip_used_dust": "Number of times Dust of Appearance was used during the game", "tooltip_used_smoke_of_deceit": "Number of times Smoke of Deceit was used during the game", "tooltip_parsed": "Replay has been parsed for additional data", "tooltip_unparsed": "The replay for this match has not yet been parsed. Not all data may be available.", "tooltip_hero_id": "De gespeelde held", "tooltip_result": "Of de speler heeft gewonnen of verloren", "tooltip_match_id": "De ID van het spel", "tooltip_game_mode": "De spelmodus van het spel", "tooltip_skill": "Approximate MMR cutoffs for the brackets are 0, 3200 and 3700", "tooltip_ended": "The time the match ended", "tooltip_pick_order": "Order in which the player picked", "tooltip_throw": "Maximum gold advantage in a lost game", "tooltip_comeback": "Maximum gold disadvantage in a won game", "tooltip_stomp": "Maximum gold advantage in a won game", "tooltip_loss": "Maximum gold disadvantage in a lost game", "tooltip_items": "Items built", "tooltip_permanent_buffs": "Permanente buffs, zoals Flesh Heap-ladingen of gebruikte Tomes of Knowledge", "tooltip_lane": "Lane based on early game position", "tooltip_map": "Heatmap van de positie van de speler vroeg in het spel", "tooltip_lane_efficiency": "Percentage of lane gold (creeps+passive+starting) obtained at 10 minutes", "tooltip_lane_efficiency_pct": "Percentage of lane gold (creeps+passive+starting) obtained at 10 minutes", "tooltip_pings": "Number of times the player pinged the map", "tooltip_DOTA_UNIT_ORDER_MOVE_TO_POSITION": "Number of times the player moved to a position", "tooltip_DOTA_UNIT_ORDER_MOVE_TO_TARGET": "Number of times the player moved to a target", "tooltip_DOTA_UNIT_ORDER_ATTACK_MOVE": "Number of times the player attacked a position (attack move)", "tooltip_DOTA_UNIT_ORDER_ATTACK_TARGET": "Number of times the player attacked a target", "tooltip_DOTA_UNIT_ORDER_CAST_POSITION": "Number of times the player cast on a position", "tooltip_DOTA_UNIT_ORDER_CAST_TARGET": "Number of times the player cast on a target", "tooltip_DOTA_UNIT_ORDER_CAST_NO_TARGET": "Number of times the player cast on no target", "tooltip_DOTA_UNIT_ORDER_HOLD_POSITION": "Number of times the player held position", "tooltip_DOTA_UNIT_ORDER_GLYPH": "Number of times the player used the glyph", "tooltip_DOTA_UNIT_ORDER_RADAR": "Number of times the player used scan", "tooltip_last_played": "The last time a match was played with this player/hero", "tooltip_matches": "Matches played with/against this player", "tooltip_played_as": "Number of games played as this hero", "tooltip_played_with": "Number of games with this player/hero on the team", "tooltip_played_against": "Number of games with this player/hero on the opposing team", "tooltip_tombstone_victim": "Hier ligt", "tooltip_tombstone_killer": "gedood door", "tooltip_win_pct_as": "Winstpercentage als deze held", "tooltip_win_pct_with": "Winstpercentage met deze speler/held", "tooltip_win_pct_against": "Winstpercentage tegen deze speler/held", "tooltip_lhten": "Laatste treffers na 10 minuten", "tooltip_dnten": "Afwijzingen na 10 minuten", "tooltip_biggest_hit": "Largest instance of damage on a hero", "tooltip_damage_dealt": "Damage dealt to heroes by items/abilities", "tooltip_damage_received": "Damage received from heroes by items/abilities", "tooltip_registered_user": "Geregistreerde gebruiker", "tooltip_ability_builds": "Vaardigheidsbuilds", "tooltip_ability_builds_expired": "Ability upgrade data has expired for this match. Use the request form to reload data.", "tooltip_multikill": "Langste multikill", "tooltip_killstreak": "Langste killstreak", "tooltip_casts": "Number of times this ability/item was cast", "tooltip_target_abilities": "How many times each hero was targeted by this hero's abilities", "tooltip_hits": "Number of damage instances to heroes caused by this ability/item", "tooltip_damage": "Amount of damage dealt to heroes by this ability/item", "tooltip_autoattack_other": "Autom. aanval/Anders", "tooltip_estimated_mmr": "MMR-schatting op basis van de gemiddelde zichtbare MMR van de door deze gebruiker gespeelde recente spellen", "tooltip_backpack": "Rugzak", "tooltip_others_tracked_deaths": "tracked deaths", "tooltip_others_track_gold": "gold earned from Track", "tooltip_others_greevils_gold": "gold earned from Greevil's Greed", "tooltip_advantage": "Berekend met de Wilson-score", "tooltip_winrate_samplesize": "Win rate and sample size", "tooltip_teamfight_participation": "Amount of participation in teamfights", "histograms_name": "Histogrammen", "histograms_description": "Percentages indicate win rates for the labeled bin", "histograms_actions_per_min_description": "Actions performed by player per minute", "histograms_comeback_description": "Maximum gold disadvantage in a won game", "histograms_lane_efficiency_pct_description": "Percentage of lane gold (creeps+passive+starting) obtained at 10 minutes", "histograms_gold_per_min_description": "Gold farmed per minute", "histograms_hero_damage_description": "Amount of damage dealt to heroes", "histograms_hero_healing_description": "Amount of health restored to heroes", "histograms_level_description": "Level achieved in a game", "histograms_loss_description": "Maximum gold disadvantage in a lost game", "histograms_pings_description": "Number of times the player pinged the map", "histograms_stomp_description": "Maximum gold advantage in a won game", "histograms_stuns_description": "Seconds of disable on heroes", "histograms_throw_description": "Maximum gold advantage in a lost game", "histograms_purchase_tpscroll_description": "Town Portal Scroll purchases", "histograms_xp_per_min_description": "Experience gained per minute", "trends_name": "Trends", "trends_description": "Voortschrijdend gemiddelde van de laatste 20 spellen", "trends_tooltip_average": "Gem.", "trends_no_data": "Sorry, er zijn geen gegevens voor deze grafiek", "xp_reasons_0": "Overig", "xp_reasons_1": "Held", "xp_reasons_2": "Creep", "xp_reasons_3": "Roshan", "rankings_description": "", "rankings_none": "This player is not ranked on any heroes.", "region_0": "Automatisch", "region_1": "VS (westen)", "region_2": "VS (oosten)", "region_3": "Luxemburg", "region_5": "Singapore", "region_6": "Dubai", "region_7": "Australië", "region_8": "Stockholm", "region_9": "Oostenrijk", "region_10": "Brazilië", "region_11": "Zuid-Afrika", "region_12": "China TC Shanghai", "region_13": "China UC", "region_14": "Chili", "region_15": "Peru", "region_16": "India", "region_17": "China TC Guangdong", "region_18": "China TC Zhejiang", "region_19": "Japan", "region_20": "China TC Wuhan", "region_25": "China UC 2", "vision_expired": "Verlopen na", "vision_destroyed": "Vernietigd na", "vision_all_time": "All time", "vision_placed_observer": "plaatste een Observer op", "vision_placed_sentry": "plaatste een Sentry op", "vision_ward_log": "Wardlogboek", "chat_category_faction": "Factie", "chat_category_type": "Soort", "chat_category_target": "Doel", "chat_category_other": "Overig", "chat_filter_text": "Tekst", "chat_filter_phrases": "Uitdrukkingen", "chat_filter_audio": "Audio", "chat_filter_spam": "Spam", "chat_filter_all": "Iedereen", "chat_filter_allies": "Team", "chat_filter_spectator": "Toeschouwer", "chat_filtered": "Gefilterd", "advb_almost": "bijna", "advb_over": "meer dan", "advb_about": "ongeveer", "article_before_consonant_sound": "een", "article_before_vowel_sound": "een", "statement_long": "hypothesised", "statement_shouted": "schreeuwde", "statement_excited": "riep", "statement_normal": "zei", "statement_laughed": "lachte", "question_long": "raised, in need of answers", "question_shouted": "inquired", "question_excited": "interrogated", "question_normal": "vroeg", "question_laughed": "laughed mockingly", "statement_response_long": "adviseerde", "statement_response_shouted": "responded in frustration", "statement_response_excited": "riep", "statement_response_normal": "antwoordde", "statement_response_laughed": "lachte", "statement_continued_long": "ranted", "statement_continued_shouted": "continued furiously", "statement_continued_excited": "continued", "statement_continued_normal": "added", "statement_continued_laughed": "continued", "question_response_long": "advised", "question_response_shouted": "asked back, out of frustration", "question_response_excited": "disputed", "question_response_normal": "countered", "question_response_laughed": "lachte", "question_continued_long": "propositioned", "question_continued_shouted": "asked furiously", "question_continued_excited": "lovingly asked", "question_continued_normal": "vroeg", "question_continued_laughed": "asked joyfully", "hero_disclaimer_pro": "Gegevens van professionele spellen", "hero_disclaimer_public": "Gegevens van openbare spellen", "hero_duration_x_axis": "Minuten", "top_tower": "Bovenste toren", "bot_tower": "Onderste toren", "mid_tower": "Middelste toren", "top_rax": "Bovenste barakken", "bot_rax": "Onderste barakken", "mid_rax": "Middelste barakken", "tier1": "Tier 1", "tier2": "Tier 2", "tier3": "Tier 3", "tier4": "Tier 4", "show_consumables_items": "Show consumables", "activated": "Geactiveerd", "rune": "Rune", "placement": "Plaatsing", "exclude_turbo_matches": "Turbo-spellen uitsluiten", "scenarios_subtitle": "Explore win rates of combinations of factors that happen in matches", "scenarios_info": "Data compiled from matches in the last {0} weeks", "scenarios_item_timings": "Item Timings", "scenarios_misc": "Overig", "scenarios_time": "Tijd", "scenarios_item": "Item", "scenarios_game_duration": "Spelduur", "scenarios_scenario": "Scenario", "scenarios_first_blood": "Team drew First Blood", "scenarios_courier_kill": "Team sniped the enemy courier before the 3-minute mark", "scenarios_pos_chat_1min": "Team all chatted positive words before the 1-minute mark", "scenarios_neg_chat_1min": "Team all chatted negative words before the 1-minute mark", "gosu_default": "Get personal recommendations", "gosu_benchmarks": "Krijg gedetailleerde benchmarks voor je held, pad en rol", "gosu_performances": "Get your map control performance", "gosu_laning": "Get why you missed last hits", "gosu_combat": "Get why kills attempts were unsuccessful", "gosu_farm": "Get why you missed last hits", "gosu_vision": "Get how many heroes were killed under your wards", "gosu_actions": "Get your lost time from mouse usage vs hotkeys", "gosu_teamfights": "Get who to target during teamfights", "gosu_analysis": "Get your real MMR bracket", "back2Top": "Terug naar boven", "activity_subtitle": "Click on a day for detailed information" }
odota/web/src/lang/nl-NL.json/0
{ "file_path": "odota/web/src/lang/nl-NL.json", "repo_id": "odota", "token_count": 19724 }
260
import { formActions } from '../actions/formActions'; const initialFormState = { show: false, }; export default (state = initialFormState, action) => { switch (action.type) { case formActions.TOGGLE_SHOW_FORM: return { ...state, show: !state.show, }; default: return state; } };
odota/web/src/reducers/form.js/0
{ "file_path": "odota/web/src/reducers/form.js", "repo_id": "odota", "token_count": 136 }
261
{ "match_id": 2472899185, "barracks_status_dire": 0, "barracks_status_radiant": 63, "chat": [ { "time": 10, "type": "chat", "unit": "{{ChoÇhi}}", "key": "lol", "slot": 6, "player_slot": 129 }, { "time": 12, "type": "chat", "unit": "Sugoii", "key": "te la creiste we :'v", "slot": 0, "player_slot": 0 }, { "time": 652, "type": "chat", "unit": "MATPRO", "key": "XQ ?", "slot": 9, "player_slot": 132 }, { "time": 823, "type": "chat", "unit": "{{ChoÇhi}}", "key": "q mas ez ranked querian", "slot": 6, "player_slot": 129 }, { "time": 924, "type": "chat", "unit": "{{ChoÇhi}}", "key": "wtf jjajajajaja", "slot": 6, "player_slot": 129 }, { "time": 1003, "type": "chat", "unit": "{{ChoÇhi}}", "key": "lol", "slot": 6, "player_slot": 129 }, { "time": 1017, "type": "chat", "unit": "{{ChoÇhi}}", "key": "que risa chch q mas quieren ç", "slot": 6, "player_slot": 129 }, { "time": 1381, "type": "chat", "unit": "{{ChoÇhi}}", "key": "lol", "slot": 6, "player_slot": 129 }, { "time": 1481, "type": "chat", "unit": "{{ChoÇhi}}", "key": "gg ", "slot": 6, "player_slot": 129 }, { "time": 1496, "type": "chat", "unit": "{{ChoÇhi}}", "key": "q mas ranked querian lol", "slot": 6, "player_slot": 129 }, { "time": 1623, "type": "chat", "unit": "FatMickey(Road to 3k)", "key": "gg wp", "slot": 1, "player_slot": 1 }, { "time": 1626, "type": "chat", "unit": "{{ChoÇhi}}", "key": "yep", "slot": 6, "player_slot": 129 }, { "time": 1627, "type": "chat", "unit": "avant gardener", "key": "gg", "slot": 4, "player_slot": 4 }, { "time": 1630, "type": "chat", "unit": "Sugoii", "key": "gg wp comend me pls", "slot": 0, "player_slot": 0 }, { "time": 1631, "type": "chat", "unit": "{{ChoÇhi}}", "key": "ESPECTRE PROP", "slot": 6, "player_slot": 129 }, { "time": 1637, "type": "chat", "unit": "{{ChoÇhi}}", "key": "URSA NOB", "slot": 6, "player_slot": 129 }, { "time": 1638, "type": "chat", "unit": "{{ChoÇhi}}", "key": "GO VS", "slot": 6, "player_slot": 129 }, { "time": 1644, "type": "chat", "unit": "Sugoii", "key": "go", "slot": 0, "player_slot": 0 } ], "cluster": 122, "cosmetics": null, "dire_score": 10, "dire_team_id": null, "draft_timings": null, "duration": 1626, "engine": 1, "first_blood_time": 134, "game_mode": 22, "human_players": 10, "leagueid": 0, "lobby_type": 7, "match_seq_num": 2162140715, "negative_votes": 0, "objectives": [ { "time": 135, "type": "CHAT_MESSAGE_FIRSTBLOOD", "value": 373, "player1": 6, "player2": 0, "slot": 6, "player_slot": 129 }, { "time": 724, "type": "CHAT_MESSAGE_TOWER_KILL", "value": 2, "player1": 1, "player2": -1, "team": 2, "slot": 1, "player_slot": 1 }, { "time": 817, "type": "CHAT_MESSAGE_TOWER_KILL", "value": 2, "player1": 2, "player2": -1, "team": 2, "slot": 2, "player_slot": 2 }, { "time": 941, "type": "CHAT_MESSAGE_TOWER_KILL", "value": 2, "player1": 1, "player2": -1, "team": 2, "slot": 1, "player_slot": 1 }, { "time": 1062, "type": "CHAT_MESSAGE_ROSHAN_KILL", "value": 200, "player1": 2, "player2": -1, "team": 2 }, { "time": 1062, "type": "CHAT_MESSAGE_AEGIS", "value": 0, "player1": 0, "player2": -1, "slot": 0, "player_slot": 0 }, { "time": 1197, "type": "CHAT_MESSAGE_TOWER_KILL", "value": 2, "player1": 1, "player2": -1, "team": 2, "slot": 1, "player_slot": 1 }, { "time": 1265, "type": "CHAT_MESSAGE_TOWER_KILL", "value": 2, "player1": 1, "player2": -1, "team": 2, "slot": 1, "player_slot": 1 }, { "time": 1327, "type": "CHAT_MESSAGE_TOWER_KILL", "value": 2, "player1": -1, "player2": -1, "team": 2, "slot": -1 }, { "time": 1354, "type": "CHAT_MESSAGE_BARRACKS_KILL", "value": 32, "player1": 0, "player2": -1, "key": "32" }, { "time": 1375, "type": "CHAT_MESSAGE_BARRACKS_KILL", "value": 16, "player1": -1, "player2": -1, "key": "16" }, { "time": 1422, "type": "CHAT_MESSAGE_TOWER_KILL", "value": 2, "player1": 2, "player2": -1, "team": 2, "slot": 2, "player_slot": 2 }, { "time": 1458, "type": "CHAT_MESSAGE_TOWER_KILL", "value": 2, "player1": 1, "player2": -1, "team": 2, "slot": 1, "player_slot": 1 }, { "time": 1519, "type": "CHAT_MESSAGE_BARRACKS_KILL", "value": 4, "player1": 2, "player2": -1, "key": "4" }, { "time": 1525, "type": "CHAT_MESSAGE_BARRACKS_KILL", "value": 8, "player1": 2, "player2": -1, "key": "8" }, { "time": 1582, "type": "CHAT_MESSAGE_TOWER_KILL", "value": 2, "player1": 1, "player2": -1, "team": 2, "slot": 1, "player_slot": 1 }, { "time": 1587, "type": "CHAT_MESSAGE_BARRACKS_KILL", "value": 1, "player1": 1, "player2": -1, "key": "1" }, { "time": 1596, "type": "CHAT_MESSAGE_BARRACKS_KILL", "value": 2, "player1": 3, "player2": -1, "key": "2" }, { "time": 1602, "type": "CHAT_MESSAGE_TOWER_KILL", "value": 2, "player1": 2, "player2": -1, "team": 2, "slot": 2, "player_slot": 2 }, { "time": 1608, "type": "CHAT_MESSAGE_TOWER_KILL", "value": 2, "player1": 0, "player2": -1, "team": 2, "slot": 0, "player_slot": 0 } ], "picks_bans": null, "positive_votes": 0, "radiant_gold_adv": [ 0, 251, 400, -333, 313, 536, 545, 1645, 2992, 3233, 4423, 5490, 5965, 7673, 9262, 8719, 11470, 12943, 12958, 13965, 16789, 19817, 20965, 26540, 26965, 29676, 34702, 40296, 40296, 40296 ], "radiant_score": 45, "radiant_team_id": null, "radiant_win": true, "radiant_xp_adv": [ 0, -163, -57, -433, 49, 4, 16, 898, 1976, 2301, 3998, 5594, 6651, 7128, 7822, 7320, 9941, 12464, 11412, 13158, 16131, 20607, 20710, 25697, 25077, 27517, 30756, 31806, 31851, 31851 ], "skill": 1, "start_time": 1467319556, "teamfights": [ { "start": 120, "end": 160, "last_death": 145, "deaths": 3, "players": [ { "deaths_pos": { "92": { "170": 1 } }, "ability_uses": { "ursa_earthshock": 2 }, "item_uses": { "tpscroll": 1 }, "killed": {}, "deaths": 1, "buybacks": 0, "damage": 460, "healing": 0, "gold_delta": -59, "xp_delta": 22, "xp_start": 333, "xp_end": 355 }, { "deaths_pos": {}, "ability_uses": {}, "item_uses": {}, "killed": { "npc_dota_hero_spectre": 1 }, "deaths": 0, "buybacks": 0, "damage": 337, "healing": 0, "gold_delta": 323, "xp_delta": 382, "xp_start": 425, "xp_end": 807 }, { "deaths_pos": {}, "ability_uses": {}, "item_uses": {}, "killed": {}, "deaths": 0, "buybacks": 0, "damage": 187, "healing": 0, "gold_delta": 108, "xp_delta": 405, "xp_start": 720, "xp_end": 1035 }, { "deaths_pos": { "102": { "174": 1 } }, "ability_uses": { "slardar_sprint": 1, "slardar_slithereen_crush": 2 }, "item_uses": {}, "killed": {}, "deaths": 1, "buybacks": 0, "damage": 266, "healing": 0, "gold_delta": -59, "xp_delta": 67, "xp_start": 333, "xp_end": 400 }, { "deaths_pos": {}, "ability_uses": { "vengefulspirit_magic_missile": 1, "vengefulspirit_wave_of_terror": 1 }, "item_uses": {}, "killed": {}, "deaths": 0, "buybacks": 0, "damage": 95, "healing": 0, "gold_delta": 173, "xp_delta": 157, "xp_start": 155, "xp_end": 312 }, { "deaths_pos": {}, "ability_uses": { "pudge_meat_hook": 1, "pudge_rot": 12 }, "item_uses": { "bottle": 3 }, "killed": { "npc_dota_hero_slardar": 1 }, "deaths": 0, "buybacks": 0, "damage": 506, "healing": 270, "gold_delta": 457, "xp_delta": 315, "xp_start": 332, "xp_end": 647 }, { "deaths_pos": {}, "ability_uses": { "magnataur_skewer": 1, "magnataur_shockwave": 2 }, "item_uses": { "branches": 1, "tango": 1 }, "killed": { "npc_dota_hero_ursa": 1 }, "deaths": 0, "buybacks": 0, "damage": 201, "healing": 0, "gold_delta": 448, "xp_delta": 180, "xp_start": 345, "xp_end": 525 }, { "deaths_pos": {}, "ability_uses": {}, "item_uses": { "tango": 1 }, "killed": {}, "deaths": 0, "buybacks": 0, "damage": 0, "healing": 0, "gold_delta": 92, "xp_delta": 127, "xp_start": 607, "xp_end": 734 }, { "deaths_pos": { "178": { "98": 1 } }, "ability_uses": { "spectre_spectral_dagger": 1 }, "item_uses": { "tango": 1, "tpscroll": 1 }, "killed": {}, "deaths": 1, "buybacks": 0, "damage": 82, "healing": 0, "gold_delta": -19, "xp_delta": 45, "xp_start": 359, "xp_end": 404 }, { "deaths_pos": {}, "ability_uses": { "legion_commander_press_the_attack": 2 }, "item_uses": { "tango": 1 }, "killed": {}, "deaths": 0, "buybacks": 0, "damage": 0, "healing": 610, "gold_delta": 118, "xp_delta": 222, "xp_start": 380, "xp_end": 602 } ] }, { "start": 882, "end": 930, "last_death": 915, "deaths": 4, "players": [ { "deaths_pos": {}, "ability_uses": { "ursa_earthshock": 1, "ursa_overpower": 1 }, "item_uses": { "phase_boots": 5 }, "killed": { "npc_dota_hero_spectre": 1 }, "deaths": 0, "buybacks": 0, "damage": 505, "healing": 271, "gold_delta": 617, "xp_delta": 1037, "xp_start": 5933, "xp_end": 6970 }, { "deaths_pos": {}, "ability_uses": { "juggernaut_omni_slash": 1 }, "item_uses": { "phase_boots": 3 }, "killed": { "npc_dota_hero_shredder": 1 }, "deaths": 0, "buybacks": 0, "damage": 841, "healing": 0, "gold_delta": 712, "xp_delta": 811, "xp_start": 6847, "xp_end": 7658 }, { "deaths_pos": { "128": { "126": 1 } }, "ability_uses": { "invoker_tornado": 1, "invoker_quas": 2, "invoker_wex": 1, "invoker_invoke": 1, "invoker_ghost_walk": 1 }, "item_uses": { "phase_boots": 2 }, "killed": {}, "deaths": 1, "buybacks": 0, "damage": 916, "healing": 0, "gold_delta": -220, "xp_delta": 111, "xp_start": 5248, "xp_end": 5314 }, { "deaths_pos": {}, "ability_uses": { "slardar_slithereen_crush": 2, "slardar_sprint": 1, "slardar_amplify_damage": 1 }, "item_uses": { "blink": 1, "magic_stick": 2, "clarity": 1 }, "killed": { "npc_dota_hero_pudge": 1 }, "deaths": 0, "buybacks": 0, "damage": 731, "healing": 45, "gold_delta": 309, "xp_delta": 725, "xp_start": 3567, "xp_end": 4247 }, { "deaths_pos": {}, "ability_uses": { "vengefulspirit_nether_swap": 1, "vengefulspirit_magic_missile": 1, "vengefulspirit_wave_of_terror": 1 }, "item_uses": { "tpscroll": 1, "magic_wand": 1, "arcane_boots": 1 }, "killed": {}, "deaths": 0, "buybacks": 0, "damage": 385, "healing": 90, "gold_delta": 211, "xp_delta": 770, "xp_start": 3129, "xp_end": 3899 }, { "deaths_pos": { "116": { "116": 1 } }, "ability_uses": { "pudge_meat_hook": 1, "pudge_dismember": 1, "pudge_rot": 3 }, "item_uses": { "bottle": 1 }, "killed": {}, "deaths": 1, "buybacks": 0, "damage": 930, "healing": 104, "gold_delta": 11, "xp_delta": 306, "xp_start": 2925, "xp_end": 3231 }, { "deaths_pos": {}, "ability_uses": { "magnataur_shockwave": 2 }, "item_uses": { "blink": 1 }, "killed": {}, "deaths": 0, "buybacks": 0, "damage": 0, "healing": 0, "gold_delta": 190, "xp_delta": 485, "xp_start": 3053, "xp_end": 3493 }, { "deaths_pos": { "124": { "116": 1 } }, "ability_uses": { "shredder_chakram": 2, "shredder_return_chakram": 2 }, "item_uses": { "magic_wand": 1 }, "killed": { "npc_dota_hero_invoker": 1 }, "deaths": 1, "buybacks": 0, "damage": 404, "healing": 75, "gold_delta": 91, "xp_delta": 306, "xp_start": 4186, "xp_end": 4492 }, { "deaths_pos": { "126": { "158": 1 } }, "ability_uses": { "spectre_spectral_dagger": 1 }, "item_uses": { "iron_talon": 1 }, "killed": {}, "deaths": 1, "buybacks": 0, "damage": 77, "healing": 0, "gold_delta": -100, "xp_delta": 169, "xp_start": 2531, "xp_end": 2700 }, { "deaths_pos": {}, "ability_uses": { "legion_commander_press_the_attack": 1, "legion_commander_overwhelming_odds": 1 }, "item_uses": { "blink": 2 }, "killed": {}, "deaths": 0, "buybacks": 0, "damage": 294, "healing": 80, "gold_delta": 172, "xp_delta": 350, "xp_start": 4161, "xp_end": 4511 } ] }, { "start": 969, "end": 1025, "last_death": 1010, "deaths": 4, "players": [ { "deaths_pos": {}, "ability_uses": { "ursa_overpower": 2, "ursa_earthshock": 3, "ursa_enrage": 1 }, "item_uses": { "phase_boots": 4, "blink": 3, "tpscroll": 1 }, "killed": { "npc_dota_hero_legion_commander": 1, "npc_dota_hero_pudge": 1 }, "deaths": 0, "buybacks": 0, "damage": 1927, "healing": 350, "gold_delta": 722, "xp_delta": 892, "xp_start": 7643, "xp_end": 8535 }, { "deaths_pos": {}, "ability_uses": {}, "item_uses": { "phase_boots": 5 }, "killed": {}, "deaths": 0, "buybacks": 0, "damage": 0, "healing": 0, "gold_delta": 613, "xp_delta": 901, "xp_start": 7802, "xp_end": 8703 }, { "deaths_pos": {}, "ability_uses": { "invoker_tornado": 1, "invoker_quas": 5, "invoker_invoke": 2, "invoker_cold_snap": 2, "invoker_ghost_walk": 1, "invoker_wex": 13, "invoker_emp": 1 }, "item_uses": { "phase_boots": 4, "urn_of_shadows": 1 }, "killed": {}, "deaths": 0, "buybacks": 0, "damage": 815, "healing": 0, "gold_delta": 478, "xp_delta": 1167, "xp_start": 5539, "xp_end": 6706 }, { "deaths_pos": {}, "ability_uses": { "slardar_sprint": 2, "slardar_slithereen_crush": 2, "slardar_amplify_damage": 1 }, "item_uses": { "magic_stick": 2, "blink": 2 }, "killed": { "npc_dota_hero_magnataur": 1 }, "deaths": 0, "buybacks": 0, "damage": 290, "healing": 75, "gold_delta": 488, "xp_delta": 742, "xp_start": 4377, "xp_end": 5119 }, { "deaths_pos": { "142": { "136": 1 } }, "ability_uses": { "vengefulspirit_nether_swap": 1, "vengefulspirit_magic_missile": 1, "vengefulspirit_wave_of_terror": 1 }, "item_uses": { "arcane_boots": 1, "magic_wand": 1, "tpscroll": 1 }, "killed": {}, "deaths": 1, "buybacks": 0, "damage": 247, "healing": 15, "gold_delta": -239, "xp_delta": 0, "xp_start": 3899, "xp_end": 3899 }, { "deaths_pos": { "124": { "140": 1 } }, "ability_uses": { "pudge_meat_hook": 2, "pudge_dismember": 1, "pudge_rot": 9 }, "item_uses": { "bottle": 3 }, "killed": { "npc_dota_hero_vengefulspirit": 1 }, "deaths": 1, "buybacks": 0, "damage": 829, "healing": 119, "gold_delta": 142, "xp_delta": 332, "xp_start": 3231, "xp_end": 3563 }, { "deaths_pos": { "142": { "140": 1 } }, "ability_uses": {}, "item_uses": { "tome_of_knowledge": 1 }, "killed": {}, "deaths": 1, "buybacks": 0, "damage": 0, "healing": 0, "gold_delta": -124, "xp_delta": 757, "xp_start": 3718, "xp_end": 4475 }, { "deaths_pos": {}, "ability_uses": { "shredder_timber_chain": 3, "shredder_chakram": 3, "shredder_return_chakram": 5, "shredder_whirling_death": 1 }, "item_uses": { "bottle": 2, "arcane_boots": 1 }, "killed": {}, "deaths": 0, "buybacks": 0, "damage": 348, "healing": 91, "gold_delta": 290, "xp_delta": 512, "xp_start": 4537, "xp_end": 5049 }, { "deaths_pos": {}, "ability_uses": {}, "item_uses": { "iron_talon": 2 }, "killed": {}, "deaths": 0, "buybacks": 0, "damage": 0, "healing": 0, "gold_delta": 147, "xp_delta": 344, "xp_start": 2900, "xp_end": 3125 }, { "deaths_pos": { "130": { "128": 1 } }, "ability_uses": { "legion_commander_press_the_attack": 1 }, "item_uses": { "blink": 1 }, "killed": {}, "deaths": 1, "buybacks": 0, "damage": 0, "healing": 466, "gold_delta": -269, "xp_delta": 0, "xp_start": 4711, "xp_end": 4711 } ] }, { "start": 1146, "end": 1187, "last_death": 1172, "deaths": 3, "players": [ { "deaths_pos": {}, "ability_uses": { "ursa_earthshock": 2, "ursa_overpower": 1, "ursa_enrage": 1 }, "item_uses": { "tpscroll": 1, "phase_boots": 4, "blink": 3 }, "killed": { "npc_dota_hero_legion_commander": 1 }, "deaths": 0, "buybacks": 0, "damage": 1656, "healing": 237, "gold_delta": 450, "xp_delta": 840, "xp_start": 9311, "xp_end": 10151 }, { "deaths_pos": {}, "ability_uses": { "juggernaut_blade_fury": 1, "juggernaut_healing_ward": 1 }, "item_uses": { "phase_boots": 4 }, "killed": { "npc_dota_hero_pudge": 1 }, "deaths": 0, "buybacks": 0, "damage": 601, "healing": 0, "gold_delta": 589, "xp_delta": 434, "xp_start": 10634, "xp_end": 11068 }, { "deaths_pos": {}, "ability_uses": { "invoker_quas": 26, "invoker_wex": 2, "invoker_invoke": 2, "invoker_tornado": 1 }, "item_uses": { "urn_of_shadows": 2, "phase_boots": 3 }, "killed": {}, "deaths": 0, "buybacks": 0, "damage": 265, "healing": 628, "gold_delta": 0, "xp_delta": 119, "xp_start": 7647, "xp_end": 7766 }, { "deaths_pos": {}, "ability_uses": { "slardar_amplify_damage": 2, "slardar_sprint": 2, "slardar_slithereen_crush": 3 }, "item_uses": { "magic_wand": 2, "blink": 2 }, "killed": { "npc_dota_hero_shredder": 1 }, "deaths": 0, "buybacks": 0, "damage": 945, "healing": 105, "gold_delta": 591, "xp_delta": 1109, "xp_start": 5159, "xp_end": 6268 }, { "deaths_pos": {}, "ability_uses": { "vengefulspirit_wave_of_terror": 1 }, "item_uses": { "arcane_boots": 1, "magic_wand": 1, "ward_sentry": 1 }, "killed": {}, "deaths": 0, "buybacks": 0, "damage": 100, "healing": 45, "gold_delta": 196, "xp_delta": 759, "xp_start": 4387, "xp_end": 5146 }, { "deaths_pos": { "126": { "162": 1 } }, "ability_uses": { "pudge_meat_hook": 1, "pudge_rot": 3 }, "item_uses": {}, "killed": {}, "deaths": 1, "buybacks": 0, "damage": 39, "healing": 0, "gold_delta": -239, "xp_delta": 8, "xp_start": 4199, "xp_end": 4207 }, { "deaths_pos": {}, "ability_uses": { "magnataur_empower": 1, "magnataur_shockwave": 1 }, "item_uses": { "ward_dispenser": 1, "tango": 1, "ward_observer": 1, "blink": 1 }, "killed": {}, "deaths": 0, "buybacks": 0, "damage": 274, "healing": 0, "gold_delta": 100, "xp_delta": 8, "xp_start": 4626, "xp_end": 4634 }, { "deaths_pos": { "146": { "166": 1 } }, "ability_uses": { "shredder_chakram": 2, "shredder_return_chakram": 1, "shredder_whirling_death": 1, "shredder_timber_chain": 1 }, "item_uses": { "bottle": 3, "arcane_boots": 1 }, "killed": {}, "deaths": 1, "buybacks": 0, "damage": 779, "healing": 202, "gold_delta": -280, "xp_delta": 90, "xp_start": 5971, "xp_end": 6061 }, { "deaths_pos": {}, "ability_uses": { "spectre_spectral_dagger": 1 }, "item_uses": { "phase_boots": 4 }, "killed": {}, "deaths": 0, "buybacks": 0, "damage": 76, "healing": 0, "gold_delta": 43, "xp_delta": 82, "xp_start": 4149, "xp_end": 4231 }, { "deaths_pos": { "142": { "158": 1 } }, "ability_uses": { "legion_commander_overwhelming_odds": 2, "legion_commander_press_the_attack": 1 }, "item_uses": { "blink": 1 }, "killed": {}, "deaths": 1, "buybacks": 0, "damage": 92, "healing": 80, "gold_delta": -269, "xp_delta": 8, "xp_start": 5333, "xp_end": 5341 } ] }, { "start": 1219, "end": 1271, "last_death": 1256, "deaths": 4, "players": [ { "deaths_pos": {}, "ability_uses": { "ursa_overpower": 2, "ursa_earthshock": 4, "ursa_enrage": 1 }, "item_uses": { "phase_boots": 6, "blink": 2 }, "killed": { "npc_dota_hero_pudge": 1, "npc_dota_hero_legion_commander": 1, "npc_dota_hero_spectre": 1 }, "deaths": 0, "buybacks": 0, "damage": 3069, "healing": 338, "gold_delta": 1425, "xp_delta": 2183, "xp_start": 10510, "xp_end": 12693 }, { "deaths_pos": {}, "ability_uses": { "juggernaut_omni_slash": 1, "juggernaut_healing_ward": 1 }, "item_uses": { "phase_boots": 3 }, "killed": { "npc_dota_hero_shredder": 1 }, "deaths": 0, "buybacks": 0, "damage": 1051, "healing": 0, "gold_delta": 1457, "xp_delta": 1761, "xp_start": 11134, "xp_end": 12872 }, { "deaths_pos": {}, "ability_uses": { "invoker_wex": 5, "invoker_tornado": 1 }, "item_uses": { "phase_boots": 4 }, "killed": {}, "deaths": 0, "buybacks": 0, "damage": 0, "healing": 0, "gold_delta": 920, "xp_delta": 1031, "xp_start": 7967, "xp_end": 8998 }, { "deaths_pos": {}, "ability_uses": { "slardar_amplify_damage": 1 }, "item_uses": {}, "killed": {}, "deaths": 0, "buybacks": 0, "damage": 0, "healing": 0, "gold_delta": 428, "xp_delta": 452, "xp_start": 6334, "xp_end": 6763 }, { "deaths_pos": {}, "ability_uses": { "vengefulspirit_wave_of_terror": 2 }, "item_uses": { "ward_dispenser": 1, "arcane_boots": 1 }, "killed": {}, "deaths": 0, "buybacks": 0, "damage": 0, "healing": 0, "gold_delta": 240, "xp_delta": 149, "xp_start": 5212, "xp_end": 5361 }, { "deaths_pos": { "162": { "176": 1 } }, "ability_uses": { "pudge_rot": 12 }, "item_uses": {}, "killed": {}, "deaths": 1, "buybacks": 0, "damage": 429, "healing": 0, "gold_delta": -195, "xp_delta": 90, "xp_start": 4207, "xp_end": 4297 }, { "deaths_pos": {}, "ability_uses": { "magnataur_shockwave": 2, "magnataur_empower": 1 }, "item_uses": { "tome_of_knowledge": 1 }, "killed": {}, "deaths": 0, "buybacks": 0, "damage": 285, "healing": 0, "gold_delta": 0, "xp_delta": 455, "xp_start": 4812, "xp_end": 5267 }, { "deaths_pos": { "138": { "132": 1 } }, "ability_uses": { "shredder_chakram": 1, "shredder_return_chakram": 1 }, "item_uses": { "tpscroll": 1, "soul_ring": 1, "bottle": 1 }, "killed": {}, "deaths": 1, "buybacks": 0, "damage": 288, "healing": 1, "gold_delta": -289, "xp_delta": 45, "xp_start": 6061, "xp_end": 6106 }, { "deaths_pos": { "172": { "172": 1 } }, "ability_uses": { "spectre_spectral_dagger": 1 }, "item_uses": { "phase_boots": 4 }, "killed": {}, "deaths": 1, "buybacks": 0, "damage": 478, "healing": 0, "gold_delta": -239, "xp_delta": 140, "xp_start": 4231, "xp_end": 4371 }, { "deaths_pos": { "160": { "178": 1 } }, "ability_uses": { "legion_commander_press_the_attack": 1, "legion_commander_duel": 1 }, "item_uses": { "blade_mail": 1, "blink": 1 }, "killed": {}, "deaths": 1, "buybacks": 0, "damage": 395, "healing": 235, "gold_delta": -299, "xp_delta": 30, "xp_start": 5519, "xp_end": 5549 } ] }, { "start": 1296, "end": 1355, "last_death": 1340, "deaths": 6, "players": [ { "deaths_pos": { "164": { "172": 1 } }, "ability_uses": { "ursa_overpower": 3, "ursa_earthshock": 2, "ursa_enrage": 1 }, "item_uses": { "phase_boots": 4, "blink": 2 }, "killed": { "npc_dota_hero_magnataur": 1 }, "deaths": 1, "buybacks": 0, "damage": 2416, "healing": 227, "gold_delta": 1093, "xp_delta": 1158, "xp_start": 12848, "xp_end": 14004 }, { "deaths_pos": {}, "ability_uses": { "juggernaut_healing_ward": 1 }, "item_uses": { "phase_boots": 6 }, "killed": { "npc_dota_hero_shredder": 1 }, "deaths": 0, "buybacks": 0, "damage": 1153, "healing": 0, "gold_delta": 1159, "xp_delta": 950, "xp_start": 13105, "xp_end": 14053 }, { "deaths_pos": { "176": { "120": 1 } }, "ability_uses": { "invoker_tornado": 1, "invoker_quas": 5, "invoker_wex": 15, "invoker_invoke": 2, "invoker_ghost_walk": 1, "invoker_cold_snap": 1 }, "item_uses": { "phase_boots": 2, "urn_of_shadows": 1 }, "killed": {}, "deaths": 1, "buybacks": 0, "damage": 542, "healing": 0, "gold_delta": 173, "xp_delta": 425, "xp_start": 9268, "xp_end": 9693 }, { "deaths_pos": { "168": { "120": 1 } }, "ability_uses": { "slardar_sprint": 1, "slardar_slithereen_crush": 1, "slardar_amplify_damage": 1 }, "item_uses": { "blink": 1, "magic_wand": 1 }, "killed": { "npc_dota_hero_spectre": 1 }, "deaths": 1, "buybacks": 0, "damage": 606, "healing": 30, "gold_delta": 498, "xp_delta": 425, "xp_start": 6785, "xp_end": 7210 }, { "deaths_pos": {}, "ability_uses": { "vengefulspirit_wave_of_terror": 2, "vengefulspirit_magic_missile": 2 }, "item_uses": { "urn_of_shadows": 1 }, "killed": {}, "deaths": 0, "buybacks": 0, "damage": 587, "healing": 175, "gold_delta": 678, "xp_delta": 790, "xp_start": 5651, "xp_end": 6439 }, { "deaths_pos": {}, "ability_uses": { "pudge_rot": 15, "pudge_meat_hook": 2, "pudge_dismember": 1 }, "item_uses": { "bottle": 5, "tpscroll": 1, "magic_wand": 1 }, "killed": {}, "deaths": 0, "buybacks": 0, "damage": 1972, "healing": 484, "gold_delta": 291, "xp_delta": 523, "xp_start": 4475, "xp_end": 4954 }, { "deaths_pos": { "174": { "174": 1 } }, "ability_uses": { "magnataur_shockwave": 3, "magnataur_skewer": 1, "magnataur_empower": 1 }, "item_uses": { "blink": 1, "tpscroll": 1, "enchanted_mango": 1 }, "killed": { "npc_dota_hero_ursa": 1 }, "deaths": 1, "buybacks": 0, "damage": 1165, "healing": 0, "gold_delta": 536, "xp_delta": 1310, "xp_start": 5400, "xp_end": 6666 }, { "deaths_pos": { "158": { "176": 1 } }, "ability_uses": { "shredder_chakram": 3, "shredder_whirling_death": 3, "shredder_return_chakram": 5 }, "item_uses": { "arcane_boots": 1, "bottle": 1, "tpscroll": 1, "magic_wand": 1 }, "killed": {}, "deaths": 1, "buybacks": 0, "damage": 787, "healing": 286, "gold_delta": 647, "xp_delta": 1497, "xp_start": 6106, "xp_end": 7603 }, { "deaths_pos": { "174": { "124": 1 } }, "ability_uses": { "spectre_spectral_dagger": 1 }, "item_uses": { "phase_boots": 2 }, "killed": {}, "deaths": 1, "buybacks": 0, "damage": 296, "healing": 0, "gold_delta": -168, "xp_delta": 269, "xp_start": 4371, "xp_end": 4640 }, { "deaths_pos": {}, "ability_uses": { "legion_commander_press_the_attack": 2, "legion_commander_duel": 1, "legion_commander_overwhelming_odds": 2 }, "item_uses": { "tpscroll": 1, "blade_mail": 2, "blink": 2 }, "killed": { "npc_dota_hero_slardar": 1, "npc_dota_hero_invoker": 1 }, "deaths": 0, "buybacks": 0, "damage": 1534, "healing": 229, "gold_delta": 974, "xp_delta": 1236, "xp_start": 5549, "xp_end": 6785 } ] }, { "start": 1351, "end": 1414, "last_death": 1399, "deaths": 7, "players": [ { "deaths_pos": { "170": { "174": 1 } }, "ability_uses": { "ursa_overpower": 4, "ursa_earthshock": 4, "ursa_enrage": 1 }, "item_uses": { "phase_boots": 5, "blink": 2 }, "killed": { "npc_dota_hero_pudge": 2, "npc_dota_hero_legion_commander": 1 }, "deaths": 1, "buybacks": 0, "damage": 3803, "healing": 637, "gold_delta": 1327, "xp_delta": 2259, "xp_start": 14004, "xp_end": 16260 }, { "deaths_pos": {}, "ability_uses": { "juggernaut_blade_fury": 2, "juggernaut_omni_slash": 1, "juggernaut_healing_ward": 1 }, "item_uses": { "phase_boots": 5 }, "killed": { "npc_dota_hero_legion_commander": 1, "npc_dota_hero_spectre": 1, "npc_dota_hero_magnataur": 1 }, "deaths": 0, "buybacks": 0, "damage": 3826, "healing": 0, "gold_delta": 1652, "xp_delta": 2395, "xp_start": 14053, "xp_end": 16309 }, { "deaths_pos": {}, "ability_uses": {}, "item_uses": { "tpscroll": 1, "phase_boots": 3 }, "killed": {}, "deaths": 0, "buybacks": 0, "damage": 0, "healing": 0, "gold_delta": 740, "xp_delta": 495, "xp_start": 9693, "xp_end": 10188 }, { "deaths_pos": {}, "ability_uses": { "slardar_sprint": 2, "slardar_slithereen_crush": 1 }, "item_uses": { "blink": 2, "magic_wand": 1 }, "killed": {}, "deaths": 0, "buybacks": 0, "damage": 0, "healing": 10, "gold_delta": 868, "xp_delta": 540, "xp_start": 7210, "xp_end": 7750 }, { "deaths_pos": {}, "ability_uses": { "vengefulspirit_nether_swap": 1, "vengefulspirit_magic_missile": 2, "vengefulspirit_wave_of_terror": 2 }, "item_uses": { "urn_of_shadows": 5, "arcane_boots": 1, "magic_wand": 1, "smoke_of_deceit": 1 }, "killed": {}, "deaths": 0, "buybacks": 0, "damage": 825, "healing": 1518, "gold_delta": 1035, "xp_delta": 1815, "xp_start": 6439, "xp_end": 8252 }, { "deaths_pos": { "166": { "176": 1 }, "170": { "174": 1 } }, "ability_uses": { "pudge_meat_hook": 2, "pudge_rot": 5, "pudge_dismember": 1 }, "item_uses": { "magic_wand": 1, "bottle": 2 }, "killed": {}, "deaths": 2, "buybacks": 1, "damage": 1570, "healing": 233, "gold_delta": -1101, "xp_delta": 0, "xp_start": 4954, "xp_end": 4954 }, { "deaths_pos": { "170": { "176": 1 } }, "ability_uses": { "magnataur_reverse_polarity": 1, "magnataur_shockwave": 1, "magnataur_skewer": 1, "magnataur_empower": 1 }, "item_uses": { "blink": 1 }, "killed": {}, "deaths": 1, "buybacks": 1, "damage": 1614, "healing": 0, "gold_delta": -951, "xp_delta": 0, "xp_start": 6666, "xp_end": 6666 }, { "deaths_pos": {}, "ability_uses": { "shredder_chakram": 3, "shredder_whirling_death": 2, "shredder_return_chakram": 4, "shredder_timber_chain": 1 }, "item_uses": { "magic_wand": 1, "bottle": 10 }, "killed": { "npc_dota_hero_ursa": 1 }, "deaths": 0, "buybacks": 0, "damage": 840, "healing": 405, "gold_delta": 2105, "xp_delta": 2900, "xp_start": 7603, "xp_end": 10503 }, { "deaths_pos": { "168": { "174": 1 } }, "ability_uses": { "spectre_spectral_dagger": 1, "spectre_haunt": 1 }, "item_uses": { "phase_boots": 3 }, "killed": {}, "deaths": 1, "buybacks": 0, "damage": 724, "healing": 0, "gold_delta": -269, "xp_delta": 0, "xp_start": 4640, "xp_end": 4640 }, { "deaths_pos": { "164": { "172": 1 }, "166": { "174": 1 } }, "ability_uses": { "legion_commander_overwhelming_odds": 2, "legion_commander_press_the_attack": 2, "legion_commander_duel": 1 }, "item_uses": { "blade_mail": 1, "blink": 2 }, "killed": {}, "deaths": 2, "buybacks": 1, "damage": 2407, "healing": 480, "gold_delta": -1283, "xp_delta": 0, "xp_start": 6785, "xp_end": 6785 } ] }, { "start": 1594, "end": 1631, "last_death": 1616, "deaths": 3, "players": [ { "deaths_pos": {}, "ability_uses": { "ursa_overpower": 3, "ursa_earthshock": 1, "ursa_enrage": 1 }, "item_uses": { "phase_boots": 2, "blink": 2 }, "killed": { "npc_dota_hero_spectre": 1, "npc_dota_hero_legion_commander": 1 }, "deaths": 0, "buybacks": 0, "damage": 1795, "healing": 256, "gold_delta": 1575, "xp_delta": 821, "xp_start": 18096, "xp_end": 18912 }, { "deaths_pos": { "176": { "172": 1 } }, "ability_uses": { "juggernaut_blade_fury": 1 }, "item_uses": { "phase_boots": 1, "abyssal_blade": 1 }, "killed": {}, "deaths": 1, "buybacks": 0, "damage": 520, "healing": 0, "gold_delta": 216, "xp_delta": 19, "xp_start": 19421, "xp_end": 19439 }, { "deaths_pos": {}, "ability_uses": { "invoker_alacrity": 1, "invoker_wex": 2, "invoker_quas": 1, "invoker_invoke": 1 }, "item_uses": { "phase_boots": 2, "tpscroll": 1 }, "killed": {}, "deaths": 0, "buybacks": 0, "damage": 0, "healing": 0, "gold_delta": 951, "xp_delta": 103, "xp_start": 11446, "xp_end": 11545 }, { "deaths_pos": {}, "ability_uses": { "slardar_slithereen_crush": 1, "slardar_amplify_damage": 2, "slardar_sprint": 1 }, "item_uses": { "blink": 1, "armlet": 3 }, "killed": {}, "deaths": 0, "buybacks": 0, "damage": 629, "healing": 0, "gold_delta": 1240, "xp_delta": 930, "xp_start": 9283, "xp_end": 10210 }, { "deaths_pos": {}, "ability_uses": { "vengefulspirit_magic_missile": 1 }, "item_uses": { "arcane_boots": 1, "urn_of_shadows": 2 }, "killed": {}, "deaths": 0, "buybacks": 0, "damage": 0, "healing": 425, "gold_delta": 1011, "xp_delta": 805, "xp_start": 10532, "xp_end": 11333 }, { "deaths_pos": {}, "ability_uses": {}, "item_uses": {}, "killed": {}, "deaths": 0, "buybacks": 0, "damage": 0, "healing": 0, "gold_delta": 0, "xp_delta": 0, "xp_start": 5279, "xp_end": 5279 }, { "deaths_pos": {}, "ability_uses": { "magnataur_reverse_polarity": 1, "magnataur_skewer": 1, "magnataur_shockwave": 2, "magnataur_empower": 1 }, "item_uses": { "blink": 1 }, "killed": {}, "deaths": 0, "buybacks": 0, "damage": 1032, "healing": 0, "gold_delta": 1719, "xp_delta": 1423, "xp_start": 6814, "xp_end": 8237 }, { "deaths_pos": {}, "ability_uses": { "shredder_chakram": 1 }, "item_uses": {}, "killed": {}, "deaths": 0, "buybacks": 0, "damage": 0, "healing": 0, "gold_delta": 0, "xp_delta": 0, "xp_start": 11311, "xp_end": 11311 }, { "deaths_pos": { "178": { "170": 1 } }, "ability_uses": {}, "item_uses": {}, "killed": {}, "deaths": 1, "buybacks": 0, "damage": 647, "healing": 0, "gold_delta": 1098, "xp_delta": 1423, "xp_start": 4919, "xp_end": 6342 }, { "deaths_pos": { "178": { "170": 1 } }, "ability_uses": {}, "item_uses": {}, "killed": {}, "deaths": 1, "buybacks": 0, "damage": 453, "healing": 68, "gold_delta": 776, "xp_delta": 1423, "xp_start": 6996, "xp_end": 8419 } ] } ], "tower_status_dire": 0, "tower_status_radiant": 2047, "version": 16, "replay_salt": 406016431, "series_id": 0, "series_type": 0, "players": [ { "match_id": 2472899185, "player_slot": 0, "ability_targets": null, "ability_upgrades_arr": null, "ability_uses": { "ursa_earthshock": 38, "ursa_overpower": 32, "ursa_enrage": 9 }, "account_id": null, "actions": { "1": 2663, "2": 87, "3": 11, "4": 1655, "5": 35, "8": 405, "10": 139, "11": 19, "12": 1, "14": 2, "15": 10, "16": 37, "17": 1, "19": 8 }, "additional_units": null, "assists": 5, "backpack_0": 0, "backpack_1": 0, "backpack_2": 0, "buyback_log": [], "camps_stacked": null, "creeps_stacked": null, "damage": { "npc_dota_hero_shredder": 2812, "npc_dota_creep_badguys_melee": 22610, "npc_dota_hero_pudge": 3656, "npc_dota_creep_badguys_ranged": 8090, "npc_dota_creep_goodguys_melee": 552, "npc_dota_hero_magnataur": 4354, "npc_dota_badguys_siege": 2230, "npc_dota_hero_spectre": 4794, "npc_dota_neutral_centaur_outrunner": 1634, "npc_dota_hero_legion_commander": 7534, "npc_dota_badguys_tower1_top": 110, "npc_dota_neutral_polar_furbolg_ursa_warrior": 2237, "npc_dota_neutral_polar_furbolg_champion": 1498, "npc_dota_neutral_enraged_wildkin": 2269, "npc_dota_neutral_wildkin": 2138, "npc_dota_neutral_centaur_khan": 1164, "npc_dota_neutral_gnoll_assassin": 1663, "npc_dota_neutral_ogre_magi": 353, "npc_dota_neutral_ogre_mauler": 705, "npc_dota_neutral_dark_troll": 908, "npc_dota_neutral_dark_troll_warlord": 328, "illusion_npc_dota_hero_pudge": 831, "npc_dota_roshan": 9808, "illusion_npc_dota_hero_spectre": 1881, "npc_dota_neutral_black_drake": 1986, "npc_dota_neutral_black_dragon": 2206, "npc_dota_neutral_satyr_soulstealer": 1554, "npc_dota_neutral_satyr_trickster": 682, "npc_dota_neutral_mud_golem": 1625, "npc_dota_neutral_mud_golem_split": 1379, "npc_dota_badguys_tower3_top": 829, "npc_dota_badguys_range_rax_top": 525, "npc_dota_badguys_melee_rax_top": 533, "npc_dota_badguys_fillers": 380, "npc_dota_neutral_giant_wolf": 2327, "npc_dota_neutral_alpha_wolf": 1267, "npc_dota_badguys_tower3_bot": 277, "npc_dota_badguys_melee_rax_bot": 251, "npc_dota_badguys_tower4": 938, "npc_dota_badguys_fort": 862 }, "damage_inflictor": { "null": 17660, "ursa_earthshock": 5490 }, "damage_inflictor_received": { "pudge_rot": 971, "pudge_meat_hook": 529, "magnataur_skewer": 427, "magnataur_shockwave": 1691, "null": 1373, "magnataur_reverse_polarity": 140, "spectre_dispersion": 820, "spectre_spectral_dagger": 121, "shredder_whirling_death": 153, "shredder_chakram": 983, "spectre_desolate": 409, "shredder_timber_chain": 488, "legion_commander_overwhelming_odds": 463, "blade_mail": 488, "pudge_dismember": 232 }, "damage_taken": { "npc_dota_creep_badguys_melee": 523, "npc_dota_creep_badguys_ranged": 498, "npc_dota_hero_pudge": 1807, "npc_dota_badguys_tower1_top": 1539, "npc_dota_hero_magnataur": 2462, "npc_dota_hero_spectre": 1704, "npc_dota_hero_legion_commander": 1691, "npc_dota_badguys_siege": 85, "npc_dota_hero_shredder": 1624, "npc_dota_neutral_centaur_outrunner": 30, "npc_dota_neutral_polar_furbolg_ursa_warrior": 103, "npc_dota_neutral_polar_furbolg_champion": 212, "npc_dota_neutral_enraged_wildkin": 92, "npc_dota_neutral_wildkin": 86, "npc_dota_neutral_centaur_khan": 194, "npc_dota_neutral_gnoll_assassin": 89, "dota_unknown": 2, "npc_dota_neutral_ogre_mauler": 34, "npc_dota_neutral_ogre_magi": 23, "npc_dota_neutral_dark_troll_warlord": 138, "npc_dota_neutral_dark_troll": 49, "npc_dota_dark_troll_warlord_skeleton_warrior": 50, "npc_dota_roshan": 1593, "npc_dota_badguys_tower2_mid": 150, "npc_dota_neutral_black_drake": 65, "npc_dota_neutral_black_dragon": 463, "npc_dota_neutral_satyr_soulstealer": 90, "npc_dota_neutral_satyr_trickster": 27, "npc_dota_neutral_mud_golem": 124, "npc_dota_neutral_mud_golem_split": 83, "npc_dota_badguys_tower3_top": 437, "dota_fountain": 140, "npc_dota_neutral_giant_wolf": 84, "npc_dota_neutral_alpha_wolf": 33, "npc_dota_badguys_tower4": 1324 }, "damage_targets": null, "deaths": 2, "denies": 2, "dn_t": null, "firstblood_claimed": null, "gold": 3157, "gold_per_min": 697, "gold_reasons": { "0": 811, "1": -568, "6": 232, "11": 4169, "12": 6763, "13": 4882, "14": 200 }, "gold_spent": 16055, "gold_t": [ 0, 321, 591, 728, 996, 1178, 1393, 1739, 2411, 2551, 3337, 3859, 4268, 5281, 5816, 6086, 7111, 8021, 8321, 8748, 9593, 11020, 11583, 13743, 14493, 15061, 16381, 18899, 18911, 18911 ], "hero_damage": 21789, "hero_healing": 363, "hero_hits": { "null": 122, "ursa_earthshock": 39 }, "hero_id": 70, "item_0": 1, "item_1": 81, "item_2": 50, "item_3": 143, "item_4": 168, "item_5": 46, "item_uses": { "tpscroll": 8, "phase_boots": 83, "faerie_fire": 1, "magic_wand": 5, "blink": 25 }, "kill_streaks": { "3": 2, "4": 1, "5": 1, "6": 1, "7": 1, "8": 1, "9": 1, "10": 1, "11": 1, "12": 1, "13": 1, "14": 1, "15": 1, "16": 1 }, "killed": { "npc_dota_creep_badguys_melee": 51, "npc_dota_creep_badguys_ranged": 25, "npc_dota_creep_goodguys_melee": 2, "npc_dota_hero_magnataur": 3, "npc_dota_hero_legion_commander": 6, "npc_dota_hero_spectre": 5, "npc_dota_neutral_centaur_outrunner": 3, "npc_dota_neutral_polar_furbolg_ursa_warrior": 2, "npc_dota_neutral_polar_furbolg_champion": 2, "npc_dota_neutral_enraged_wildkin": 2, "npc_dota_neutral_wildkin": 4, "npc_dota_neutral_centaur_khan": 1, "npc_dota_neutral_gnoll_assassin": 3, "npc_dota_neutral_ogre_mauler": 2, "npc_dota_neutral_ogre_magi": 1, "npc_dota_badguys_siege": 2, "npc_dota_neutral_dark_troll": 1, "npc_dota_hero_pudge": 5, "npc_dota_neutral_black_drake": 2, "npc_dota_neutral_black_dragon": 1, "npc_dota_neutral_satyr_soulstealer": 2, "npc_dota_neutral_satyr_trickster": 2, "npc_dota_neutral_mud_golem": 2, "npc_dota_neutral_mud_golem_split": 4, "npc_dota_badguys_range_rax_top": 1, "npc_dota_neutral_alpha_wolf": 2, "npc_dota_neutral_giant_wolf": 4, "npc_dota_badguys_tower4": 1, "npc_dota_badguys_fort": 1 }, "killed_by": { "npc_dota_hero_magnataur": 2, "npc_dota_hero_shredder": 1 }, "kills": 19, "kills_log": [ { "time": 473, "key": "npc_dota_hero_magnataur" }, { "time": 542, "key": "npc_dota_hero_legion_commander" }, { "time": 627, "key": "npc_dota_hero_spectre" }, { "time": 739, "key": "npc_dota_hero_magnataur" }, { "time": 776, "key": "npc_dota_hero_spectre" }, { "time": 915, "key": "npc_dota_hero_spectre" }, { "time": 999, "key": "npc_dota_hero_legion_commander" }, { "time": 1010, "key": "npc_dota_hero_pudge" }, { "time": 1166, "key": "npc_dota_hero_legion_commander" }, { "time": 1240, "key": "npc_dota_hero_pudge" }, { "time": 1246, "key": "npc_dota_hero_legion_commander" }, { "time": 1256, "key": "npc_dota_hero_spectre" }, { "time": 1340, "key": "npc_dota_hero_magnataur" }, { "time": 1366, "key": "npc_dota_hero_pudge" }, { "time": 1378, "key": "npc_dota_hero_pudge" }, { "time": 1388, "key": "npc_dota_hero_legion_commander" }, { "time": 1592, "key": "npc_dota_hero_pudge" }, { "time": 1613, "key": "npc_dota_hero_spectre" }, { "time": 1616, "key": "npc_dota_hero_legion_commander" } ], "lane_pos": { "70": { "74": 1, "164": 3 }, "72": { "74": 1, "76": 11, "78": 4, "162": 3, "164": 1 }, "74": { "74": 1, "76": 6, "78": 5, "80": 3, "82": 1, "84": 1, "86": 1, "88": 1, "92": 1, "94": 1, "158": 1, "162": 1, "164": 8 }, "76": { "78": 1, "96": 1, "98": 1, "100": 1, "102": 1, "106": 1, "108": 1, "110": 1, "112": 1, "144": 1, "146": 1, "148": 1, "158": 13, "160": 10, "162": 2, "164": 11, "166": 4, "168": 2 }, "78": { "78": 1, "84": 1, "86": 1, "90": 1, "92": 1, "94": 1, "98": 1, "100": 1, "104": 1, "106": 1, "110": 1, "112": 1, "114": 1, "116": 1, "140": 1, "142": 1, "146": 3, "148": 1, "150": 2, "152": 3, "154": 1, "156": 4, "158": 3, "160": 3, "162": 19, "164": 26, "166": 34, "168": 20, "170": 3, "172": 1 }, "80": { "80": 1, "114": 1, "118": 1, "122": 1, "136": 1, "146": 1, "148": 1, "150": 1, "156": 1, "160": 4, "162": 10, "164": 21, "166": 43, "168": 47, "170": 11, "172": 1, "174": 1 }, "82": { "116": 1, "118": 1, "122": 1, "124": 2, "126": 1, "128": 1, "130": 1, "134": 1, "148": 1, "158": 1, "164": 3, "166": 7, "168": 30, "170": 63, "172": 20, "174": 1 }, "84": { "128": 1, "130": 1, "158": 1, "164": 2, "168": 2, "170": 13, "172": 10, "174": 9 }, "86": { "132": 1, "134": 1, "148": 1, "158": 1, "162": 1, "170": 6, "172": 2, "174": 2 }, "88": { "134": 1, "148": 1, "160": 1, "162": 1, "172": 2, "174": 3 }, "90": { "136": 1, "148": 1, "160": 4, "162": 1, "170": 4, "172": 2 }, "92": { "146": 1, "170": 16 }, "94": { "136": 1, "146": 1 }, "96": { "136": 1, "138": 2, "140": 41, "146": 1 }, "98": { "136": 1 }, "100": { "138": 1, "146": 1 }, "102": { "138": 1, "146": 1 }, "104": { "140": 1, "142": 1, "144": 1 }, "106": { "140": 1, "142": 4 }, "108": { "138": 1, "140": 3 }, "110": { "138": 1 } }, "last_hits": 121, "leaver_status": 0, "level": 19, "lh_t": [ 0, 3, 7, 8, 12, 14, 17, 23, 28, 29, 36, 39, 44, 48, 54, 59, 69, 75, 75, 78, 83, 89, 94, 95, 95, 100, 117, 120, 121, 121 ], "life_state": { "0": 1688, "1": 7, "2": 78 }, "max_hero_hit": { "type": "max_hero_hit", "time": 1616, "max": true, "inflictor": null, "unit": "npc_dota_hero_ursa", "key": "npc_dota_hero_legion_commander", "value": 473, "slot": 0, "player_slot": 0 }, "multi_kills": { "2": 4, "3": 2 }, "obs": {}, "obs_left_log": null, "obs_log": [], "obs_placed": null, "party_id": 0, "party_size": 1, "performance_others": null, "permanent_buffs": null, "pings": 25, "pred_vict": null, "purchase": { "slippers": 2, "poor_mans_shield": 1, "stout_shield": 2, "faerie_fire": 1, "branches": 3, "boots": 1, "tpscroll": 9, "circlet": 1, "magic_stick": 1, "magic_wand": 1, "blades_of_attack": 2, "phase_boots": 1, "sobi_mask": 1, "ring_of_basilius": 1, "ring_of_protection": 1, "ring_of_regen": 1, "headdress": 1, "recipe_headdress": 1, "recipe_vladmir": 1, "lifesteal": 1, "vladmir": 1, "blight_stone": 1, "blink": 1, "mithril_hammer": 2, "desolator": 1, "belt_of_strength": 1, "javelin": 1, "basher": 1, "recipe_basher": 1, "ring_of_health": 1, "recipe_abyssal_blade": 1, "dust": null }, "purchase_log": [ { "time": -83, "key": "slippers" }, { "time": -83, "key": "slippers" }, { "time": -83, "key": "poor_mans_shield" }, { "time": -83, "key": "stout_shield" }, { "time": -81, "key": "faerie_fire" }, { "time": -79, "key": "branches" }, { "time": 88, "key": "boots" }, { "time": 148, "key": "tpscroll" }, { "time": 152, "key": "tpscroll" }, { "time": 166, "key": "branches" }, { "time": 187, "key": "circlet" }, { "time": 231, "key": "magic_stick" }, { "time": 414, "key": "magic_wand" }, { "time": 416, "key": "blades_of_attack" }, { "time": 450, "key": "phase_boots" }, { "time": 450, "key": "blades_of_attack" }, { "time": 451, "key": "tpscroll" }, { "time": 486, "key": "sobi_mask" }, { "time": 486, "key": "ring_of_basilius" }, { "time": 486, "key": "ring_of_protection" }, { "time": 567, "key": "ring_of_regen" }, { "time": 567, "key": "branches" }, { "time": 567, "key": "headdress" }, { "time": 596, "key": "tpscroll" }, { "time": 741, "key": "lifesteal" }, { "time": 788, "key": "vladmir" }, { "time": 853, "key": "blight_stone" }, { "time": 854, "key": "tpscroll" }, { "time": 855, "key": "tpscroll" }, { "time": 960, "key": "blink" }, { "time": 973, "key": "tpscroll" }, { "time": 1074, "key": "mithril_hammer" }, { "time": 1142, "key": "tpscroll" }, { "time": 1258, "key": "mithril_hammer" }, { "time": 1296, "key": "desolator" }, { "time": 1449, "key": "belt_of_strength" }, { "time": 1449, "key": "javelin" }, { "time": 1449, "key": "basher" }, { "time": 1451, "key": "tpscroll" }, { "time": 1524, "key": "ring_of_health" }, { "time": 1525, "key": "stout_shield" } ], "randomed": null, "repicked": null, "roshans_killed": null, "rune_pickups": null, "runes": { "5": 2 }, "runes_log": null, "sen": {}, "sen_left_log": null, "sen_log": [], "sen_placed": null, "stuns": 1.0663574, "teamfight_participation": null, "times": [ 0, 60, 120, 180, 240, 300, 360, 420, 480, 540, 600, 660, 720, 780, 840, 900, 960, 1020, 1080, 1140, 1200, 1260, 1320, 1380, 1440, 1500, 1560, 1620, 1680, 1740 ], "tower_damage": 2537, "towers_killed": null, "xp_per_min": 697, "xp_reasons": { "0": 153, "1": 10246, "2": 8253, "3": 272 }, "xp_t": [ 0, 111, 333, 400, 689, 932, 1154, 1513, 2338, 2473, 3368, 3918, 4622, 5538, 5892, 6265, 7463, 8535, 8869, 9311, 10357, 12693, 12959, 15660, 16260, 16679, 17778, 18912, 18912, 18912 ], "radiant_win": true, "start_time": 1467319556, "duration": 1626, "cluster": 122, "lobby_type": 7, "game_mode": 22, "is_contributor": false, "patch": 18, "region": 2, "isRadiant": true, "win": 1, "lose": 0, "total_gold": 18888, "total_xp": 18888, "kills_per_min": 0.7011070110701106, "kda": 8, "abandons": 0, "neutral_kills": 40, "tower_kills": 1, "courier_kills": 0, "lane_kills": 78, "hero_kills": 19, "observer_kills": 0, "sentry_kills": 0, "roshan_kills": 0, "necronomicon_kills": 0, "ancient_kills": 3, "buyback_count": 0, "observer_uses": 0, "sentry_uses": 0, "lane_efficiency": 0.6710235270460486, "lane_efficiency_pct": 67, "lane": 3, "lane_role": 3, "is_roaming": false, "purchase_time": { "slippers": -166, "poor_mans_shield": -83, "stout_shield": 1442, "faerie_fire": -81, "branches": 654, "boots": 88, "tpscroll": 6622, "circlet": 187, "magic_stick": 231, "magic_wand": 414, "blades_of_attack": 866, "phase_boots": 450, "sobi_mask": 486, "ring_of_basilius": 486, "ring_of_protection": 486, "ring_of_regen": 567, "headdress": 567, "lifesteal": 741, "vladmir": 788, "blight_stone": 853, "blink": 960, "mithril_hammer": 2332, "desolator": 1296, "belt_of_strength": 1449, "javelin": 1449, "basher": 1449, "ring_of_health": 1524 }, "first_purchase_time": { "slippers": -83, "poor_mans_shield": -83, "stout_shield": -83, "faerie_fire": -81, "branches": -79, "boots": 88, "tpscroll": 148, "circlet": 187, "magic_stick": 231, "magic_wand": 414, "blades_of_attack": 416, "phase_boots": 450, "sobi_mask": 486, "ring_of_basilius": 486, "ring_of_protection": 486, "ring_of_regen": 567, "headdress": 567, "lifesteal": 741, "vladmir": 788, "blight_stone": 853, "blink": 960, "mithril_hammer": 1074, "desolator": 1296, "belt_of_strength": 1449, "javelin": 1449, "basher": 1449, "ring_of_health": 1524 }, "item_win": { "slippers": 1, "poor_mans_shield": 1, "stout_shield": 1, "faerie_fire": 1, "branches": 1, "boots": 1, "tpscroll": 1, "circlet": 1, "magic_stick": 1, "magic_wand": 1, "blades_of_attack": 1, "phase_boots": 1, "sobi_mask": 1, "ring_of_basilius": 1, "ring_of_protection": 1, "ring_of_regen": 1, "headdress": 1, "lifesteal": 1, "vladmir": 1, "blight_stone": 1, "blink": 1, "mithril_hammer": 1, "desolator": 1, "belt_of_strength": 1, "javelin": 1, "basher": 1, "ring_of_health": 1 }, "item_usage": { "slippers": 1, "poor_mans_shield": 1, "stout_shield": 1, "faerie_fire": 1, "branches": 1, "boots": 1, "tpscroll": 1, "circlet": 1, "magic_stick": 1, "magic_wand": 1, "blades_of_attack": 1, "phase_boots": 1, "sobi_mask": 1, "ring_of_basilius": 1, "ring_of_protection": 1, "ring_of_regen": 1, "headdress": 1, "lifesteal": 1, "vladmir": 1, "blight_stone": 1, "blink": 1, "mithril_hammer": 1, "desolator": 1, "belt_of_strength": 1, "javelin": 1, "basher": 1, "ring_of_health": 1 }, "purchase_tpscroll": 9, "actions_per_min": 187, "life_state_dead": 85, "rank_tier": null, "cosmetics": [], "benchmarks": { "gold_per_min": { "raw": 697, "pct": 0.9862027594481104 }, "xp_per_min": { "raw": 697, "pct": 0.7513497300539892 }, "kills_per_min": { "raw": 0.7011070110701106, "pct": 0.968506298740252 }, "last_hits_per_min": { "raw": 4.464944649446495, "pct": 0.532993401319736 }, "hero_damage_per_min": { "raw": 804.0221402214022, "pct": 0.7474505098980204 }, "hero_healing_per_min": { "raw": 13.394833948339484, "pct": 0.8740251949610078 }, "tower_damage": { "raw": 2537, "pct": 0.6385722855428915 }, "stuns_per_min": { "raw": 0.0393489815498155, "pct": 0.21805638872225555 }, "lhten": { "raw": 36, "pct": 0.4347956730769231 } } }, { "match_id": 2472899185, "player_slot": 1, "ability_targets": null, "ability_upgrades_arr": null, "ability_uses": { "juggernaut_blade_fury": 10, "juggernaut_omni_slash": 7, "juggernaut_healing_ward": 7 }, "account_id": 157886056, "actions": { "1": 2311, "2": 106, "3": 5, "4": 636, "5": 16, "6": 25, "7": 6, "8": 118, "10": 8, "11": 19, "15": 4, "16": 34, "17": 1, "19": 1, "27": 9, "33": 8 }, "additional_units": null, "assists": 8, "backpack_0": 0, "backpack_1": 0, "backpack_2": 0, "buyback_log": [], "camps_stacked": null, "creeps_stacked": null, "damage": { "npc_dota_creep_goodguys_melee": 2268, "npc_dota_creep_badguys_melee": 46523, "npc_dota_creep_badguys_ranged": 15141, "npc_dota_creep_goodguys_ranged": 622, "npc_dota_hero_spectre": 2487, "npc_dota_badguys_siege": 2226, "npc_dota_hero_pudge": 5006, "npc_dota_neutral_forest_troll_high_priest": 555, "npc_dota_neutral_forest_troll_berserker": 1034, "npc_dota_neutral_enraged_wildkin": 2013, "npc_dota_neutral_wildkin": 1450, "npc_dota_neutral_polar_furbolg_champion": 3144, "npc_dota_neutral_polar_furbolg_ursa_warrior": 4176, "npc_dota_badguys_tower1_mid": 466, "npc_dota_badguys_tower1_bot": 478, "illusion_npc_dota_hero_spectre": 2165, "npc_dota_hero_shredder": 5458, "npc_dota_neutral_centaur_outrunner": 2681, "npc_dota_neutral_centaur_khan": 4992, "npc_dota_neutral_harpy_scout": 970, "npc_dota_neutral_harpy_storm": 592, "npc_dota_neutral_mud_golem": 4034, "npc_dota_neutral_mud_golem_split": 3793, "npc_dota_neutral_ogre_magi": 655, "npc_dota_neutral_ogre_mauler": 2290, "npc_dota_badguys_tower2_bot": 155, "npc_dota_roshan": 1442, "npc_dota_hero_legion_commander": 2841, "npc_dota_neutral_rock_golem": 1925, "npc_dota_neutral_granite_golem": 657, "npc_dota_badguys_tower2_top": 617, "npc_dota_badguys_tower2_mid": 897, "npc_dota_badguys_range_rax_top": 183, "npc_dota_badguys_melee_rax_top": 430, "npc_dota_hero_magnataur": 1050, "npc_dota_badguys_tower3_mid": 347, "npc_dota_badguys_melee_rax_mid": 179, "npc_dota_badguys_fillers": 834, "npc_dota_badguys_tower3_bot": 708, "npc_dota_badguys_melee_rax_bot": 802, "npc_dota_badguys_range_rax_bot": 173, "npc_dota_badguys_tower4": 64 }, "damage_inflictor": { "null": 9556, "juggernaut_blade_fury": 2055, "juggernaut_omni_slash": 4708, "bfury": 523 }, "damage_inflictor_received": { "spectre_dispersion": 169, "null": 1397, "spectre_spectral_dagger": 151, "pudge_rot": 306, "pudge_meat_hook": 639, "magnataur_shockwave": 858, "spectre_desolate": 437, "shredder_whirling_death": 271, "legion_commander_overwhelming_odds": 703, "shredder_chakram": 2119, "blade_mail": 705, "magnataur_reverse_polarity": 190, "magnataur_skewer": 428, "cyclone": 39, "shredder_timber_chain": 229 }, "damage_taken": { "npc_dota_creep_badguys_melee": 686, "npc_dota_hero_spectre": 1126, "npc_dota_creep_badguys_ranged": 487, "npc_dota_badguys_tower1_bot": 420, "npc_dota_hero_pudge": 1139, "npc_dota_neutral_forest_troll_berserker": 63, "npc_dota_neutral_forest_troll_high_priest": 7, "npc_dota_hero_magnataur": 1476, "npc_dota_neutral_enraged_wildkin": 238, "npc_dota_neutral_polar_furbolg_ursa_warrior": 499, "npc_dota_neutral_wildkin": 33, "npc_dota_neutral_polar_furbolg_champion": 304, "npc_dota_hero_shredder": 2658, "npc_dota_neutral_centaur_outrunner": 68, "npc_dota_neutral_centaur_khan": 216, "npc_dota_neutral_harpy_storm": 12, "npc_dota_neutral_harpy_scout": 24, "npc_dota_neutral_mud_golem": 91, "npc_dota_neutral_mud_golem_split": 7, "npc_dota_hero_legion_commander": 2242, "npc_dota_badguys_tower1_mid": 315, "npc_dota_neutral_ogre_mauler": 29, "npc_dota_neutral_ogre_magi": 12, "npc_dota_badguys_tower2_mid": 1323, "npc_dota_neutral_rock_golem": 43, "npc_dota_neutral_granite_golem": 95, "npc_dota_badguys_tower2_top": 629, "npc_dota_badguys_tower3_mid": 518, "npc_dota_badguys_tower4": 1401, "npc_dota_badguys_tower3_bot": 122, "dota_fountain": 1110 }, "damage_targets": null, "deaths": 1, "denies": 20, "dn_t": null, "firstblood_claimed": null, "gold": 2622, "gold_per_min": 800, "gold_reasons": { "0": 803, "1": -569, "6": 250, "11": 5555, "12": 4679, "13": 8190, "14": 397 }, "gold_spent": 19910, "gold_t": [ 0, 236, 560, 1065, 1530, 1942, 2251, 2701, 3702, 3998, 4773, 5218, 5880, 6468, 6949, 7439, 8611, 9324, 9862, 10860, 11999, 13155, 14156, 16441, 17096, 18067, 19437, 21698, 21710, 21710 ], "hero_damage": 14966, "hero_healing": 0, "hero_hits": { "null": 64, "juggernaut_blade_fury": 100, "juggernaut_omni_slash": 28, "bfury": 7 }, "hero_id": 8, "item_0": 50, "item_1": 145, "item_2": 52, "item_3": 46, "item_4": 212, "item_5": 208, "item_uses": { "tango": 4, "phase_boots": 88, "faerie_fire": 1, "flask": 1, "tpscroll": 3, "bfury": 2, "abyssal_blade": 2 }, "kill_streaks": { "3": 1, "4": 1, "5": 1, "6": 1, "7": 1, "8": 1, "9": 1, "10": 1, "11": 1, "12": 1, "13": 1, "14": 1 }, "killed": { "npc_dota_creep_badguys_melee": 101, "npc_dota_creep_goodguys_melee": 15, "npc_dota_creep_badguys_ranged": 38, "npc_dota_creep_goodguys_ranged": 5, "npc_dota_hero_spectre": 4, "npc_dota_badguys_siege": 5, "npc_dota_hero_pudge": 3, "npc_dota_neutral_forest_troll_high_priest": 1, "npc_dota_neutral_forest_troll_berserker": 2, "npc_dota_neutral_wildkin": 4, "npc_dota_neutral_enraged_wildkin": 2, "npc_dota_neutral_polar_furbolg_ursa_warrior": 4, "npc_dota_neutral_polar_furbolg_champion": 4, "npc_dota_badguys_tower1_bot": 1, "npc_dota_neutral_centaur_outrunner": 6, "npc_dota_neutral_centaur_khan": 4, "npc_dota_neutral_harpy_storm": 1, "npc_dota_neutral_harpy_scout": 2, "npc_dota_neutral_mud_golem": 4, "npc_dota_neutral_mud_golem_split": 8, "npc_dota_hero_shredder": 4, "npc_dota_badguys_tower1_mid": 1, "npc_dota_neutral_ogre_mauler": 2, "npc_dota_neutral_ogre_magi": 1, "npc_dota_roshan": 1, "npc_dota_neutral_granite_golem": 1, "npc_dota_neutral_rock_golem": 2, "npc_dota_badguys_tower2_top": 1, "npc_dota_badguys_tower2_mid": 1, "npc_dota_hero_legion_commander": 2, "npc_dota_hero_magnataur": 1, "npc_dota_badguys_tower3_mid": 1, "npc_dota_badguys_fillers": 2, "npc_dota_badguys_tower3_bot": 1, "npc_dota_badguys_melee_rax_bot": 1 }, "killed_by": { "dota_fountain": 1 }, "kills": 14, "kills_log": [ { "time": 143, "key": "npc_dota_hero_spectre" }, { "time": 236, "key": "npc_dota_hero_spectre" }, { "time": 433, "key": "npc_dota_hero_spectre" }, { "time": 446, "key": "npc_dota_hero_pudge" }, { "time": 642, "key": "npc_dota_hero_pudge" }, { "time": 907, "key": "npc_dota_hero_shredder" }, { "time": 1161, "key": "npc_dota_hero_pudge" }, { "time": 1234, "key": "npc_dota_hero_shredder" }, { "time": 1336, "key": "npc_dota_hero_shredder" }, { "time": 1375, "key": "npc_dota_hero_legion_commander" }, { "time": 1377, "key": "npc_dota_hero_spectre" }, { "time": 1378, "key": "npc_dota_hero_magnataur" }, { "time": 1513, "key": "npc_dota_hero_legion_commander" }, { "time": 1564, "key": "npc_dota_hero_shredder" } ], "lane_pos": { "72": { "74": 2 }, "76": { "74": 3, "76": 3, "78": 2 }, "78": { "78": 1 }, "82": { "78": 1 }, "84": { "76": 1 }, "86": { "76": 1 }, "88": { "76": 1 }, "90": { "76": 1 }, "92": { "76": 1 }, "94": { "76": 1 }, "98": { "76": 1 }, "100": { "78": 1 }, "102": { "78": 1 }, "104": { "78": 1 }, "106": { "78": 1 }, "110": { "78": 1 }, "112": { "78": 1 }, "114": { "78": 1 }, "116": { "78": 1 }, "118": { "78": 1 }, "120": { "78": 1 }, "124": { "78": 1 }, "126": { "76": 1 }, "128": { "78": 1 }, "130": { "78": 1 }, "132": { "78": 1 }, "136": { "78": 1, "80": 1 }, "138": { "82": 1 }, "140": { "84": 1, "86": 1 }, "142": { "88": 1, "90": 1 }, "144": { "90": 1, "106": 1 }, "146": { "90": 12, "92": 1, "94": 1, "100": 1, "104": 19, "108": 1 }, "148": { "78": 1, "96": 1, "98": 2, "100": 3, "108": 1, "110": 3 }, "150": { "80": 1, "106": 1, "110": 1 }, "152": { "78": 1, "80": 1, "88": 1, "90": 13, "104": 1 }, "154": { "78": 1, "80": 1, "82": 1, "84": 1, "88": 1, "104": 1 }, "156": { "80": 1, "86": 1, "88": 2, "90": 1, "92": 1, "94": 2, "96": 1, "98": 1, "102": 1 }, "158": { "80": 1, "82": 1, "88": 1, "96": 1 }, "160": { "80": 1, "82": 2, "86": 1, "98": 1 }, "162": { "80": 5, "82": 5, "88": 1, "94": 2, "96": 4, "98": 9 }, "164": { "82": 12, "94": 1, "96": 1 }, "166": { "82": 7, "84": 8, "88": 1, "92": 2, "94": 3, "96": 2 }, "168": { "84": 20, "86": 10, "88": 2, "90": 2, "92": 1, "96": 2, "98": 1 }, "170": { "82": 1, "84": 16, "86": 51, "88": 28, "90": 12, "92": 1, "94": 1, "98": 2 }, "172": { "84": 4, "86": 27, "88": 22, "90": 22, "92": 8, "94": 6, "96": 3, "98": 4, "100": 3, "102": 2, "104": 3, "108": 2 }, "174": { "86": 3, "88": 10, "90": 19, "92": 10, "94": 14, "96": 4, "98": 5, "100": 7, "102": 10, "104": 8, "106": 3, "108": 9, "110": 1, "112": 1 }, "176": { "88": 1, "90": 4, "92": 9, "94": 13, "96": 13, "98": 9, "100": 7, "102": 3, "104": 7, "106": 9, "108": 1, "110": 2 }, "178": { "92": 6, "94": 3, "96": 8, "98": 6, "100": 1, "104": 1, "106": 1, "108": 3 }, "180": { "92": 7, "96": 6, "98": 1 }, "182": { "94": 1, "98": 6 } }, "last_hits": 202, "leaver_status": 0, "level": 19, "lh_t": [ 0, 1, 7, 12, 16, 23, 28, 37, 43, 49, 64, 67, 79, 82, 86, 98, 109, 123, 125, 139, 148, 161, 176, 180, 185, 194, 199, 202, 202, 202 ], "life_state": { "0": 1697, "1": 1, "2": 75 }, "max_hero_hit": { "type": "max_hero_hit", "time": 1387, "max": true, "inflictor": null, "unit": "npc_dota_hero_juggernaut", "key": "npc_dota_hero_legion_commander", "value": 341, "slot": 1, "player_slot": 1 }, "multi_kills": { "2": 2, "3": 1 }, "obs": {}, "obs_left_log": null, "obs_log": [], "obs_placed": null, "party_id": 1, "party_size": 1, "performance_others": null, "permanent_buffs": null, "pings": 37, "pred_vict": null, "purchase": { "tango": 1, "flask": 1, "slippers": 3, "faerie_fire": 1, "poor_mans_shield": 1, "stout_shield": 2, "boots": 1, "quelling_blade": 1, "blades_of_attack": 2, "phase_boots": 1, "ring_of_health": 2, "pers": 1, "void_stone": 1, "tpscroll": 4, "claymore": 1, "broadsword": 1, "bfury": 1, "circlet": 1, "wraith_band": 1, "recipe_wraith_band": 1, "sobi_mask": 1, "ring_of_basilius": 1, "ring_of_protection": 1, "ring_of_aquila": 1, "belt_of_strength": 1, "javelin": 1, "basher": 1, "recipe_basher": 1, "recipe_abyssal_blade": 1, "vitality_booster": 1, "vanguard": 1, "abyssal_blade": 1, "eagle": 1, "quarterstaff": 1, "talisman_of_evasion": 1, "dust": null }, "purchase_log": [ { "time": -83, "key": "tango" }, { "time": -83, "key": "flask" }, { "time": -80, "key": "slippers" }, { "time": -80, "key": "slippers" }, { "time": -77, "key": "faerie_fire" }, { "time": 55, "key": "poor_mans_shield" }, { "time": 55, "key": "stout_shield" }, { "time": 148, "key": "boots" }, { "time": 150, "key": "quelling_blade" }, { "time": 295, "key": "blades_of_attack" }, { "time": 296, "key": "phase_boots" }, { "time": 296, "key": "blades_of_attack" }, { "time": 479, "key": "ring_of_health" }, { "time": 479, "key": "pers" }, { "time": 479, "key": "void_stone" }, { "time": 511, "key": "tpscroll" }, { "time": 511, "key": "tpscroll" }, { "time": 646, "key": "claymore" }, { "time": 725, "key": "broadsword" }, { "time": 726, "key": "tpscroll" }, { "time": 750, "key": "bfury" }, { "time": 790, "key": "circlet" }, { "time": 791, "key": "slippers" }, { "time": 805, "key": "wraith_band" }, { "time": 855, "key": "sobi_mask" }, { "time": 855, "key": "ring_of_basilius" }, { "time": 855, "key": "ring_of_protection" }, { "time": 859, "key": "tpscroll" }, { "time": 950, "key": "ring_of_aquila" }, { "time": 1090, "key": "belt_of_strength" }, { "time": 1090, "key": "javelin" }, { "time": 1090, "key": "basher" }, { "time": 1268, "key": "stout_shield" }, { "time": 1269, "key": "ring_of_health" }, { "time": 1314, "key": "vitality_booster" }, { "time": 1332, "key": "vanguard" }, { "time": 1369, "key": "abyssal_blade" }, { "time": 1428, "key": "eagle" }, { "time": 1540, "key": "quarterstaff" }, { "time": 1577, "key": "talisman_of_evasion" } ], "randomed": null, "repicked": null, "roshans_killed": null, "rune_pickups": null, "runes": { "5": 2 }, "runes_log": null, "sen": {}, "sen_left_log": null, "sen_log": [], "sen_placed": null, "stuns": 15.029467, "teamfight_participation": null, "times": [ 0, 60, 120, 180, 240, 300, 360, 420, 480, 540, 600, 660, 720, 780, 840, 900, 960, 1020, 1080, 1140, 1200, 1260, 1320, 1380, 1440, 1500, 1560, 1620, 1680, 1740 ], "tower_damage": 3732, "towers_killed": null, "xp_per_min": 717, "xp_reasons": { "0": 138, "1": 8030, "2": 11016, "3": 272 }, "xp_t": [ 0, 22, 425, 987, 1279, 1659, 2019, 2469, 3369, 3603, 4564, 4897, 5867, 5949, 6381, 7023, 7802, 8703, 9015, 10634, 11068, 12761, 13387, 15642, 16510, 17463, 18411, 19439, 19439, 19439 ], "personaname": "its just a game", "name": null, "last_login": "2017-06-12T16:12:50.627Z", "radiant_win": true, "start_time": 1467319556, "duration": 1626, "cluster": 122, "lobby_type": 7, "game_mode": 22, "is_contributor": false, "patch": 18, "region": 2, "isRadiant": true, "win": 1, "lose": 0, "total_gold": 21680, "total_xp": 19430, "kills_per_min": 0.5166051660516605, "kda": 11, "abandons": 0, "neutral_kills": 48, "tower_kills": 6, "courier_kills": 0, "lane_kills": 159, "hero_kills": 14, "observer_kills": 0, "sentry_kills": 0, "roshan_kills": 1, "necronomicon_kills": 0, "ancient_kills": 3, "buyback_count": 0, "observer_uses": 0, "sentry_uses": 0, "lane_efficiency": 0.9597828272672431, "lane_efficiency_pct": 95, "lane": 1, "lane_role": 1, "is_roaming": false, "purchase_time": { "tango": -83, "flask": -83, "slippers": 631, "faerie_fire": -77, "poor_mans_shield": 55, "stout_shield": 1323, "boots": 148, "quelling_blade": 150, "blades_of_attack": 591, "phase_boots": 296, "ring_of_health": 1748, "pers": 479, "void_stone": 479, "tpscroll": 2607, "claymore": 646, "broadsword": 725, "bfury": 750, "circlet": 790, "wraith_band": 805, "sobi_mask": 855, "ring_of_basilius": 855, "ring_of_protection": 855, "ring_of_aquila": 950, "belt_of_strength": 1090, "javelin": 1090, "basher": 1090, "vitality_booster": 1314, "vanguard": 1332, "abyssal_blade": 1369, "eagle": 1428, "quarterstaff": 1540, "talisman_of_evasion": 1577 }, "first_purchase_time": { "tango": -83, "flask": -83, "slippers": -80, "faerie_fire": -77, "poor_mans_shield": 55, "stout_shield": 55, "boots": 148, "quelling_blade": 150, "blades_of_attack": 295, "phase_boots": 296, "ring_of_health": 479, "pers": 479, "void_stone": 479, "tpscroll": 511, "claymore": 646, "broadsword": 725, "bfury": 750, "circlet": 790, "wraith_band": 805, "sobi_mask": 855, "ring_of_basilius": 855, "ring_of_protection": 855, "ring_of_aquila": 950, "belt_of_strength": 1090, "javelin": 1090, "basher": 1090, "vitality_booster": 1314, "vanguard": 1332, "abyssal_blade": 1369, "eagle": 1428, "quarterstaff": 1540, "talisman_of_evasion": 1577 }, "item_win": { "tango": 1, "flask": 1, "slippers": 1, "faerie_fire": 1, "poor_mans_shield": 1, "stout_shield": 1, "boots": 1, "quelling_blade": 1, "blades_of_attack": 1, "phase_boots": 1, "ring_of_health": 1, "pers": 1, "void_stone": 1, "tpscroll": 1, "claymore": 1, "broadsword": 1, "bfury": 1, "circlet": 1, "wraith_band": 1, "sobi_mask": 1, "ring_of_basilius": 1, "ring_of_protection": 1, "ring_of_aquila": 1, "belt_of_strength": 1, "javelin": 1, "basher": 1, "vitality_booster": 1, "vanguard": 1, "abyssal_blade": 1, "eagle": 1, "quarterstaff": 1, "talisman_of_evasion": 1 }, "item_usage": { "tango": 1, "flask": 1, "slippers": 1, "faerie_fire": 1, "poor_mans_shield": 1, "stout_shield": 1, "boots": 1, "quelling_blade": 1, "blades_of_attack": 1, "phase_boots": 1, "ring_of_health": 1, "pers": 1, "void_stone": 1, "tpscroll": 1, "claymore": 1, "broadsword": 1, "bfury": 1, "circlet": 1, "wraith_band": 1, "sobi_mask": 1, "ring_of_basilius": 1, "ring_of_protection": 1, "ring_of_aquila": 1, "belt_of_strength": 1, "javelin": 1, "basher": 1, "vitality_booster": 1, "vanguard": 1, "abyssal_blade": 1, "eagle": 1, "quarterstaff": 1, "talisman_of_evasion": 1 }, "purchase_tpscroll": 4, "actions_per_min": 122, "life_state_dead": 76, "rank_tier": null, "cosmetics": [], "benchmarks": { "gold_per_min": { "raw": 800, "pct": 0.9861581920903955 }, "xp_per_min": { "raw": 717, "pct": 0.7799435028248588 }, "kills_per_min": { "raw": 0.5166051660516605, "pct": 0.9737288135593221 }, "last_hits_per_min": { "raw": 7.453874538745387, "pct": 0.6632768361581921 }, "hero_damage_per_min": { "raw": 552.2509225092251, "pct": 0.5392655367231638 }, "hero_healing_per_min": { "raw": 0, "pct": 0.02288135593220339 }, "tower_damage": { "raw": 3732, "pct": 0.5132768361581921 }, "stuns_per_min": { "raw": 0.5545928782287823, "pct": 0.9635593220338983 }, "lhten": { "raw": 64, "pct": 0.970887507066139 } } }, { "match_id": 2472899185, "player_slot": 2, "ability_targets": null, "ability_upgrades_arr": null, "ability_uses": { "invoker_quas": 142, "invoker_invoke": 25, "invoker_wex": 196, "invoker_cold_snap": 16, "invoker_emp": 7, "invoker_tornado": 13, "invoker_ghost_walk": 7, "invoker_exort": 3, "invoker_alacrity": 5 }, "account_id": null, "actions": { "1": 3602, "2": 46, "3": 62, "4": 296, "5": 32, "6": 33, "8": 496, "10": 134, "11": 14, "12": 1, "15": 2, "16": 31, "19": 11, "27": 6, "33": 134 }, "additional_units": null, "assists": 12, "backpack_0": 0, "backpack_1": 0, "backpack_2": 0, "buyback_log": [], "camps_stacked": null, "creeps_stacked": null, "damage": { "npc_dota_hero_shredder": 4601, "npc_dota_hero_magnataur": 2220, "npc_dota_creep_badguys_melee": 21539, "npc_dota_creep_goodguys_melee": 1672, "npc_dota_creep_goodguys_ranged": 339, "npc_dota_creep_badguys_ranged": 8078, "npc_dota_badguys_siege": 1529, "npc_dota_hero_pudge": 2424, "npc_dota_hero_spectre": 603, "npc_dota_badguys_tower1_mid": 132, "npc_dota_hero_legion_commander": 811, "illusion_npc_dota_hero_spectre": 126, "npc_dota_neutral_polar_furbolg_champion": 95, "npc_dota_badguys_tower1_top": 93, "illusion_npc_dota_hero_pudge": 639, "npc_dota_badguys_tower2_mid": 56, "npc_dota_roshan": 406, "npc_dota_badguys_tower2_top": 273, "npc_dota_badguys_tower2_bot": 648, "npc_dota_badguys_melee_rax_mid": 1177, "npc_dota_badguys_range_rax_mid": 684, "npc_dota_badguys_tower3_bot": 276, "npc_dota_badguys_melee_rax_bot": 368, "npc_dota_badguys_range_rax_bot": 527, "npc_dota_badguys_tower4": 621, "npc_dota_badguys_fillers": 141 }, "damage_inflictor": { "null": 5897, "invoker_cold_snap": 726, "invoker_emp": 690, "invoker_tornado": 2993, "urn_of_shadows": 353 }, "damage_inflictor_received": { "shredder_whirling_death": 788, "null": 1020, "shredder_chakram": 1582, "pudge_rot": 442, "shredder_timber_chain": 142, "spectre_desolate": 60, "pudge_meat_hook": 366, "pudge_dismember": 168, "magnataur_shockwave": 916, "blade_mail": 520, "spectre_dispersion": 119, "magnataur_skewer": 214, "legion_commander_overwhelming_odds": 139 }, "damage_taken": { "npc_dota_creep_badguys_melee": 1349, "npc_dota_creep_badguys_ranged": 574, "npc_dota_hero_shredder": 2892, "npc_dota_hero_pudge": 976, "npc_dota_hero_spectre": 265, "npc_dota_badguys_tower2_mid": 454, "npc_dota_hero_magnataur": 1130, "npc_dota_hero_legion_commander": 1213, "npc_dota_badguys_siege": 95, "npc_dota_badguys_tower2_bot": 258, "npc_dota_badguys_tower4": 547 }, "damage_targets": null, "deaths": 2, "denies": 14, "dn_t": null, "firstblood_claimed": null, "gold": 578, "gold_per_min": 474, "gold_reasons": { "0": 683, "1": -658, "11": 4657, "12": 1665, "13": 3565, "14": 200 }, "gold_spent": 12290, "gold_t": [ 0, 176, 385, 593, 885, 1161, 1505, 1811, 1998, 2272, 2455, 2778, 3023, 3548, 3999, 4224, 4616, 5194, 5584, 6141, 6441, 7232, 7876, 8716, 9594, 10265, 11183, 12844, 12856, 12856 ], "hero_damage": 8950, "hero_healing": 532, "hero_hits": { "null": 95, "invoker_cold_snap": 47, "invoker_emp": 5, "invoker_tornado": 13, "urn_of_shadows": 19 }, "hero_id": 74, "item_0": 77, "item_1": 92, "item_2": 50, "item_3": 23, "item_4": 21, "item_5": 250, "item_uses": { "ward_observer": 1, "faerie_fire": 2, "flask": 1, "phase_boots": 93, "tpscroll": 5, "urn_of_shadows": 9, "orchid": 1 }, "kill_streaks": {}, "killed": { "npc_dota_creep_badguys_melee": 61, "npc_dota_creep_goodguys_melee": 9, "npc_dota_creep_goodguys_ranged": 5, "npc_dota_creep_badguys_ranged": 20, "npc_dota_badguys_tower1_top": 1, "npc_dota_hero_pudge": 1, "npc_dota_badguys_siege": 2, "npc_dota_badguys_tower2_bot": 1, "npc_dota_hero_magnataur": 1, "npc_dota_badguys_melee_rax_mid": 1, "npc_dota_badguys_range_rax_mid": 1, "npc_dota_badguys_tower4": 1 }, "killed_by": { "npc_dota_hero_shredder": 1, "npc_dota_hero_legion_commander": 1 }, "kills": 2, "kills_log": [ { "time": 1081, "key": "npc_dota_hero_pudge" }, { "time": 1477, "key": "npc_dota_hero_magnataur" } ], "lane_pos": { "70": { "76": 10 }, "72": { "74": 20, "76": 1 }, "74": { "76": 1, "78": 1 }, "76": { "80": 1 }, "78": { "78": 1, "80": 1, "152": 1, "162": 1, "164": 4 }, "80": { "80": 1, "82": 1, "146": 1, "148": 1, "150": 2, "154": 3, "156": 2, "158": 1, "160": 1, "162": 1, "164": 11 }, "82": { "82": 2, "156": 1, "160": 1 }, "84": { "84": 2, "86": 1, "150": 1, "158": 1 }, "86": { "84": 1, "86": 1, "88": 1, "150": 1 }, "88": { "88": 1, "90": 1, "150": 1 }, "90": { "90": 1, "92": 1, "148": 1 }, "92": { "90": 1, "92": 1, "94": 1 }, "94": { "94": 1, "96": 1, "132": 1, "148": 1 }, "96": { "96": 1, "98": 2, "126": 1, "128": 1, "132": 1, "136": 1, "148": 1 }, "98": { "100": 2, "122": 1, "136": 1, "146": 1 }, "100": { "100": 1, "102": 1, "118": 1, "120": 1, "138": 1 }, "102": { "100": 1, "102": 1, "104": 1, "108": 1, "110": 1, "112": 1, "114": 1, "116": 2, "118": 1, "138": 2, "140": 2, "142": 1, "146": 1 }, "104": { "104": 1, "106": 1, "114": 1, "120": 1, "136": 4, "138": 3, "140": 5, "142": 8, "144": 1 }, "106": { "108": 1, "114": 1, "120": 1, "122": 1, "136": 2, "138": 2, "142": 10 }, "108": { "110": 1, "124": 1, "128": 1, "130": 22, "132": 2, "134": 3, "136": 4, "140": 2, "142": 2 }, "110": { "110": 1, "114": 2, "116": 2, "130": 2, "132": 1, "138": 4, "140": 4 }, "112": { "112": 2, "114": 2, "116": 21, "118": 1, "130": 1, "132": 7, "134": 1, "136": 2 }, "114": { "110": 1, "114": 1, "116": 2, "118": 15, "120": 1, "128": 2, "130": 2, "134": 2, "138": 1 }, "116": { "114": 1, "116": 2, "118": 24, "120": 9, "122": 2, "124": 1, "126": 2, "134": 2, "138": 1 }, "118": { "110": 1, "112": 1, "114": 2, "118": 7, "120": 38, "122": 7, "124": 5, "126": 1, "128": 2, "132": 3, "138": 1 }, "120": { "110": 2, "118": 4, "120": 25, "122": 43, "124": 31, "126": 14 }, "122": { "118": 2, "120": 6, "122": 23, "124": 32, "126": 22, "128": 12, "138": 4 }, "124": { "122": 2, "124": 6, "126": 11, "128": 27, "130": 2, "132": 2, "134": 5, "138": 1 }, "126": { "126": 6, "128": 3 }, "128": { "128": 2 } }, "last_hits": 88, "leaver_status": 0, "level": 14, "lh_t": [ 0, 2, 5, 8, 13, 16, 22, 25, 27, 30, 32, 36, 37, 39, 41, 44, 47, 49, 51, 53, 53, 68, 73, 73, 82, 82, 85, 88, 88, 88 ], "life_state": { "0": 1681, "1": 7, "2": 85 }, "max_hero_hit": { "type": "max_hero_hit", "time": 1471, "max": true, "inflictor": "invoker_tornado", "unit": "npc_dota_hero_invoker", "key": "npc_dota_hero_magnataur", "value": 306, "slot": 2, "player_slot": 2 }, "multi_kills": {}, "obs": { "122": { "134": 1 } }, "obs_left_log": null, "obs_log": [ { "time": 14, "key": "[122, 134]" } ], "obs_placed": null, "party_id": 2, "party_size": 1, "performance_others": null, "permanent_buffs": null, "pings": 15, "pred_vict": null, "purchase": { "circlet": 1, "mantle": 1, "null_talisman": 1, "recipe_null_talisman": 1, "faerie_fire": 2, "flask": 1, "boots": 1, "blades_of_attack": 3, "phase_boots": 1, "tpscroll": 5, "sobi_mask": 3, "gauntlets": 2, "recipe_urn_of_shadows": 1, "urn_of_shadows": 1, "robe": 2, "oblivion_staff": 2, "quarterstaff": 2, "recipe_orchid": 1, "broadsword": 1, "orchid": 1, "recipe_lesser_crit": 1, "lesser_crit": 1, "recipe_bloodthorn": 1, "bloodthorn": 1, "staff_of_wizardry": 1, "ogre_axe": 1, "dust": null }, "purchase_log": [ { "time": -83, "key": "circlet" }, { "time": -83, "key": "mantle" }, { "time": -83, "key": "null_talisman" }, { "time": -81, "key": "faerie_fire" }, { "time": -81, "key": "faerie_fire" }, { "time": 120, "key": "flask" }, { "time": 187, "key": "boots" }, { "time": 242, "key": "blades_of_attack" }, { "time": 343, "key": "blades_of_attack" }, { "time": 370, "key": "phase_boots" }, { "time": 440, "key": "tpscroll" }, { "time": 441, "key": "sobi_mask" }, { "time": 441, "key": "gauntlets" }, { "time": 473, "key": "tpscroll" }, { "time": 506, "key": "gauntlets" }, { "time": 569, "key": "urn_of_shadows" }, { "time": 663, "key": "sobi_mask" }, { "time": 744, "key": "robe" }, { "time": 838, "key": "oblivion_staff" }, { "time": 838, "key": "quarterstaff" }, { "time": 932, "key": "tpscroll" }, { "time": 1021, "key": "quarterstaff" }, { "time": 1072, "key": "sobi_mask" }, { "time": 1089, "key": "oblivion_staff" }, { "time": 1089, "key": "robe" }, { "time": 1252, "key": "tpscroll" }, { "time": 1356, "key": "broadsword" }, { "time": 1361, "key": "tpscroll" }, { "time": 1402, "key": "blades_of_attack" }, { "time": 1402, "key": "orchid" }, { "time": 1455, "key": "lesser_crit" }, { "time": 1615, "key": "bloodthorn" }, { "time": 1618, "key": "staff_of_wizardry" }, { "time": 1618, "key": "ogre_axe" } ], "randomed": null, "repicked": null, "roshans_killed": null, "rune_pickups": null, "runes": { "5": 1 }, "runes_log": null, "sen": {}, "sen_left_log": null, "sen_log": [], "sen_placed": null, "stuns": 38.656315, "teamfight_participation": null, "times": [ 0, 60, 120, 180, 240, 300, 360, 420, 480, 540, 600, 660, 720, 780, 840, 900, 960, 1020, 1080, 1140, 1200, 1260, 1320, 1380, 1440, 1500, 1560, 1620, 1680, 1740 ], "tower_damage": 3782, "towers_killed": null, "xp_per_min": 425, "xp_reasons": { "0": 82, "1": 3491, "2": 7712, "3": 272 }, "xp_t": [ 0, 225, 720, 1125, 1575, 2005, 2498, 3031, 3031, 3587, 3787, 4288, 4633, 5055, 5136, 5314, 5494, 6706, 7063, 7647, 7766, 8820, 9693, 9693, 10458, 11114, 11336, 11545, 11545, 11545 ], "radiant_win": true, "start_time": 1467319556, "duration": 1626, "cluster": 122, "lobby_type": 7, "game_mode": 22, "is_contributor": false, "patch": 18, "region": 2, "isRadiant": true, "win": 1, "lose": 0, "total_gold": 12845, "total_xp": 11517, "kills_per_min": 0.07380073800738007, "kda": 4, "abandons": 0, "neutral_kills": 0, "tower_kills": 3, "courier_kills": 0, "lane_kills": 95, "hero_kills": 2, "observer_kills": 0, "sentry_kills": 0, "roshan_kills": 0, "necronomicon_kills": 0, "ancient_kills": 0, "buyback_count": 0, "observer_uses": 1, "sentry_uses": 0, "lane_efficiency": 0.4936657952945908, "lane_efficiency_pct": 49, "lane": 2, "lane_role": 2, "is_roaming": false, "purchase_time": { "circlet": -83, "mantle": -83, "null_talisman": -83, "faerie_fire": -162, "flask": 120, "boots": 187, "blades_of_attack": 1987, "phase_boots": 370, "tpscroll": 4458, "sobi_mask": 2176, "gauntlets": 947, "urn_of_shadows": 569, "robe": 1833, "oblivion_staff": 1927, "quarterstaff": 1859, "broadsword": 1356, "orchid": 1402, "lesser_crit": 1455, "bloodthorn": 1615, "staff_of_wizardry": 1618, "ogre_axe": 1618 }, "first_purchase_time": { "circlet": -83, "mantle": -83, "null_talisman": -83, "faerie_fire": -81, "flask": 120, "boots": 187, "blades_of_attack": 242, "phase_boots": 370, "tpscroll": 440, "sobi_mask": 441, "gauntlets": 441, "urn_of_shadows": 569, "robe": 744, "oblivion_staff": 838, "quarterstaff": 838, "broadsword": 1356, "orchid": 1402, "lesser_crit": 1455, "bloodthorn": 1615, "staff_of_wizardry": 1618, "ogre_axe": 1618 }, "item_win": { "circlet": 1, "mantle": 1, "null_talisman": 1, "faerie_fire": 1, "flask": 1, "boots": 1, "blades_of_attack": 1, "phase_boots": 1, "tpscroll": 1, "sobi_mask": 1, "gauntlets": 1, "urn_of_shadows": 1, "robe": 1, "oblivion_staff": 1, "quarterstaff": 1, "broadsword": 1, "orchid": 1, "lesser_crit": 1, "bloodthorn": 1, "staff_of_wizardry": 1, "ogre_axe": 1 }, "item_usage": { "circlet": 1, "mantle": 1, "null_talisman": 1, "faerie_fire": 1, "flask": 1, "boots": 1, "blades_of_attack": 1, "phase_boots": 1, "tpscroll": 1, "sobi_mask": 1, "gauntlets": 1, "urn_of_shadows": 1, "robe": 1, "oblivion_staff": 1, "quarterstaff": 1, "broadsword": 1, "orchid": 1, "lesser_crit": 1, "bloodthorn": 1, "staff_of_wizardry": 1, "ogre_axe": 1 }, "purchase_tpscroll": 5, "actions_per_min": 180, "life_state_dead": 92, "rank_tier": null, "cosmetics": [], "benchmarks": { "gold_per_min": { "raw": 474, "pct": 0.43498328823810284 }, "xp_per_min": { "raw": 425, "pct": 0.12350787840203724 }, "kills_per_min": { "raw": 0.07380073800738007, "pct": 0.07926149928378164 }, "last_hits_per_min": { "raw": 3.2472324723247232, "pct": 0.16377526659239217 }, "hero_damage_per_min": { "raw": 330.2583025830258, "pct": 0.110456788158523 }, "hero_healing_per_min": { "raw": 19.630996309963102, "pct": 0.9738978195129715 }, "tower_damage": { "raw": 3782, "pct": 0.6791341715740888 }, "stuns_per_min": { "raw": 1.4264322878228783, "pct": 0.4206589208976603 }, "lhten": { "raw": 32, "pct": 0.33014506615654393 } } }, { "match_id": 2472899185, "player_slot": 3, "ability_targets": null, "ability_upgrades_arr": null, "ability_uses": { "slardar_slithereen_crush": 28, "slardar_sprint": 28, "slardar_amplify_damage": 23 }, "account_id": 256582168, "actions": { "1": 4214, "2": 2, "3": 3, "4": 322, "5": 27, "6": 25, "7": 4, "8": 114, "9": 6, "11": 13, "15": 1, "16": 23, "17": 2, "19": 11 }, "additional_units": null, "assists": 10, "backpack_0": 0, "backpack_1": 0, "backpack_2": 0, "buyback_log": [], "camps_stacked": null, "creeps_stacked": null, "damage": { "npc_dota_creep_badguys_melee": 20547, "npc_dota_hero_magnataur": 1248, "npc_dota_creep_badguys_ranged": 3979, "npc_dota_hero_pudge": 1824, "npc_dota_creep_goodguys_melee": 167, "npc_dota_badguys_siege": 588, "npc_dota_hero_shredder": 2170, "npc_dota_badguys_tower1_top": 30, "npc_dota_badguys_tower1_mid": 62, "npc_dota_hero_legion_commander": 808, "illusion_npc_dota_hero_pudge": 1269, "illusion_npc_dota_hero_spectre": 426, "npc_dota_badguys_tower2_top": 219, "npc_dota_neutral_satyr_hellcaller": 1258, "npc_dota_neutral_satyr_soulstealer": 776, "npc_dota_neutral_satyr_trickster": 550, "npc_dota_badguys_tower2_mid": 261, "npc_dota_badguys_tower3_mid": 352, "npc_dota_hero_spectre": 797, "npc_dota_hero_slardar": 955, "npc_dota_badguys_fillers": 238, "npc_dota_badguys_melee_rax_mid": 99, "npc_dota_badguys_melee_rax_bot": 50, "npc_dota_badguys_range_rax_bot": 319, "npc_dota_badguys_fort": 424 }, "damage_inflictor": { "slardar_slithereen_crush": 3471, "null": 3376 }, "damage_inflictor_received": { "pudge_rot": 701, "null": 665, "magnataur_shockwave": 1213, "shredder_whirling_death": 605, "shredder_chakram": 807, "pudge_meat_hook": 735, "pudge_dismember": 324, "spectre_desolate": 182, "shredder_timber_chain": 212, "spectre_spectral_dagger": 152, "spectre_dispersion": 309, "blade_mail": 110, "magnataur_skewer": 246 }, "damage_taken": { "npc_dota_creep_badguys_melee": 845, "npc_dota_creep_badguys_ranged": 386, "npc_dota_hero_pudge": 1810, "npc_dota_badguys_tower1_top": 457, "npc_dota_hero_magnataur": 1459, "npc_dota_badguys_tower1_mid": 428, "npc_dota_hero_shredder": 1624, "npc_dota_hero_spectre": 691, "npc_dota_badguys_tower2_mid": 189, "npc_dota_hero_legion_commander": 677, "npc_dota_neutral_satyr_soulstealer": 47, "npc_dota_neutral_satyr_trickster": 7, "npc_dota_badguys_tower2_bot": 446, "npc_dota_badguys_tower4": 350, "npc_dota_hero_slardar": 955, "npc_dota_badguys_tower3_bot": 123 }, "damage_targets": null, "deaths": 3, "denies": 1, "dn_t": null, "firstblood_claimed": null, "gold": 3523, "gold_per_min": 457, "gold_reasons": { "0": 707, "1": -657, "6": 125, "11": 4116, "12": 3090, "13": 2197, "14": 200 }, "gold_spent": 9325, "gold_t": [ 0, 136, 313, 413, 633, 837, 1013, 1475, 1611, 1821, 1960, 2251, 2520, 2780, 3384, 3484, 4053, 4723, 5023, 5123, 6014, 6333, 7047, 7887, 8555, 9362, 10442, 12384, 12396, 12396 ], "hero_damage": 6223, "hero_healing": 0, "hero_hits": { "slardar_slithereen_crush": 23, "null": 35, "armlet": 191 }, "hero_id": 28, "item_0": 1, "item_1": 151, "item_2": 55, "item_3": 36, "item_4": 11, "item_5": 63, "item_uses": { "tpscroll": 4, "tango": 4, "magic_stick": 12, "blink": 22, "clarity": 1, "ward_observer": 1, "magic_wand": 7, "armlet": 9 }, "kill_streaks": { "3": 1 }, "killed": { "npc_dota_creep_badguys_melee": 35, "npc_dota_badguys_siege": 2, "npc_dota_hero_shredder": 2, "npc_dota_creep_badguys_ranged": 10, "npc_dota_creep_goodguys_melee": 1, "npc_dota_hero_pudge": 2, "npc_dota_hero_magnataur": 1, "npc_dota_neutral_satyr_hellcaller": 1, "npc_dota_neutral_satyr_soulstealer": 1, "npc_dota_neutral_satyr_trickster": 1, "npc_dota_hero_spectre": 2, "npc_dota_badguys_fillers": 1, "npc_dota_badguys_range_rax_bot": 1 }, "killed_by": { "npc_dota_hero_pudge": 1, "npc_dota_hero_legion_commander": 2 }, "kills": 7, "kills_log": [ { "time": 371, "key": "npc_dota_hero_shredder" }, { "time": 908, "key": "npc_dota_hero_pudge" }, { "time": 986, "key": "npc_dota_hero_magnataur" }, { "time": 1172, "key": "npc_dota_hero_shredder" }, { "time": 1311, "key": "npc_dota_hero_spectre" }, { "time": 1465, "key": "npc_dota_hero_pudge" }, { "time": 1517, "key": "npc_dota_hero_spectre" } ], "lane_pos": { "70": { "162": 5 }, "72": { "72": 2, "74": 12, "76": 13, "78": 1, "160": 1, "162": 5 }, "74": { "74": 2, "76": 6, "78": 2, "80": 1, "82": 6, "94": 1, "96": 1, "98": 1, "100": 1, "102": 1, "104": 1, "106": 1, "110": 1, "112": 1, "158": 1, "164": 4 }, "76": { "78": 1, "80": 1, "82": 1, "84": 1, "86": 1, "90": 1, "92": 1, "114": 1, "116": 1, "154": 2, "156": 1, "158": 3, "160": 7, "162": 11, "164": 5, "166": 3, "168": 2 }, "78": { "80": 1, "118": 1, "150": 2, "152": 2, "156": 1, "158": 1, "160": 6, "162": 11, "164": 20, "166": 44, "168": 11 }, "80": { "82": 1, "118": 1, "120": 1, "146": 3, "148": 3, "150": 2, "152": 3, "154": 1, "158": 1, "160": 1, "162": 7, "164": 17, "166": 38, "168": 31, "170": 9 }, "82": { "84": 1, "122": 1, "124": 1, "126": 1, "134": 1, "138": 1, "140": 1, "142": 2, "144": 1, "150": 1, "154": 2, "156": 2, "166": 8, "168": 26, "170": 16, "172": 2 }, "84": { "86": 1, "88": 1, "128": 1, "132": 1, "140": 1, "148": 1, "150": 1, "156": 1, "164": 1, "168": 2, "170": 9, "172": 3 }, "86": { "90": 1, "130": 1, "132": 1, "138": 2, "148": 1, "150": 1, "162": 1, "170": 1, "172": 2 }, "88": { "92": 1, "130": 5, "136": 1, "148": 1, "158": 1, "160": 1, "162": 1, "170": 2, "172": 3 }, "90": { "94": 1, "130": 1, "136": 1, "150": 1, "160": 1, "170": 2, "172": 2 }, "92": { "94": 1, "130": 1, "136": 1, "148": 1, "150": 1, "172": 1 }, "94": { "96": 1, "132": 1, "136": 1, "146": 1, "172": 1 }, "96": { "98": 1, "134": 1, "136": 2, "146": 1, "148": 1, "172": 1 }, "98": { "102": 1, "138": 30, "146": 1, "148": 1, "174": 1 }, "100": { "104": 1, "138": 2, "174": 1 }, "102": { "106": 1, "138": 1, "140": 1, "146": 5, "174": 14, "176": 1 }, "104": { "108": 1, "138": 2, "140": 8, "142": 2, "144": 2, "174": 1 }, "106": { "110": 1, "140": 2, "144": 4 }, "108": { "112": 1, "140": 2 }, "110": { "114": 2, "138": 1, "140": 1 }, "112": { "114": 1, "132": 1 }, "114": { "114": 1, "116": 1, "126": 1, "130": 1 }, "116": { "116": 1, "118": 1, "120": 2, "122": 1, "124": 1 }, "118": { "120": 2, "122": 1 }, "120": { "120": 1, "124": 1 }, "122": { "126": 1, "128": 5, "136": 4 }, "124": { "126": 2, "128": 1, "130": 1, "134": 1, "136": 3, "138": 1 }, "126": { "126": 3, "128": 2, "130": 6, "132": 1, "136": 2 }, "128": { "126": 2, "128": 1 }, "130": { "126": 1 }, "132": { "126": 1 }, "136": { "124": 1 }, "140": { "122": 1, "124": 2 }, "142": { "120": 1 }, "144": { "118": 1 }, "146": { "116": 1 }, "148": { "108": 1, "110": 1, "112": 1, "114": 1 }, "152": { "108": 1 }, "154": { "108": 1 }, "156": { "106": 1 }, "158": { "106": 1 }, "162": { "106": 1 }, "164": { "106": 1 }, "166": { "106": 1 }, "168": { "84": 2, "86": 1 }, "170": { "88": 1, "90": 1, "106": 1 }, "172": { "100": 2, "102": 2, "104": 2 }, "174": { "90": 1, "92": 7, "98": 1, "100": 7, "102": 2 }, "176": { "92": 9, "94": 1, "98": 1 }, "178": { "92": 1, "98": 1, "100": 4 } }, "last_hits": 52, "leaver_status": 0, "level": 13, "lh_t": [ 0, 1, 3, 3, 6, 8, 10, 12, 13, 14, 15, 17, 18, 18, 26, 26, 26, 27, 27, 27, 27, 32, 33, 33, 41, 44, 47, 52, 52, 52 ], "life_state": { "0": 1677, "1": 6, "2": 90 }, "max_hero_hit": { "type": "max_hero_hit", "time": 1476, "max": true, "inflictor": null, "unit": "npc_dota_hero_slardar", "key": "npc_dota_hero_magnataur", "value": 332, "slot": 3, "player_slot": 3 }, "multi_kills": {}, "obs": { "152": { "130": 1 } }, "obs_left_log": null, "obs_log": [ { "time": 1060, "key": "[152, 130]" } ], "obs_placed": null, "party_id": 3, "party_size": 1, "performance_others": null, "permanent_buffs": null, "pings": 22, "pred_vict": null, "purchase": { "stout_shield": 1, "quelling_blade": 1, "tango": 1, "branches": 3, "clarity": 1, "tpscroll": 4, "boots": 1, "magic_stick": 1, "blink": 1, "gloves": 2, "belt_of_strength": 1, "ward_observer": 1, "power_treads": 1, "circlet": 1, "magic_wand": 1, "blades_of_attack": 1, "helm_of_iron_will": 1, "recipe_armlet": 1, "armlet": 1, "hyperstone": 1, "dust": null }, "purchase_log": [ { "time": -78, "key": "stout_shield" }, { "time": -77, "key": "quelling_blade" }, { "time": -76, "key": "tango" }, { "time": -74, "key": "branches" }, { "time": -73, "key": "clarity" }, { "time": 168, "key": "tpscroll" }, { "time": 236, "key": "boots" }, { "time": 332, "key": "magic_stick" }, { "time": 431, "key": "tpscroll" }, { "time": 578, "key": "tpscroll" }, { "time": 754, "key": "tpscroll" }, { "time": 822, "key": "blink" }, { "time": 957, "key": "gloves" }, { "time": 957, "key": "belt_of_strength" }, { "time": 969, "key": "ward_observer" }, { "time": 992, "key": "power_treads" }, { "time": 1075, "key": "circlet" }, { "time": 1075, "key": "branches" }, { "time": 1076, "key": "branches" }, { "time": 1077, "key": "magic_wand" }, { "time": 1102, "key": "blades_of_attack" }, { "time": 1202, "key": "helm_of_iron_will" }, { "time": 1272, "key": "gloves" }, { "time": 1361, "key": "armlet" }, { "time": 1559, "key": "hyperstone" } ], "randomed": null, "repicked": null, "roshans_killed": null, "rune_pickups": null, "runes": { "5": 1 }, "runes_log": null, "sen": {}, "sen_left_log": null, "sen_log": [], "sen_placed": null, "stuns": 58.852943, "teamfight_participation": null, "times": [ 0, 60, 120, 180, 240, 300, 360, 420, 480, 540, 600, 660, 720, 780, 840, 900, 960, 1020, 1080, 1140, 1200, 1260, 1320, 1380, 1440, 1500, 1560, 1620, 1680, 1740 ], "tower_damage": 1006, "towers_killed": null, "xp_per_min": 376, "xp_reasons": { "0": 138, "1": 5199, "2": 4881 }, "xp_t": [ 0, 111, 333, 400, 689, 932, 1154, 1506, 1773, 2215, 2370, 2782, 3105, 3105, 3500, 3678, 4247, 5119, 5159, 5159, 6268, 6652, 7210, 7210, 7816, 8472, 8865, 10165, 10210, 10210 ], "personaname": "Go", "name": null, "last_login": null, "radiant_win": true, "start_time": 1467319556, "duration": 1626, "cluster": 122, "lobby_type": 7, "game_mode": 22, "is_contributor": false, "patch": 18, "region": 2, "isRadiant": true, "win": 1, "lose": 0, "total_gold": 12384, "total_xp": 10189, "kills_per_min": 0.25830258302583026, "kda": 4, "abandons": 0, "neutral_kills": 3, "tower_kills": 0, "courier_kills": 0, "lane_kills": 46, "hero_kills": 7, "observer_kills": 0, "sentry_kills": 0, "roshan_kills": 0, "necronomicon_kills": 0, "ancient_kills": 0, "buyback_count": 0, "observer_uses": 1, "sentry_uses": 0, "lane_efficiency": 0.3941282927810175, "lane_efficiency_pct": 39, "lane": 3, "lane_role": 3, "is_roaming": false, "purchase_time": { "stout_shield": -78, "quelling_blade": -77, "tango": -76, "branches": 2077, "clarity": -73, "tpscroll": 1931, "boots": 236, "magic_stick": 332, "blink": 822, "gloves": 2229, "belt_of_strength": 957, "ward_observer": 969, "power_treads": 992, "circlet": 1075, "magic_wand": 1077, "blades_of_attack": 1102, "helm_of_iron_will": 1202, "armlet": 1361, "hyperstone": 1559 }, "first_purchase_time": { "stout_shield": -78, "quelling_blade": -77, "tango": -76, "branches": -74, "clarity": -73, "tpscroll": 168, "boots": 236, "magic_stick": 332, "blink": 822, "gloves": 957, "belt_of_strength": 957, "ward_observer": 969, "power_treads": 992, "circlet": 1075, "magic_wand": 1077, "blades_of_attack": 1102, "helm_of_iron_will": 1202, "armlet": 1361, "hyperstone": 1559 }, "item_win": { "stout_shield": 1, "quelling_blade": 1, "tango": 1, "branches": 1, "clarity": 1, "tpscroll": 1, "boots": 1, "magic_stick": 1, "blink": 1, "gloves": 1, "belt_of_strength": 1, "ward_observer": 1, "power_treads": 1, "circlet": 1, "magic_wand": 1, "blades_of_attack": 1, "helm_of_iron_will": 1, "armlet": 1, "hyperstone": 1 }, "item_usage": { "stout_shield": 1, "quelling_blade": 1, "tango": 1, "branches": 1, "clarity": 1, "tpscroll": 1, "boots": 1, "magic_stick": 1, "blink": 1, "gloves": 1, "belt_of_strength": 1, "ward_observer": 1, "power_treads": 1, "circlet": 1, "magic_wand": 1, "blades_of_attack": 1, "helm_of_iron_will": 1, "armlet": 1, "hyperstone": 1 }, "purchase_ward_observer": 1, "purchase_tpscroll": 4, "actions_per_min": 175, "life_state_dead": 96, "rank_tier": null, "cosmetics": [], "benchmarks": { "gold_per_min": { "raw": 457, "pct": 0.8887775551102205 }, "xp_per_min": { "raw": 376, "pct": 0.23947895791583165 }, "kills_per_min": { "raw": 0.25830258302583026, "pct": 0.9138276553106213 }, "last_hits_per_min": { "raw": 1.9188191881918817, "pct": 0.40681362725450904 }, "hero_damage_per_min": { "raw": 229.6309963099631, "pct": 0.3877755511022044 }, "hero_healing_per_min": { "raw": 0, "pct": 0.8777555110220441 }, "tower_damage": { "raw": 1006, "pct": 0.720440881763527 }, "stuns_per_min": { "raw": 2.171695313653137, "pct": 0.842685370741483 }, "lhten": { "raw": 15, "pct": 0.5030120481927711 } } }, { "match_id": 2472899185, "player_slot": 4, "ability_targets": null, "ability_upgrades_arr": null, "ability_uses": { "vengefulspirit_magic_missile": 22, "vengefulspirit_wave_of_terror": 30, "vengefulspirit_nether_swap": 10 }, "account_id": 17065256, "actions": { "1": 4004, "3": 31, "4": 399, "5": 48, "6": 67, "7": 5, "8": 45, "10": 14, "11": 14, "15": 13, "16": 43, "17": 1, "19": 9, "27": 14, "31": 1, "33": 14 }, "additional_units": null, "assists": 19, "backpack_0": 0, "backpack_1": 0, "backpack_2": 0, "buyback_log": [], "camps_stacked": null, "creeps_stacked": null, "damage": { "npc_dota_hero_spectre": 1122, "npc_dota_creep_badguys_ranged": 2048, "npc_dota_neutral_harpy_scout": 125, "npc_dota_creep_goodguys_melee": 114, "npc_dota_neutral_polar_furbolg_ursa_warrior": 79, "npc_dota_creep_badguys_melee": 2688, "npc_dota_hero_shredder": 2258, "npc_dota_hero_pudge": 2173, "npc_dota_hero_legion_commander": 587, "illusion_npc_dota_hero_spectre": 61, "npc_dota_badguys_siege": 417, "npc_dota_hero_magnataur": 635, "npc_dota_roshan": 50, "npc_dota_badguys_tower2_top": 107, "npc_dota_badguys_tower3_top": 304, "npc_dota_badguys_melee_rax_top": 46, "npc_dota_badguys_tower3_mid": 153, "npc_dota_badguys_melee_rax_mid": 132, "npc_dota_badguys_fillers": 347, "npc_dota_badguys_tower3_bot": 149, "npc_dota_badguys_tower4": 254, "npc_dota_badguys_fort": 338 }, "damage_inflictor": { "null": 1517, "vengefulspirit_magic_missile": 4139, "vengefulspirit_wave_of_terror": 1081, "urn_of_shadows": 38 }, "damage_inflictor_received": { "spectre_dispersion": 494, "null": 780, "spectre_spectral_dagger": 112, "pudge_rot": 765, "pudge_meat_hook": 639, "shredder_chakram": 1286, "shredder_whirling_death": 76, "shredder_timber_chain": 143, "spectre_desolate": 304, "legion_commander_overwhelming_odds": 564, "pudge_dismember": 56, "magnataur_shockwave": 687, "blade_mail": 408, "magnataur_reverse_polarity": 95, "magnataur_skewer": 214 }, "damage_taken": { "npc_dota_hero_spectre": 1225, "npc_dota_creep_badguys_ranged": 606, "npc_dota_neutral_harpy_storm": 14, "npc_dota_neutral_harpy_scout": 11, "npc_dota_neutral_polar_furbolg_ursa_warrior": 41, "npc_dota_neutral_polar_furbolg_champion": 32, "npc_dota_creep_badguys_melee": 432, "npc_dota_badguys_tower1_bot": 66, "npc_dota_hero_pudge": 1609, "npc_dota_hero_shredder": 1683, "npc_dota_badguys_siege": 206, "npc_dota_hero_legion_commander": 1110, "npc_dota_badguys_tower2_mid": 433, "npc_dota_hero_magnataur": 996, "npc_dota_badguys_tower3_top": 330, "npc_dota_badguys_tower4": 648, "npc_dota_badguys_tower3_bot": 77 }, "damage_targets": null, "deaths": 2, "denies": 1, "dn_t": null, "firstblood_claimed": null, "gold": 3704, "gold_per_min": 383, "gold_reasons": { "0": 691, "1": -418, "6": 50, "11": 3966, "12": 2795, "13": 659, "14": 200 }, "gold_spent": 7005, "gold_t": [ 0, 99, 199, 422, 637, 737, 837, 1243, 1465, 1962, 2062, 2162, 2306, 2566, 2826, 3253, 3676, 3776, 4076, 4176, 4672, 4772, 5158, 6698, 7046, 7438, 8346, 10385, 10397, 10397 ], "hero_damage": 6036, "hero_healing": 821, "hero_hits": { "null": 38, "vengefulspirit_magic_missile": 21, "vengefulspirit_wave_of_terror": 18, "urn_of_shadows": 2 }, "hero_id": 20, "item_0": 46, "item_1": 36, "item_2": 102, "item_3": 180, "item_4": 92, "item_5": 218, "item_uses": { "ward_observer": 5, "courier": 1, "tango": 4, "clarity": 2, "tpscroll": 6, "magic_wand": 9, "tome_of_knowledge": 1, "smoke_of_deceit": 4, "ward_dispenser": 10, "arcane_boots": 13, "ward_sentry": 1, "urn_of_shadows": 12 }, "kill_streaks": {}, "killed": { "npc_dota_creep_goodguys_melee": 1, "npc_dota_hero_pudge": 1, "npc_dota_creep_badguys_melee": 9, "npc_dota_creep_badguys_ranged": 5, "npc_dota_hero_shredder": 1, "npc_dota_badguys_siege": 1, "npc_dota_badguys_fillers": 1 }, "killed_by": { "npc_dota_hero_shredder": 1, "npc_dota_hero_pudge": 1 }, "kills": 2, "kills_log": [ { "time": 375, "key": "npc_dota_hero_pudge" }, { "time": 526, "key": "npc_dota_hero_shredder" } ], "lane_pos": { "70": { "74": 1 }, "72": { "74": 1, "76": 8 }, "74": { "74": 16, "76": 2, "78": 5, "80": 1 }, "76": { "74": 2, "76": 6, "78": 2, "82": 1 }, "78": { "78": 1, "80": 1, "86": 1, "88": 1 }, "80": { "82": 1 }, "82": { "78": 1, "84": 1, "88": 1 }, "84": { "78": 1, "86": 1, "88": 2 }, "86": { "78": 1, "90": 2 }, "88": { "78": 1, "90": 1, "92": 1, "94": 1 }, "90": { "78": 1, "92": 1, "96": 1 }, "92": { "78": 1, "94": 1, "98": 1, "128": 2, "130": 1, "132": 1 }, "94": { "78": 1, "96": 1, "100": 1, "124": 1, "128": 1, "132": 2, "134": 1 }, "96": { "96": 1, "102": 1, "104": 1, "122": 1, "124": 1, "126": 1, "134": 1, "136": 4 }, "98": { "78": 1, "106": 1, "120": 1, "122": 1, "136": 2 }, "100": { "78": 1, "96": 1, "110": 1, "112": 1, "114": 1, "116": 1, "118": 1, "120": 2, "138": 2 }, "102": { "78": 1, "96": 1, "116": 1, "138": 1, "140": 1 }, "104": { "78": 1, "96": 1, "114": 1, "138": 8, "140": 7, "142": 2, "144": 3 }, "106": { "78": 1, "114": 1, "136": 2, "140": 1, "142": 1, "144": 1 }, "108": { "78": 1, "96": 1, "134": 2, "138": 1, "140": 4, "142": 3, "144": 2 }, "110": { "98": 1, "112": 1, "136": 2, "138": 4, "140": 3, "142": 1 }, "112": { "78": 1, "98": 1, "112": 1, "132": 1, "134": 2 }, "114": { "78": 1, "100": 1, "104": 1, "106": 1, "110": 1, "116": 1, "118": 1, "128": 1, "130": 1, "134": 1 }, "116": { "78": 1, "102": 1, "104": 1, "108": 1, "110": 1, "116": 1, "126": 1, "132": 1 }, "118": { "78": 1, "104": 2, "110": 1, "112": 1, "114": 3, "118": 1, "122": 2, "124": 2, "130": 1 }, "120": { "78": 1, "104": 2, "110": 1, "114": 1, "120": 3, "122": 4, "124": 5, "126": 3, "128": 3 }, "122": { "80": 1, "104": 1, "106": 1, "110": 2, "112": 1, "114": 1, "116": 3, "118": 2, "120": 5, "122": 5, "124": 5, "126": 4, "128": 1 }, "124": { "106": 2, "108": 1, "110": 1, "122": 2, "126": 1, "128": 16, "130": 3, "134": 1 }, "126": { "80": 2, "106": 1, "108": 1, "116": 1, "130": 1, "132": 1 }, "128": { "82": 1, "106": 1, "116": 1 }, "130": { "84": 1, "104": 1, "106": 1, "114": 1 }, "132": { "86": 1, "102": 1, "106": 1, "112": 1 }, "134": { "88": 1, "98": 1, "100": 1, "108": 1, "112": 1 }, "136": { "88": 1 }, "138": { "90": 1, "96": 1, "108": 1, "110": 1 }, "140": { "90": 1, "96": 1, "108": 1, "110": 1, "114": 1, "116": 2 }, "142": { "92": 1, "96": 1, "106": 1, "108": 17, "110": 3, "112": 2, "114": 1 }, "144": { "88": 1, "90": 1, "92": 1, "94": 2, "96": 1, "104": 2, "106": 1, "108": 1, "110": 4, "112": 3, "114": 1 }, "146": { "88": 1, "96": 3, "98": 1, "100": 3, "102": 1, "104": 1, "108": 1, "112": 2, "114": 1 }, "148": { "86": 1, "96": 3, "98": 2, "108": 1, "110": 2 }, "150": { "86": 1, "96": 1, "108": 1 }, "152": { "88": 14, "96": 1, "106": 1 }, "154": { "80": 3, "82": 1, "84": 3, "86": 1, "88": 2, "92": 3, "94": 3, "96": 1, "102": 1, "104": 1 }, "156": { "80": 2, "82": 2, "84": 1, "86": 3, "88": 2, "90": 5, "92": 4, "94": 4, "96": 2, "98": 1, "100": 1 }, "158": { "80": 4, "86": 5, "90": 1, "94": 1, "96": 3 }, "160": { "80": 1, "86": 4, "88": 1, "96": 4 }, "162": { "80": 1, "82": 1, "90": 2, "92": 2, "96": 1, "98": 1 }, "164": { "82": 1, "88": 1, "90": 1, "94": 22, "96": 6, "98": 1 }, "166": { "82": 1, "88": 1, "90": 1, "94": 3, "96": 2, "98": 1 }, "168": { "82": 1, "86": 4, "88": 2, "90": 2, "92": 2, "96": 5, "100": 1 }, "170": { "84": 1, "86": 3, "88": 1, "90": 7, "92": 1, "94": 6, "96": 4, "98": 6, "100": 1 }, "172": { "84": 1, "86": 1, "88": 2, "90": 4, "92": 4, "94": 3, "96": 6, "98": 3, "100": 1, "102": 1 }, "174": { "86": 1, "88": 3, "90": 1, "92": 2, "94": 5, "96": 5, "98": 9, "100": 5, "102": 2 }, "176": { "90": 1, "94": 1, "96": 2, "98": 3, "100": 4, "102": 4, "104": 2, "106": 1 }, "178": { "92": 1, "96": 1, "98": 1, "100": 2, "102": 1, "106": 1, "108": 1 }, "180": { "92": 1, "96": 4, "98": 1 }, "182": { "94": 4, "96": 8 }, "184": { "94": 1, "96": 1 } }, "last_hits": 16, "leaver_status": 0, "level": 14, "lh_t": [ 0, 0, 0, 0, 0, 0, 0, 0, 3, 5, 5, 5, 5, 5, 5, 12, 12, 12, 12, 12, 12, 12, 14, 14, 15, 15, 15, 16, 16, 16 ], "life_state": { "0": 1711, "1": 3, "2": 59 }, "max_hero_hit": { "type": "max_hero_hit", "time": 1557, "max": true, "inflictor": "vengefulspirit_magic_missile", "unit": "npc_dota_hero_vengefulspirit", "key": "npc_dota_hero_shredder", "value": 250, "slot": 4, "player_slot": 4 }, "multi_kills": {}, "obs": { "102": { "172": 1 }, "116": { "158": 1 }, "124": { "130": 1 }, "130": { "150": 1 }, "136": { "164": 1 }, "142": { "118": 1 }, "144": { "118": 1 }, "160": { "154": 1 }, "178": { "106": 1 } }, "obs_left_log": null, "obs_log": [ { "time": -26, "key": "[142, 118]" }, { "time": 257, "key": "[178, 106]" }, { "time": 453, "key": "[124, 130]" }, { "time": 552, "key": "[144, 118]" }, { "time": 655, "key": "[130, 150]" }, { "time": 796, "key": "[102, 172]" }, { "time": 1133, "key": "[116, 158]" }, { "time": 1219, "key": "[136, 164]" }, { "time": 1533, "key": "[160, 154]" } ], "obs_placed": null, "party_id": 4, "party_size": 1, "performance_others": null, "permanent_buffs": null, "pings": 14, "pred_vict": null, "purchase": { "ward_observer": 11, "courier": 1, "tango": 1, "branches": 2, "clarity": 2, "tpscroll": 8, "flying_courier": 1, "boots": 1, "circlet": 1, "magic_wand": 1, "magic_stick": 1, "smoke_of_deceit": 4, "ward_dispenser": 5, "ward_sentry": 1, "tome_of_knowledge": 1, "arcane_boots": 1, "energy_booster": 1, "gauntlets": 2, "sobi_mask": 1, "recipe_urn_of_shadows": 1, "urn_of_shadows": 1, "staff_of_wizardry": 1, "ring_of_regen": 1, "force_staff": 1, "recipe_force_staff": 1, "dust": null }, "purchase_log": [ { "time": -80, "key": "ward_observer" }, { "time": -75, "key": "courier" }, { "time": -73, "key": "ward_observer" }, { "time": -73, "key": "tango" }, { "time": -73, "key": "branches" }, { "time": -72, "key": "clarity" }, { "time": -72, "key": "branches" }, { "time": 153, "key": "tpscroll" }, { "time": 158, "key": "ward_observer" }, { "time": 198, "key": "flying_courier" }, { "time": 261, "key": "boots" }, { "time": 261, "key": "tpscroll" }, { "time": 276, "key": "clarity" }, { "time": 327, "key": "ward_observer" }, { "time": 415, "key": "circlet" }, { "time": 415, "key": "magic_wand" }, { "time": 415, "key": "magic_stick" }, { "time": 418, "key": "ward_observer" }, { "time": 419, "key": "smoke_of_deceit" }, { "time": 484, "key": "tpscroll" }, { "time": 577, "key": "ward_observer" }, { "time": 585, "key": "ward_sentry" }, { "time": 601, "key": "tome_of_knowledge" }, { "time": 687, "key": "tpscroll" }, { "time": 688, "key": "ward_observer" }, { "time": 768, "key": "tpscroll" }, { "time": 819, "key": "tpscroll" }, { "time": 867, "key": "arcane_boots" }, { "time": 867, "key": "energy_booster" }, { "time": 889, "key": "ward_observer" }, { "time": 890, "key": "tpscroll" }, { "time": 892, "key": "smoke_of_deceit" }, { "time": 1013, "key": "smoke_of_deceit" }, { "time": 1015, "key": "gauntlets" }, { "time": 1022, "key": "tpscroll" }, { "time": 1023, "key": "gauntlets" }, { "time": 1123, "key": "sobi_mask" }, { "time": 1182, "key": "ward_observer" }, { "time": 1184, "key": "smoke_of_deceit" }, { "time": 1216, "key": "urn_of_shadows" }, { "time": 1426, "key": "staff_of_wizardry" }, { "time": 1426, "key": "ring_of_regen" }, { "time": 1426, "key": "force_staff" }, { "time": 1443, "key": "ward_observer" }, { "time": 1443, "key": "ward_observer" } ], "randomed": null, "repicked": null, "roshans_killed": null, "rune_pickups": null, "runes": { "1": 2, "4": 1, "5": 1 }, "runes_log": null, "sen": { "136": { "164": 1 } }, "sen_left_log": null, "sen_log": [ { "time": 1178, "key": "[136, 164]" } ], "sen_placed": null, "stuns": 25.55915, "teamfight_participation": null, "times": [ 0, 60, 120, 180, 240, 300, 360, 420, 480, 540, 600, 660, 720, 780, 840, 900, 960, 1020, 1080, 1140, 1200, 1260, 1320, 1380, 1440, 1500, 1560, 1620, 1680, 1740 ], "tower_damage": 726, "towers_killed": null, "xp_per_min": 418, "xp_reasons": { "0": 532, "1": 6684, "2": 3862, "3": 272 }, "xp_t": [ 0, 22, 155, 312, 748, 903, 923, 1186, 1411, 1854, 1854, 2338, 2405, 2465, 2591, 3264, 3899, 3899, 4255, 4387, 5146, 5271, 5773, 8140, 8252, 8552, 9522, 11333, 11333, 11333 ], "personaname": "denim chicken", "name": null, "last_login": "2018-09-13T20:54:09.196Z", "radiant_win": true, "start_time": 1467319556, "duration": 1626, "cluster": 122, "lobby_type": 7, "game_mode": 22, "is_contributor": false, "patch": 18, "region": 2, "isRadiant": true, "win": 1, "lose": 0, "total_gold": 10379, "total_xp": 11327, "kills_per_min": 0.07380073800738007, "kda": 7, "abandons": 0, "neutral_kills": 0, "tower_kills": 0, "courier_kills": 0, "lane_kills": 15, "hero_kills": 2, "observer_kills": 0, "sentry_kills": 0, "roshan_kills": 0, "necronomicon_kills": 0, "ancient_kills": 0, "buyback_count": 0, "observer_uses": 5, "sentry_uses": 1, "lane_efficiency": 0.4146390508747235, "lane_efficiency_pct": 41, "lane": 1, "lane_role": 1, "is_roaming": true, "purchase_time": { "ward_observer": 6972, "courier": -75, "tango": -73, "branches": -145, "clarity": 204, "tpscroll": 5084, "flying_courier": 198, "boots": 261, "circlet": 415, "magic_wand": 415, "magic_stick": 415, "smoke_of_deceit": 3508, "ward_sentry": 585, "tome_of_knowledge": 601, "arcane_boots": 867, "energy_booster": 867, "gauntlets": 2038, "sobi_mask": 1123, "urn_of_shadows": 1216, "staff_of_wizardry": 1426, "ring_of_regen": 1426, "force_staff": 1426 }, "first_purchase_time": { "ward_observer": -80, "courier": -75, "tango": -73, "branches": -73, "clarity": -72, "tpscroll": 153, "flying_courier": 198, "boots": 261, "circlet": 415, "magic_wand": 415, "magic_stick": 415, "smoke_of_deceit": 419, "ward_sentry": 585, "tome_of_knowledge": 601, "arcane_boots": 867, "energy_booster": 867, "gauntlets": 1015, "sobi_mask": 1123, "urn_of_shadows": 1216, "staff_of_wizardry": 1426, "ring_of_regen": 1426, "force_staff": 1426 }, "item_win": { "ward_observer": 1, "courier": 1, "tango": 1, "branches": 1, "clarity": 1, "tpscroll": 1, "flying_courier": 1, "boots": 1, "circlet": 1, "magic_wand": 1, "magic_stick": 1, "smoke_of_deceit": 1, "ward_sentry": 1, "tome_of_knowledge": 1, "arcane_boots": 1, "energy_booster": 1, "gauntlets": 1, "sobi_mask": 1, "urn_of_shadows": 1, "staff_of_wizardry": 1, "ring_of_regen": 1, "force_staff": 1 }, "item_usage": { "ward_observer": 1, "courier": 1, "tango": 1, "branches": 1, "clarity": 1, "tpscroll": 1, "flying_courier": 1, "boots": 1, "circlet": 1, "magic_wand": 1, "magic_stick": 1, "smoke_of_deceit": 1, "ward_sentry": 1, "tome_of_knowledge": 1, "arcane_boots": 1, "energy_booster": 1, "gauntlets": 1, "sobi_mask": 1, "urn_of_shadows": 1, "staff_of_wizardry": 1, "ring_of_regen": 1, "force_staff": 1 }, "purchase_ward_observer": 11, "purchase_ward_sentry": 1, "purchase_tpscroll": 8, "actions_per_min": 174, "life_state_dead": 62, "rank_tier": null, "cosmetics": [], "benchmarks": { "gold_per_min": { "raw": 383, "pct": 0.848435595286469 }, "xp_per_min": { "raw": 418, "pct": 0.48354327509142625 }, "kills_per_min": { "raw": 0.07380073800738007, "pct": 0.3522958147094677 }, "last_hits_per_min": { "raw": 0.5904059040590406, "pct": 0.14018691588785046 }, "hero_damage_per_min": { "raw": 222.73062730627305, "pct": 0.08695652173913043 }, "hero_healing_per_min": { "raw": 30.295202952029523, "pct": 0.9049167005282406 }, "tower_damage": { "raw": 726, "pct": 0.6013815522145469 }, "stuns_per_min": { "raw": 0.9431420664206642, "pct": 0.6273872409589598 }, "lhten": { "raw": 5, "pct": 0.622557003257329 } } }, { "match_id": 2472899185, "player_slot": 128, "ability_targets": null, "ability_upgrades_arr": null, "ability_uses": { "pudge_meat_hook": 29, "pudge_rot": 119, "pudge_dismember": 6 }, "account_id": null, "actions": { "1": 3165, "3": 32, "4": 168, "5": 78, "6": 11, "7": 1, "8": 62, "9": 83, "10": 89, "11": 9, "15": 6, "16": 25, "17": 1, "19": 8, "23": 1, "24": 1, "33": 69 }, "additional_units": null, "assists": 4, "backpack_0": 0, "backpack_1": 0, "backpack_2": 0, "buyback_log": [ { "time": 1369 } ], "camps_stacked": null, "creeps_stacked": null, "damage": { "npc_dota_creep_goodguys_melee": 4277, "npc_dota_creep_goodguys_ranged": 1728, "npc_dota_hero_ursa": 1807, "npc_dota_hero_pudge": 4167, "npc_dota_hero_slardar": 1810, "npc_dota_hero_vengefulspirit": 1609, "npc_dota_hero_invoker": 976, "npc_dota_hero_juggernaut": 1139, "npc_dota_goodguys_siege": 73, "npc_dota_creep_badguys_melee": 65, "npc_dota_creep_goodguys_melee_upgraded": 379 }, "damage_inflictor": { "pudge_rot": 3185, "pudge_meat_hook": 2908, "null": 468, "pudge_dismember": 780 }, "damage_inflictor_received": { "null": 6276, "ursa_earthshock": 1231, "slardar_slithereen_crush": 1031, "vengefulspirit_magic_missile": 1563, "juggernaut_blade_fury": 1551, "juggernaut_omni_slash": 1668, "invoker_cold_snap": 196, "vengefulspirit_wave_of_terror": 242, "invoker_tornado": 1186, "urn_of_shadows": 57, "bfury": 82 }, "damage_taken": { "npc_dota_creep_goodguys_melee": 532, "npc_dota_hero_ursa": 3656, "npc_dota_creep_goodguys_ranged": 478, "npc_dota_hero_pudge": 4167, "npc_dota_hero_slardar": 1824, "npc_dota_hero_invoker": 2424, "npc_dota_hero_vengefulspirit": 2173, "npc_dota_hero_juggernaut": 5006, "npc_dota_goodguys_siege": 25, "npc_dota_goodguys_tower1_mid": 240, "npc_dota_creep_goodguys_melee_upgraded": 272 }, "damage_targets": null, "deaths": 13, "denies": 0, "dn_t": null, "firstblood_claimed": null, "gold": 89, "gold_per_min": 200, "gold_reasons": { "0": 695, "1": -2927, "2": -563, "6": 125, "12": 1876, "13": 767 }, "gold_spent": 3765, "gold_t": [ 0, 136, 321, 878, 978, 1195, 1337, 1437, 1537, 1839, 2067, 2237, 2483, 2583, 2683, 3003, 3103, 3584, 4109, 4209, 4309, 4453, 4887, 4987, 5087, 5187, 5287, 5412, 5424, 5424 ], "hero_damage": 6349, "hero_healing": 0, "hero_hits": { "pudge_rot": 688, "pudge_meat_hook": 10, "null": 19, "pudge_dismember": 13 }, "hero_id": 14, "item_0": 41, "item_1": 36, "item_2": 214, "item_3": 40, "item_4": 46, "item_5": 4, "item_uses": { "clarity": 1, "ward_observer": 4, "bottle": 32, "tango_single": 1, "faerie_fire": 1, "tpscroll": 6, "magic_stick": 1, "dust": 1, "magic_wand": 3 }, "kill_streaks": {}, "killed": { "npc_dota_creep_goodguys_melee": 10, "npc_dota_creep_goodguys_ranged": 6, "npc_dota_hero_slardar": 1, "npc_dota_goodguys_siege": 1, "npc_dota_hero_vengefulspirit": 1, "npc_dota_creep_goodguys_melee_upgraded": 1 }, "killed_by": { "npc_dota_hero_vengefulspirit": 1, "npc_dota_hero_juggernaut": 3, "npc_dota_creep_goodguys_melee": 1, "npc_dota_hero_slardar": 2, "npc_dota_hero_ursa": 5, "npc_dota_hero_invoker": 1 }, "kills": 2, "kills_log": [ { "time": 145, "key": "npc_dota_hero_slardar" }, { "time": 984, "key": "npc_dota_hero_vengefulspirit" } ], "lane_pos": { "70": { "164": 1, "166": 4 }, "72": { "168": 3, "170": 1 }, "74": { "170": 2, "172": 1 }, "76": { "172": 1 }, "78": { "172": 2 }, "80": { "172": 1 }, "82": { "164": 1, "166": 6, "168": 4, "172": 1 }, "84": { "164": 2, "168": 14, "170": 3, "172": 4, "174": 2 }, "86": { "162": 1, "168": 48, "170": 18, "172": 3, "174": 2 }, "88": { "162": 1, "168": 15, "170": 37, "172": 8, "174": 2, "176": 4 }, "90": { "168": 3, "170": 19, "172": 5 }, "92": { "162": 1, "170": 18, "172": 7, "174": 2 }, "94": { "162": 1, "170": 6, "172": 10, "174": 1, "176": 1 }, "96": { "164": 1, "170": 3, "172": 5, "174": 1 }, "98": { "164": 1, "170": 3, "172": 4, "174": 1 }, "100": { "166": 1, "168": 1, "170": 1, "172": 3, "174": 1 }, "102": { "166": 1, "172": 3, "174": 4 }, "104": { "166": 1, "172": 1 }, "106": { "142": 1, "144": 25, "166": 1, "172": 1 }, "108": { "140": 1, "142": 3, "144": 2, "164": 1, "172": 1 }, "110": { "140": 3, "144": 8, "164": 1, "170": 1 }, "112": { "138": 2, "144": 22, "162": 1, "164": 1, "166": 1 }, "114": { "144": 5, "162": 2 }, "116": { "138": 2, "140": 2, "144": 5, "156": 2, "158": 1, "160": 2 }, "118": { "138": 1, "140": 3, "144": 3, "150": 1, "152": 2, "154": 2 }, "120": { "138": 2, "140": 1, "144": 2, "148": 2 }, "122": { "124": 1, "126": 1, "136": 1, "144": 2, "146": 2 }, "124": { "124": 1, "128": 1, "132": 1, "138": 1, "140": 3, "142": 2, "144": 1, "146": 1 }, "126": { "124": 1, "128": 6, "130": 1, "136": 1, "138": 1, "140": 4 }, "128": { "132": 1, "134": 1 }, "130": { "126": 5, "128": 3, "130": 2, "132": 1 }, "132": { "124": 1, "126": 3, "128": 4, "130": 11, "132": 2 }, "134": { "124": 2, "126": 4, "128": 1, "134": 1 }, "136": { "126": 1, "128": 1, "134": 1 }, "138": { "122": 2, "124": 2, "136": 1, "138": 1 }, "140": { "120": 1, "124": 2, "138": 1 }, "142": { "126": 1, "140": 1 }, "144": { "118": 1, "142": 1, "144": 1 }, "146": { "116": 1, "144": 1 }, "148": { "112": 1, "114": 1, "146": 1 }, "150": { "108": 1, "148": 1 }, "152": { "106": 1, "148": 1, "150": 1 }, "154": { "104": 1, "152": 1 }, "156": { "96": 1, "100": 1, "102": 1, "154": 1, "156": 1 }, "158": { "96": 1, "158": 1 }, "160": { "160": 1, "162": 1 }, "162": { "90": 1, "96": 1, "162": 1 }, "164": { "88": 2, "90": 2, "92": 1, "96": 1, "164": 1 }, "166": { "90": 1, "94": 1, "96": 1, "98": 1, "166": 1, "168": 1 }, "168": { "100": 1, "168": 1 }, "170": { "90": 3, "98": 1, "102": 1, "106": 1, "170": 1 }, "172": { "88": 2, "90": 1, "98": 1, "104": 1, "170": 1 }, "174": { "86": 1, "88": 1, "90": 1, "100": 1, "102": 1, "104": 1, "108": 8, "112": 1, "114": 1, "116": 1, "172": 1 }, "176": { "88": 1, "92": 1, "106": 2, "108": 3, "110": 11, "112": 2, "172": 1 }, "178": { "92": 1, "104": 1, "108": 4, "114": 4, "116": 1, "172": 1, "176": 16 }, "180": { "96": 29, "114": 1, "174": 7, "176": 2, "178": 1 }, "182": { "94": 1, "96": 1, "174": 6, "176": 8, "178": 3 }, "184": { "94": 1 } }, "last_hits": 18, "leaver_status": 0, "level": 9, "lh_t": [ 0, 1, 3, 4, 4, 7, 8, 8, 8, 12, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 16, 17, 17, 17, 17, 17, 18, 18, 18 ], "life_state": { "0": 1374, "1": 24, "2": 375 }, "max_hero_hit": { "type": "max_hero_hit", "time": 1060, "max": true, "inflictor": "pudge_meat_hook", "unit": "npc_dota_hero_pudge", "key": "npc_dota_hero_slardar", "value": 421, "slot": 5, "player_slot": 128 }, "multi_kills": {}, "obs": { "98": { "128": 1 }, "110": { "144": 1 }, "120": { "122": 1 }, "144": { "118": 1 } }, "obs_left_log": null, "obs_log": [ { "time": 14, "key": "[110, 144]" }, { "time": 582, "key": "[120, 122]" }, { "time": 754, "key": "[144, 118]" }, { "time": 842, "key": "[98, 128]" } ], "obs_placed": null, "party_id": 5, "party_size": 1, "performance_others": null, "permanent_buffs": null, "pings": 28, "pred_vict": null, "purchase": { "enchanted_mango": 1, "faerie_fire": 1, "clarity": 1, "ward_observer": 4, "bottle": 1, "ring_of_protection": 1, "boots": 1, "tranquil_boots": 1, "ring_of_regen": 1, "tpscroll": 7, "flying_courier": 1, "magic_stick": 1, "circlet": 1, "branches": 2, "magic_wand": 1, "dust": 2, "chainmail": 1 }, "purchase_log": [ { "time": -66, "key": "enchanted_mango" }, { "time": -65, "key": "faerie_fire" }, { "time": -64, "key": "clarity" }, { "time": -62, "key": "ward_observer" }, { "time": 91, "key": "bottle" }, { "time": 174, "key": "ring_of_protection" }, { "time": 175, "key": "boots" }, { "time": 305, "key": "tranquil_boots" }, { "time": 305, "key": "ring_of_regen" }, { "time": 308, "key": "tpscroll" }, { "time": 395, "key": "ward_observer" }, { "time": 472, "key": "tpscroll" }, { "time": 654, "key": "ward_observer" }, { "time": 654, "key": "flying_courier" }, { "time": 658, "key": "magic_stick" }, { "time": 659, "key": "tpscroll" }, { "time": 660, "key": "tpscroll" }, { "time": 750, "key": "ward_observer" }, { "time": 827, "key": "circlet" }, { "time": 827, "key": "branches" }, { "time": 827, "key": "branches" }, { "time": 852, "key": "magic_wand" }, { "time": 1038, "key": "tpscroll" }, { "time": 1046, "key": "dust" }, { "time": 1049, "key": "tpscroll" }, { "time": 1106, "key": "chainmail" }, { "time": 1351, "key": "tpscroll" } ], "randomed": null, "repicked": null, "roshans_killed": null, "rune_pickups": null, "runes": { "2": 1, "5": 1 }, "runes_log": null, "sen": {}, "sen_left_log": null, "sen_log": [], "sen_placed": null, "stuns": 14.696411, "teamfight_participation": null, "times": [ 0, 60, 120, 180, 240, 300, 360, 420, 480, 540, 600, 660, 720, 780, 840, 900, 960, 1020, 1080, 1140, 1200, 1260, 1320, 1380, 1440, 1500, 1560, 1620, 1680, 1740 ], "tower_damage": 0, "towers_killed": null, "xp_per_min": 194, "xp_reasons": { "0": 108, "1": 2048, "2": 3123 }, "xp_t": [ 0, 76, 332, 872, 1049, 1271, 1453, 1453, 1564, 1878, 2214, 2426, 2733, 2799, 2843, 3231, 3231, 3563, 4140, 4140, 4207, 4297, 4932, 4954, 5043, 5103, 5195, 5279, 5279, 5279 ], "radiant_win": true, "start_time": 1467319556, "duration": 1626, "cluster": 122, "lobby_type": 7, "game_mode": 22, "is_contributor": false, "patch": 18, "region": 2, "isRadiant": false, "win": 0, "lose": 1, "total_gold": 5420, "total_xp": 5257, "kills_per_min": 0.07380073800738007, "kda": 0, "abandons": 0, "neutral_kills": 0, "tower_kills": 0, "courier_kills": 0, "lane_kills": 17, "hero_kills": 2, "observer_kills": 0, "sentry_kills": 0, "roshan_kills": 0, "necronomicon_kills": 0, "ancient_kills": 0, "buyback_count": 1, "observer_uses": 4, "sentry_uses": 0, "lane_efficiency": 0.41564448019304245, "lane_efficiency_pct": 41, "lane": 3, "lane_role": 1, "is_roaming": true, "purchase_time": { "enchanted_mango": -66, "faerie_fire": -65, "clarity": -64, "ward_observer": 1737, "bottle": 91, "ring_of_protection": 174, "boots": 175, "tranquil_boots": 305, "ring_of_regen": 305, "tpscroll": 5537, "flying_courier": 654, "magic_stick": 658, "circlet": 827, "branches": 1654, "magic_wand": 852, "dust": 1046, "chainmail": 1106 }, "first_purchase_time": { "enchanted_mango": -66, "faerie_fire": -65, "clarity": -64, "ward_observer": -62, "bottle": 91, "ring_of_protection": 174, "boots": 175, "tranquil_boots": 305, "ring_of_regen": 305, "tpscroll": 308, "flying_courier": 654, "magic_stick": 658, "circlet": 827, "branches": 827, "magic_wand": 852, "dust": 1046, "chainmail": 1106 }, "item_win": { "enchanted_mango": 0, "faerie_fire": 0, "clarity": 0, "ward_observer": 0, "bottle": 0, "ring_of_protection": 0, "boots": 0, "tranquil_boots": 0, "ring_of_regen": 0, "tpscroll": 0, "flying_courier": 0, "magic_stick": 0, "circlet": 0, "branches": 0, "magic_wand": 0, "dust": 0, "chainmail": 0 }, "item_usage": { "enchanted_mango": 1, "faerie_fire": 1, "clarity": 1, "ward_observer": 1, "bottle": 1, "ring_of_protection": 1, "boots": 1, "tranquil_boots": 1, "ring_of_regen": 1, "tpscroll": 1, "flying_courier": 1, "magic_stick": 1, "circlet": 1, "branches": 1, "magic_wand": 1, "dust": 1, "chainmail": 1 }, "purchase_ward_observer": 4, "purchase_tpscroll": 7, "actions_per_min": 140, "life_state_dead": 399, "rank_tier": null, "cosmetics": [], "benchmarks": { "gold_per_min": { "raw": 200, "pct": 0.0416341109498828 }, "xp_per_min": { "raw": 194, "pct": 0.018640473267105703 }, "kills_per_min": { "raw": 0.07380073800738007, "pct": 0.12400937604643375 }, "last_hits_per_min": { "raw": 0.6642066420664207, "pct": 0.1405290769059047 }, "hero_damage_per_min": { "raw": 234.28044280442805, "pct": 0.09856010715481639 }, "hero_healing_per_min": { "raw": 0, "pct": 0.569818060051345 }, "tower_damage": { "raw": 0, "pct": 0.31365107712914386 }, "stuns_per_min": { "raw": 0.5423029889298893, "pct": 0.0657439446366782 }, "lhten": { "raw": 15, "pct": 0.9062325165044198 } } }, { "match_id": 2472899185, "player_slot": 129, "ability_targets": null, "ability_upgrades_arr": null, "ability_uses": { "magnataur_shockwave": 26, "magnataur_skewer": 8, "magnataur_reverse_polarity": 4, "magnataur_empower": 9 }, "account_id": 126916249, "actions": { "1": 3216, "2": 84, "3": 28, "4": 294, "5": 66, "6": 40, "7": 1, "8": 31, "10": 145, "11": 12, "15": 1, "16": 29, "17": 4, "19": 12, "23": 1, "24": 1, "33": 145 }, "additional_units": null, "assists": 4, "backpack_0": 0, "backpack_1": 0, "backpack_2": 0, "buyback_log": [ { "time": 1365 } ], "camps_stacked": null, "creeps_stacked": null, "damage": { "npc_dota_creep_goodguys_melee": 7472, "npc_dota_creep_goodguys_ranged": 3009, "npc_dota_hero_ursa": 2462, "npc_dota_hero_slardar": 1459, "npc_dota_creep_badguys_ranged": 136, "npc_dota_goodguys_siege": 173, "npc_dota_hero_juggernaut": 1476, "npc_dota_neutral_small_thunder_lizard": 67, "npc_dota_hero_invoker": 1130, "npc_dota_observer_wards": 400, "npc_dota_hero_vengefulspirit": 996 }, "damage_inflictor": { "magnataur_skewer": 1529, "magnataur_shockwave": 5365, "null": 204, "magnataur_reverse_polarity": 425 }, "damage_inflictor_received": { "null": 4991, "ursa_earthshock": 1151, "slardar_slithereen_crush": 557, "invoker_tornado": 765, "vengefulspirit_magic_missile": 494, "invoker_cold_snap": 64, "invoker_emp": 294, "vengefulspirit_wave_of_terror": 141, "bfury": 256, "juggernaut_omni_slash": 794 }, "damage_taken": { "npc_dota_hero_invoker": 2220, "npc_dota_creep_goodguys_melee": 432, "npc_dota_creep_goodguys_ranged": 223, "npc_dota_hero_ursa": 4354, "npc_dota_hero_slardar": 1248, "npc_dota_goodguys_tower1_mid": 142, "npc_dota_hero_vengefulspirit": 635, "npc_dota_hero_juggernaut": 1050, "npc_dota_creep_goodguys_melee_upgraded": 236 }, "damage_targets": null, "deaths": 6, "denies": 1, "dn_t": null, "firstblood_claimed": null, "gold": 243, "gold_per_min": 270, "gold_reasons": { "0": 825, "1": -1614, "2": -622, "6": 396, "12": 3337, "13": 1083 }, "gold_spent": 6720, "gold_t": [ 0, 99, 322, 870, 1017, 1194, 1525, 1699, 1875, 2144, 2286, 2386, 2486, 2586, 2686, 3126, 3278, 3493, 3593, 3793, 3993, 4093, 4530, 5158, 5258, 5400, 5500, 7319, 7331, 7331 ], "hero_damage": 4948, "hero_healing": 0, "hero_hits": { "magnataur_skewer": 8, "magnataur_shockwave": 29, "null": 8, "magnataur_reverse_polarity": 6 }, "hero_id": 97, "item_0": 216, "item_1": 29, "item_2": 46, "item_3": 1, "item_4": 37, "item_5": 2, "item_uses": { "branches": 1, "tango": 4, "tpscroll": 5, "blink": 12, "tome_of_knowledge": 2, "enchanted_mango": 3, "ward_dispenser": 5, "ward_observer": 1 }, "kill_streaks": {}, "killed": { "npc_dota_creep_goodguys_ranged": 7, "npc_dota_creep_goodguys_melee": 18, "npc_dota_hero_ursa": 2, "npc_dota_creep_badguys_ranged": 1, "npc_dota_neutral_small_thunder_lizard": 1, "npc_dota_observer_wards": 2 }, "killed_by": { "npc_dota_hero_ursa": 3, "npc_dota_hero_slardar": 1, "npc_dota_hero_juggernaut": 1, "npc_dota_hero_invoker": 1 }, "kills": 1, "kills_log": [ { "time": 135, "key": "npc_dota_hero_ursa" }, { "time": 1332, "key": "npc_dota_hero_ursa" } ], "lane_pos": { "80": { "166": 3, "168": 7, "170": 7, "172": 1 }, "82": { "168": 16, "170": 28, "172": 8, "174": 1, "176": 2 }, "84": { "168": 1, "170": 34, "172": 29, "174": 33 }, "86": { "170": 26, "172": 41, "174": 10, "178": 1 }, "88": { "170": 19, "172": 53, "174": 26, "176": 5, "178": 1 }, "90": { "170": 3, "172": 20, "174": 1, "176": 1 }, "92": { "172": 11, "174": 7, "176": 3, "178": 1 }, "94": { "174": 6, "176": 9, "178": 3 }, "96": { "172": 2, "176": 3 }, "98": { "162": 1, "164": 1, "166": 1, "172": 3 }, "100": { "158": 2, "168": 1, "170": 1, "172": 5 }, "102": { "172": 2 }, "104": { "156": 1, "174": 1 }, "106": { "142": 2, "144": 6, "146": 1, "156": 1, "174": 1 }, "108": { "140": 1, "144": 1, "146": 2, "148": 2, "150": 2, "154": 1, "156": 1, "174": 1 }, "110": { "140": 1, "174": 1 }, "112": { "138": 2 }, "114": { "138": 2, "174": 1 }, "116": { "138": 9, "140": 6, "174": 1 }, "118": { "138": 8, "174": 1 }, "120": { "174": 1 }, "122": { "138": 1, "172": 1 }, "124": { "138": 1, "140": 1, "144": 1, "146": 1 }, "126": { "148": 1, "150": 1, "172": 1 }, "128": { "152": 1, "172": 1 }, "130": { "154": 1, "172": 1 }, "132": { "154": 1, "172": 1 }, "134": { "156": 1, "172": 1 }, "136": { "156": 1, "172": 1 }, "138": { "158": 1 }, "140": { "160": 1, "172": 1 }, "142": { "162": 1, "164": 1, "166": 1, "172": 1 }, "144": { "168": 1, "172": 1 }, "146": { "170": 1, "172": 1 }, "148": { "138": 1, "172": 1 }, "150": { "138": 1, "174": 2 }, "152": { "174": 2 }, "154": { "134": 1, "136": 1, "138": 1, "174": 1, "176": 1 }, "156": { "128": 1, "130": 1, "172": 1, "176": 1 }, "158": { "128": 1, "172": 1, "176": 1 }, "160": { "176": 1 }, "162": { "126": 1, "172": 1 }, "164": { "120": 1, "122": 1, "124": 1, "126": 1, "174": 1, "176": 1 }, "166": { "116": 1, "174": 2 }, "168": { "114": 1, "116": 1, "174": 2 }, "170": { "112": 1, "174": 2 }, "172": { "90": 1, "92": 1, "100": 1, "112": 1 }, "174": { "90": 2, "92": 5, "94": 2, "96": 1, "100": 3, "102": 1, "108": 1, "110": 2, "174": 4 }, "176": { "92": 2, "94": 4, "96": 4, "98": 11, "100": 13, "102": 2, "104": 2, "106": 1, "110": 2, "174": 1 }, "178": { "94": 2, "96": 1, "98": 1, "102": 1, "106": 1, "108": 2, "174": 3 }, "180": { "94": 1, "98": 1, "174": 30, "176": 6 }, "182": { "94": 1, "96": 1, "174": 1, "176": 4 }, "184": { "96": 1 } }, "last_hits": 28, "leaver_status": 0, "level": 12, "lh_t": [ 0, 0, 3, 3, 4, 6, 12, 14, 16, 20, 21, 21, 21, 21, 21, 24, 25, 25, 25, 26, 27, 27, 27, 27, 27, 28, 28, 28, 28, 28 ], "life_state": { "0": 1560, "1": 23, "2": 190 }, "max_hero_hit": { "type": "max_hero_hit", "time": 1310, "max": true, "inflictor": "magnataur_shockwave", "unit": "npc_dota_hero_magnataur", "key": "npc_dota_hero_slardar", "value": 264, "slot": 6, "player_slot": 129 }, "multi_kills": {}, "obs": { "112": { "158": 1 }, "156": { "134": 1 } }, "obs_left_log": null, "obs_log": [ { "time": 1093, "key": "[156, 134]" }, { "time": 1151, "key": "[112, 158]" } ], "obs_placed": null, "party_id": 6, "party_size": 1, "performance_others": null, "permanent_buffs": null, "pings": 94, "pred_vict": null, "purchase": { "tango": 3, "branches": 3, "tpscroll": 6, "blink": 1, "enchanted_mango": 4, "tome_of_knowledge": 2, "ward_observer": 5, "ward_dispenser": 1, "ward_sentry": 1, "boots": 1, "ghost": 1, "blades_of_attack": 1, "dust": null }, "purchase_log": [ { "time": -81, "key": "tango" }, { "time": -80, "key": "tango" }, { "time": -78, "key": "tango" }, { "time": -77, "key": "branches" }, { "time": -77, "key": "branches" }, { "time": -76, "key": "branches" }, { "time": 149, "key": "tpscroll" }, { "time": 478, "key": "tpscroll" }, { "time": 506, "key": "tpscroll" }, { "time": 573, "key": "blink" }, { "time": 646, "key": "enchanted_mango" }, { "time": 670, "key": "tpscroll" }, { "time": 670, "key": "tpscroll" }, { "time": 992, "key": "tome_of_knowledge" }, { "time": 995, "key": "ward_observer" }, { "time": 995, "key": "ward_observer" }, { "time": 995, "key": "ward_observer" }, { "time": 995, "key": "ward_observer" }, { "time": 996, "key": "ward_sentry" }, { "time": 1045, "key": "tpscroll" }, { "time": 1188, "key": "boots" }, { "time": 1228, "key": "ward_observer" }, { "time": 1230, "key": "tome_of_knowledge" }, { "time": 1328, "key": "enchanted_mango" }, { "time": 1434, "key": "enchanted_mango" }, { "time": 1434, "key": "enchanted_mango" }, { "time": 1619, "key": "ghost" }, { "time": 1623, "key": "blades_of_attack" } ], "randomed": null, "repicked": null, "roshans_killed": null, "rune_pickups": null, "runes": {}, "runes_log": null, "sen": { "116": { "154": 1 }, "154": { "134": 1 } }, "sen_left_log": null, "sen_log": [ { "time": 1096, "key": "[154, 134]" }, { "time": 1149, "key": "[116, 154]" } ], "sen_placed": null, "stuns": 22.19458, "teamfight_participation": null, "times": [ 0, 60, 120, 180, 240, 300, 360, 420, 480, 540, 600, 660, 720, 780, 840, 900, 960, 1020, 1080, 1140, 1200, 1260, 1320, 1380, 1440, 1500, 1560, 1620, 1680, 1740 ], "tower_damage": 0, "towers_killed": null, "xp_per_min": 303, "xp_reasons": { "0": 883, "1": 3436, "2": 3918 }, "xp_t": [ 0, 89, 345, 525, 837, 1059, 1395, 1755, 2203, 2517, 2584, 2674, 2689, 2734, 2734, 3359, 3718, 4050, 4497, 4626, 4634, 5267, 5917, 6666, 6666, 6800, 6800, 8237, 8237, 8237 ], "personaname": "ChOChi<3..26", "name": null, "last_login": null, "radiant_win": true, "start_time": 1467319556, "duration": 1626, "cluster": 122, "lobby_type": 7, "game_mode": 22, "is_contributor": false, "patch": 18, "region": 2, "isRadiant": false, "win": 0, "lose": 1, "total_gold": 7317, "total_xp": 8211, "kills_per_min": 0.03690036900369004, "kda": 0, "abandons": 0, "neutral_kills": 1, "tower_kills": 0, "courier_kills": 0, "lane_kills": 26, "hero_kills": 2, "observer_kills": 2, "sentry_kills": 0, "roshan_kills": 0, "necronomicon_kills": 0, "ancient_kills": 1, "buyback_count": 1, "observer_uses": 1, "sentry_uses": 0, "lane_efficiency": 0.4596822843354112, "lane_efficiency_pct": 45, "lane": 3, "lane_role": 1, "is_roaming": false, "purchase_time": { "tango": -239, "branches": -230, "tpscroll": 3518, "blink": 573, "enchanted_mango": 4842, "tome_of_knowledge": 2222, "ward_observer": 5208, "ward_sentry": 996, "boots": 1188, "ghost": 1619, "blades_of_attack": 1623 }, "first_purchase_time": { "tango": -81, "branches": -77, "tpscroll": 149, "blink": 573, "enchanted_mango": 646, "tome_of_knowledge": 992, "ward_observer": 995, "ward_sentry": 996, "boots": 1188, "ghost": 1619, "blades_of_attack": 1623 }, "item_win": { "tango": 0, "branches": 0, "tpscroll": 0, "blink": 0, "enchanted_mango": 0, "tome_of_knowledge": 0, "ward_observer": 0, "ward_sentry": 0, "boots": 0, "ghost": 0, "blades_of_attack": 0 }, "item_usage": { "tango": 1, "branches": 1, "tpscroll": 1, "blink": 1, "enchanted_mango": 1, "tome_of_knowledge": 1, "ward_observer": 1, "ward_sentry": 1, "boots": 1, "ghost": 1, "blades_of_attack": 1 }, "purchase_ward_observer": 5, "purchase_ward_sentry": 1, "purchase_tpscroll": 6, "actions_per_min": 151, "life_state_dead": 213, "rank_tier": 61, "cosmetics": [], "benchmarks": { "gold_per_min": { "raw": 270, "pct": 0.0927536231884058 }, "xp_per_min": { "raw": 303, "pct": 0.06086956521739131 }, "kills_per_min": { "raw": 0.03690036900369004, "pct": 0.12560386473429952 }, "last_hits_per_min": { "raw": 1.033210332103321, "pct": 0.02995169082125604 }, "hero_damage_per_min": { "raw": 182.5830258302583, "pct": 0.09178743961352658 }, "hero_healing_per_min": { "raw": 0, "pct": 0.7565217391304347 }, "tower_damage": { "raw": 0, "pct": 0.1932367149758454 }, "stuns_per_min": { "raw": 0.8189881918819188, "pct": 0.23381642512077294 }, "lhten": { "raw": 21, "pct": 0.28267182962245885 } } }, { "match_id": 2472899185, "player_slot": 130, "ability_targets": null, "ability_upgrades_arr": null, "ability_uses": { "shredder_whirling_death": 36, "shredder_chakram": 40, "shredder_return_chakram": 44, "shredder_timber_chain": 15 }, "account_id": 259773461, "actions": { "1": 3380, "3": 3, "4": 447, "5": 98, "6": 10, "7": 4, "8": 346, "10": 176, "11": 14, "12": 2, "14": 3, "15": 39, "16": 31, "17": 3, "19": 25, "24": 1, "27": 11 }, "additional_units": null, "assists": 3, "backpack_0": 0, "backpack_1": 0, "backpack_2": 0, "buyback_log": [], "camps_stacked": null, "creeps_stacked": null, "damage": { "npc_dota_creep_goodguys_melee": 27037, "npc_dota_creep_badguys_ranged": 110, "npc_dota_hero_invoker": 2892, "npc_dota_creep_goodguys_ranged": 7736, "npc_dota_creep_badguys_melee": 216, "npc_dota_goodguys_siege": 1321, "npc_dota_badguys_siege": 60, "npc_dota_hero_vengefulspirit": 1683, "npc_dota_hero_slardar": 1624, "npc_dota_hero_ursa": 1624, "npc_dota_hero_juggernaut": 2658, "npc_dota_creep_goodguys_melee_upgraded": 1029 }, "damage_inflictor": { "shredder_whirling_death": 1893, "null": 558, "shredder_chakram": 6777, "shredder_timber_chain": 1214, "cyclone": 39 }, "damage_inflictor_received": { "null": 10155, "invoker_cold_snap": 373, "invoker_emp": 396, "vengefulspirit_magic_missile": 1390, "vengefulspirit_wave_of_terror": 433, "invoker_tornado": 578, "slardar_slithereen_crush": 1191, "urn_of_shadows": 304, "juggernaut_omni_slash": 1625, "ursa_earthshock": 698, "bfury": 87, "juggernaut_blade_fury": 69 }, "damage_taken": { "npc_dota_hero_invoker": 4601, "npc_dota_hero_ursa": 2812, "npc_dota_creep_goodguys_ranged": 510, "npc_dota_creep_goodguys_melee": 638, "npc_dota_goodguys_tower1_mid": 1015, "npc_dota_hero_vengefulspirit": 2258, "npc_dota_hero_slardar": 2170, "npc_dota_goodguys_siege": 24, "npc_dota_hero_juggernaut": 5458, "npc_dota_creep_goodguys_melee_upgraded": 58 }, "damage_targets": null, "deaths": 7, "denies": 1, "dn_t": null, "firstblood_claimed": null, "gold": 263, "gold_per_min": 319, "gold_reasons": { "0": 744, "1": -2063, "6": 1537, "12": 3175, "13": 2650 }, "gold_spent": 9370, "gold_t": [ 0, 99, 280, 596, 814, 961, 1174, 1363, 1528, 1672, 1895, 2039, 2469, 2569, 2669, 3257, 3357, 3790, 4108, 4297, 4530, 4670, 5238, 5846, 8320, 8420, 8543, 8643, 8655, 8655 ], "hero_damage": 7253, "hero_healing": 0, "hero_hits": { "shredder_whirling_death": 20, "null": 12, "shredder_chakram": 88, "shredder_timber_chain": 7, "cyclone": 1 }, "hero_id": 98, "item_0": 41, "item_1": 36, "item_2": 180, "item_3": 23, "item_4": 27, "item_5": 100, "item_uses": { "tango": 4, "flask": 1, "bottle": 90, "faerie_fire": 1, "tpscroll": 7, "magic_stick": 6, "arcane_boots": 10, "magic_wand": 8, "soul_ring": 6, "smoke_of_deceit": 1, "cyclone": 3 }, "kill_streaks": {}, "killed": { "npc_dota_creep_goodguys_melee": 41, "npc_dota_creep_goodguys_ranged": 20, "npc_dota_creep_badguys_melee": 1, "npc_dota_hero_vengefulspirit": 1, "npc_dota_hero_invoker": 1, "npc_dota_hero_ursa": 1, "npc_dota_creep_goodguys_melee_upgraded": 1 }, "killed_by": { "npc_dota_hero_slardar": 2, "npc_dota_hero_vengefulspirit": 1, "npc_dota_hero_juggernaut": 4 }, "kills": 3, "kills_log": [ { "time": 712, "key": "npc_dota_hero_vengefulspirit" }, { "time": 897, "key": "npc_dota_hero_invoker" }, { "time": 1399, "key": "npc_dota_hero_ursa" } ], "lane_pos": { "102": { "146": 1 }, "104": { "138": 1, "140": 1, "144": 1, "146": 29 }, "106": { "136": 1, "138": 1, "142": 3 }, "108": { "134": 1, "138": 1, "140": 13, "142": 1 }, "110": { "132": 1, "138": 2, "140": 6, "142": 9, "144": 1 }, "112": { "114": 2, "116": 1, "130": 1, "132": 1, "136": 4, "138": 8, "140": 3 }, "114": { "114": 1, "134": 2, "136": 2, "138": 15, "140": 1 }, "116": { "114": 1, "122": 4, "132": 2, "134": 1, "136": 1, "138": 5 }, "118": { "102": 1, "110": 1, "112": 1, "120": 2, "122": 9, "124": 2, "128": 1, "130": 3, "132": 1, "138": 3, "140": 2 }, "120": { "98": 1, "100": 1, "104": 1, "110": 2, "112": 1, "120": 5, "122": 10, "124": 7, "126": 3, "128": 4, "130": 1, "136": 3, "138": 2 }, "122": { "96": 1, "106": 1, "108": 1, "112": 2, "120": 1, "122": 6, "124": 15, "126": 7, "128": 5, "134": 2, "136": 1, "138": 1 }, "124": { "96": 1, "122": 12, "124": 17, "126": 40, "128": 35, "130": 6, "132": 3, "134": 1, "136": 1, "138": 4 }, "126": { "124": 4, "126": 43, "128": 18, "130": 1, "134": 3, "136": 1, "138": 2 }, "128": { "94": 7, "126": 10, "128": 18, "130": 11, "132": 1, "134": 1, "136": 31 }, "130": { "96": 1, "126": 6, "128": 10, "130": 11, "132": 7 }, "132": { "98": 1, "100": 1, "126": 8, "128": 11, "130": 4, "132": 8 }, "134": { "102": 1, "104": 1, "106": 1, "126": 1, "128": 2, "132": 3 }, "136": { "124": 1, "126": 1, "128": 9, "134": 1 }, "138": { "108": 1, "122": 1, "134": 1, "136": 1 }, "140": { "108": 1, "120": 1, "138": 1 }, "142": { "108": 1, "118": 1, "140": 1 }, "144": { "110": 1, "116": 1, "142": 1, "144": 1 }, "146": { "112": 1, "114": 1, "144": 1 }, "148": { "110": 12, "112": 1, "146": 1 }, "150": { "112": 1, "114": 13, "148": 1 }, "152": { "148": 1, "150": 1 }, "154": { "152": 1 }, "156": { "154": 1, "156": 1 }, "158": { "158": 1 }, "160": { "160": 1, "162": 1 }, "162": { "164": 1 }, "164": { "164": 1 }, "166": { "166": 1 }, "168": { "168": 1, "170": 1 }, "170": { "170": 1 }, "172": { "172": 1 }, "174": { "172": 1 }, "176": { "174": 1 }, "178": { "174": 1 }, "180": { "174": 1 }, "182": { "174": 1, "176": 17 }, "184": { "176": 5 } }, "last_hits": 62, "leaver_status": 0, "level": 14, "lh_t": [ 0, 0, 2, 6, 9, 10, 13, 15, 15, 16, 19, 20, 21, 21, 21, 24, 24, 28, 33, 35, 38, 39, 44, 46, 61, 61, 62, 62, 62, 62 ], "life_state": { "0": 1483, "1": 29, "2": 261 }, "max_hero_hit": { "type": "max_hero_hit", "time": 1508, "max": true, "inflictor": "shredder_timber_chain", "unit": "npc_dota_hero_shredder", "key": "npc_dota_hero_juggernaut", "value": 229, "slot": 7, "player_slot": 130 }, "multi_kills": {}, "obs": {}, "obs_left_log": null, "obs_log": [], "obs_placed": null, "party_id": 7, "party_size": 1, "performance_others": null, "permanent_buffs": null, "pings": 122, "pred_vict": null, "purchase": { "tango": 1, "flask": 1, "stout_shield": 1, "faerie_fire": 1, "bottle": 1, "boots": 1, "magic_stick": 1, "tpscroll": 7, "energy_booster": 1, "arcane_boots": 1, "circlet": 1, "branches": 2, "magic_wand": 1, "sobi_mask": 1, "ring_of_regen": 2, "recipe_soul_ring": 1, "soul_ring": 1, "slippers": 2, "poor_mans_shield": 1, "smoke_of_deceit": 1, "recipe_bloodstone": 1, "staff_of_wizardry": 2, "void_stone": 1, "wind_lace": 1, "cyclone": 1, "recipe_cyclone": 1, "dust": null }, "purchase_log": [ { "time": -84, "key": "tango" }, { "time": -83, "key": "flask" }, { "time": -83, "key": "stout_shield" }, { "time": -79, "key": "faerie_fire" }, { "time": 179, "key": "bottle" }, { "time": 299, "key": "boots" }, { "time": 368, "key": "magic_stick" }, { "time": 402, "key": "tpscroll" }, { "time": 527, "key": "tpscroll" }, { "time": 560, "key": "tpscroll" }, { "time": 763, "key": "energy_booster" }, { "time": 766, "key": "arcane_boots" }, { "time": 789, "key": "tpscroll" }, { "time": 852, "key": "circlet" }, { "time": 865, "key": "branches" }, { "time": 865, "key": "branches" }, { "time": 887, "key": "magic_wand" }, { "time": 910, "key": "sobi_mask" }, { "time": 949, "key": "tpscroll" }, { "time": 1014, "key": "ring_of_regen" }, { "time": 1022, "key": "soul_ring" }, { "time": 1057, "key": "slippers" }, { "time": 1057, "key": "slippers" }, { "time": 1059, "key": "poor_mans_shield" }, { "time": 1090, "key": "tpscroll" }, { "time": 1108, "key": "smoke_of_deceit" }, { "time": 1217, "key": "tpscroll" }, { "time": 1451, "key": "staff_of_wizardry" }, { "time": 1451, "key": "void_stone" }, { "time": 1451, "key": "wind_lace" }, { "time": 1451, "key": "cyclone" }, { "time": 1543, "key": "staff_of_wizardry" }, { "time": 1545, "key": "ring_of_regen" } ], "randomed": null, "repicked": null, "roshans_killed": null, "rune_pickups": null, "runes": { "0": 1, "1": 1, "4": 1, "5": 2, "6": 1 }, "runes_log": null, "sen": {}, "sen_left_log": null, "sen_log": [], "sen_placed": null, "stuns": 2.5327148, "teamfight_participation": null, "times": [ 0, 60, 120, 180, 240, 300, 360, 420, 480, 540, 600, 660, 720, 780, 840, 900, 960, 1020, 1080, 1140, 1200, 1260, 1320, 1380, 1440, 1500, 1560, 1620, 1680, 1740 ], "tower_damage": 0, "towers_killed": null, "xp_per_min": 417, "xp_reasons": { "0": 149, "1": 4400, "2": 6763 }, "xp_t": [ 0, 157, 607, 959, 1319, 1701, 2061, 2286, 2374, 2734, 2845, 3070, 3570, 3771, 3905, 4492, 4492, 5049, 5611, 5791, 6061, 6106, 6787, 7603, 11040, 11157, 11266, 11311, 11311, 11311 ], "personaname": "denfreyxzy", "name": null, "last_login": null, "radiant_win": true, "start_time": 1467319556, "duration": 1626, "cluster": 122, "lobby_type": 7, "game_mode": 22, "is_contributor": false, "patch": 18, "region": 2, "isRadiant": false, "win": 0, "lose": 1, "total_gold": 8644, "total_xp": 11300, "kills_per_min": 0.11070110701107011, "kda": 0, "abandons": 0, "neutral_kills": 0, "tower_kills": 0, "courier_kills": 0, "lane_kills": 63, "hero_kills": 3, "observer_kills": 0, "sentry_kills": 0, "roshan_kills": 0, "necronomicon_kills": 0, "ancient_kills": 0, "buyback_count": 0, "observer_uses": 0, "sentry_uses": 0, "lane_efficiency": 0.3810577116428715, "lane_efficiency_pct": 38, "lane": 2, "lane_role": 2, "is_roaming": false, "purchase_time": { "tango": -84, "flask": -83, "stout_shield": -83, "faerie_fire": -79, "bottle": 179, "boots": 299, "magic_stick": 368, "tpscroll": 5534, "energy_booster": 763, "arcane_boots": 766, "circlet": 852, "branches": 1730, "magic_wand": 887, "sobi_mask": 910, "ring_of_regen": 2559, "soul_ring": 1022, "slippers": 2114, "poor_mans_shield": 1059, "smoke_of_deceit": 1108, "staff_of_wizardry": 2994, "void_stone": 1451, "wind_lace": 1451, "cyclone": 1451 }, "first_purchase_time": { "tango": -84, "flask": -83, "stout_shield": -83, "faerie_fire": -79, "bottle": 179, "boots": 299, "magic_stick": 368, "tpscroll": 402, "energy_booster": 763, "arcane_boots": 766, "circlet": 852, "branches": 865, "magic_wand": 887, "sobi_mask": 910, "ring_of_regen": 1014, "soul_ring": 1022, "slippers": 1057, "poor_mans_shield": 1059, "smoke_of_deceit": 1108, "staff_of_wizardry": 1451, "void_stone": 1451, "wind_lace": 1451, "cyclone": 1451 }, "item_win": { "tango": 0, "flask": 0, "stout_shield": 0, "faerie_fire": 0, "bottle": 0, "boots": 0, "magic_stick": 0, "tpscroll": 0, "energy_booster": 0, "arcane_boots": 0, "circlet": 0, "branches": 0, "magic_wand": 0, "sobi_mask": 0, "ring_of_regen": 0, "soul_ring": 0, "slippers": 0, "poor_mans_shield": 0, "smoke_of_deceit": 0, "staff_of_wizardry": 0, "void_stone": 0, "wind_lace": 0, "cyclone": 0 }, "item_usage": { "tango": 1, "flask": 1, "stout_shield": 1, "faerie_fire": 1, "bottle": 1, "boots": 1, "magic_stick": 1, "tpscroll": 1, "energy_booster": 1, "arcane_boots": 1, "circlet": 1, "branches": 1, "magic_wand": 1, "sobi_mask": 1, "ring_of_regen": 1, "soul_ring": 1, "slippers": 1, "poor_mans_shield": 1, "smoke_of_deceit": 1, "staff_of_wizardry": 1, "void_stone": 1, "wind_lace": 1, "cyclone": 1 }, "purchase_tpscroll": 7, "actions_per_min": 169, "life_state_dead": 290, "rank_tier": 53, "cosmetics": [], "benchmarks": { "gold_per_min": { "raw": 319, "pct": 0.14 }, "xp_per_min": { "raw": 417, "pct": 0.16 }, "kills_per_min": { "raw": 0.11070110701107011, "pct": 0.26625 }, "last_hits_per_min": { "raw": 2.287822878228782, "pct": 0.09375 }, "hero_damage_per_min": { "raw": 267.63837638376384, "pct": 0.07 }, "hero_healing_per_min": { "raw": 0, "pct": 0.94375 }, "tower_damage": { "raw": 0, "pct": 0.10875 }, "stuns_per_min": { "raw": 0.09345811070110702, "pct": 0.69875 }, "lhten": { "raw": 19, "pct": 0.23809523809523808 } } }, { "match_id": 2472899185, "player_slot": 131, "ability_targets": null, "ability_upgrades_arr": null, "ability_uses": { "spectre_spectral_dagger": 16, "spectre_haunt": 4, "spectre_reality": 1 }, "account_id": 330337611, "actions": { "1": 2766, "4": 580, "5": 12, "6": 22, "7": 3, "8": 34, "10": 1, "11": 9, "12": 1, "16": 22, "19": 7, "24": 1, "33": 1 }, "additional_units": null, "assists": 3, "backpack_0": 0, "backpack_1": 0, "backpack_2": 0, "buyback_log": [], "camps_stacked": null, "creeps_stacked": null, "damage": { "npc_dota_creep_goodguys_ranged": 3025, "npc_dota_creep_goodguys_melee": 7424, "npc_dota_hero_vengefulspirit": 1225, "npc_dota_hero_juggernaut": 1126, "npc_dota_creep_badguys_melee": 91, "npc_dota_goodguys_siege": 544, "npc_dota_creep_badguys_ranged": 50, "npc_dota_hero_ursa": 1704, "npc_dota_neutral_satyr_hellcaller": 248, "npc_dota_neutral_mud_golem": 1656, "npc_dota_neutral_mud_golem_split": 1060, "npc_dota_hero_invoker": 265, "npc_dota_hero_slardar": 691, "npc_dota_neutral_enraged_wildkin": 1004, "npc_dota_neutral_wildkin": 709, "npc_dota_neutral_ogre_mauler": 1045, "npc_dota_neutral_ogre_magi": 277, "npc_dota_neutral_dark_troll": 1054, "npc_dota_neutral_dark_troll_warlord": 1095, "npc_dota_neutral_centaur_khan": 2351, "npc_dota_neutral_centaur_outrunner": 1224, "npc_dota_creep_goodguys_melee_upgraded": 1024, "npc_dota_creep_goodguys_ranged_upgraded": 206 }, "damage_inflictor": { "spectre_dispersion": 1911, "null": 1172, "spectre_spectral_dagger": 536, "spectre_desolate": 1392 }, "damage_inflictor_received": { "null": 6469, "vengefulspirit_magic_missile": 444, "vengefulspirit_wave_of_terror": 124, "juggernaut_blade_fury": 435, "juggernaut_omni_slash": 456, "ursa_earthshock": 1131, "invoker_tornado": 235, "slardar_slithereen_crush": 379, "invoker_cold_snap": 51, "urn_of_shadows": 30, "bfury": 49 }, "damage_taken": { "npc_dota_hero_vengefulspirit": 1122, "npc_dota_creep_goodguys_melee": 234, "npc_dota_hero_juggernaut": 2487, "npc_dota_creep_goodguys_ranged": 185, "npc_dota_goodguys_siege": 20, "npc_dota_hero_invoker": 603, "npc_dota_hero_ursa": 4794, "npc_dota_neutral_satyr_hellcaller": 97, "npc_dota_neutral_mud_golem": 234, "npc_dota_neutral_mud_golem_split": 22, "npc_dota_neutral_wildkin": 98, "npc_dota_neutral_enraged_wildkin": 162, "npc_dota_neutral_ogre_mauler": 57, "npc_dota_neutral_ogre_magi": 18, "npc_dota_neutral_dark_troll_warlord": 111, "npc_dota_neutral_dark_troll": 68, "npc_dota_neutral_centaur_khan": 215, "npc_dota_neutral_centaur_outrunner": 71, "npc_dota_hero_slardar": 797, "npc_dota_creep_goodguys_ranged_upgraded": 51, "npc_dota_creep_goodguys_melee_upgraded": 157 }, "damage_targets": null, "deaths": 11, "denies": 1, "dn_t": null, "firstblood_claimed": null, "gold": 1450, "gold_per_min": 234, "gold_reasons": { "0": 625, "1": -2179, "12": 1427, "13": 2213 }, "gold_spent": 3525, "gold_t": [ 0, 220, 320, 498, 598, 735, 835, 935, 1035, 1296, 1396, 1496, 1743, 2073, 2300, 2491, 2609, 2878, 3134, 3720, 3934, 4034, 4235, 4335, 4435, 4671, 4791, 6339, 6351, 6351 ], "hero_damage": 3012, "hero_healing": 0, "hero_hits": { "spectre_dispersion": 154, "null": 51, "spectre_spectral_dagger": 15, "spectre_desolate": 41 }, "hero_id": 67, "item_0": 50, "item_1": 239, "item_2": 71, "item_3": 44, "item_4": 73, "item_5": 244, "item_uses": { "tango": 3, "tpscroll": 8, "iron_talon": 7, "phase_boots": 27 }, "kill_streaks": {}, "killed": { "npc_dota_creep_goodguys_ranged": 8, "npc_dota_creep_goodguys_melee": 24, "npc_dota_creep_badguys_melee": 1, "npc_dota_neutral_satyr_hellcaller": 1, "npc_dota_neutral_mud_golem": 2, "npc_dota_neutral_mud_golem_split": 4, "npc_dota_neutral_enraged_wildkin": 1, "npc_dota_neutral_wildkin": 2, "npc_dota_goodguys_siege": 2, "npc_dota_neutral_dark_troll_warlord": 1, "npc_dota_neutral_dark_troll": 2, "npc_dota_neutral_centaur_khan": 2, "npc_dota_neutral_centaur_outrunner": 3, "npc_dota_creep_goodguys_melee_upgraded": 2 }, "killed_by": { "npc_dota_hero_juggernaut": 4, "npc_dota_hero_ursa": 5, "npc_dota_hero_slardar": 2 }, "kills": 0, "kills_log": [], "lane_pos": { "78": { "162": 2 }, "80": { "160": 2, "162": 6, "164": 11, "168": 2 }, "82": { "164": 1, "166": 3, "168": 6, "170": 1 }, "84": { "164": 1, "168": 1, "170": 5 }, "86": { "166": 1, "172": 1 }, "88": { "172": 1 }, "90": { "166": 1, "170": 7, "172": 1 }, "92": { "166": 3, "170": 1 }, "94": { "168": 1, "170": 2, "172": 1 }, "96": { "170": 1, "172": 1 }, "98": { "170": 1, "172": 1 }, "102": { "170": 1, "172": 1 }, "104": { "168": 1, "172": 1 }, "106": { "166": 1, "172": 1 }, "108": { "164": 1 }, "110": { "164": 1, "172": 1 }, "112": { "162": 1, "174": 1 }, "114": { "160": 1, "174": 1 }, "116": { "156": 1, "160": 1, "174": 1 }, "118": { "152": 1, "154": 1 }, "120": { "150": 1, "174": 1 }, "122": { "148": 1, "174": 1 }, "124": { "148": 1, "174": 1 }, "126": { "146": 1 }, "128": { "168": 1, "172": 1 }, "130": { "146": 1, "150": 1, "164": 1, "166": 1, "172": 1 }, "132": { "152": 1, "162": 1, "172": 1 }, "134": { "154": 1, "156": 1, "158": 1, "160": 1, "172": 1 }, "138": { "172": 1 }, "140": { "172": 1 }, "142": { "172": 1 }, "146": { "172": 1 }, "148": { "172": 1 }, "150": { "170": 1 }, "152": { "170": 1 }, "156": { "170": 1 }, "158": { "172": 1 }, "160": { "172": 1 }, "164": { "172": 1 }, "166": { "172": 1 }, "168": { "92": 3, "172": 1 }, "170": { "90": 2, "92": 2, "174": 1 }, "172": { "88": 2, "90": 26, "92": 4, "94": 1, "96": 2, "114": 1 }, "174": { "86": 3, "88": 2, "90": 6, "92": 11, "94": 16, "96": 10, "98": 4, "100": 3, "102": 3, "104": 1, "106": 2, "108": 4, "110": 4, "112": 7, "114": 2, "124": 1, "174": 1 }, "176": { "88": 1, "90": 3, "92": 4, "94": 9, "96": 9, "98": 12, "100": 11, "102": 11, "104": 13, "106": 15, "108": 8, "110": 8, "112": 14, "114": 14, "116": 4, "118": 4, "120": 5, "122": 4, "124": 3, "126": 8, "132": 1, "174": 1 }, "178": { "90": 1, "92": 1, "96": 2, "98": 18, "102": 2, "104": 1, "106": 2, "108": 3, "110": 1, "112": 43, "114": 6, "116": 8, "118": 3, "120": 5, "122": 3, "124": 4, "126": 2, "128": 15, "130": 3, "132": 1, "134": 2, "136": 1, "138": 1, "140": 1, "142": 1, "160": 1, "162": 1, "164": 1, "166": 1, "170": 1, "172": 1, "174": 1 }, "180": { "86": 1, "88": 47, "96": 6, "98": 2, "100": 1, "106": 1, "144": 1, "146": 1, "148": 1, "152": 1, "154": 1, "156": 1, "158": 1, "174": 1, "176": 2, "178": 8 }, "182": { "88": 1, "96": 3, "174": 2, "176": 14, "178": 30 }, "184": { "90": 1, "92": 1, "94": 1, "176": 17, "178": 1 } }, "last_hits": 54, "leaver_status": 0, "level": 11, "lh_t": [ 0, 3, 3, 5, 5, 6, 6, 6, 6, 10, 10, 10, 14, 21, 24, 26, 27, 30, 34, 44, 47, 47, 49, 49, 49, 52, 53, 54, 54, 54 ], "life_state": { "0": 1453, "1": 22, "2": 298 }, "max_hero_hit": { "type": "max_hero_hit", "time": 1515, "max": true, "inflictor": "spectre_dispersion", "unit": "npc_dota_hero_spectre", "key": "npc_dota_hero_slardar", "value": 62, "slot": 8, "player_slot": 131 }, "multi_kills": {}, "obs": {}, "obs_left_log": null, "obs_log": [], "obs_placed": null, "party_id": 8, "party_size": 1, "performance_others": null, "permanent_buffs": null, "pings": 6, "pred_vict": null, "purchase": { "stout_shield": 1, "tango": 1, "quelling_blade": 1, "tpscroll": 8, "boots": 1, "slippers": 2, "poor_mans_shield": 1, "ring_of_protection": 1, "recipe_iron_talon": 1, "iron_talon": 1, "blades_of_attack": 2, "phase_boots": 1, "circlet": 1, "gauntlets": 1, "bracer": 1, "recipe_bracer": 1, "wind_lace": 1, "dust": null }, "purchase_log": [ { "time": -80, "key": "stout_shield" }, { "time": -78, "key": "tango" }, { "time": -75, "key": "quelling_blade" }, { "time": 155, "key": "tpscroll" }, { "time": 269, "key": "tpscroll" }, { "time": 271, "key": "boots" }, { "time": 453, "key": "tpscroll" }, { "time": 596, "key": "tpscroll" }, { "time": 640, "key": "slippers" }, { "time": 641, "key": "slippers" }, { "time": 642, "key": "poor_mans_shield" }, { "time": 650, "key": "tpscroll" }, { "time": 657, "key": "ring_of_protection" }, { "time": 802, "key": "iron_talon" }, { "time": 836, "key": "blades_of_attack" }, { "time": 947, "key": "tpscroll" }, { "time": 1046, "key": "blades_of_attack" }, { "time": 1057, "key": "phase_boots" }, { "time": 1060, "key": "tpscroll" }, { "time": 1294, "key": "tpscroll" }, { "time": 1329, "key": "circlet" }, { "time": 1329, "key": "gauntlets" }, { "time": 1329, "key": "bracer" }, { "time": 1488, "key": "wind_lace" } ], "randomed": null, "repicked": null, "roshans_killed": null, "rune_pickups": null, "runes": {}, "runes_log": null, "sen": {}, "sen_left_log": null, "sen_log": [], "sen_placed": null, "stuns": null, "teamfight_participation": null, "times": [ 0, 60, 120, 180, 240, 300, 360, 420, 480, 540, 600, 660, 720, 780, 840, 900, 960, 1020, 1080, 1140, 1200, 1260, 1320, 1380, 1440, 1500, 1560, 1620, 1680, 1740 ], "tower_damage": 0, "towers_killed": null, "xp_per_min": 233, "xp_reasons": { "1": 1423, "2": 4919 }, "xp_t": [ 0, 225, 359, 539, 696, 1099, 1099, 1232, 1377, 1714, 1714, 1736, 1903, 2216, 2531, 2675, 2856, 3125, 3413, 4090, 4231, 4371, 4640, 4640, 4685, 4861, 4905, 6342, 6342, 6342 ], "personaname": "Heihachi", "name": null, "last_login": null, "radiant_win": true, "start_time": 1467319556, "duration": 1626, "cluster": 122, "lobby_type": 7, "game_mode": 22, "is_contributor": false, "patch": 18, "region": 2, "isRadiant": false, "win": 0, "lose": 1, "total_gold": 6341, "total_xp": 6314, "kda": 0, "abandons": 0, "neutral_kills": 18, "tower_kills": 0, "courier_kills": 0, "lane_kills": 35, "hero_kills": 0, "observer_kills": 0, "sentry_kills": 0, "roshan_kills": 0, "necronomicon_kills": 0, "ancient_kills": 0, "buyback_count": 0, "observer_uses": 0, "sentry_uses": 0, "lane_efficiency": 0.2807158656746431, "lane_efficiency_pct": 28, "lane": 1, "lane_role": 3, "is_roaming": false, "purchase_time": { "stout_shield": -80, "tango": -78, "quelling_blade": -75, "tpscroll": 5424, "boots": 271, "slippers": 1281, "poor_mans_shield": 642, "ring_of_protection": 657, "iron_talon": 802, "blades_of_attack": 1882, "phase_boots": 1057, "circlet": 1329, "gauntlets": 1329, "bracer": 1329, "wind_lace": 1488 }, "first_purchase_time": { "stout_shield": -80, "tango": -78, "quelling_blade": -75, "tpscroll": 155, "boots": 271, "slippers": 640, "poor_mans_shield": 642, "ring_of_protection": 657, "iron_talon": 802, "blades_of_attack": 836, "phase_boots": 1057, "circlet": 1329, "gauntlets": 1329, "bracer": 1329, "wind_lace": 1488 }, "item_win": { "stout_shield": 0, "tango": 0, "quelling_blade": 0, "tpscroll": 0, "boots": 0, "slippers": 0, "poor_mans_shield": 0, "ring_of_protection": 0, "iron_talon": 0, "blades_of_attack": 0, "phase_boots": 0, "circlet": 0, "gauntlets": 0, "bracer": 0, "wind_lace": 0 }, "item_usage": { "stout_shield": 1, "tango": 1, "quelling_blade": 1, "tpscroll": 1, "boots": 1, "slippers": 1, "poor_mans_shield": 1, "ring_of_protection": 1, "iron_talon": 1, "blades_of_attack": 1, "phase_boots": 1, "circlet": 1, "gauntlets": 1, "bracer": 1, "wind_lace": 1 }, "purchase_tpscroll": 8, "actions_per_min": 127, "life_state_dead": 320, "rank_tier": null, "cosmetics": [], "benchmarks": { "gold_per_min": { "raw": 234, "pct": 0.013821441912588718 }, "xp_per_min": { "raw": 233, "pct": 0.011953679491968622 }, "kills_per_min": { "raw": 0, "pct": 0.024654463952185283 }, "last_hits_per_min": { "raw": 1.992619926199262, "pct": 0.01905117669032499 }, "hero_damage_per_min": { "raw": 111.14391143911439, "pct": 0.00635039223010833 }, "hero_healing_per_min": { "raw": 0, "pct": 0.9450877848337691 }, "tower_damage": { "raw": 0, "pct": 0.1807994023160254 }, "stuns_per_min": { "raw": 0, "pct": 0.7822189017556966 }, "lhten": { "raw": 10, "pct": 0.015706806282722512 } } }, { "match_id": 2472899185, "player_slot": 132, "ability_targets": null, "ability_upgrades_arr": null, "ability_uses": { "legion_commander_press_the_attack": 20, "legion_commander_duel": 7, "legion_commander_overwhelming_odds": 10 }, "account_id": null, "actions": { "1": 1937, "2": 39, "4": 1080, "5": 43, "6": 38, "7": 17, "8": 13, "10": 8, "11": 11, "16": 13, "19": 7, "23": 1, "24": 1, "27": 2, "33": 8 }, "additional_units": null, "assists": 3, "backpack_0": 0, "backpack_1": 0, "backpack_2": 0, "buyback_log": [ { "time": 1380 } ], "camps_stacked": null, "creeps_stacked": null, "damage": { "npc_dota_neutral_kobold": 786, "npc_dota_neutral_kobold_taskmaster": 829, "npc_dota_neutral_kobold_tunneler": 331, "npc_dota_neutral_forest_troll_berserker": 1076, "npc_dota_neutral_alpha_wolf": 1275, "npc_dota_neutral_giant_wolf": 2165, "npc_dota_neutral_centaur_khan": 5845, "npc_dota_neutral_centaur_outrunner": 2197, "npc_dota_neutral_harpy_scout": 894, "npc_dota_neutral_harpy_storm": 588, "npc_dota_neutral_satyr_soulstealer": 4745, "npc_dota_neutral_satyr_trickster": 2352, "npc_dota_neutral_ogre_mauler": 3606, "npc_dota_neutral_ogre_magi": 1370, "npc_dota_neutral_mud_golem": 1626, "npc_dota_neutral_mud_golem_split": 1212, "npc_dota_neutral_dark_troll_warlord": 2272, "npc_dota_neutral_dark_troll": 2266, "npc_dota_hero_ursa": 1691, "npc_dota_neutral_satyr_hellcaller": 985, "npc_dota_hero_vengefulspirit": 1110, "npc_dota_creep_goodguys_melee": 2153, "npc_dota_creep_goodguys_ranged": 1214, "npc_dota_creep_badguys_ranged": 90, "npc_dota_neutral_big_thunder_lizard": 1435, "npc_dota_neutral_small_thunder_lizard": 1639, "npc_dota_neutral_polar_furbolg_ursa_warrior": 997, "npc_dota_neutral_polar_furbolg_champion": 725, "npc_dota_hero_juggernaut": 2242, "npc_dota_goodguys_siege": 359, "npc_dota_neutral_granite_golem": 1647, "npc_dota_hero_slardar": 677, "npc_dota_hero_invoker": 1213, "npc_dota_creep_goodguys_melee_upgraded": 655, "npc_dota_creep_goodguys_ranged_upgraded": 182 }, "damage_inflictor": { "null": 2833, "legion_commander_overwhelming_odds": 1869, "blade_mail": 2231 }, "damage_inflictor_received": { "ursa_earthshock": 1279, "null": 10115, "slardar_slithereen_crush": 313, "invoker_tornado": 229, "bfury": 49, "invoker_cold_snap": 42, "vengefulspirit_wave_of_terror": 141, "vengefulspirit_magic_missile": 248, "juggernaut_omni_slash": 165 }, "damage_taken": { "npc_dota_neutral_kobold_taskmaster": 45, "npc_dota_neutral_kobold": 59, "npc_dota_neutral_kobold_tunneler": 54, "npc_dota_neutral_forest_troll_berserker": 218, "npc_dota_neutral_giant_wolf": 462, "npc_dota_neutral_alpha_wolf": 310, "npc_dota_neutral_centaur_khan": 1653, "npc_dota_neutral_centaur_outrunner": 560, "npc_dota_neutral_harpy_storm": 140, "npc_dota_neutral_harpy_scout": 87, "npc_dota_neutral_satyr_trickster": 117, "npc_dota_neutral_satyr_soulstealer": 502, "npc_dota_neutral_ogre_mauler": 565, "npc_dota_neutral_ogre_magi": 372, "npc_dota_neutral_mud_golem": 234, "npc_dota_neutral_mud_golem_split": 66, "npc_dota_neutral_dark_troll_warlord": 406, "npc_dota_neutral_dark_troll": 355, "npc_dota_hero_ursa": 7534, "npc_dota_neutral_satyr_hellcaller": 515, "npc_dota_hero_invoker": 811, "npc_dota_hero_vengefulspirit": 587, "npc_dota_creep_goodguys_melee": 161, "npc_dota_creep_goodguys_ranged": 13, "npc_dota_goodguys_tower1_mid": 275, "npc_dota_neutral_small_thunder_lizard": 659, "npc_dota_neutral_big_thunder_lizard": 513, "npc_dota_neutral_polar_furbolg_ursa_warrior": 169, "npc_dota_neutral_polar_furbolg_champion": 290, "npc_dota_hero_slardar": 808, "npc_dota_neutral_granite_golem": 700, "npc_dota_neutral_rock_golem": 299, "npc_dota_hero_juggernaut": 2841, "npc_dota_creep_goodguys_melee_upgraded": 125 }, "damage_targets": null, "deaths": 8, "denies": 1, "dn_t": null, "firstblood_claimed": null, "gold": 1602, "gold_per_min": 302, "gold_reasons": { "0": 625, "1": -2362, "2": -625, "12": 2842, "13": 2660 }, "gold_spent": 5575, "gold_t": [ 0, 163, 405, 712, 961, 1234, 1583, 1890, 2220, 2420, 2520, 2620, 2851, 3159, 3374, 3890, 4250, 4350, 4964, 5064, 5164, 5445, 5965, 6619, 6719, 6839, 6966, 8201, 8213, 8213 ], "hero_damage": 4186, "hero_healing": 0, "hero_hits": { "null": 48, "legion_commander_overwhelming_odds": 11, "blade_mail": 22 }, "hero_id": 104, "item_0": 127, "item_1": 1, "item_2": 182, "item_3": 11, "item_4": 240, "item_5": 44, "item_uses": { "courier": 1, "quelling_blade": 11, "tango": 3, "tpscroll": 4, "blink": 24, "blade_mail": 8 }, "kill_streaks": {}, "killed": { "npc_dota_neutral_kobold": 3, "npc_dota_neutral_kobold_taskmaster": 2, "npc_dota_neutral_kobold_tunneler": 1, "npc_dota_neutral_forest_troll_berserker": 2, "npc_dota_neutral_alpha_wolf": 2, "npc_dota_neutral_giant_wolf": 4, "npc_dota_neutral_centaur_khan": 5, "npc_dota_neutral_centaur_outrunner": 6, "npc_dota_neutral_harpy_scout": 2, "npc_dota_neutral_harpy_storm": 1, "npc_dota_neutral_satyr_soulstealer": 7, "npc_dota_neutral_satyr_trickster": 7, "npc_dota_neutral_ogre_mauler": 4, "npc_dota_neutral_ogre_magi": 2, "npc_dota_neutral_mud_golem": 2, "npc_dota_neutral_mud_golem_split": 4, "npc_dota_neutral_dark_troll_warlord": 2, "npc_dota_neutral_dark_troll": 4, "npc_dota_creep_goodguys_ranged": 5, "npc_dota_creep_goodguys_melee": 7, "npc_dota_creep_badguys_ranged": 1, "npc_dota_neutral_big_thunder_lizard": 1, "npc_dota_neutral_small_thunder_lizard": 1, "npc_dota_neutral_polar_furbolg_ursa_warrior": 1, "npc_dota_neutral_polar_furbolg_champion": 1, "npc_dota_hero_slardar": 2, "npc_dota_hero_invoker": 1, "npc_dota_creep_goodguys_melee_upgraded": 2 }, "killed_by": { "npc_dota_hero_ursa": 6, "npc_dota_hero_juggernaut": 2 }, "kills": 3, "kills_log": [ { "time": 1063, "key": "npc_dota_hero_slardar" }, { "time": 1315, "key": "npc_dota_hero_slardar" }, { "time": 1322, "key": "npc_dota_hero_invoker" } ], "lane_pos": { "72": { "162": 1, "164": 1 }, "74": { "158": 2, "160": 1 }, "76": { "164": 1, "166": 1 }, "78": { "158": 1, "168": 1 }, "80": { "158": 1, "168": 1 }, "82": { "156": 1, "166": 1, "168": 1 }, "84": { "156": 1, "162": 3, "164": 1 }, "86": { "156": 1, "158": 1, "160": 1, "162": 2 }, "88": { "156": 2, "158": 28, "162": 1 }, "90": { "154": 2, "158": 1, "160": 1, "162": 2 }, "92": { "156": 18, "158": 1, "160": 1 }, "94": { "156": 1 }, "96": { "156": 1 }, "98": { "156": 1 }, "100": { "156": 1 }, "102": { "156": 1 }, "104": { "156": 1, "162": 60, "164": 3 }, "106": { "148": 1, "162": 2, "164": 3 }, "108": { "148": 1, "150": 19, "152": 2, "156": 1, "162": 2, "164": 2, "166": 1 }, "110": { "152": 17, "154": 6, "156": 1, "162": 4, "164": 3, "166": 1 }, "112": { "152": 3, "154": 7, "162": 4, "164": 10, "166": 1 }, "114": { "148": 127, "150": 4, "152": 5, "154": 1, "160": 2, "162": 2, "164": 2, "166": 4 }, "116": { "148": 11, "150": 7, "152": 2, "154": 4, "156": 4, "158": 2, "160": 1, "162": 2 }, "118": { "152": 3, "154": 4, "156": 7, "158": 5, "160": 2, "164": 2 }, "120": { "158": 8, "164": 5 }, "122": { "156": 34, "158": 33 }, "124": { "156": 28, "158": 2 }, "126": { "154": 20, "160": 2 }, "128": { "152": 1, "154": 1, "158": 2 }, "130": { "150": 1, "152": 2, "156": 1, "158": 10 }, "132": { "126": 1, "128": 1, "152": 4, "156": 2 }, "134": { "126": 1, "128": 1, "152": 2, "154": 12, "160": 1 }, "136": { "152": 1, "154": 8, "160": 1 }, "138": { "160": 1 }, "140": { "162": 1 }, "142": { "164": 1 }, "144": { "166": 1, "168": 1, "170": 1 }, "146": { "172": 1 }, "148": { "174": 1 }, "150": { "174": 1 }, "154": { "174": 1 }, "156": { "174": 1 }, "158": { "172": 1 }, "160": { "172": 1 }, "162": { "172": 1 }, "166": { "174": 1 }, "168": { "174": 1 }, "170": { "174": 1 }, "172": { "174": 1 }, "176": { "174": 1 }, "178": { "174": 1 }, "180": { "174": 1 }, "182": { "174": 2, "176": 4 }, "184": { "174": 5, "176": 1 }, "186": { "174": 26 } }, "last_hits": 78, "leaver_status": 0, "level": 12, "lh_t": [ 0, 5, 10, 15, 20, 26, 35, 43, 50, 52, 52, 52, 54, 59, 62, 66, 72, 72, 72, 72, 72, 76, 76, 76, 76, 77, 78, 78, 78, 78 ], "life_state": { "0": 1473, "1": 10, "2": 290 }, "max_hero_hit": { "type": "max_hero_hit", "time": 1348, "max": true, "inflictor": "blade_mail", "unit": "npc_dota_hero_legion_commander", "key": "npc_dota_hero_vengefulspirit", "value": 251, "slot": 9, "player_slot": 132 }, "multi_kills": { "2": 1 }, "obs": {}, "obs_left_log": null, "obs_log": [], "obs_placed": null, "party_id": 9, "party_size": 1, "performance_others": null, "permanent_buffs": null, "pings": 37, "pred_vict": null, "purchase": { "tango": 1, "quelling_blade": 1, "stout_shield": 1, "courier": 1, "blink": 1, "tpscroll": 4, "broadsword": 1, "chainmail": 1, "robe": 1, "blade_mail": 1, "blight_stone": 1, "dust": null }, "purchase_log": [ { "time": -81, "key": "tango" }, { "time": -80, "key": "quelling_blade" }, { "time": -79, "key": "stout_shield" }, { "time": -78, "key": "courier" }, { "time": 500, "key": "blink" }, { "time": 573, "key": "tpscroll" }, { "time": 877, "key": "broadsword" }, { "time": 939, "key": "tpscroll" }, { "time": 979, "key": "chainmail" }, { "time": 1033, "key": "tpscroll" }, { "time": 1066, "key": "robe" }, { "time": 1075, "key": "blade_mail" }, { "time": 1105, "key": "tpscroll" }, { "time": 1217, "key": "blight_stone" } ], "randomed": null, "repicked": null, "roshans_killed": null, "rune_pickups": null, "runes": {}, "runes_log": null, "sen": {}, "sen_left_log": null, "sen_log": [], "sen_placed": null, "stuns": null, "teamfight_participation": null, "times": [ 0, 60, 120, 180, 240, 300, 360, 420, 480, 540, 600, 660, 720, 780, 840, 900, 960, 1020, 1080, 1140, 1200, 1260, 1320, 1380, 1440, 1500, 1560, 1620, 1680, 1740 ], "tower_damage": 0, "towers_killed": null, "xp_per_min": 310, "xp_reasons": { "0": 8, "1": 3708, "2": 4703 }, "xp_t": [ 0, 107, 380, 762, 1030, 1297, 1724, 2081, 2428, 2588, 2588, 2723, 3086, 3464, 3665, 4467, 4667, 4711, 5288, 5333, 5341, 5549, 6036, 6785, 6785, 6842, 6990, 8419, 8419, 8419 ], "radiant_win": true, "start_time": 1467319556, "duration": 1626, "cluster": 122, "lobby_type": 7, "game_mode": 22, "is_contributor": false, "patch": 18, "region": 2, "isRadiant": false, "win": 0, "lose": 1, "total_gold": 8184, "total_xp": 8401, "kills_per_min": 0.11070110701107011, "kda": 0, "abandons": 0, "neutral_kills": 64, "tower_kills": 0, "courier_kills": 0, "lane_kills": 15, "hero_kills": 3, "observer_kills": 0, "sentry_kills": 0, "roshan_kills": 0, "necronomicon_kills": 0, "ancient_kills": 2, "buyback_count": 1, "observer_uses": 0, "sentry_uses": 0, "lane_efficiency": 0.5067363764327367, "lane_efficiency_pct": 50, "lane": 5, "lane_role": 4, "is_roaming": false, "purchase_time": { "tango": -81, "quelling_blade": -80, "stout_shield": -79, "courier": -78, "blink": 500, "tpscroll": 3650, "broadsword": 877, "chainmail": 979, "robe": 1066, "blade_mail": 1075, "blight_stone": 1217 }, "first_purchase_time": { "tango": -81, "quelling_blade": -80, "stout_shield": -79, "courier": -78, "blink": 500, "tpscroll": 573, "broadsword": 877, "chainmail": 979, "robe": 1066, "blade_mail": 1075, "blight_stone": 1217 }, "item_win": { "tango": 0, "quelling_blade": 0, "stout_shield": 0, "courier": 0, "blink": 0, "tpscroll": 0, "broadsword": 0, "chainmail": 0, "robe": 0, "blade_mail": 0, "blight_stone": 0 }, "item_usage": { "tango": 1, "quelling_blade": 1, "stout_shield": 1, "courier": 1, "blink": 1, "tpscroll": 1, "broadsword": 1, "chainmail": 1, "robe": 1, "blade_mail": 1, "blight_stone": 1 }, "purchase_tpscroll": 4, "actions_per_min": 118, "life_state_dead": 300, "rank_tier": null, "cosmetics": [], "benchmarks": { "gold_per_min": { "raw": 302, "pct": 0.11134903640256959 }, "xp_per_min": { "raw": 310, "pct": 0.04796573875802998 }, "kills_per_min": { "raw": 0.11070110701107011, "pct": 0.26124197002141325 }, "last_hits_per_min": { "raw": 2.878228782287823, "pct": 0.12205567451820129 }, "hero_damage_per_min": { "raw": 154.4649446494465, "pct": 0.039400428265524624 }, "hero_healing_per_min": { "raw": 0, "pct": 0.15074946466809422 }, "tower_damage": { "raw": 0, "pct": 0.16531049250535332 }, "stuns_per_min": { "raw": 0, "pct": 0.9486081370449678 }, "lhten": { "raw": 52, "pct": 0.8301886792452831 } } } ], "patch": 18, "region": 2, "all_word_counts": { "lol": 4, "te": 1, "la": 1, "creiste": 1, "we": 1, "v": 1, "xq": 1, "q": 3, "mas": 3, "ez": 1, "ranked": 2, "querian": 2, "wtf": 1, "jjajajajaja": 1, "que": 1, "risa": 1, "chch": 1, "quieren": 1, "gg": 4, "wp": 2, "yep": 1, "comend": 1, "me": 1, "pls": 1, "espectre": 1, "prop": 1, "ursa": 1, "nob": 1, "go": 2, "vs": 1 }, "my_word_counts": {}, "throw": 333, "loss": 40296, "replay_url": "http://replay122.valve.net/570/2472899185_406016431.dem.bz2" }
odota/web/testcafe/cachedAjax/matches_2472899185_.json/0
{ "file_path": "odota/web/testcafe/cachedAjax/matches_2472899185_.json", "repo_id": "odota", "token_count": 135590 }
262
[ { "match_id": 4111092417, "player_slot": 128, "radiant_win": false, "duration": 2551, "game_mode": 3, "lobby_type": 0, "hero_id": 1, "start_time": 1536594324, "version": null, "kills": 23, "deaths": 2, "assists": 8, "skill": 3, "xp_per_min": 829, "gold_per_min": 982, "hero_damage": 44608, "tower_damage": 7649, "hero_healing": 0, "last_hits": 596, "lane": null, "lane_role": null, "is_roaming": null, "cluster": 227, "leaver_status": 0, "party_size": null }, { "match_id": 4111035376, "player_slot": 0, "radiant_win": true, "duration": 1397, "game_mode": 3, "lobby_type": 0, "hero_id": 45, "start_time": 1536592365, "version": null, "kills": 14, "deaths": 6, "assists": 10, "skill": 3, "xp_per_min": 725, "gold_per_min": 715, "hero_damage": 20267, "tower_damage": 12299, "hero_healing": 0, "last_hits": 149, "lane": null, "lane_role": null, "is_roaming": null, "cluster": 227, "leaver_status": 0, "party_size": null }, { "match_id": 4110962399, "player_slot": 128, "radiant_win": false, "duration": 1626, "game_mode": 3, "lobby_type": 0, "hero_id": 70, "start_time": 1536590040, "version": null, "kills": 21, "deaths": 1, "assists": 18, "skill": 3, "xp_per_min": 717, "gold_per_min": 637, "hero_damage": 22758, "tower_damage": 4511, "hero_healing": 1686, "last_hits": 133, "lane": null, "lane_role": null, "is_roaming": null, "cluster": 227, "leaver_status": 0, "party_size": null }, { "match_id": 4110803400, "player_slot": 128, "radiant_win": false, "duration": 2752, "game_mode": 3, "lobby_type": 0, "hero_id": 101, "start_time": 1536585193, "version": null, "kills": 17, "deaths": 10, "assists": 27, "skill": 3, "xp_per_min": 624, "gold_per_min": 528, "hero_damage": 47954, "tower_damage": 2830, "hero_healing": 0, "last_hits": 206, "lane": null, "lane_role": null, "is_roaming": null, "cluster": 224, "leaver_status": 0, "party_size": null }, { "match_id": 4107092555, "player_slot": 1, "radiant_win": false, "duration": 2787, "game_mode": 3, "lobby_type": 0, "hero_id": 17, "start_time": 1536418191, "version": null, "kills": 8, "deaths": 12, "assists": 16, "skill": 3, "xp_per_min": 600, "gold_per_min": 469, "hero_damage": 30373, "tower_damage": 422, "hero_healing": 0, "last_hits": 268, "lane": null, "lane_role": null, "is_roaming": null, "cluster": 227, "leaver_status": 0, "party_size": null }, { "match_id": 4107034950, "player_slot": 1, "radiant_win": true, "duration": 1788, "game_mode": 22, "lobby_type": 0, "hero_id": 76, "start_time": 1536414882, "version": 21, "kills": 11, "deaths": 0, "assists": 8, "skill": 3, "xp_per_min": 565, "gold_per_min": 594, "hero_damage": 19116, "tower_damage": 3801, "hero_healing": 0, "last_hits": 167, "lane": 2, "lane_role": 2, "is_roaming": false, "cluster": 227, "leaver_status": 0, "party_size": null }, { "match_id": 4106913021, "player_slot": 1, "radiant_win": true, "duration": 2587, "game_mode": 3, "lobby_type": 0, "hero_id": 106, "start_time": 1536410622, "version": null, "kills": 20, "deaths": 9, "assists": 21, "skill": 3, "xp_per_min": 693, "gold_per_min": 588, "hero_damage": 42741, "tower_damage": 2923, "hero_healing": 88, "last_hits": 240, "lane": null, "lane_role": null, "is_roaming": null, "cluster": 227, "leaver_status": 0, "party_size": null }, { "match_id": 4106653854, "player_slot": 129, "radiant_win": false, "duration": 3107, "game_mode": 3, "lobby_type": 0, "hero_id": 110, "start_time": 1536402374, "version": null, "kills": 8, "deaths": 8, "assists": 23, "skill": 3, "xp_per_min": 674, "gold_per_min": 600, "hero_damage": 42654, "tower_damage": 2160, "hero_healing": 3893, "last_hits": 494, "lane": null, "lane_role": null, "is_roaming": null, "cluster": 227, "leaver_status": 0, "party_size": null }, { "match_id": 4106565773, "player_slot": 129, "radiant_win": false, "duration": 2679, "game_mode": 3, "lobby_type": 0, "hero_id": 25, "start_time": 1536399219, "version": null, "kills": 22, "deaths": 6, "assists": 19, "skill": 3, "xp_per_min": 686, "gold_per_min": 654, "hero_damage": 34251, "tower_damage": 8712, "hero_healing": 0, "last_hits": 306, "lane": null, "lane_role": null, "is_roaming": null, "cluster": 224, "leaver_status": 0, "party_size": null }, { "match_id": 4106471512, "player_slot": 1, "radiant_win": false, "duration": 2393, "game_mode": 3, "lobby_type": 0, "hero_id": 8, "start_time": 1536395896, "version": null, "kills": 14, "deaths": 5, "assists": 7, "skill": 3, "xp_per_min": 651, "gold_per_min": 590, "hero_damage": 23086, "tower_damage": 1779, "hero_healing": 4028, "last_hits": 301, "lane": null, "lane_role": null, "is_roaming": null, "cluster": 223, "leaver_status": 0, "party_size": null }, { "match_id": 4104706446, "player_slot": 131, "radiant_win": true, "duration": 3752, "game_mode": 22, "lobby_type": 0, "hero_id": 67, "start_time": 1536318200, "version": null, "kills": 13, "deaths": 8, "assists": 24, "skill": 3, "xp_per_min": 706, "gold_per_min": 668, "hero_damage": 79168, "tower_damage": 8429, "hero_healing": 0, "last_hits": 597, "lane": null, "lane_role": null, "is_roaming": null, "cluster": 227, "leaver_status": 0, "party_size": null }, { "match_id": 4104667691, "player_slot": 131, "radiant_win": false, "duration": 907, "game_mode": 22, "lobby_type": 0, "hero_id": 10, "start_time": 1536316572, "version": null, "kills": 6, "deaths": 1, "assists": 3, "skill": 3, "xp_per_min": 463, "gold_per_min": 609, "hero_damage": 6703, "tower_damage": 5452, "hero_healing": 0, "last_hits": 103, "lane": null, "lane_role": null, "is_roaming": null, "cluster": 227, "leaver_status": 0, "party_size": null }, { "match_id": 4104588687, "player_slot": 132, "radiant_win": false, "duration": 2333, "game_mode": 3, "lobby_type": 0, "hero_id": 81, "start_time": 1536313055, "version": null, "kills": 18, "deaths": 5, "assists": 14, "skill": 3, "xp_per_min": 732, "gold_per_min": 697, "hero_damage": 33006, "tower_damage": 4512, "hero_healing": 0, "last_hits": 245, "lane": null, "lane_role": null, "is_roaming": null, "cluster": 227, "leaver_status": 0, "party_size": null }, { "match_id": 4104496408, "player_slot": 132, "radiant_win": false, "duration": 3046, "game_mode": 22, "lobby_type": 0, "hero_id": 12, "start_time": 1536308677, "version": null, "kills": 10, "deaths": 8, "assists": 10, "skill": 3, "xp_per_min": 598, "gold_per_min": 598, "hero_damage": 34690, "tower_damage": 5959, "hero_healing": 0, "last_hits": 366, "lane": null, "lane_role": null, "is_roaming": null, "cluster": 223, "leaver_status": 0, "party_size": null }, { "match_id": 4104444971, "player_slot": 132, "radiant_win": false, "duration": 1893, "game_mode": 22, "lobby_type": 0, "hero_id": 46, "start_time": 1536306184, "version": null, "kills": 16, "deaths": 2, "assists": 10, "skill": 3, "xp_per_min": 895, "gold_per_min": 775, "hero_damage": 31954, "tower_damage": 8550, "hero_healing": 0, "last_hits": 266, "lane": null, "lane_role": null, "is_roaming": null, "cluster": 224, "leaver_status": 0, "party_size": null }, { "match_id": 4103391408, "player_slot": 129, "radiant_win": false, "duration": 2330, "game_mode": 22, "lobby_type": 0, "hero_id": 95, "start_time": 1536242834, "version": null, "kills": 15, "deaths": 4, "assists": 13, "skill": 3, "xp_per_min": 758, "gold_per_min": 710, "hero_damage": 38989, "tower_damage": 10553, "hero_healing": 0, "last_hits": 336, "lane": null, "lane_role": null, "is_roaming": null, "cluster": 227, "leaver_status": 0, "party_size": null }, { "match_id": 4103334335, "player_slot": 129, "radiant_win": false, "duration": 1285, "game_mode": 22, "lobby_type": 0, "hero_id": 59, "start_time": 1536241075, "version": null, "kills": 8, "deaths": 2, "assists": 4, "skill": 3, "xp_per_min": 531, "gold_per_min": 600, "hero_damage": 11502, "tower_damage": 8561, "hero_healing": 0, "last_hits": 131, "lane": null, "lane_role": null, "is_roaming": null, "cluster": 227, "leaver_status": 1, "party_size": null }, { "match_id": 4103198104, "player_slot": 129, "radiant_win": false, "duration": 2897, "game_mode": 3, "lobby_type": 0, "hero_id": 25, "start_time": 1536236793, "version": null, "kills": 29, "deaths": 8, "assists": 11, "skill": 3, "xp_per_min": 883, "gold_per_min": 880, "hero_damage": 63271, "tower_damage": 10804, "hero_healing": 76, "last_hits": 452, "lane": null, "lane_role": null, "is_roaming": null, "cluster": 227, "leaver_status": 0, "party_size": null }, { "match_id": 4103112469, "player_slot": 129, "radiant_win": true, "duration": 2386, "game_mode": 3, "lobby_type": 0, "hero_id": 114, "start_time": 1536233674, "version": null, "kills": 11, "deaths": 11, "assists": 11, "skill": 3, "xp_per_min": 566, "gold_per_min": 462, "hero_damage": 31361, "tower_damage": 898, "hero_healing": 0, "last_hits": 210, "lane": null, "lane_role": null, "is_roaming": null, "cluster": 227, "leaver_status": 0, "party_size": null }, { "match_id": 4094571524, "player_slot": 131, "radiant_win": false, "duration": 3583, "game_mode": 3, "lobby_type": 0, "hero_id": 67, "start_time": 1535810803, "version": 21, "kills": 25, "deaths": 8, "assists": 27, "skill": 3, "xp_per_min": 773, "gold_per_min": 812, "hero_damage": 102962, "tower_damage": 6452, "hero_healing": 0, "last_hits": 626, "lane": 3, "lane_role": 1, "is_roaming": false, "cluster": 227, "leaver_status": 0, "party_size": 5 } ]
odota/web/testcafe/cachedAjax/players_101695162_recentMatches_.json/0
{ "file_path": "odota/web/testcafe/cachedAjax/players_101695162_recentMatches_.json", "repo_id": "odota", "token_count": 5300 }
263
[ { "match_id": "4096120529", "start_time": "1535880226", "hero_id": "114", "score": "122" }, { "match_id": "4109475072", "start_time": "1536511504", "hero_id": "93", "score": "106" }, { "match_id": "4106558300", "start_time": "1536398952", "hero_id": "76", "score": "86" }, { "match_id": "4107782252", "start_time": "1536446725", "hero_id": "32", "score": "80" }, { "match_id": "4094742717", "start_time": "1535815609", "hero_id": "4", "score": "80" }, { "match_id": "4104988063", "start_time": "1536327267", "hero_id": "44", "score": "77" }, { "match_id": "4098173025", "start_time": "1535979354", "hero_id": "32", "score": "75" }, { "match_id": "4096841479", "start_time": "1535902898", "hero_id": "21", "score": "73" }, { "match_id": "4110393090", "start_time": "1536568798", "hero_id": "34", "score": "71" }, { "match_id": "4100078470", "start_time": "1536076247", "hero_id": "32", "score": "71" }, { "match_id": "4106628975", "start_time": "1536401488", "hero_id": "4", "score": "70" }, { "match_id": "4100425855", "start_time": "1536093338", "hero_id": "17", "score": "70" }, { "match_id": "4095017137", "start_time": "1535824702", "hero_id": "93", "score": "70" }, { "match_id": "4106371506", "start_time": "1536392348", "hero_id": "104", "score": "69" }, { "match_id": "4105063670", "start_time": "1536329405", "hero_id": "32", "score": "69" }, { "match_id": "4103200172", "start_time": "1536236819", "hero_id": "32", "score": "68" }, { "match_id": "4102091709", "start_time": "1536172774", "hero_id": "70", "score": "68" }, { "match_id": "4101918338", "start_time": "1536165053", "hero_id": "17", "score": "68" }, { "match_id": "4096931914", "start_time": "1535906284", "hero_id": "101", "score": "68" }, { "match_id": "4107918568", "start_time": "1536457093", "hero_id": "34", "score": "67" }, { "match_id": "4104887522", "start_time": "1536324442", "hero_id": "44", "score": "67" }, { "match_id": "4111286287", "start_time": "1536602365", "hero_id": "17", "score": "66" }, { "match_id": "4105352497", "start_time": "1536338517", "hero_id": "32", "score": "66" }, { "match_id": "4102049546", "start_time": "1536170725", "hero_id": "17", "score": "66" }, { "match_id": "4098736832", "start_time": "1536000774", "hero_id": "70", "score": "66" }, { "match_id": "4098465996", "start_time": "1535988880", "hero_id": "114", "score": "66" }, { "match_id": "4095928204", "start_time": "1535873602", "hero_id": "34", "score": "66" }, { "match_id": "4098617415", "start_time": "1535995056", "hero_id": "11", "score": "65" }, { "match_id": "4098505998", "start_time": "1535990394", "hero_id": "34", "score": "65" }, { "match_id": "4095056134", "start_time": "1535826128", "hero_id": "34", "score": "65" }, { "match_id": "4110470532", "start_time": "1536572492", "hero_id": "56", "score": "64" }, { "match_id": "4095752506", "start_time": "1535866748", "hero_id": "4", "score": "64" }, { "match_id": "4111285513", "start_time": "1536602329", "hero_id": "34", "score": "63" }, { "match_id": "4110506120", "start_time": "1536574145", "hero_id": "32", "score": "63" }, { "match_id": "4109682211", "start_time": "1536520578", "hero_id": "70", "score": "63" }, { "match_id": "4107921157", "start_time": "1536457247", "hero_id": "93", "score": "63" }, { "match_id": "4106930679", "start_time": "1536411148", "hero_id": "10", "score": "63" }, { "match_id": "4103658444", "start_time": "1536254130", "hero_id": "17", "score": "63" }, { "match_id": "4111347543", "start_time": "1536605356", "hero_id": "114", "score": "62" }, { "match_id": "4110253779", "start_time": "1536561407", "hero_id": "106", "score": "62" }, { "match_id": "4109603001", "start_time": "1536516811", "hero_id": "58", "score": "62" }, { "match_id": "4108752755", "start_time": "1536489421", "hero_id": "70", "score": "62" }, { "match_id": "4108586999", "start_time": "1536484050", "hero_id": "82", "score": "62" }, { "match_id": "4107747272", "start_time": "1536444224", "hero_id": "35", "score": "62" }, { "match_id": "4105688586", "start_time": "1536353715", "hero_id": "101", "score": "62" }, { "match_id": "4101763809", "start_time": "1536159721", "hero_id": "34", "score": "62" }, { "match_id": "4101415233", "start_time": "1536149614", "hero_id": "32", "score": "62" }, { "match_id": "4099939295", "start_time": "1536071421", "hero_id": "34", "score": "62" }, { "match_id": "4097542598", "start_time": "1535946557", "hero_id": "34", "score": "62" }, { "match_id": "4097000977", "start_time": "1535909178", "hero_id": "32", "score": "62" }, { "match_id": "4095447766", "start_time": "1535849812", "hero_id": "34", "score": "62" }, { "match_id": "4095269405", "start_time": "1535836474", "hero_id": "17", "score": "62" }, { "match_id": "4107172614", "start_time": "1536420539", "hero_id": "34", "score": "61" }, { "match_id": "4103908219", "start_time": "1536268362", "hero_id": "17", "score": "61" }, { "match_id": "4101835159", "start_time": "1536162031", "hero_id": "72", "score": "61" }, { "match_id": "4101023379", "start_time": "1536134367", "hero_id": "44", "score": "61" }, { "match_id": "4099682208", "start_time": "1536062907", "hero_id": "4", "score": "61" }, { "match_id": "4098611863", "start_time": "1535994780", "hero_id": "93", "score": "61" }, { "match_id": "4097159244", "start_time": "1535916691", "hero_id": "93", "score": "61" }, { "match_id": "4096109326", "start_time": "1535879853", "hero_id": "34", "score": "61" }, { "match_id": "4094063645", "start_time": "1535794059", "hero_id": "34", "score": "61" }, { "match_id": "4111164099", "start_time": "1536597036", "hero_id": "70", "score": "60" }, { "match_id": "4109669500", "start_time": "1536519936", "hero_id": "17", "score": "60" }, { "match_id": "4109644071", "start_time": "1536518691", "hero_id": "23", "score": "60" }, { "match_id": "4107766325", "start_time": "1536445548", "hero_id": "34", "score": "60" }, { "match_id": "4107617149", "start_time": "1536436936", "hero_id": "34", "score": "60" }, { "match_id": "4107495405", "start_time": "1536431647", "hero_id": "73", "score": "60" }, { "match_id": "4103967606", "start_time": "1536273385", "hero_id": "93", "score": "60" }, { "match_id": "4102676934", "start_time": "1536213395", "hero_id": "93", "score": "60" }, { "match_id": "4102476128", "start_time": "1536201372", "hero_id": "70", "score": "60" }, { "match_id": "4102168868", "start_time": "1536176971", "hero_id": "39", "score": "60" }, { "match_id": "4101059998", "start_time": "1536135949", "hero_id": "70", "score": "60" }, { "match_id": "4099979445", "start_time": "1536072743", "hero_id": "32", "score": "60" }, { "match_id": "4096158429", "start_time": "1535881537", "hero_id": "21", "score": "60" }, { "match_id": "4094790126", "start_time": "1535816975", "hero_id": "11", "score": "60" }, { "match_id": "4093912576", "start_time": "1535788455", "hero_id": "34", "score": "60" }, { "match_id": "4093550494", "start_time": "1535771551", "hero_id": "25", "score": "60" }, { "match_id": "4111492486", "start_time": "1536614601", "hero_id": "93", "score": "59" }, { "match_id": "4110081662", "start_time": "1536550517", "hero_id": "17", "score": "59" }, { "match_id": "4107921300", "start_time": "1536457269", "hero_id": "44", "score": "59" }, { "match_id": "4106192875", "start_time": "1536385449", "hero_id": "93", "score": "59" }, { "match_id": "4105992657", "start_time": "1536375918", "hero_id": "17", "score": "59" }, { "match_id": "4104966495", "start_time": "1536326670", "hero_id": "34", "score": "59" }, { "match_id": "4104359824", "start_time": "1536301745", "hero_id": "17", "score": "59" }, { "match_id": "4103819227", "start_time": "1536262202", "hero_id": "17", "score": "59" }, { "match_id": "4102560123", "start_time": "1536206509", "hero_id": "17", "score": "59" }, { "match_id": "4102557873", "start_time": "1536206366", "hero_id": "17", "score": "59" }, { "match_id": "4102279061", "start_time": "1536185098", "hero_id": "25", "score": "59" }, { "match_id": "4102210553", "start_time": "1536179655", "hero_id": "32", "score": "59" }, { "match_id": "4101203677", "start_time": "1536141952", "hero_id": "93", "score": "59" }, { "match_id": "4100233899", "start_time": "1536082797", "hero_id": "34", "score": "59" }, { "match_id": "4099989399", "start_time": "1536073076", "hero_id": "34", "score": "59" }, { "match_id": "4099608258", "start_time": "1536059959", "hero_id": "44", "score": "59" }, { "match_id": "4098852800", "start_time": "1536007598", "hero_id": "17", "score": "59" }, { "match_id": "4098418727", "start_time": "1535987223", "hero_id": "70", "score": "59" }, { "match_id": "4097781690", "start_time": "1535961900", "hero_id": "32", "score": "59" }, { "match_id": "4097180462", "start_time": "1535917845", "hero_id": "70", "score": "59" }, { "match_id": "4095421931", "start_time": "1535847713", "hero_id": "34", "score": "59" }, { "match_id": "4095369260", "start_time": "1535843331", "hero_id": "106", "score": "59" }, { "match_id": "4095225195", "start_time": "1535833672", "hero_id": "32", "score": "59" } ]
odota/web/testcafe/cachedAjax/records_kills_.json/0
{ "file_path": "odota/web/testcafe/cachedAjax/records_kills_.json", "repo_id": "odota", "token_count": 5476 }
264
{ "typescript.tsdk": "frontend/node_modules/typescript/lib" }
openmultiplayer/web/.vscode/settings.json/0
{ "file_path": "openmultiplayer/web/.vscode/settings.json", "repo_id": "openmultiplayer", "token_count": 28 }
265
package resources import ( "go.uber.org/fx" "github.com/openmultiplayer/web/app/resources/pawndex" "github.com/openmultiplayer/web/app/resources/server" "github.com/openmultiplayer/web/app/resources/user" ) func Build() fx.Option { return fx.Provide( server.New, user.New, pawndex.New, ) }
openmultiplayer/web/app/resources/resources.go/0
{ "file_path": "openmultiplayer/web/app/resources/resources.go", "repo_id": "openmultiplayer", "token_count": 128 }
266
package pawndexworker import ( "context" "time" "go.uber.org/fx" "go.uber.org/zap" "github.com/openmultiplayer/web/app/resources/pawndex" "github.com/openmultiplayer/web/internal/config" ) type worker struct { Searcher pawndex.Searcher Scraper pawndex.Scraper Storer pawndex.Repository SearchInterval time.Duration ScrapeInterval time.Duration } func Build() fx.Option { return fx.Options( fx.Provide( pawndex.NewGitHubSearcher, pawndex.NewGitHubScraper, ), fx.Invoke(func( lc fx.Lifecycle, cfg config.Config, searcher pawndex.Searcher, scraper pawndex.Scraper, storer pawndex.Repository, ) *worker { w := &worker{ searcher, scraper, storer, cfg.PackageSearchInterval, cfg.PackageScrapeInterval, } wctx, stop := context.WithCancel(context.Background()) lc.Append(fx.Hook{ OnStart: func(ctx context.Context) error { go w.run(wctx) return nil }, OnStop: func(c context.Context) error { stop() return nil }, }) return w }), ) } func (d *worker) run(ctx context.Context) error { zap.L().Debug("starting pawndex worker", zap.Duration("search_interval", d.SearchInterval), zap.Duration("scrape_interval", d.ScrapeInterval)) search := time.NewTicker(d.SearchInterval) scrape := time.NewTicker(d.ScrapeInterval) doSearch := func() error { zap.L().Debug("starting search job") repos, err := d.Searcher.Search("topic:pawn-package", "language:pawn", "topic:sa-mp") if err != nil { return err } zap.L().Debug("finished search", zap.Int("repos", len(repos))) for _, r := range repos { zap.L().Debug("marking for scrape job", zap.String("repo", r)) if err := d.Storer.MarkForScrape(r); err != nil { zap.L().Error("failed to mark repo for scraping", zap.String("name", r), zap.Error(err)) } } zap.L().Debug("finished marking scrape jobs") return nil } doScrape := func() error { marked, err := d.Storer.GetMarked() if err != nil { return err } zap.L().Debug("starting scrape jobs", zap.Int("repos", len(marked))) for _, r := range marked { zap.L().Debug("scraping repository", zap.String("repo", r)) pkg, err := d.Scraper.Scrape(ctx, r) if err != nil { zap.L().Error("failed to scrape repo", zap.String("name", r), zap.Error(err)) continue } if err := d.Storer.Set(*pkg); err != nil { zap.L().Error("failed to store scraped package data", zap.String("name", r), zap.Error(err)) continue } time.Sleep(time.Second * 5) } return nil } f := func() error { select { case <-search.C: return doSearch() case <-scrape.C: return doScrape() case <-ctx.Done(): return context.Canceled } } for { if err := f(); err != nil { if err == context.Canceled { return err } } } }
openmultiplayer/web/app/services/pawndexworker/pawndexworker.go/0
{ "file_path": "openmultiplayer/web/app/services/pawndexworker/pawndexworker.go", "repo_id": "openmultiplayer", "token_count": 1249 }
267
package legacy import ( "net/http" "strconv" "time" "github.com/pkg/errors" "github.com/openmultiplayer/web/internal/web" ) func (s *service) listLegacy(w http.ResponseWriter, r *http.Request) { queries := r.URL.Query() since, err := strconv.Atoi(queries.Get("activeSince")) if err != nil { since = 3 } // This used to be for getting servers from database directly // list, err := s.storer.GetAll(r.Context(), time.Duration(-since)*time.Hour) // Let's use cached servers, instead of getting them directly from database // This way we can save a lot DB processing list, err := s.storer.GetAllCached(r.Context(), time.Duration(-since)*time.Hour) if err != nil { web.StatusInternalServerError(w, errors.Wrap(err, "failed to get list of servers")) return } w.Header().Set("Content-Type", "text/plain") for _, s := range list { if _, err := w.Write([]byte(s.IP)); err != nil { return } if _, err := w.Write([]byte{10}); err != nil { return } } }
openmultiplayer/web/app/transports/api/legacy/h_listLegacy.go/0
{ "file_path": "openmultiplayer/web/app/transports/api/legacy/h_listLegacy.go", "repo_id": "openmultiplayer", "token_count": 363 }
268
package users import ( "errors" "net/http" "github.com/openmultiplayer/web/internal/web" ) func (s *service) patchAdmin(w http.ResponseWriter, r *http.Request) { type queryParams struct { UserId string `json:"userId"` Status bool `json:"status"` } var p queryParams if !web.ParseBody(w, r, &p) { return } if p.UserId == "" { web.StatusBadRequest(w, errors.New("invalid query: missing userId field")) return } done, err := s.repo.SetAdmin(r.Context(), p.UserId, p.Status) if err != nil { web.StatusInternalServerError(w, err) return } if !done { web.StatusNotFound(w, errors.New("failed to update user")) return } }
openmultiplayer/web/app/transports/api/users/h_admin.go/0
{ "file_path": "openmultiplayer/web/app/transports/api/users/h_admin.go", "repo_id": "openmultiplayer", "token_count": 262 }
269
--- title: Client description: This category contains information about SA-MP client features and support. --- This category contains information about SA-MP client features and support.
openmultiplayer/web/docs/client/_.md/0
{ "file_path": "openmultiplayer/web/docs/client/_.md", "repo_id": "openmultiplayer", "token_count": 39 }
270
--- title: OnNPCDisconnect description: This callback is called when the NPC gets disconnected from the server. tags: ["npc"] --- ## Description This callback is called when the NPC gets disconnected from the server. | Name | Description | | ------------ | ------------------------------------------------------- | | reason[] | The reason why the bot has disconnected from the server | ## Examples ```c public OnNPCDisconnect(reason[]) { printf("Disconnected from the server. %s", reason); } ``` ## Related Callbacks The following callbacks might be useful, as they're related to this callback in one way or another. - [OnNPCConnect](OnNPCConnect): This callback is called when the NPC successfully connects to the server. - [OnPlayerDisconnect](OnPlayerDisconnect): This callback is called when a player leaves the server. - [OnPlayerConnect](OnPlayerConnect): This callback is called when a player connects to the server.
openmultiplayer/web/docs/scripting/callbacks/OnNPCDisconnect.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/callbacks/OnNPCDisconnect.md", "repo_id": "openmultiplayer", "token_count": 290 }
271
--- title: OnPlayerConnect description: This callback is called when a player connects to the server. tags: ["player"] --- ## Description This callback is called when a player connects to the server. | Name | Description | | -------- | ------------------------------------ | | playerid | The ID of the player that connected. | ## Returns 0 - Will prevent other filterscripts from receiving this callback. 1 - Indicates that this callback will be passed to the next filterscript. It is always called first in filterscripts. ## Examples ```c public OnPlayerConnect(playerid) { new string[64], playerName[MAX_PLAYER_NAME]; GetPlayerName(playerid, playerName, MAX_PLAYER_NAME); format(string, sizeof string, "%s has joined the server. Welcome!", playerName); SendClientMessageToAll(0xFFFFFFAA, string); return 1; } ``` ## Notes <TipNPCCallbacks /> ## Related Callbacks The following callbacks might be useful, as they're related to this callback in one way or another. - [OnPlayerDisconnect](OnPlayerDisconnect): This callback is called when a player leaves the server. - [OnIncomingConnection](OnIncomingConnection): This callback is called when a player is attempting to connect to the server. - [OnPlayerFinishedDownloading](OnPlayerFinishedDownloading): This callback is called when a player finishes downloading custom models.
openmultiplayer/web/docs/scripting/callbacks/OnPlayerConnect.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/callbacks/OnPlayerConnect.md", "repo_id": "openmultiplayer", "token_count": 412 }
272
--- title: OnPlayerKeyStateChange description: This callback is called when the state of any supported key is changed (pressed/released). tags: ["player"] --- ## Description This callback is called when the state of any [supported](../resources/keys) key is changed (pressed/released).<br/>Directional keys do not trigger OnPlayerKeyStateChange (up/down/left/right). | Name | Description | | -------- | ------------------------------------------------------------------------------------------------ | | playerid | The ID of the player that pressed or released a key. | | newkeys | A map (bitmask) of the keys currently held - [see here](../resources/keys) | | oldkeys | A map (bitmask) of the keys held prior to the current change - [see here](../resources/keys). | ## Returns - This callback does not handle returns. - It is always called first in gamemode. ## Notes :::info This callback can also be called by NPC. ::: :::tip Directional keys do not trigger OnPlayerKeyStateChange (up/down/left/right).<br/>They can only be detected with [GetPlayerKeys](../functions/GetPlayerKeys) (in [OnPlayerUpdate](../callbacks/OnPlayerUpdate) or a timer). ::: ## Related Functions The following functions might be useful, as they're related to this callback in one way or another. - [GetPlayerKeys](../functions/GetPlayerKeys): Check what keys a player is holding. ## Additional Information ### Introduction This callback is called whenever a player presses or releases one of the supported keys (see [Keys](../resources/keys)).<br/>The keys which are supported are not actual keyboard keys, but San Andreas mapped function keys, this means that, for example, you can't detect when someone presses the <strong>spacebar</strong>, but can detect when they press their sprint key (which may, or may not, be assigned to the spacebar (it is by default)). ### Parameters The parameters to this function are a list of all keys currently being held down and all the keys held down a moment ago. The callback is called when a key state changes (that is, when a key is either pressed or released) and passes the states or all keys before and after this change. This information can be used to see exactly what happened but the variables can not be used directly in the same way as parameters to other functions. To reduce the number of variables only a single BIT is used to represent a key, this means that one variable may contain multiple keys at once and simply comparing values will not always work. ### How to NOT to check for a key Let's presume that you want to detect when a player presses their FIRE button, the obvious code would be: ```c if (newkeys == KEY_FIRE) ``` This code may even work in your testing, but it is wrong and your testing is insufficient. Try crouching and pressing fire - your code will instantly stop working. Why? Because "newkeys" is no longer the same as "KEY_FIRE", it is the same as "KEY_FIRE" COMBINED WITH "KEY_CROUCH". ### How to check for a key So, if the variable can contain multiple keys at once, how do you check for just a single one? The answer is bit masking. Each key has its own bit in the variable (some keys have the same bit, but they are onfoot/incar keys, so can never be pressed at the same time anyway) and you need to check for just that single bit: ```c if (newkeys & KEY_FIRE) ``` Note that the single <strong>&</strong> is correct - this is a bitwise AND, not a logical AND, which is what the two ampersands are called. Now if you test this code it will work whether you are crouching or standing when you press the fire key. However there is still one slight problem - it will fire as long as you are holding the key. OnPlayerKeyStateChange is called every time a key changes and that code is true whenever the the fire key is held down. If you press fire the code will fire, if that key is held and you press crouch - that code will fire again because a key (crouch) has changed and fire is still held down How do you detect when a key is first pressed, but not trigger again when it's still held and another key changes? ### How to check for a key that has been pressed This is where "oldkeys" comes in. To check if a key has just been pressed you need to first check whether it is set in "newkeys" - meaning it's held down, and then check that it's NOT in "oldkeys" - meaning it's only just been held down. The following code does this: ```c if ((newkeys & KEY_FIRE) && !(oldkeys & KEY_FIRE)) ``` That will ONLY be true when the FIRE key is first pressed, not when it's held and another key changes. ### How to check for a key being released Exactly the same principle as above, but reversed: ```c if ((oldkeys & KEY_FIRE) && !(newkeys & KEY_FIRE)) ``` ### How to check for multiple keys If you want to check for players HOLDING crouch and fire then the following code will work fine: ```c if ((newkeys & KEY_FIRE) && (newkeys & KEY_CROUCH)) ``` However if you want to detect when they FIRST press fire and crouch the following code WILL NOT work. It will work if they manage to press the two keys at exactly the same time, but if they're fractionally out (far less than half a second) it won't: ```c if ((newkeys & KEY_FIRE) && !(oldkeys & KEY_FIRE) && (newkeys & KEY_CROUCH) && !(oldkeys & KEY_CROUCH)) ``` Why not? Because OnPlayerKeyStateChange is called every time a single key changes. So they press "KEY_FIRE" - OnPlayerKeyStateChange is called with "KEY_FIRE" in "newkeys" and not in "oldkeys", then they press "KEY_CROUCH" - OnPlayerKeyStateChange is called with "KEY_CROUCH" and "KEY_FIRE" in "newkeys", but "KEY_FIRE" is now also in "oldkeys" as it's already been pressed, so "!(oldkeys & KEY_FIRE)" will fail. Fortunately the solution is very simple (in fact simpler than the original code): ```c if ((newkeys & (KEY_FIRE | KEY_CROUCH)) == (KEY_FIRE | KEY_CROUCH) && (oldkeys & (KEY_FIRE | KEY_CROUCH)) != (KEY_FIRE | KEY_CROUCH)) ``` This may look complicated, but it checks that both keys are set in "newkeys" and that both the keys were not set in "oldkeys", if one of them was set in "oldkeys" that doesn't matter as not both of them were. All these things can be simplified greatly with defines. ## Simplification ### Detecting holding a key The define: ```c // HOLDING(keys) #define HOLDING(%0) \ ((newkeys & (%0)) == (%0)) ``` Holding one key: ```c if (HOLDING( KEY_FIRE )) ``` Holding multiple keys: ```c if (HOLDING( KEY_FIRE | KEY_CROUCH )) ``` ### Detecting first pressing a key The define: ```c // PRESSED(keys) #define PRESSED(%0) \ (((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0))) ``` Pressed one key: ```c if (PRESSED( KEY_FIRE )) ``` Pressed multiple keys: ```c if (PRESSED( KEY_FIRE | KEY_CROUCH )) ``` ### Detecting if a player is pressing a key currently The define: ```c // PRESSING(keyVariable, keys) #define PRESSING(%0,%1) \ (%0 & (%1)) ``` Pressing one key: ```c if (PRESSING( newkeys, KEY_FIRE )) ``` Pressing multiple keys: ```c if (PRESSING( newkeys, KEY_FIRE | KEY_CROUCH )) ``` ### Detecting releasing a key The define: ```c // RELEASED(keys) #define RELEASED(%0) \ (((newkeys & (%0)) != (%0)) && ((oldkeys & (%0)) == (%0))) ``` Released one key: ```c if (RELEASED( KEY_FIRE )) ``` Released multiple keys: ```c if (RELEASED( KEY_FIRE | KEY_CROUCH )) ``` ## Examples ### Attach NOS when the player presses fire ```c public OnPlayerKeyStateChange(playerid, KEY:newkeys, KEY:oldkeys) { if (PRESSED(KEY_FIRE)) { if (IsPlayerInAnyVehicle(playerid)) { AddVehicleComponent(GetPlayerVehicleID(playerid), 1010); } } return 1; } ``` ### Super jump ```c public OnPlayerKeyStateChange(playerid, KEY:newkeys, KEY:oldkeys) { if (PRESSED(KEY_JUMP)) { new Float:x, Float:y, Float:z; GetPlayerPos(playerid, x, y, z); SetPlayerPos(playerid, x, y, z + 10.0); } return 1; } ``` ### God mode while holding use ```c new Float:gPlayerHealth[MAX_PLAYERS]; #if !defined INFINITY #define INFINITY (Float:0x7F800000) #endif public OnPlayerKeyStateChange(playerid, KEY:newkeys, KEY:oldkeys) { if (PRESSED(KEY_ACTION)) { // They just pressed the action key, save their // old health for restoration. GetPlayerHealth(playerid, gPlayerHealth[playerid]); SetPlayerHealth(playerid, INFINITY); } else if (RELEASED(KEY_ACTION)) { // They just let go of action - restore // their old health again. SetPlayerHealth(playerid, gPlayerHealth[playerid]); } return 1; } ``` ### Explanation You don't need to worry about HOW it's done, just that it is. HOLDING detects if they're pressing a key (or keys), regardless of wether they were pressing it before, PRESSED detects if they only just pressed the key(s) and RELEASED detects if they just released a key(s). However if you want to know more - read on. The reason why you need to do it this way, not just using & or ==, is to detect exactly the keys you want while ignoring others which may or may not be pressed. In binary KEY_SPRINT is: ``` 0b00001000 ``` and KEY_JUMP is: ``` 0b00100000 ``` thus ORing them into the wanted keys (we could also add them in this example but that's not always the case) gives: ``` 0b00101000 ``` If we were only using & and OnPlayerKeyStateChange was called for a player pressing jump we would get the following code: ``` newkeys = 0b00100000 wanted = 0b00101000 ANDed = 0b00100000 ``` The AND of the two numbers is not 0, thus the result of the check is true, which isn't what we want. If we only used == the two numbers are clearly not the same thus the check would fail, which is what we want. If the player was pressing jump, sprint and crouch we would get the following code: ``` newkeys = 0b00101010 wanted = 0b00101000 ANDed = 0b00101000 ``` The ANDed version is the same as the required keys and also not 0, thus will give the correct answer, however the two original numbers are not the same so == will fail. In both the examples one of the two has given the right answer and one has given the wrong answer. If we compare the first one using & and == we get: ``` newkeys = 0b00100000 wanted = 0b00101000 ANDed = 0b00100000 ``` Obviously wanted and ANDed are not the same so the check fails, which is correct. For the second example: ``` newkeys = 0b00101010 wanted = 0b00101000 ANDed = 0b00101000 ``` Wanted and ANDed are the same so comparing them as equal will result in a true result, which again is correct. So using this method we can accurately check if certain keys are pressed ignoring all other keys which may or may not be pressed. the oldkeys check just uses != instead of == to ensure that the required keys were not previously pressed, so we know one of them was just pressed.
openmultiplayer/web/docs/scripting/callbacks/OnPlayerKeyStateChange.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/callbacks/OnPlayerKeyStateChange.md", "repo_id": "openmultiplayer", "token_count": 3400 }
273
--- title: OnPlayerStateChange description: This callback is called when a player changes state. tags: ["player"] --- ## Description This callback is called when a player changes state. For example, when a player changes from being the driver of a vehicle to being on-foot. | Name | Description | | --------------------- | ---------------------------------------- | | playerid | The ID of the player that changed state. | | PLAYER_STATE:newstate | The player's new state. | | PLAYER_STATE:oldstate | The player's previous state. | Refer to [Player States](../resources/playerstates) for a list of all available player states. ## Returns It is always called first in filterscripts. ## Examples ```c public OnPlayerStateChange(playerid, PLAYER_STATE:newstate, PLAYER_STATE:oldstate) { if (oldstate == PLAYER_STATE_ONFOOT && newstate == PLAYER_STATE_DRIVER) // Player entered a vehicle as a driver { new vehicleid = GetPlayerVehicleID(playerid); AddVehicleComponent(vehicleid, 1010); // Add NOS to the vehicle } return 1; } ``` ## Notes <TipNPCCallbacks /> ## Related Callbacks The following callbacks might be useful, as they're related to this callback in one way or another. - [OnPlayerInteriorChange](OnPlayerInteriorChange): This callback is called when a player changes interior. ## Related Functions The following functions might be useful, as they're related to this callback in one way or another. - [GetPlayerState](../functions/GetPlayerState): Get a player's current state. - [GetPlayerSpecialAction](../functions/GetPlayerSpecialAction): Get a player's current special action. - [SetPlayerSpecialAction](../functions/SetPlayerSpecialAction): Set a player's special action. ## Related Resources - [Player States](../resources/playerstates)
openmultiplayer/web/docs/scripting/callbacks/OnPlayerStateChange.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/callbacks/OnPlayerStateChange.md", "repo_id": "openmultiplayer", "token_count": 588 }
274
--- title: OnVehiclePaintjob description: This callback is called when a player previews a vehicle paintjob inside a mod shop. tags: ["vehicle"] --- ## Description This callback is called when a player previews a vehicle paintjob inside a mod shop. Watch out, this callback is not called when the player buys the paintjob. | Name | Description | | ---------- | ---------------------------------------------------------------- | | playerid | The ID of the player that changed the paintjob of their vehicle. | | vehicleid | The ID of the vehicle that had its paintjob changed. | | paintjobid | The ID of the new paintjob. | ## Returns It is always called first in gamemode so returning 0 there blocks other filterscripts from seeing it. ## Examples ```c public OnVehiclePaintjob(playerid, vehicleid, paintjobid) { new string[128]; format(string, sizeof(string), "You have changed your vehicle's paintjob to %d!", paintjobid); SendClientMessage(playerid, 0x33AA33AA, string); return 1; } ``` ## Notes :::tip This callback is not called by ChangeVehiclePaintjob. You might use OnVehicleChangePaintjob from vSync in order to know when the player buys the paintjob. ::: ## Related Callbacks The following callbacks might be useful, as they're related to this callback in one way or another. - [OnVehicleRespray](OnVehicleRespray): This callback is called when a vehicle is resprayed. - [OnVehicleMod](OnVehicleMod): This callback is called when a vehicle is modded. ## Related Functions The following functions might be useful, as they're related to this callback in one way or another. - [ChangeVehiclePaintjob](../functions/ChangeVehiclePaintjob): Change the paintjob on a vehicle. - [ChangeVehicleColor](../functions/ChangeVehicleColor): Set the color of a vehicle.
openmultiplayer/web/docs/scripting/callbacks/OnVehiclePaintjob.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/callbacks/OnVehiclePaintjob.md", "repo_id": "openmultiplayer", "token_count": 604 }
275
--- title: AddVehicleComponent description: Adds a 'component' (often referred to as a 'mod' (modification)) to a vehicle. tags: ["vehicle"] --- ## Description Adds a 'component' (often referred to as a 'mod' (modification)) to a vehicle. Valid components can be found here. | Name | Description | | ---------------------------------------- | ------------------------------------------------------------------------------- | | vehicleid | The ID of the vehicle to add the component to. Not to be confused with modelid. | | [component](../resources/carcomponentid) | The ID of the component to add to the vehicle. | ## Returns **true** - The component was successfully added to the vehicle. **false** - The component was not added because the vehicle does not exist. ## Examples ```c new gTaxi; public OnGameModeInit() { gTaxi = AddStaticVehicle(420, -2482.4937, 2242.3936, 4.6225, 179.3656, 6, 1); // Taxi return 1; } public OnPlayerStateChange(playerid, PLAYER_STATE:newstate, PLAYER_STATE:oldstate) { if (newstate == PLAYER_STATE_DRIVER && oldstate == PLAYER_STATE_ONFOOT) { if (GetPlayerVehicleID(playerid) == gTaxi) { AddVehicleComponent(gTaxi, 1010); // Nitro SendClientMessage(playerid, 0xFFFFFFAA, "Nitro added to the Taxi."); } } return 1; } ``` ## Notes :::warning Using an invalid component ID crashes the player's game. (Fixed in open.mp) ::: ## Related Functions - [RemoveVehicleComponent](RemoveVehicleComponent): Remove a component from a vehicle. - [GetVehicleComponentInSlot](GetVehicleComponentInSlot): Check what components a vehicle has. - [GetVehicleComponentType](GetVehicleComponentType): Check the type of component via the ID. - [VehicleCanHaveComponent](VehicleCanHaveComponent): Is the component legal on the vehicle? ## Related Callbacks - [OnVehicleMod](../callbacks/OnVehicleMod): Called when a vehicle is modded. - [OnEnterExitModShop](../callbacks/OnEnterExitModShop): Called when a vehicle enters or exits a mod shop. ## Related Resources - [Car Component IDs](../resources/carcomponentid)
openmultiplayer/web/docs/scripting/functions/AddVehicleComponent.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/AddVehicleComponent.md", "repo_id": "openmultiplayer", "token_count": 821 }
276
--- title: AttachObjectToPlayer description: Attach an object to a player. tags: ["object", "player"] --- ## Description Attach an object to a player. | Name | Description | | --------------- | ------------------------------------------------------------------ | | objectid | The ID of the object to attach to the player. | | parentid | The ID of the player to attach the object to. | | Float:offsetX | The distance between the player and the object in the X direction. | | Float:offsetY | The distance between the player and the object in the Y direction. | | Float:offsetZ | The distance between the player and the object in the Z direction. | | Float:rotationX | The X rotation between the object and the player. | | Float:rotationY | The Y rotation between the object and the player. | | Float:rotationZ | The Z rotation between the object and the player. | ## Returns This function always returns **false**. ## Examples ```c new gMyObject; gMyObject = CreateObject(19341, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); AttachObjectToPlayer(gMyObject, playerid, 1.5, 0.5, 0.0, 0.0, 1.5, 2); ``` ## Related Functions - [AttachObjectToVehicle](AttachObjectToVehicle): Attach an object to a vehicle. - [AttachObjectToObject](AttachObjectToObject): Attach an object to an object. - [AttachPlayerObjectToPlayer](AttachPlayerObjectToPlayer): Attach a player object to a player. - [CreateObject](CreateObject): Create an object. - [DestroyObject](DestroyObject): Destroy an object. - [IsValidObject](IsValidObject): Checks if a certain object is vaild. - [MoveObject](MoveObject): Move an object. - [StopObject](StopObject): Stop an object from moving. - [SetObjectPos](SetObjectPos): Set the position of an object. - [SetObjectRot](SetObjectRot): Set the rotation of an object. - [GetObjectPos](GetObjectPos): Locate an object. - [GetObjectRot](GetObjectRot): Check the rotation of an object. - [CreatePlayerObject](CreatePlayerObject): Create an object for only one player. - [DestroyPlayerObject](DestroyPlayerObject): Destroy a player object. - [IsValidPlayerObject](IsValidPlayerObject): Checks if a certain player object is vaild. - [MovePlayerObject](MovePlayerObject): Move a player object. - [StopPlayerObject](StopPlayerObject): Stop a player object from moving. - [SetPlayerObjectPos](SetPlayerObjectPos): Set the position of a player object. - [SetPlayerObjectRot](SetPlayerObjectRot): Set the rotation of a player object. - [GetPlayerObjectPos](GetPlayerObjectPos): Locate a player object. - [GetPlayerObjectRot](GetPlayerObjectRot): Check the rotation of a player object.
openmultiplayer/web/docs/scripting/functions/AttachObjectToPlayer.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/AttachObjectToPlayer.md", "repo_id": "openmultiplayer", "token_count": 887 }
277
--- title: CreatePickup description: This function does exactly the same as AddStaticPickup, except it returns a pickup ID which can be used to destroy it afterwards and be tracked using OnPlayerPickUpPickup. tags: ["pickup"] --- ## Description This function does exactly the same as AddStaticPickup, except it returns a pickup ID which can be used to destroy it afterwards and be tracked using OnPlayerPickUpPickup. | Name | Description | |----------------------------------|-----------------------------------------------------------------------------------| | [model](../resources/pickupids) | The model of the pickup. | | [type](../resources/pickuptypes) | The pickup type. Determines how the pickup responds when picked up. | | Float:x | The X coordinate to create the pickup at. | | Float:y | The Y coordinate to create the pickup at. | | Float:z | The Z coordinate to create the pickup at. | | virtualWorld | The virtual world ID of the pickup. Use -1 to make the pickup show in all worlds. | ## Returns The ID of the created pickup, -1 on failure (pickup max limit). ## Examples ```c new pickup_Armour; // Create a variable to store the pickup ID in public OnGameModeInit() { pickup_Armour = CreatePickup(1242, 2, 1503.3359, 1432.3585, 10.1191, -1); // Create an armour pickup and store the ID in 'pickup' return 1; } // Later.. DestroyPickup(pickup_Armour); // Example of using the pickup ID pickup_Armour = 0; // pickup variable needs to be reset to avoid future conflicts ``` ## Notes :::tip - The only type of pickup that can be picked up from inside a vehicle is 14 (except for special pickups such as bribes). - Pickups are shown to, and can be picked up by all players. - It is possible that if DestroyPickup() is used when a pickup is picked up, more than one player can pick up the pickup, due to lag. This can be circumvented through the use of variables. - Certain pickup types come with 'automatic responses', for example using an M4 model in the pickup will automatically give the player the weapon and some ammo. - For fully scripted pickups, type 1 should be used. ::: :::warning Known Bug(s): - Pickups that have a X or Y lower than -4096.0 or bigger than 4096.0 won't show up and won't trigger OnPlayerPickUpPickup either. ::: ## Related Functions - [AddStaticPickup](AddStaticPickup): Add a static pickup. - [DestroyPickup](DestroyPickup): Destroy a pickup. - [IsValidPickup](IsValidPickup): Checks if a pickup is valid. - [IsPickupStreamedIn](IsPickupStreamedIn): Checks if a pickup is streamed in for a specific player. - [IsPickupHiddenForPlayer](IsPickupHiddenForPlayer): Checks if a pickup is hidden for a specific player. - [SetPickupPos](SetPickupPos): Sets the position of a pickup. - [GetPickupPos](GetPickupPos): Gets the coordinates of a pickup. - [SetPickupModel](SetPickupModel): Sets the model of a pickup. - [GetPickupModel](GetPickupModel): Gets the model ID of a pickup. - [SetPickupType](SetPickupType): Sets the type of a pickup. - [GetPickupType](GetPickupType): Gets the type of a pickup. - [SetPickupVirtualWorld](SetPickupVirtualWorld): Sets the virtual world ID of a pickup. - [GetPickupVirtualWorld](GetPickupVirtualWorld): Gets the virtual world ID of a pickup. - [ShowPickupForPlayer](ShowPickupForPlayer): Shows a pickup for a specific player. - [HidePickupForPlayer](HidePickupForPlayer): Hides a pickup for a specific player. - [SetPickupForPlayer](SetPickupForPlayer): Adjusts the pickup model, type, and position for a specific player. - [CreatePlayerPickup](CreatePlayerPickup): Creates a pickup which will be visible to only one player. - [DestroyPlayerPickup](DestroyPlayerPickup): Destroy a player-pickup. ## Related Callbacks The following callbacks might be useful, as they're related to this function. - [OnPlayerPickUpPickup](../callbacks/OnPlayerPickUpPickup): Called when a player picks up a pickup. - [OnPickupStreamIn](../callbacks/OnPickupStreamIn): Called when a pickup enters the visual range of a player. - [OnPickupStreamOut](../callbacks/OnPickupStreamOut): Called when a pickup leaves the visual range of a player. ## Related Resources - [Pickup IDs](../resources/pickupids) - [Pickup Types](../resources/pickuptypes)
openmultiplayer/web/docs/scripting/functions/CreatePickup.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/CreatePickup.md", "repo_id": "openmultiplayer", "token_count": 1555 }
278
--- title: DestroyPlayerPickup description: Destroys a player-pickup created with CreatePlayerPickup. tags: ["player", "pickup", "playerpickup"] --- <VersionWarn version='omp v1.1.0.2612' /> ## Description Destroys a player-pickup created with [CreatePlayerPickup](CreatePlayerPickup). | Name | Description | |----------|--------------------------------------------------------------------------| | playerid | The ID of the player. | | pickupid | The ID of the player-pickup to destroy (returned by CreatePlayerPickup). | ## Returns This function does not return any specific values. ## Examples ```c new PlayerPickupArmour[MAX_PLAYERS]; // Create a variable to store the player-pickup ID in public OnPlayerConnect(playerid) { PlayerPickupArmour[playerid] = CreatePlayerPickup(playerid, 1242, 2, 2010.0979, 1222.0642, 10.8206, -1); // Create an armour pickup and store the ID in 'PlayerPickupArmour[playerid]' return 1; } // Some time later... DestroyPlayerPickup(playerid, PlayerPickupArmour[playerid]); ``` ## Related Functions - [CreatePlayerPickup](CreatePlayerPickup): Creates a pickup which will be visible to only one player. - [IsValidPlayerPickup](IsValidPlayerPickup): Checks if a player-pickup is valid. ## Related Callbacks - [OnPlayerPickUpPlayerPickup](../callbacks/OnPlayerPickUpPlayerPickup): Called when a player picks up a player-pickup.
openmultiplayer/web/docs/scripting/functions/DestroyPlayerPickup.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/DestroyPlayerPickup.md", "repo_id": "openmultiplayer", "token_count": 526 }
279
--- title: EnableStuntBonusForAll description: Enables or disables stunt bonuses for all players. tags: [] --- ## Description Enables or disables stunt bonuses for all players. If enabled, players will receive monetary rewards when performing a stunt in a vehicle (e.g. a wheelie). | Name | Description | | ----------- | ---------------------------------------------------------- | | bool:enable | 'true' to enable stunt bonuses or 'false' to disable them. | ## Returns This function does not return any specific values. ## Examples ```c public OnGameModeInit() { EnableStuntBonusForAll(false); return 1; } ``` ## Notes :::tip You can also toggle stunt bonuses via [config.json](../../server/config.json) ```json "use_stunt_bonuses": false, ``` ::: ## Related Functions - [EnableStuntBonusForPlayer](EnableStuntBonusForPlayer): Toggle stunt bonuses for a player.
openmultiplayer/web/docs/scripting/functions/EnableStuntBonusForAll.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/EnableStuntBonusForAll.md", "repo_id": "openmultiplayer", "token_count": 307 }
280
--- title: GangZoneGetColourForPlayer description: Get the colour of a gangzone for player tags: ["player", "gangzone"] --- <VersionWarn version='omp v1.1.0.2612' /> ## Description Get the colour of a gangzone for player. | Name | Description | | ----------- | ----------------------------------------- | | playerid | The ID of the player you need to get. | | zoneid | The ID of the gangzone. | ## Returns Colour of gangzone for player. **0:** Failed to execute the function. The gangzone is not shown for the player. ## Related Functions - [GangZoneDestroy](GangZoneDestroy): Destroy a gangzone. - [GangZoneShowForPlayer](GangZoneShowForPlayer): Show a gangzone for a player. - [GangZoneShowForAll](GangZoneShowForAll): Show a gangzone for all players. - [GangZoneHideForPlayer](GangZoneHideForPlayer): Hide a gangzone for a player. - [GangZoneHideForAll](GangZoneHideForAll): Hide a gangzone for all players. - [GangZoneFlashForPlayer](GangZoneFlashForPlayer): Make a gangzone flash for a player. - [GangZoneFlashForAll](GangZoneFlashForAll): Make a gangzone flash for all players. - [GangZoneStopFlashForPlayer](GangZoneStopFlashForPlayer): Stop a gangzone flashing for a player. - [GangZoneStopFlashForAll](GangZoneStopFlashForAll): Stop a gangzone flashing for all players. - [IsValidGangZone](IsValidGangZone): Check if the gangzone valid. - [IsPlayerInGangZone](IsPlayerInGangZone): Check if the player in gangzone. - [IsGangZoneVisibleForPlayer](IsGangZoneVisibleForPlayer): Check if the gangzone is visible for player.
openmultiplayer/web/docs/scripting/functions/GangZoneGetColourForPlayer.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/GangZoneGetColourForPlayer.md", "repo_id": "openmultiplayer", "token_count": 528 }
281
--- title: Get3DTextLabelVirtualWorld description: Gets the 3D text label virtual world id. tags: ["3dtextlabel"] --- <VersionWarn version='omp v1.1.0.2612' /> ## Description Gets the 3D text label virtual world id. | Name | Description | | ------------- | ----------------------------------------------------------- | | Text3D:textid | The ID of the 3D text label to get the virtual world id of. | ## Returns Returns the virtual world id of the 3D text label. ## Examples ```c new Text3D:gMyLabel; new worldid; gMyLabel = Create3DTextLabel("Hello World!", 0x008080FF, 30.0, 40.0, 50.0, 10.0, 20, false); worldid = Get3DTextLabelVirtualWorld(gMyLabel); // worldid = 20 ``` ## Related Functions - [Set3DTextLabelVirtualWorld](Set3DTextLabelVirtualWorld): Sets the 3D text label virtual world id. - [GetPlayer3DTextLabelVirtualWorld](GetPlayer3DTextLabelVirtualWorld): Gets the player 3D text label virtual world id.
openmultiplayer/web/docs/scripting/functions/Get3DTextLabelVirtualWorld.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/Get3DTextLabelVirtualWorld.md", "repo_id": "openmultiplayer", "token_count": 349 }
282
--- title: GetCustomModelPath description: Get a custom model path. tags: ["custom model", "custom skin", "simple model"] --- <VersionWarn version='omp v1.1.0.2612' /> ## Description Get a custom model path. | Name | Description | | --------- | --------------------------------------------------------------- | | modelid | The custom model id to get path from. | | dffPath[] | An array in which to store the dffPath in, passed by reference. | | dffSize | The length of the dffPath that should be stored. | | txdPath[] | An array in which to store the txdPath in, passed by reference. | | txdSize | The length of the txdPath that should be stored. | ## Examples ```c new modelid = -2000, dffPath[64], txdPath[64]; GetCustomModelPath(modelid, dffPath, sizeof(dffPath), txdPath, sizeof(txdPath)); printf("[Custom model id %d path]\n\ dff: %s\n\ txd: %s", modelid, dffPath, txdPath); ``` ## Related Functions - [AddSimpleModel](AddSimpleModel): Adds a new custom simple object model. - [AddSimpleModelTimed](AddSimpleModelTimed): Adds a new custom simple object model. - [IsValidCustomModel](IsValidCustomModel): Checks if a custom model ID is valid.
openmultiplayer/web/docs/scripting/functions/GetCustomModelPath.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/GetCustomModelPath.md", "repo_id": "openmultiplayer", "token_count": 499 }
283
--- title: GetPVarType description: Gets the type (integer, float or string) of a player variable. tags: ["player variable", "pvar"] --- ## Description Gets the type (integer, float or string) of a player variable. | Name | Description | | ------------ | -------------------------------------------------------------- | | playerid | The ID of the player whose player variable to get the type of. | | const pvar[] | The name of the player variable to get the type of. | ## Returns Returns the type of the PVar. See table below. ## Examples ```c stock PrintPVar(playerid, varname[]) { switch(GetPVarType(playerid, varname)) { case PLAYER_VARTYPE_NONE: { return 0; } case PLAYER_VARTYPE_INT: { printf("Integer PVar '%s': %i", varname, GetPVarInt(playerid, varname)); } case PLAYER_VARTYPE_FLOAT: { printf("Float PVar '%s': %f", varname, GetPVarFloat(playerid, varname)); } case PLAYER_VARTYPE_STRING: { new varstring[256]; GetPVarString(playerid, varname, varstring); printf("String PVar '%s': %s", varname, varstring); } } return 1; } public OnPlayerConnect(playerid) { SetPVarInt(playerid, "Level", 20); PrintPVar(playerid, "Level"); // Output: "Integer PVar 'Level': 20" return 1; } ``` ## Related Functions - [SetPVarInt](SetPVarInt): Set an integer for a player variable. - [GetPVarInt](GetPVarInt): Get the previously set integer from a player variable. - [SetPVarString](SetPVarString): Set a string for a player variable. - [GetPVarString](GetPVarString): Get the previously set string from a player variable. - [SetPVarFloat](SetPVarFloat): Set a float for a player variable. - [GetPVarFloat](GetPVarFloat): Get the previously set float from a player variable. - [DeletePVar](DeletePVar): Delete a player variable. ## Related Resources - [Player Variable Types](../resources/pvartypes)
openmultiplayer/web/docs/scripting/functions/GetPVarType.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/GetPVarType.md", "repo_id": "openmultiplayer", "token_count": 829 }
284
--- title: GetPlayerAmmo description: Gets the amount of ammo in a player's current weapon. tags: ["player"] --- ## Description Gets the amount of ammo in a player's current weapon. | Name | Description | | -------- | --------------------------------------- | | playerid | The ID of the player whose ammo to get. | ## Returns The amount of ammo in the player's current weapon. ## Examples ```c ublic OnPlayerCommandText(playerid, cmdtext[]) { if (!strcmp(cmdtext, "/myammo", true)) { new ammo = GetPlayerAmmo(playerid), string[32]; format(string, sizeof(string), "Your ammo: %i", ammo); SendClientMessage(playerid, -1, string); return 1; } return 0; } ``` ## Notes :::warning The ammo can hold 16-bit values, therefore values over 32767 will return erroneous values. ::: ## Related Functions - [SetPlayerAmmo](SetPlayerAmmo): Set the ammo of a specific player's weapon. - [GetPlayerWeaponData](GetPlayerWeaponData): Find out information about weapons a player has.
openmultiplayer/web/docs/scripting/functions/GetPlayerAmmo.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/GetPlayerAmmo.md", "repo_id": "openmultiplayer", "token_count": 388 }
285
--- title: GetPlayerCameraUpVector description: This function returns the vector, that points to the upside of the camera's view, or, in other words, to the middle top of your screen. tags: ["player", "camera"] --- ## Description This function returns the vector, that points to the upside of the camera's view, or, in other words, to the middle top of your screen. | Name | Description | | -------- | -------------------------------------------------------------- | | playerid | The ID of the player you want to obtain the camera upvector of | | Float:x | A float to store the X coordinate, passed by reference. | | Float:y | A float to store the Y coordinate, passed by reference. | | Float:z | A float to store the Z coordinate, passed by reference. | ## Returns The position is stored in the specified variables. ## Notes :::warning This function was removed in SA-MP version 0.3b ::: ## Related Functions - [GetPlayerCameraPos](GetPlayerCameraPos): Find out where the player's camera is. - [GetPlayerCameraFrontVector](GetPlayerCameraFrontVector): Get the player's camera front vector
openmultiplayer/web/docs/scripting/functions/GetPlayerCameraUpVector.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/GetPlayerCameraUpVector.md", "repo_id": "openmultiplayer", "token_count": 356 }
286
--- title: GetPlayerHydraReactorAngle description: Gets the hydra reactor angle of the player's vehicle. tags: ["player", "vehicle"] --- <VersionWarn version='omp v1.1.0.2612' /> ## Description Gets the hydra reactor angle of the player's vehicle. ## Parameters | Name | Description | |----------|-----------------------| | playerid | The ID of the player. | ## Examples ```c new Float:reactorAngle = GetPlayerHydraReactorAngle(playerid); ``` ## Related Functions - [GetVehicleHydraReactorAngle](GetVehicleHydraReactorAngle): Gets the hydra reactor angle of the vehicle.
openmultiplayer/web/docs/scripting/functions/GetPlayerHydraReactorAngle.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/GetPlayerHydraReactorAngle.md", "repo_id": "openmultiplayer", "token_count": 192 }
287
--- title: GetPlayerObjectMaterial description: Get the material data from an index of the player-object. tags: ["player", "object", "playerobject"] --- <VersionWarn version='omp v1.1.0.2612' /> ## Description Get the material data from an index of the player-object. | Name | Description | |--------------------|-----------------------------------------------------------------------| | playerid | The ID of the player. | | objectid | The ID of the player-object. | | materialIndex | The material index on the object. (0 to 15) | | &modelid | A variable in which to store the model ID, passed by reference. | | textureLibrary[] | An array into which to store the textureLibrary, passed by reference. | | textureLibrarySize | The size of the textureLibrary. | | textureName[] | An array into which to store the textureName, passed by reference. | | textureNameSize | The size of the textureName. | | &materialColour | A variable in which to store the materialColour, passed by reference. | ## Returns `true` - The function was executed successfully. `false` - The function failed to execute. The object specified does not exist or an invalid material index is specified. ## Examples ```c new playerobjectid = CreatePlayerObject(playerid, 19371, 978.71143, -925.25708, 42.63720, 0.00000, 0.00000, 2.00000); SetPlayerObjectMaterial(playerid, playerobjectid, 0, 19341, "egg_texts", "easter_egg01", 0xFFFFFFFF); new modelid, textureLibrary[16], textureName[16], materialColour; GetPlayerObjectMaterial(playerid, playerobjectid, 0, modelid, textureLibrary, sizeof(textureLibrary), textureName, sizeof(textureName), materialColour); // modelid = 19341 // textureLibrary = "egg_texts" // textureName = "easter_egg01" // materialColour = 0xFFFFFFFF ``` ## Related Functions - [SetPlayerObjectMaterial](SetPlayerObjectMaterial): Replace the texture of a player-object with the texture from another model in the game. - [SetPlayerObjectMaterialText](SetPlayerObjectMaterialText): Replace the texture of a player object with text. - [IsPlayerObjectMaterialSlotUsed](IsPlayerObjectMaterialSlotUsed): Checks if a slot of player-object material is used. - [GetPlayerObjectMaterialText](GetPlayerObjectMaterialText): Get the material text data from an index of the player-object. - [GetObjectMaterial](GetObjectMaterial): Get the material data from an index of the object.
openmultiplayer/web/docs/scripting/functions/GetPlayerObjectMaterial.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/GetPlayerObjectMaterial.md", "repo_id": "openmultiplayer", "token_count": 970 }
288
--- title: GetPlayerRaceCheckpoint description: Get the location of the current race checkpoint. tags: ["player", "checkpoint", "racecheckpoint"] --- <VersionWarn version='omp v1.1.0.2612' /> ## Description Get the location of the current race checkpoint. | Name | Description | | -------------- | ---------------------------------------------------------------------------------- | | playerid | The ID of the player to get the checkpoint position of. | | &Float:centreX | A float variable in which to store the centreX coordinate in, passed by reference. | | &Float:centreY | A float variable in which to store the centreY coordinate in, passed by reference. | | &Float:centreZ | A float variable in which to store the centreZ coordinate in, passed by reference. | | &Float:nextX | A float variable in which to store the nextX coordinate in, passed by reference. | | &Float:nextY | A float variable in which to store the nextY coordinate in, passed by reference. | | &Float:nextZ | A float variable in which to store the nextZ coordinate in, passed by reference. | | &Float:radius | A float variable in which to store the radius in, passed by reference. | ## Returns This function does not return any specific values. ## Examples ```c SetPlayerRaceCheckpoint(playerid, CP_TYPE_GROUND_NORMAL, 373.1631, 2502.4644, 16.4774, 269.8644, 2503.4963, 16.4774, 2.0); new Float:centreX, Float:centreY, Float:centreZ, Float:nextX, Float:nextY, Float:nextZ, Float:radius; GetPlayerRaceCheckpoint(playerid, centreX, centreY, centreZ, nextX, nextY, nextZ, radius); ``` ## Related Functions - [SetPlayerCheckpoint](SetPlayerCheckpoint): Create a checkpoint for a player. - [DisablePlayerCheckpoint](DisablePlayerCheckpoint): Disable the player's current checkpoint. - [IsPlayerInCheckpoint](IsPlayerInCheckpoint): Check if a player is in a checkpoint. - [SetPlayerRaceCheckpoint](SetPlayerRaceCheckpoint): Create a race checkpoint for a player. - [DisablePlayerRaceCheckpoint](DisablePlayerRaceCheckpoint): Disable the player's current race checkpoint. - [IsPlayerInRaceCheckpoint](IsPlayerInRaceCheckpoint): Check if a player is in a race checkpoint. - [IsPlayerRaceCheckpointActive](IsPlayerRaceCheckpointActive): Check if the player currently has a race checkpoint visible. ## Related Callbacks - [OnPlayerEnterCheckpoint](../callbacks/OnPlayerEnterCheckpoint): Called when a player enters a checkpoint. - [OnPlayerLeaveCheckpoint](../callbacks/OnPlayerLeaveCheckpoint): Called when a player leaves a checkpoint. - [OnPlayerEnterRaceCheckpoint](../callbacks/OnPlayerEnterRaceCheckpoint): Called when a player enters a race checkpoint. - [OnPlayerLeaveRaceCheckpoint](../callbacks/OnPlayerLeaveRaceCheckpoint): Called when a player leaves a race checkpoint.
openmultiplayer/web/docs/scripting/functions/GetPlayerRaceCheckpoint.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/GetPlayerRaceCheckpoint.md", "repo_id": "openmultiplayer", "token_count": 898 }
289
--- title: GetPlayerTargetPlayer description: Check who a player is aiming at. tags: ["player"] --- ## Description Check who a player is aiming at. | Name | Description | | -------- | ------------------------------------------ | | playerid | The ID of the player to get the target of. | ## Returns The ID of the target player, or `INVALID_PLAYER_ID` if none. ## Examples ```c public OnPlayerUpdate(playerid) { // Store the ID new playerTargetId = GetPlayerTargetPlayer(playerid); if (playerTargetId != INVALID_PLAYER_ID && GetPlayerTeam(playerTargetId) == GetPlayerTeam(playerid)) { GameTextForPlayer(playerid, "~R~do not shoot at team-mates!", 5000, 3); } } ``` ## Notes :::warning Does not work for joypads/controllers, and after a certain distance. Does not work for the sniper rifle, as it doesn't lock on to anything and as such can't and won't return a player. ::: ## Related Functions - [GetPlayerCameraFrontVector](GetPlayerCameraFrontVector): Get the player's camera front vector ## Related Callbacks - [OnPlayerGiveDamage](../callbacks/OnPlayerGiveDamage): This callback is called when a player gives damage. - [OnPlayerTakeDamage](../callbacks/OnPlayerTakeDamage): This callback is called when a player takes damage.
openmultiplayer/web/docs/scripting/functions/GetPlayerTargetPlayer.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/GetPlayerTargetPlayer.md", "repo_id": "openmultiplayer", "token_count": 411 }
290
--- title: GetPlayers description: Gets an array variable of the IDs of the current players on the server. tags: ["player"] --- <VersionWarn version='omp v1.1.0.2612' /> ## Description Gets an array variable of the IDs of the current players on the server. | Name | Description | | ------------- | ----------------------------------------------------------------- | | players[] | An array into which to store the player IDs, passed by reference. | | size | The size of the array. | ## Returns The function returns the number of players stored in the array. ## Examples Suppose there are 5 players on the server: ```c new players[MAX_PLAYERS]; new length; length = GetPlayers(players, sizeof(players)); // The `players` array now contains online player IDs. { 0, 1, 2, 3, 4 } // The value of the `length` variable is 5 ``` ## Related Functions - [GetVehicles](GetVehicles): Gets an array variable of the IDs of the created vehicles on the server. - [GetActors](GetActors): Gets an array variable of the IDs of the created actors on the server.
openmultiplayer/web/docs/scripting/functions/GetPlayers.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/GetPlayers.md", "repo_id": "openmultiplayer", "token_count": 402 }
291
--- title: GetTimerInterval description: Gets the interval of a timer. tags: ["timer"] --- <VersionWarn version='omp v1.1.0.2612' /> ## Description Gets the interval of a timer. ## Parameters | Name | Description | |---------|---------------------------------------------| | timerid | The ID of the timer to get the interval of. | ## Return Values Returns the interval of the timer in milliseconds. ## Examples ```c new g_Timer; public OnGameModeInit() { g_Timer = SetTimer("TimerCallback", 60000, true); new interval = GetTimerInterval(g_Timer); printf("Timer ID %d interval: %d ms", g_Timer, interval); return 1; } ``` ## Related Functions - [SetTimer](SetTimer): Set a timer. - [SetTimerEx](SetTimerEx): Set a timer with parameters. - [KillTimer](KillTimer): Stop a timer. - [IsValidTimer](IsValidTimer): Checks if a timer is valid. - [IsRepeatingTimer](IsRepeatingTimer): Checks if a timer is set to repeat. - [GetTimerRemaining](GetTimerRemaining): Gets the remaining interval of a timer. - [CountRunningTimers](CountRunningTimers): Get the running timers.
openmultiplayer/web/docs/scripting/functions/GetTimerInterval.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/GetTimerInterval.md", "repo_id": "openmultiplayer", "token_count": 368 }
292