Compare commits

..
1165 Commits
Author SHA1 Message Date
tresabhi 50a3d1e922 feat: logs 2024-12-16 10:34:14 -06:00
tresabhi e296267ccd feat: add cpr 2024-12-16 10:30:05 -06:00
tresabhi d9aca6a3ed fix: include .git 2024-12-15 19:35:25 -06:00
tresabhi d07a6e954e fix: remove dead code 2024-12-15 19:30:22 -06:00
tresabhi 6bcaf685f8 fix: names 2024-12-15 19:26:58 -06:00
tresabhi 066f17a2f3 fix: concurrent only on main 2024-12-15 19:26:36 -06:00
tresabhi 374d6c22f9 feat: use artifact 2024-12-15 19:25:13 -06:00
tresabhi 55927258ca feat: use better emoji 2024-12-15 19:08:31 -06:00
tresabhi bb99220497 feat: /auction strikethrough and warning 2024-12-15 19:06:05 -06:00
tresabhi 4f6b41e264 feat: start work on website deployment 2024-12-15 18:59:20 -06:00
tresabhi f9c4cee30c feat: disable vercel deployments 2024-12-15 18:46:59 -06:00
tresabhi d865043b34 fix: invalidate on advanced highlighting change 2024-12-15 18:39:24 -06:00
tresabhi a4080f21b9 feat: optimize using claude lol 2024-12-15 18:33:15 -06:00
tresabhi 853c520d8a feat: optimize depth sampling 2024-12-15 18:26:34 -06:00
tresabhi d78f8c6ec4 feat: optimize constants 2024-12-15 18:21:03 -06:00
tresabhi 318a71bd32 feat: advanced mode 2024-12-15 18:13:23 -06:00
tresabhi bc9c9ad4e7 feat: start of custom renders 2024-12-14 22:32:28 -06:00
tresabhi b38c732983 fix: missing image backup 2024-12-14 15:46:47 -06:00
tresabhi 905ba59f4e feat: logs 2024-12-14 15:21:52 -06:00
tresabhi 33eea3f261 fix: cumulative rich presense 2024-12-14 15:14:48 -06:00
tresabhi 2237d460bb fix: opaque mode instantly updates now 2024-12-14 14:46:53 -06:00
tresabhi 12e7d664e5 fix: cursor and underline on hover in compare tank list 2024-12-14 14:44:53 -06:00
tresabhi 9e4bdcd458 fix: tanks with fixed camos no longer have the camo buttons in compare 2024-12-14 14:43:04 -06:00
tresabhi 03ec44c765 feat: chunk lines for /auction 2024-12-14 14:41:50 -06:00
tresabhi d9f6acea2d feat: /owned-tanks links to tankopedia and chunks better 2024-12-14 14:39:39 -06:00
tresabhi 5b5e204cce fix: tank hot swapping no longer crashes 2024-12-14 13:43:57 -06:00
tresabhi 60b2e62713 fix: /stats filters 2024-12-14 13:41:02 -06:00
tresabhi 5e7620ccf4 fix: crash on static mode 2024-12-14 13:33:23 -06:00
tresabhi c3a83abe5d feat: max 8 popular tanks 2024-12-14 13:28:48 -06:00
tresabhi 73cb3873d9 feat: search min and max lengths 2024-12-14 13:27:45 -06:00
TrèsAbhi 3b429a6c05 Merge pull request #132 from tresabhi/l10n_main 2024-12-14 13:03:25 -06:00
TrèsAbhi 76fe6b5e20 New translations en-us.json (Chinese Simplified) 2024-12-13 17:43:27 -06:00
TrèsAbhi 5c8af447b6 New translations en-us.json (Ukrainian) 2024-12-13 17:43:26 -06:00
TrèsAbhi 5a805b1cec New translations en-us.json (Russian) 2024-12-13 17:43:25 -06:00
tresabhi 326ae548b6 fix: env 2024-12-13 17:02:35 -06:00
tresabhi 3a2e75ab02 feat: version 2024-12-13 16:56:05 -06:00
tresabhi b4f8340f49 feat: logs 2024-12-13 16:55:57 -06:00
tresabhi 5e0d0a3d6d fix: remove extreme jpeg compression 2024-12-13 16:47:42 -06:00
tresabhi 4122ff5bf1 fix: suspense armor laoder 2024-12-13 16:45:59 -06:00
tresabhi d937f62ac1 feat: disable shooting range 2024-12-13 16:39:09 -06:00
tresabhi b4f0a9f1b9 Merge branch 'main' into dev 2024-12-13 16:37:20 -06:00
TrèsAbhi 68535149e3 New translations en-us.json (Croatian (disambiguation)) 2024-12-13 16:31:57 -06:00
TrèsAbhi 2419934638 New translations en-us.json (Spanish) 2024-12-13 16:31:56 -06:00
tresabhi c0076e9ef9 fix: avilable 2024-12-13 16:25:37 -06:00
tresabhi 1cd7438d5d feat: update lock 2024-12-13 16:18:34 -06:00
tresabhi ab798b722f Merge branch 'main' into dev 2024-12-13 16:18:21 -06:00
tresabhi 4e513998a9 feat: logs 2024-12-13 16:14:16 -06:00
tresabhi df34226a22 feat: more features 2024-12-13 16:11:43 -06:00
tresabhi 2f7f2362bb feat: auction command 2024-12-13 10:58:16 -06:00
tresabhi 66a54a9996 fix: make discriminator optional 2024-12-12 21:10:50 -06:00
tresabhi fdcbb8f29f feat: use epsilon 2024-12-12 21:07:40 -06:00
tresabhi 5ab0a12f4c fix: use max of dispersion 2024-12-12 21:03:40 -06:00
tresabhi d19d4e0e26 feat: consistent zoom 2024-12-12 19:35:10 -06:00
tresabhi 2f9791d34c fix: organize code 2024-12-12 19:06:06 -06:00
tresabhi cd53136dce feat: reduce rerenders 2024-12-12 18:32:27 -06:00
tresabhi 2eadad8612 feat: better lighting in shooting range 2024-12-12 18:31:49 -06:00
tresabhi 2fe3c50bef feat: some cleanuo 2024-12-12 18:18:51 -06:00
tresabhi 10c7e4a19d fix: reverse zoom 2024-12-12 18:17:01 -06:00
tresabhi 143c84f52f feat: zooming in 2024-12-12 16:03:34 -06:00
tresabhi 0c54905384 fix: ratio 2024-12-12 15:19:47 -06:00
tresabhi 437c5e0f57 fix: recursion on build website 2024-12-12 15:09:13 -06:00
tresabhi b4e4702415 feat: reorder home cards 2024-12-12 15:07:39 -06:00
tresabhi 4b8a154142 feat: real popular tanks list 2024-12-12 15:03:51 -06:00
tresabhi 31a61c8a6b feat: some turret traverse penalties 2024-12-08 21:51:39 -06:00
tresabhi 631af6205e Merge branch 'main' into dev 2024-12-08 20:29:49 -06:00
TrèsAbhi a78543c60f Update rating-eu.yml 2024-12-08 00:51:35 -06:00
TrèsAbhi 00783749ba Update rating-asia.yml 2024-12-08 00:51:15 -06:00
TrèsAbhi 9aba91a773 Update rating-na.yml 2024-12-08 00:50:54 -06:00
tresabhi 6667e548b2 Merge branch 'main' into dev 2024-12-04 21:05:24 -06:00
tresabhi 67f9147aac feat: circles 2024-12-02 19:05:51 -06:00
tresabhi 20f54a39d6 feat: separate target circle 2024-12-02 18:39:27 -06:00
tresabhi 26d3bdaac7 feat: parity size 2024-12-02 18:31:01 -06:00
TrèsAbhi dd3c86aa5b Update rating-na.yml 2024-12-02 13:43:26 -06:00
TrèsAbhi f770ba0e5e Update rating-eu.yml 2024-12-02 13:43:06 -06:00
TrèsAbhi c444210294 Update rating-asia.yml 2024-12-02 13:42:50 -06:00
tresabhi 74ac5b5ac2 feat: sizing 2024-12-01 23:54:27 -06:00
tresabhi 7188014fbb feat: aiming circle 2024-12-01 23:50:20 -06:00
tresabhi c039862c56 feat: physical aiming 2024-12-01 23:47:45 -06:00
tresabhi 3d6d18267d feat: more controls 2024-12-01 23:16:29 -06:00
tresabhi dced738055 feat: infinity aim 2024-12-01 22:53:36 -06:00
tresabhi e5ddbc7297 feat: turret moment 2024-12-01 22:48:18 -06:00
tresabhi 7f9a54ef85 feat: more props 2024-12-01 22:21:33 -06:00
tresabhi 65c52c2e82 feat: aiming caster 2024-12-01 22:11:38 -06:00
tresabhi 5a34a35638 feat: tighter cam fit 2024-12-01 21:47:09 -06:00
tresabhi 1281503de9 feat: more progress 2024-12-01 20:48:13 -06:00
tresabhi 7a3bdd8f35 feat: some more stuff 2024-12-01 20:23:23 -06:00
tresabhi d7e556e136 feat: better initial posiiton and contorl performance 2024-12-01 20:01:19 -06:00
tresabhi 0997e2b089 feat: start on ShootingRange 2024-12-01 19:42:27 -06:00
tresabhi 33c0fbbb9b Merge branch 'dev' of https://github.com/tresabhi/blitzkit into dev 2024-12-01 19:31:48 -06:00
tresabhi bef33659e5 feat: remove 2d visualizer 2024-12-01 19:31:47 -06:00
TrèsAbhi ede1c90f10 Update commitMultipleFiles.ts 2024-11-30 20:38:30 -06:00
TrèsAbhi 84dcfe4a14 Update rating-na.yml 2024-11-30 20:11:48 -06:00
TrèsAbhi 7a3541439b Update rating-eu.yml 2024-11-30 20:11:32 -06:00
TrèsAbhi 7ab8a01fb6 Update rating-asia.yml 2024-11-30 20:11:17 -06:00
TrèsAbhi 88729e0eca Update host-bot.yml 2024-11-29 23:26:21 -06:00
tresabhi 4218626cbf feat: more progress 2024-11-29 20:25:39 -06:00
tresabhi 08eed5ce31 Merge branch 'main' into dev 2024-11-29 19:13:49 -06:00
tresabhi 63a6e47878 fix: let's see 2024-11-29 19:12:52 -06:00
tresabhi 984dad4111 fix: let's see 2024-11-29 19:11:16 -06:00
tresabhi 00e89cff55 feat: start on visualizer 2024-11-29 19:10:37 -06:00
TrèsAbhi 2540b71fb7 Merge pull request #131 from tresabhi/l10n_main
New Crowdin updates
2024-11-29 17:19:15 -06:00
tresabhi cda83639b2 fix: tankoepdia pages warning padding 2024-11-29 13:29:22 -06:00
tresabhi e4e1903a2a fix: round caliber 2024-11-29 13:27:29 -06:00
tresabhi a5df2528f6 fix: color and align tank class in tankopedia header better 2024-11-29 13:25:38 -06:00
tresabhi 74c0740941 feat: optimize diff check 2024-11-29 13:24:25 -06:00
tresabhi 74e85f82f1 feat: optimize awaitables 2024-11-29 13:20:27 -06:00
tresabhi 80fca2e53a fix: react 2024-11-29 12:50:15 -06:00
tresabhi 4d0ca1cd1a fix: preserve jsx 2024-11-29 12:45:03 -06:00
tresabhi 50aeb01e0a fix: env 2024-11-29 12:37:32 -06:00
tresabhi a1a218c325 fix: isntall sharp 2024-11-29 12:33:26 -06:00
tresabhi e560754bb6 feat: external sharp 2024-11-29 12:28:36 -06:00
tresabhi dbc23c6473 fix: PUBLIC_ASSET_BRANCH 2024-11-29 12:15:30 -06:00
tresabhi a2bd62da92 fix: PUBLIC_ASSET_REPO 2024-11-29 12:13:58 -06:00
tresabhi c0d16b51de fix: use import.meta.env. 2024-11-29 12:11:51 -06:00
tresabhi d68870c254 fix: move env up 2024-11-29 12:10:37 -06:00
TrèsAbhi d91b46d730 New translations en-us.json (Croatian (disambiguation)) 2024-11-29 12:10:10 -06:00
TrèsAbhi 0758f0d8aa New translations en-us.json (Spanish) 2024-11-29 12:10:09 -06:00
tresabhi eacd63d472 feat: non-discrete json 2024-11-29 12:06:23 -06:00
tresabhi 39240e908d fix: locale 2024-11-29 12:01:21 -06:00
tresabhi 2f734c237b fix: include langs 2024-11-29 11:56:22 -06:00
tresabhi f155bae9bf feat: logs 2024-11-29 11:52:42 -06:00
tresabhi 1d37df710e feat: penetration in desc 2024-11-28 15:29:49 -06:00
tresabhi d35ed8a212 feat: further progress on embeds 2024-11-28 14:11:44 -06:00
tresabhi 33cd556c45 feat: resurrect tankopedia embeds 2024-11-28 13:50:18 -06:00
tresabhi 2dd8ffe570 fix: compare tool embed 2024-11-28 13:35:18 -06:00
tresabhi a22f9ca072 fix: remove brkl 2024-11-28 13:28:50 -06:00
tresabhi 520d530155 feat: resurrect rating leaderboard builder 2024-11-28 13:25:43 -06:00
tresabhi 5a4326dd32 feat: enable rating crons 2024-11-28 13:09:58 -06:00
tresabhi eb41434565 feat: add prisma 2024-11-28 13:08:06 -06:00
tresabhi bd160efdb2 feat: enable build bot 2024-11-27 20:13:37 -06:00
tresabhi 766a7081db feat: rename workflows 2024-11-27 20:13:20 -06:00
tresabhi e091cf5d06 feat: dev flags 2024-11-27 20:09:31 -06:00
tresabhi c81f6d08c0 feat: build bot completely 2024-11-27 19:59:53 -06:00
tresabhi ced3897696 feat: esbuild build 2024-11-26 21:03:01 -06:00
tresabhi 5f256ed84d feat: edit headers 2024-11-26 20:44:44 -06:00
tresabhi 53d811eeef feat: add gaps 2024-11-26 20:24:36 -06:00
tresabhi ef91eadaea feat: scroll to top on change 2024-11-26 20:23:20 -06:00
tresabhi 17bfb7c397 fix: touch action none 2024-11-26 20:14:37 -06:00
tresabhi f5d06631c2 feat: tier list share button 2024-11-26 20:04:05 -06:00
tresabhi 258279205d feat: hide tanks from lost if placed 2024-11-25 14:20:10 -06:00
tresabhi 6ace0aa38a feat: preview cards 2024-11-25 14:16:33 -06:00
tresabhi bae1e944b7 feat: sort 2024-11-25 14:11:53 -06:00
tresabhi 62d4ec07f0 feat: remove on no place 2024-11-25 14:01:35 -06:00
tresabhi 5e912e5b51 feat: better placing 2024-11-25 13:58:52 -06:00
tresabhi a08107d0b2 feat: trim header 2024-11-24 21:03:19 -06:00
tresabhi 6a28fb0277 fix: hide random crap in fullscreen mdoe 2024-11-24 20:53:06 -06:00
tresabhi 37b8e75f83 feat: doc titles 2024-11-24 20:43:23 -06:00
tresabhi 7a9f43657d feat: remove noMaxWidth 2024-11-24 20:40:47 -06:00
tresabhi 6ca3ce731b feat: larger gallery skeletons 2024-11-24 20:39:21 -06:00
tresabhi ff48cdc44e feat: better home header 2024-11-24 20:34:28 -06:00
tresabhi 2fe0e9379e fix: sticky navbar 2024-11-24 20:30:42 -06:00
tresabhi e48c57068f fix: no max width 2024-11-24 20:03:10 -06:00
tresabhi 755f879192 fix: include server for clans 2024-11-22 18:24:38 -06:00
tresabhi 73a51cbb40 fix: remove region from autocomplete 2024-11-22 18:16:57 -06:00
tresabhi fa72e8efab feat: promote aeson 2024-11-22 10:50:35 -06:00
tresabhi 166c26b65a fix: remove non-es lodash 2024-11-22 10:14:37 -06:00
tresabhi 7ff4da1fc1 feat: start on server infrence 2024-11-22 10:11:00 -06:00
tresabhi 6a8e1d14ee fix: about credits 2024-11-21 17:08:54 -06:00
tresabhi edf434ed95 fix: rating leaderboard 2024-11-21 17:06:41 -06:00
tresabhi 5bf6a14cff fix: some rating functionality 2024-11-20 10:50:09 -06:00
tresabhi fcb848df5b feat: change tier back to number 2024-11-20 10:26:55 -06:00
tresabhi 8089a5eaa6 fix: filters 2024-11-20 10:21:17 -06:00
tresabhi 4a7927b300 Merge branch 'main' into dev 2024-11-18 11:22:19 -06:00
TrèsAbhi 6822298ae3 Merge pull request #130 from tresabhi/l10n_main 2024-11-18 11:21:55 -06:00
TrèsAbhi 19aaba9728 New translations en-us.json (Croatian (disambiguation)) 2024-11-18 11:20:50 -06:00
TrèsAbhi 6b98f4d59b New translations en-us.json (Spanish) 2024-11-18 11:20:49 -06:00
TrèsAbhi c20d3b6b67 Update Crowdin configuration file 2024-11-18 11:19:31 -06:00
TrèsAbhi a4451de79c Update Crowdin configuration file 2024-11-18 11:16:42 -06:00
tresabhi 5ae6961a13 feat: migrate 2024-11-18 11:04:35 -06:00
tresabhi 02aed3e3a5 feat: some migration 2024-11-18 10:56:24 -06:00
tresabhi e06aaa4bcf feat: start updating the bot 2024-11-17 18:08:57 -06:00
tresabhi f1c31c6d79 feat: filters 2024-11-17 16:41:43 -06:00
tresabhi d851a05f53 feat: drop 2024-11-17 16:34:18 -06:00
tresabhi 0db4be4d20 Merge branch 'main' into dev 2024-11-17 15:35:42 -06:00
tresabhi eb6aa5bc5b allow 2024-11-17 12:44:42 -06:00
tresabhi b9895b1c0f feat: allow robots 2024-11-17 12:29:57 -06:00
tresabhi 71c1f8dac9 feat: dragging 2024-11-16 23:11:31 -06:00
tresabhi aee1ddb948 feat: start on ui 2024-11-16 22:47:12 -06:00
tresabhi 28e6b0eb98 feat: start of tier list 2024-11-15 10:55:23 -06:00
tresabhi b54d4a59cf feat: logs 2024-11-14 20:58:23 -06:00
tresabhi b45ec7ae9e fix: better performance titles 2024-11-14 20:55:22 -06:00
tresabhi d9958558b5 fix: custom shell explosion radius 2024-11-14 20:53:21 -06:00
tresabhi b9f68d99e1 fix: page title 2024-11-14 20:48:11 -06:00
tresabhi bb6fbf286f fix: compare table 2024-11-14 20:44:01 -06:00
tresabhi 9277e45be5 feat: logs 2024-11-13 10:47:35 -06:00
tresabhi c056cdfafe feat: disable build bot 2024-11-13 10:42:34 -06:00
tresabhi e586e90ecc fix: clear in debug 2024-11-13 10:41:45 -06:00
tresabhi b73676ad3c fix: populate url with tank ids 2024-11-13 10:39:37 -06:00
tresabhi ee3616e30b fix: hide recents in compact mode 2024-11-13 10:38:59 -06:00
tresabhi 182744e8f4 fix: less bright lighting 2024-11-13 10:35:47 -06:00
tresabhi 2d9d167788 fix: terrain coefficients lower is better 2024-11-13 10:27:45 -06:00
tresabhi 132209c7fe fix: clipping potentials decimals 2024-11-13 10:26:10 -06:00
tresabhi 039e760570 feat: drop min tier test tank requirement 2024-11-13 10:21:32 -06:00
tresabhi a8dcf9b279 feat: cron job website 2024-11-12 21:54:43 -06:00
tresabhi 65705ebda0 feat: logs 2024-11-12 21:53:22 -06:00
tresabhi 1a4ade76b7 fix: update policies prompt 2024-11-12 21:39:25 -06:00
tresabhi 429076c297 fix: tiers off by 1 2024-11-12 21:38:00 -06:00
tresabhi d165a1fc35 fix: navbar scrolling 2024-11-12 21:34:49 -06:00
tresabhi 9687720a83 fix: provisions are now centered on small screens 2024-11-12 21:14:18 -06:00
tresabhi b9d4c391fe fix: search page reset button resets the sort too now 2024-11-12 21:11:48 -06:00
tresabhi 1da517746a fix: hide recetns on sort 2024-11-12 21:10:49 -06:00
tresabhi 19664d55aa feat: hide recent tanks when filters 2024-11-12 21:08:45 -06:00
tresabhi a40f86f982 feat: relative types 2024-11-12 20:58:05 -06:00
tresabhi e0e5ea8995 feat: bar coloring 2024-11-12 20:28:41 -06:00
tresabhi cd277fb2f1 feat: correct bars 2024-11-12 16:12:44 -06:00
tresabhi ffe6ccaed0 feat: relative stats 2024-11-12 16:11:10 -06:00
tresabhi bc60b4b42c feat: key based tankopedia 2024-11-12 15:40:57 -06:00
tresabhi a83ce6d350 fix: total StickyRowHeaderCell 2024-11-12 15:18:06 -06:00
tresabhi ac35540871 fix: table sizing 2024-11-12 15:15:57 -06:00
tresabhi 84dd3317dc feat: expand session stats 2024-11-12 15:12:34 -06:00
tresabhi a53c20fa6a feat: caliber discriminators for antagonist cannon selector 2024-11-12 15:01:33 -06:00
tresabhi 87d01dab3f feat: faster lighting 2024-11-12 14:55:28 -06:00
tresabhi 0dea93241b fix: keys 2024-11-12 14:36:55 -06:00
tresabhi 395240394f feat: explosion radius 2024-11-11 12:59:51 -06:00
tresabhi 696b5a54b8 fix: frame invalidation on pose 2024-11-11 12:55:39 -06:00
tresabhi 21fcc23548 fix: tank search type color 2024-11-11 12:52:19 -06:00
tresabhi 48dd9bec2a feat: remove draco 2024-11-11 12:50:33 -06:00
tresabhi 970d93e7e0 fix: hot tanks context 2024-11-11 12:46:06 -06:00
tresabhi 387a67266f feat: recently veiwed tanks 2024-11-11 10:50:15 -06:00
tresabhi ea013c4df8 feat: remove ad settings 2024-11-10 23:01:46 -06:00
tresabhi 420bda8202 feat: popular tanks 2024-11-10 22:59:34 -06:00
tresabhi b48515bf37 fix: display shot card on all devices 2024-11-10 22:38:36 -06:00
tresabhi d5d0a8b308 feat: logs 2024-11-10 22:33:40 -06:00
tresabhi 5b76a08167 fix: capture model transform 2024-11-10 22:26:57 -06:00
tresabhi e68b4bea5d fix: reintroduce some frame invalidations 2024-11-10 22:19:05 -06:00
tresabhi b893409a0a fix: don't reset on click 2024-11-10 22:15:11 -06:00
tresabhi 8dd4d80fca fix: stop propagation on type 2024-11-10 22:13:44 -06:00
tresabhi 81e7f78e55 feat: optimize normalization 2024-11-10 22:06:22 -06:00
tresabhi 4584490b0d fix: shell invalidation 2024-11-10 21:57:19 -06:00
tresabhi 5cf8e48747 fix: shell and quick equipment frame invalidations 2024-11-10 21:54:20 -06:00
tresabhi 3e2bfc453a feat: popover custom shell 2024-11-10 21:09:09 -06:00
tresabhi dbc3d0df3a feat: custom shell functionality 2024-11-10 20:59:01 -06:00
tresabhi 9a1c66932a feat: custom shell customizer ui 2024-11-10 20:50:46 -06:00
tresabhi e364d1fda2 fix: stroke-width 2024-11-10 20:16:42 -06:00
tresabhi 0e6b79dcbe feat: start of custom shell 2024-11-09 19:49:13 -06:00
tresabhi 88a682bae8 feat: logs 2024-11-09 19:37:32 -06:00
tresabhi 1ea1b7fa41 feat: 2 decimal places camo 2024-11-09 19:33:29 -06:00
tresabhi b95d021144 feat: compare camo button 2024-11-09 19:30:50 -06:00
tresabhi e4a35600a4 feat: module damage 2024-11-09 19:22:21 -06:00
tresabhi 3b933f2cbc fix: stat display 2024-11-09 19:20:41 -06:00
tresabhi 3da154b75d feat: shell capacity 2024-11-09 19:16:06 -06:00
tresabhi c4fa6cebfa feat: gun type filters 2024-11-09 19:05:23 -06:00
tresabhi 2d3e45df73 fix: don't display battle count for tier x in tech tree section 2024-11-09 18:39:16 -06:00
tresabhi cb45faf83c feat: skeleton tankopedia page 2024-11-09 18:38:04 -06:00
tresabhi 0722ff6bfb feat: shell range 2024-11-09 16:00:15 -06:00
tresabhi 594b1eb311 feat: protos 2024-11-09 15:56:09 -06:00
tresabhi f2f7d8aa3d feat: shell range defs 2024-11-09 12:55:39 -06:00
tresabhi 1cf6a9e76a feat: disable rating cron 2024-11-09 12:48:44 -06:00
tresabhi 8c0d48447f fix: use defs 2024-11-08 17:28:03 -06:00
tresabhi 0e869307c3 fix: submodules 2024-11-08 17:24:03 -06:00
tresabhi c7d2009418 fix: scriopts 2024-11-08 17:22:20 -06:00
tresabhi a8c3d482a5 fix: env 2024-11-08 17:11:14 -06:00
tresabhi 703bb36226 fix: env 2024-11-08 17:08:38 -06:00
tresabhi f3b585827c fix: env 2024-11-08 17:06:53 -06:00
tresabhi 5e4170be7a fix: env 2024-11-08 17:06:24 -06:00
tresabhi d660fa6375 fix: reviews script 2024-11-08 17:05:06 -06:00
tresabhi cefacbeb25 fix: discover ids script 2024-11-08 17:03:58 -06:00
tresabhi ea9cb79d84 feat: new youtubers 2024-11-08 17:02:45 -06:00
tresabhi ceaf1ea70a feat: logs 2024-11-08 10:39:47 -06:00
tresabhi 205d9c0ddf fix: urlon parsing 2024-11-08 10:38:18 -06:00
tresabhi 2608d69ffe feat: remove login to generate 2024-11-08 10:34:52 -06:00
tresabhi d910ed9f5e feat: composite stats 2024-11-08 10:32:44 -06:00
TrèsAbhi f1767bf5d7 fix: unknown tanks 2024-11-04 10:38:48 -06:00
TrèsAbhi 86eecd202a feat: reset button 2024-11-04 10:36:43 -06:00
TrèsAbhi 6b8433c690 feat: move to css chunk 2 2024-11-04 10:28:49 -06:00
TrèsAbhi a2b67e215d feat: move to css chunk 1 2024-11-02 18:52:50 -05:00
TrèsAbhi 42c1cb653a feat: login to generate 2024-11-02 18:38:54 -05:00
TrèsAbhi 5ab6c45868 feat: spooky colors 2024-11-02 18:33:19 -05:00
TrèsAbhi 2e39b77c80 feat: remove vanilla-extract 2024-11-02 18:23:30 -05:00
TrèsAbhi a58079eed6 fix: lock 2024-11-02 17:58:31 -05:00
TrèsAbhi 06c1e05205 fix: downgrade vanilla extract 2024-11-02 17:55:23 -05:00
TrèsAbhi bc57231d53 fix: downgrade vanilla extract 2024-11-02 17:54:02 -05:00
TrèsAbhi a7a164d991 fix: downgrade vanilla extract 2024-11-02 17:52:34 -05:00
TrèsAbhi fa279292b0 Merge branch 'main' into dev 2024-11-02 17:48:11 -05:00
TrèsAbhi c4ada11886 Update cd-host.yml 2024-11-02 17:22:39 -05:00
TrèsAbhi 913bc82350 feat: move animation to astro styles 2024-11-01 10:52:54 -05:00
TrèsAbhi 6f00728187 feat: no hints 2024-11-01 10:43:31 -05:00
TrèsAbhi 0beaf3f9d6 feat: better homepage 2024-11-01 10:30:36 -05:00
TrèsAbhi 5deafff3ab fix: types and versions 2024-10-30 10:42:52 -05:00
TrèsAbhi e05f02099d feat: faster models 2024-10-29 16:21:44 -05:00
TrèsAbhi 0f29145ab0 fix: missing package 2024-10-28 13:09:14 -05:00
TrèsAbhi 563ada179b feat: cards 2024-10-28 10:57:42 -05:00
TrèsAbhi 046b9f4de4 fix: sub key values 2024-10-28 10:31:49 -05:00
TrèsAbhi 8512557e76 feat: host functionality 2024-10-28 10:30:53 -05:00
TrèsAbhi 3c7a10a949 feat: title 2024-10-27 22:40:44 -05:00
TrèsAbhi fa489a665a feat: state passing 2024-10-27 22:38:14 -05:00
TrèsAbhi a0d6aecf7a feat: hosting tech 2024-10-27 22:29:28 -05:00
TrèsAbhi 94099412b0 feat: better copy button 2024-10-27 22:06:37 -05:00
TrèsAbhi abd63b92a8 feat: start on embed host 2024-10-26 19:46:35 -05:00
TrèsAbhi a5aad61cb7 fix: close dialog on close 2024-10-26 19:36:21 -05:00
TrèsAbhi 3293afba76 feat: use any account selection 2024-10-26 19:34:42 -05:00
TrèsAbhi 71c9d1461f feat: login with wargaming to generate url 2024-10-26 15:24:56 -05:00
TrèsAbhi 7a8ad6c290 feat: use jpeg default 2024-10-26 15:05:40 -05:00
TrèsAbhi 8d190b62b0 feat: full rich text 2024-10-26 14:59:52 -05:00
TrèsAbhi b69abbc75e Merge branch 'main' into dev 2024-10-26 14:44:16 -05:00
TrèsAbhi 1836f0041d fix: enc 2024-10-26 14:44:10 -05:00
TrèsAbhi 5285f8fab1 fix: keys 2024-10-26 14:34:56 -05:00
TrèsAbhi 9daab37ba1 feat: recover embed code 2024-10-26 14:33:04 -05:00
TrèsAbhi cee082ab67 feat: re-enable embeds 2024-10-26 13:58:20 -05:00
TrèsAbhi fd1884542d feat: logs 2024-10-26 13:53:20 -05:00
TrèsAbhi 489fb23683 fix: lighting too bright for pbr tanks 2024-10-26 13:47:32 -05:00
TrèsAbhi b3d206b0ae feat: move crew count 2024-10-26 13:44:39 -05:00
TrèsAbhi 98797a6cf5 feat: crew count 2024-10-26 13:43:46 -05:00
TrèsAbhi cd69023dff fix: only show non-0 substitutions 2024-10-26 13:38:36 -05:00
TrèsAbhi ab0d3f7170 fix: crew skill off by 1 roman numerals 2024-10-25 10:57:49 -05:00
TrèsAbhi 282b8f8a37 feat: use gray for external modules in static mode 2024-10-25 10:53:59 -05:00
TrèsAbhi d1f5ef01c9 feat: use calender icon 2024-10-25 10:51:53 -05:00
TrèsAbhi 4a1f3ea12d feat: last updated time 2024-10-25 10:49:11 -05:00
TrèsAbhi 8c1fc6f9df feat: more button words 2024-10-25 10:39:03 -05:00
TrèsAbhi cc734f3934 fix: position 2024-10-24 18:23:38 -05:00
TrèsAbhi 58271befde feat: popup 2024-10-24 18:21:37 -05:00
TrèsAbhi 05c8e50e82 fix: remove searching 2024-10-24 17:53:47 -05:00
TrèsAbhi a28d6c49da fix: justify center 2024-10-24 17:52:23 -05:00
TrèsAbhi f7f11aac58 feat: results count 2024-10-24 17:50:18 -05:00
TrèsAbhi 88acf6bce6 fix: faster search 2024-10-24 17:46:02 -05:00
TrèsAbhi 5866072aa7 feat: search 2024-10-24 17:32:46 -05:00
TrèsAbhi 76016ae41f feat: prefetch pages 2024-10-24 17:06:13 -05:00
TrèsAbhi 532315f37c feat: start of gallery 2024-10-24 17:05:46 -05:00
TrèsAbhi 68e79cb6b8 feat: logs 2024-10-24 15:50:57 -05:00
TrèsAbhi 670debbe26 fix: 1 extra crew members 2024-10-24 15:43:06 -05:00
TrèsAbhi 28de3a0283 fix: on-click now uses enhanced armor 2024-10-24 15:40:58 -05:00
TrèsAbhi f1c50c2531 fix: consistent lighting in static mode 2024-10-24 15:37:14 -05:00
TrèsAbhi e17470e419 fix: correctly capitalize blitzkit in T&C 2024-10-24 15:35:23 -05:00
TrèsAbhi 515791e52f fix: default depressoin transition is not 10deg, it's 0 2024-10-24 15:35:01 -05:00
TrèsAbhi f6cf4a87f9 fix: remove tooltips in tank filters 2024-10-24 15:34:02 -05:00
TrèsAbhi 2c0965f437 fix: hide crew mastery 2024-10-24 15:31:01 -05:00
TrèsAbhi 3698826ac4 fix: promote vanilla in opentest 2024-10-24 15:25:14 -05:00
TrèsAbhi a2685394fd fix: lower raw terrain coefficients are actually better 2024-10-24 15:22:51 -05:00
TrèsAbhi c51065e512 fix: module damage isn't affected by reactive armor, dynamic armor, and spall liner 2024-10-24 15:20:15 -05:00
TrèsAbhi 602f332ec5 fix: reactive armor doesn't reduce HE damage 2024-10-24 15:18:06 -05:00
TrèsAbhi 95fea65409 fix: invalidate splash animation frames 2024-10-24 15:14:34 -05:00
TrèsAbhi 90f4b2f8f3 fix: image sizes in 1.19.1 patch notes 2024-10-24 15:12:59 -05:00
TrèsAbhi 760ddca1f3 fix: meta section tier 2024-10-24 15:05:12 -05:00
TrèsAbhi 28edce8033 feat: array 2024-10-23 10:59:50 -05:00
TrèsAbhi b7e6bfa205 feat: condensing 2024-10-23 10:56:30 -05:00
TrèsAbhi 96844a074a fix: matrices 2024-10-23 10:30:37 -05:00
TrèsAbhi a3bd3fcd41 fix: matrices 2024-10-23 10:29:21 -05:00
TrèsAbhi 454d1ad159 feat: html 2024-10-22 23:48:51 -05:00
TrèsAbhi 0cd5ea0322 feat: html 2024-10-22 23:47:52 -05:00
TrèsAbhi ea77120bc5 feat: matrix 2024-10-22 23:45:50 -05:00
TrèsAbhi eb6aa03a5e feat: more kitscore 2024-10-22 23:24:43 -05:00
TrèsAbhi 104ddab5a4 Merge branch 'dev' into metric 2024-10-22 22:21:44 -05:00
TrèsAbhi c708ab6004 feat: border radius 2024-10-22 15:21:13 -05:00
TrèsAbhi bb6044a704 fix: name 2024-10-22 15:14:48 -05:00
TrèsAbhi ab83015418 feat: filters 2024-10-22 15:14:10 -05:00
TrèsAbhi 5e6f0e5d18 feat: nivo graphs 2024-10-22 15:08:23 -05:00
TrèsAbhi f2da3994e4 feat: longer 2024-10-21 22:42:55 -05:00
TrèsAbhi dee0dc6a14 feat: graphs 2024-10-21 22:42:11 -05:00
TrèsAbhi 973d24a615 feat: start of charts 2024-10-21 21:03:49 -05:00
TrèsAbhi 221492c645 fix: show all tanks in tech tree 2024-10-21 20:39:55 -05:00
TrèsAbhi 243c81cb0c fix: dynamic sample count 2024-10-21 20:32:47 -05:00
TrèsAbhi 7cef95e150 fix: fallback branch 2024-10-21 20:06:23 -05:00
TrèsAbhi d71ea5c383 feat: skip unmodifined files 2024-10-21 18:51:49 -05:00
TrèsAbhi c98c19dc36 feat: use buffers 2024-10-21 18:32:52 -05:00
TrèsAbhi c8bb1f190a fix: secrets 2024-10-21 16:41:06 -05:00
TrèsAbhi d8f6e8fe8e fix: patches 2024-10-21 11:31:17 -05:00
TrèsAbhi c7cb135a24 feat: queit 2024-10-21 11:12:49 -05:00
TrèsAbhi 2f95c57b7f fix: unzip at root 2024-10-21 11:11:25 -05:00
TrèsAbhi e40fd2d2b4 fix: recursive 2024-10-21 11:08:28 -05:00
TrèsAbhi 919c1fcd36 fix: run depotdownload 2024-10-21 11:07:20 -05:00
TrèsAbhi 641e6c9d9f fix: PUBLIC_WARGAMING_APPLICATION_ID 2024-10-21 10:58:35 -05:00
TrèsAbhi 46fb043920 fix: PUBLIC_ASSET_REPO 2024-10-21 10:57:38 -05:00
TrèsAbhi e5ec1a70d2 fix: avg script 2024-10-21 10:56:47 -05:00
TrèsAbhi c1e472a6ab feat: logs 2024-10-21 10:53:29 -05:00
TrèsAbhi 650dbf66a9 fix: session 2024-10-21 10:49:06 -05:00
TrèsAbhi c92d355484 fix: data set 2024-10-21 10:38:03 -05:00
TrèsAbhi 5f6780f0f7 feat: cooler header 2024-10-21 10:34:37 -05:00
TrèsAbhi 0ba319432c feat: subtle 2024-10-20 01:03:42 -05:00
TrèsAbhi 236271d279 feat: cooler header 2024-10-20 01:01:54 -05:00
TrèsAbhi 61d53936b2 feat: main 2024-10-19 23:40:03 -05:00
TrèsAbhi 76a8f8396b fix: script types 2024-10-19 23:38:42 -05:00
TrèsAbhi 31f7618a09 feat: logs 2024-10-19 23:33:33 -05:00
TrèsAbhi 099e878c55 fix: invalidate frame on uniform change 2024-10-18 11:39:56 -05:00
TrèsAbhi 1f7b78dabc fix: reintroduce shell switching shortcut 2024-10-18 11:36:50 -05:00
TrèsAbhi 2fd9205662 fix: add tanks to compare on load 2024-10-18 11:30:33 -05:00
TrèsAbhi fa9ed570ce fix: add desc to dialog 2024-10-18 11:25:29 -05:00
TrèsAbhi 66ad7371ac fix: jsx names 2024-10-18 11:24:10 -05:00
TrèsAbhi 495f20cd90 fix: keys 2024-10-18 11:23:39 -05:00
TrèsAbhi f673aefb8f fix: dispersion traverse 2024-10-18 11:20:52 -05:00
TrèsAbhi 458915473c feat: beta 5 2024-10-18 11:10:53 -05:00
TrèsAbhi 72ff2574cd fix: remove vercel 2024-10-18 11:05:01 -05:00
TrèsAbhi fda9c72980 fix: cancel 2024-10-18 11:02:43 -05:00
TrèsAbhi b02963323e fix: vars 2024-10-18 11:02:16 -05:00
TrèsAbhi 5b02f3ad02 fix: vars 2024-10-18 11:00:05 -05:00
TrèsAbhi ed59d8eefa feat: deploy website 2024-10-18 10:56:59 -05:00
TrèsAbhi 4e6a1de6ca fix: add outdir 2024-10-18 10:52:23 -05:00
TrèsAbhi b52f742527 feat: remove vercel 2024-10-18 10:50:03 -05:00
TrèsAbhi 031c1948e7 fix: prevent defailt on clicking select all link 2024-10-18 10:48:19 -05:00
TrèsAbhi 700bb544a3 fix: prevent defailt on clicking select all link 2024-10-18 10:47:12 -05:00
TrèsAbhi 3d82a2ec75 feat: proper radix colors typing 2024-10-18 10:41:34 -05:00
TrèsAbhi eba2057306 feat: remove nitropay 2024-10-18 10:31:34 -05:00
TrèsAbhi 8c0ddd473c feat: remove do not sell 2024-10-18 10:31:15 -05:00
TrèsAbhi 0df58d2d2c feat: remove patreon 2024-10-18 10:29:58 -05:00
TrèsAbhi da8025a0ad feat: remove api 2024-10-18 10:24:52 -05:00
TrèsAbhi aa8bb1c040 feat: remove ads 2024-10-18 10:24:39 -05:00
TrèsAbhi b1f29a6148 fix: version 2024-10-14 18:17:48 -05:00
TrèsAbhi 5a5643ce3d feat: sitemap 2024-10-14 10:52:40 -05:00
TrèsAbhi dfc55b745b feat: robots.txt file 2024-10-14 10:47:49 -05:00
TrèsAbhi 7b1fedf657 fix: random console.logs 2024-10-14 10:40:29 -05:00
TrèsAbhi 18869712e1 fix: missing crew skills in compare 2024-10-14 10:40:23 -05:00
TrèsAbhi ea70033b08 feat: report buttons 2024-10-14 10:27:42 -05:00
TrèsAbhi ec9a3cb2ce feat: always plug my name 2024-10-13 21:00:34 -05:00
TrèsAbhi 0412eb478e feat: in-table perforamnce ads 2024-10-13 20:59:01 -05:00
TrèsAbhi 30cb319c1e feat: compare in-table ads 2024-10-13 20:49:02 -05:00
TrèsAbhi 40f3311ff7 fix: app context in comapre 2024-10-13 20:14:32 -05:00
TrèsAbhi 5510c25a59 feat: ads on tankopedia pages 2024-10-13 20:12:16 -05:00
TrèsAbhi 1778529030 fix: history section height 2024-10-13 20:10:08 -05:00
TrèsAbhi ad89679959 feat: less cls ads 2024-10-13 00:26:38 -05:00
TrèsAbhi 4f5a8c9a37 feat: patreon exempt 2024-10-12 23:43:06 -05:00
TrèsAbhi 9bc745bc0e fix: patreon login 2024-10-12 23:17:32 -05:00
TrèsAbhi a17a8888ff fix: reasonably sized images on homepage 2024-10-12 22:47:13 -05:00
TrèsAbhi 97b9137e9a fix: better layouts 2024-10-12 22:07:59 -05:00
TrèsAbhi 201f8f94a5 fix: beta version 2024-10-12 21:49:24 -05:00
TrèsAbhi 799d5e3fe2 Merge branch 'main' into dev 2024-10-12 21:45:59 -05:00
TrèsAbhi d8d1b4a016 feat: better ad discriminators 2024-10-12 21:42:38 -05:00
TrèsAbhi dea84321d4 fix: wtf is astro:schema??? 2024-10-12 21:39:48 -05:00
TrèsAbhi adf00a0bbd feat: branch naming 2024-10-12 21:38:48 -05:00
TrèsAbhi a06fc87009 feat: remove redundancy in ccap 2024-10-11 10:51:26 -05:00
TrèsAbhi 7af06d2120 fix: assert ads.txt 2024-10-11 10:49:29 -05:00
TrèsAbhi 8e26413628 trigger build 2024-10-11 10:40:12 -05:00
TrèsAbhi b7d5e3eeab fix: mv 2024-10-11 10:36:43 -05:00
TrèsAbhi b48e6c4739 feat: move to root 2024-10-11 10:31:42 -05:00
TrèsAbhi 48441d0cda fix: package location 2024-10-10 16:41:43 -05:00
TrèsAbhi d0f277e878 trigger 2024-10-10 16:40:44 -05:00
TrèsAbhi 7230d6663d fix: prisma 2024-10-10 16:38:47 -05:00
TrèsAbhi cec79736bc fix: package location 2024-10-10 16:30:54 -05:00
TrèsAbhi 0fc8ea8777 fix: package location 2024-10-10 16:29:26 -05:00
TrèsAbhi 3d41198178 fix: compare versions script 2024-10-10 16:27:50 -05:00
TrèsAbhi c195e5f440 fix: version 2024-10-10 16:25:32 -05:00
TrèsAbhi 11bbe9309e feat: ad placements 2024-10-10 16:25:05 -05:00
TrèsAbhi 749d3fa7c5 feat: basic ad component 2024-10-10 16:08:35 -05:00
TrèsAbhi 2c15190606 fix: use email in privacy policy 2024-10-10 15:47:22 -05:00
TrèsAbhi 0674112df6 fix: better ccpa 2024-10-10 15:39:50 -05:00
TrèsAbhi 9604eb90e1 fix: move ccpa 2024-10-10 15:25:39 -05:00
TrèsAbhi 9005383c65 feat: ccpa 2024-10-10 15:23:30 -05:00
TrèsAbhi 9923efe8ab feat: some ads basework 2024-10-09 22:35:10 -05:00
TrèsAbhi e52063c12d feat: vercel adapter 2024-10-09 22:04:43 -05:00
TrèsAbhi 53662c1174 fix: client only react 2024-10-09 21:11:57 -05:00
TrèsAbhi bba8118dd7 fix: wg login declaration 2024-10-09 21:09:59 -05:00
TrèsAbhi 513105a624 feat: more login progress 2024-10-09 21:04:49 -05:00
TrèsAbhi 1e64cb9e7d feat: logins 2024-10-09 19:40:55 -05:00
TrèsAbhi 9ad3fb220f feat: 404 page 2024-10-09 19:03:46 -05:00
TrèsAbhi 559f3edd06 fix: some sizing 2024-10-09 19:03:18 -05:00
TrèsAbhi e3c1306ef3 fix: some sizing 2024-10-09 19:01:39 -05:00
TrèsAbhi 8a381b5d24 fix: inclusive master 2024-10-09 10:49:59 -05:00
TrèsAbhi 83586bdb71 fix: deps 2024-10-09 10:41:50 -05:00
TrèsAbhi a652fd29ae feat: trigget build 2024-10-09 10:39:57 -05:00
TrèsAbhi 1f6eab2ef8 feat: include built defs 2024-10-09 10:39:21 -05:00
TrèsAbhi 96b0761832 feat: installclis 2024-10-09 10:37:04 -05:00
TrèsAbhi 91bd3f7769 fix: no trees for deprecated tanks 2024-10-09 10:35:12 -05:00
TrèsAbhi ddecff827a feat: new build command 2024-10-09 10:33:13 -05:00
TrèsAbhi 66f33746cb fix: some linting 2024-10-09 10:29:42 -05:00
TrèsAbhi ae0e2f45dc feat: trigget build 2024-10-09 10:21:59 -05:00
TrèsAbhi 1bd4c498c2 fix: definitions casing 2024-10-07 19:37:38 -05:00
TrèsAbhi afb730924c fix: tankopedia title 2024-10-07 19:33:10 -05:00
TrèsAbhi 25fe926cba feat: remove max dispersion for now 2024-10-07 19:29:08 -05:00
TrèsAbhi 7cf353df80 fix: subheading alignment with tank name in hero 2024-10-07 19:27:38 -05:00
TrèsAbhi 796f6685e7 fix: consumable list 2024-10-07 19:22:30 -05:00
TrèsAbhi 76d83185a5 fix: prisma import 2024-10-07 19:13:30 -05:00
TrèsAbhi 8073e4aa2d feat: fix build-time styles 2024-10-07 18:58:39 -05:00
TrèsAbhi acb52b9888 fix: no tech tree for non-researchable tanks 2024-10-07 18:52:12 -05:00
TrèsAbhi 6dffe3db45 fix: type imports 2024-10-07 18:49:42 -05:00
TrèsAbhi 5fcc42e065 fix: casing 2 2024-10-07 18:48:16 -05:00
TrèsAbhi fc8e0e55f0 fix: casing 2024-10-07 18:45:11 -05:00
TrèsAbhi ef52434a42 fix: ignore tsx files in routes 2024-10-07 18:38:25 -05:00
TrèsAbhi ea490628fb feat: migrate docs 2024-10-07 18:36:07 -05:00
TrèsAbhi dc37b23727 feat: migrate settins 2024-10-07 17:52:45 -05:00
TrèsAbhi 746dd998aa feat: remove rating 2024-10-07 17:48:10 -05:00
TrèsAbhi e234b29e16 feat: migrate session 2024-10-07 17:39:20 -05:00
TrèsAbhi 8d51ce2bea feat: migrate performance 2024-10-07 17:31:13 -05:00
TrèsAbhi b31c7a6738 feat: migrate compare 2024-10-07 10:39:47 -05:00
TrèsAbhi 320aead17b fix: more errors from proto migration 2024-10-07 10:26:13 -05:00
TrèsAbhi b5cb2acdf4 fix: keys 2024-10-06 00:12:36 -05:00
TrèsAbhi 0808bb0d9b fix: some linting for new proto 7 2024-10-06 00:09:43 -05:00
TrèsAbhi 95bb67bcf1 fix: some linting for new proto 6 2024-10-06 00:02:50 -05:00
TrèsAbhi 96310a9d63 fix: some linting for new proto 5 2024-10-05 23:20:04 -05:00
TrèsAbhi 53a9c5f2de fix: some linting for new proto 4 2024-10-05 20:55:44 -05:00
TrèsAbhi f14ca394b5 fix: some linting for new proto 3 2024-10-05 16:44:07 -05:00
TrèsAbhi 79bc259565 fix: some linting for new proto 2 2024-10-05 15:57:34 -05:00
TrèsAbhi 94f67e30f1 fix: some linting for new proto 2024-10-05 15:24:54 -05:00
TrèsAbhi 78dce028d9 idk bro 2024-10-02 10:21:16 -05:00
TrèsAbhi 61fe8c7e7c feat: type errors in definitions 2024-09-30 22:35:37 -05:00
TrèsAbhi 3e18d5a8db feat: better lib 2024-09-29 22:42:15 -05:00
TrèsAbhi 57170469f2 feat: some work on functional pro ts 2024-09-29 22:24:35 -05:00
TrèsAbhi 9b134fab27 move 2024-09-29 22:09:43 -05:00
TrèsAbhi 9cced11199 feat: mode protos 2024-09-29 22:03:50 -05:00
TrèsAbhi 370ef2df65 feat: transition to protobug 2024-09-29 20:56:52 -05:00
TrèsAbhi 45dc99e1ce feat: start of proto only 2024-09-28 21:07:00 -05:00
TrèsAbhi d8a08a93e0 Update index.ts 2024-09-25 09:24:50 -05:00
TrèsAbhi d90a3cc010 feat: progress on compare 2024-09-23 10:49:54 -05:00
TrèsAbhi 53c0f48437 fix: navbar selected link 2024-09-23 10:19:11 -05:00
TrèsAbhi a54ba78dbf feat: complete tankoepdia page 2024-09-22 22:04:03 -05:00
TrèsAbhi 2b5ffb2b84 feat: armor modes 2 2024-09-22 21:27:46 -05:00
TrèsAbhi f1410cf321 feat: armor modes 2024-09-22 21:12:18 -05:00
TrèsAbhi ffa1395b50 feat: search page 2024-09-21 20:26:58 -05:00
TrèsAbhi 408b561b75 feat: search page 2024-09-21 12:16:51 -05:00
TrèsAbhi 187230439b feat: migrated tank search 2024-09-17 22:50:34 -05:00
TrèsAbhi e241870ece feat: migrated tank search 2024-09-17 22:13:35 -05:00
TrèsAbhi 0537418f6a Revert "feat: tools layout"
This reverts commit 36583add1d.
2024-09-17 21:44:37 -05:00
TrèsAbhi cf4fa83d44 Revert "feat: progress on tankopedia search"
This reverts commit c873c32d09.
2024-09-17 21:44:36 -05:00
TrèsAbhi a6f60ac0de Revert "feat: progress on tankopedia search"
This reverts commit eebc33581c.
2024-09-17 21:44:35 -05:00
TrèsAbhi f02ae9833d Revert "Revert "feat: progress on tankopedia search""
This reverts commit 6288e3f69a.
2024-09-17 21:44:34 -05:00
TrèsAbhi 18edc38433 Revert "Revert "feat: progress on tankopedia search""
This reverts commit 4c5ad23edf.
2024-09-17 21:44:31 -05:00
TrèsAbhi 4c5ad23edf Revert "feat: progress on tankopedia search"
This reverts commit c873c32d09.
2024-09-17 21:43:31 -05:00
TrèsAbhi 6288e3f69a Revert "feat: progress on tankopedia search"
This reverts commit eebc33581c.
2024-09-17 21:43:28 -05:00
TrèsAbhi eebc33581c feat: progress on tankopedia search 2024-09-17 20:23:22 -05:00
TrèsAbhi c873c32d09 feat: progress on tankopedia search 2024-09-17 18:46:04 -05:00
TrèsAbhi 36583add1d feat: tools layout 2024-09-17 18:35:16 -05:00
TrèsAbhi 829df50eca feat: navbar account 2024-09-17 18:24:12 -05:00
TrèsAbhi 264832d8a2 Update ads.txt 2024-09-17 13:57:32 -05:00
TrèsAbhi 85491c7f22 fix: logsin 2024-09-15 16:20:11 -05:00
TrèsAbhi 8670e5f9a7 fix: media 2024-09-15 14:55:26 -05:00
TrèsAbhi 6b4dc4ca8d feat: navbar 2024-09-15 14:51:01 -05:00
TrèsAbhi 502dcf4e54 feat: more migration 2024-09-14 19:43:14 -05:00
TrèsAbhi a1721eb05e feat: moved to astro 2024-09-14 18:32:36 -05:00
TrèsAbhi 292df5f5d9 feat: migrated home page 2024-09-14 13:24:24 -05:00
TrèsAbhi fcac6e36fd feat: init astro 2024-09-14 12:18:30 -05:00
TrèsAbhi 8d9ca3d716 feat: legacy 2024-09-14 12:12:46 -05:00
TrèsAbhi 9640920863 feat: isolate radix utils 2024-09-08 21:54:05 -05:00
TrèsAbhi 887d3079df feat: isloate embed config 2024-09-08 21:52:12 -05:00
TrèsAbhi 250b61b68d fix: some static shit 2024-09-08 21:29:18 -05:00
TrèsAbhi d306b51c2c feat: some static params 2024-09-08 20:56:48 -05:00
TrèsAbhi 8f44cdedd4 fix: port to core 7 2024-09-08 10:53:54 -05:00
TrèsAbhi 3a968fa8e5 fix: port to core 6 2024-09-08 10:47:02 -05:00
TrèsAbhi 7249c3be9e fix: port to core 5 2024-09-08 10:46:12 -05:00
TrèsAbhi 3d23ea1497 fix: port to core 4 2024-09-08 10:42:34 -05:00
TrèsAbhi de6a4d5675 fix: port to core 3 2024-09-08 10:28:54 -05:00
TrèsAbhi 5e989a16bc fix: port to core 1 2024-09-08 10:24:48 -05:00
TrèsAbhi fd2e2f9c7b fix: more imports 4 2024-09-08 10:21:08 -05:00
TrèsAbhi 843992e631 fix: more imports 3 2024-09-08 10:17:40 -05:00
TrèsAbhi c51ddbc725 fix: more imports 2 2024-09-08 10:15:42 -05:00
TrèsAbhi 4f24db0956 fix: more imports 2024-09-08 10:11:24 -05:00
TrèsAbhi 25cfb7db74 fix: remove api imports 2024-09-08 09:46:29 -05:00
TrèsAbhi 636c54aa36 feat: more progress 2024-09-07 23:19:12 -05:00
TrèsAbhi f30e9f810e fix: routes 2024-09-07 23:12:12 -05:00
TrèsAbhi 2c9a7f9a99 feat: split up some more 2024-09-07 23:11:44 -05:00
TrèsAbhi 7c6f381bbe fix: no cross-bot imports 2024-09-07 23:00:56 -05:00
TrèsAbhi 6c0b46725d feat: start of static 2024-09-07 22:26:02 -05:00
TrèsAbhi 7b86c4e4eb feat: some types 2024-09-07 21:56:57 -05:00
TrèsAbhi 5ab30c373e feat: distribute deps 2024-09-07 21:51:30 -05:00
TrèsAbhi 3c80a43435 fix: types 2024-09-07 21:45:00 -05:00
TrèsAbhi 9ae8b0ac49 feat: migrated tankopedia pages 2024-09-07 20:40:06 -05:00
TrèsAbhi 135dd85a82 feat: migration 4 2024-09-06 23:27:27 -05:00
TrèsAbhi 4055988478 feat: migration 3 2024-09-06 23:26:35 -05:00
TrèsAbhi 6285f33989 feat: migration 2 2024-09-06 23:17:53 -05:00
TrèsAbhi e1c8194beb feat: migrated tankopedia search 2024-09-06 22:05:06 -05:00
TrèsAbhi 73c7bdf0c0 feat: start of monorepo 2024-09-06 21:45:58 -05:00
TrèsAbhi 14f39d71ac feat: removed doc website 2024-09-06 20:44:42 -05:00
TrèsAbhi 943335f8a9 feat: remove this poopy poopoo poop 2024-09-05 21:56:22 -05:00
TrèsAbhi d269eb178d feat: bun 2024-09-05 21:53:55 -05:00
TrèsAbhi 6fe7ce3952 feat: bun 2024-09-05 21:52:58 -05:00
TrèsAbhi 3a66ccb6d2 feat: bun 2024-09-05 21:52:12 -05:00
TrèsAbhi 7e9acfdd7b Create nextjs.yml 2024-09-05 21:47:34 -05:00
TrèsAbhi 525c9ceac3 fix: show armor 2024-09-05 21:01:41 -05:00
TrèsAbhi 7b903f4fc7 feat: logs 2024-09-05 20:57:49 -05:00
TrèsAbhi 17869d85c6 Merge branch 'main' into next 2024-09-05 20:50:49 -05:00
TrèsAbhi 3f12b08a85 fix: missing secrets 2024-09-04 22:29:37 -05:00
TrèsAbhi d2269a53cc fix: settings icon no blank 2024-09-04 22:26:29 -05:00
TrèsAbhi 8e3e26f677 feat: opentest plug 2024-09-04 22:25:15 -05:00
TrèsAbhi 449b4f59e5 fix: don't use to reversed 2024-09-04 22:17:32 -05:00
TrèsAbhi b13d675692 fix: don't promote opentest on opentest 2024-09-04 22:16:31 -05:00
TrèsAbhi 46f1461de6 feat: i tried my best to implement dynamic armor :( 2024-09-04 22:15:19 -05:00
TrèsAbhi 952523d3f9 fix: deterministic and correct boolean dynamic armor 2024-09-04 21:15:57 -05:00
TrèsAbhi 319c865ef0 feat: include wg account name in logged in accounts sectionb 2024-09-03 22:10:57 -05:00
TrèsAbhi 018c6802f4 fix: cetner align wg login 2024-09-03 22:10:15 -05:00
TrèsAbhi 583522c3a2 fix: remove dynamic armor 2024-09-03 21:57:42 -05:00
TrèsAbhi 8461f6514a fix: move shot display up 2024-09-03 21:55:05 -05:00
TrèsAbhi eef26defb4 feat: raw terrain coeffs 2024-09-03 21:54:35 -05:00
TrèsAbhi 68e2ececce fix: cool link 2024-09-03 21:49:13 -05:00
TrèsAbhi 169f757fb2 fix: deterministic proto loading 2024-09-03 21:47:06 -05:00
TrèsAbhi cbb5392525 Merge branch 'main' into next 2024-09-03 21:23:05 -05:00
TrèsAbhi bc088a699f feat: updated dependencies 2024-09-02 10:46:26 -05:00
TrèsAbhi 8e004d0e3a fix: no temp write flags 2024-09-02 10:30:20 -05:00
TrèsAbhi ac2c7fe9ab Update index.ts 2024-09-02 10:07:48 -05:00
TrèsAbhi d8a48043c5 feat: cool projects 2024-09-01 23:22:59 -05:00
TrèsAbhi a7ee81458c Merge branch 'main' of https://github.com/tresabhi/blitzkit 2024-09-01 23:11:33 -05:00
TrèsAbhi e067b1bf94 feat: logs 2024-09-01 23:10:27 -05:00
TrèsAbhi a774f631f0 feat: logs 2024-09-01 23:10:16 -05:00
TrèsAbhi 720eb77341 fix: non depricated tier 1 2024-09-01 23:06:40 -05:00
TrèsAbhi a5bbbfc960 feat: left-right hero 2024-09-01 23:00:37 -05:00
TrèsAbhi 46c0726277 feat: just hide this for now 2024-09-01 21:25:08 -05:00
TrèsAbhi 8ca2315874 fix: no return before useEffect 2024-09-01 21:18:50 -05:00
TrèsAbhi bac2f097f2 fix: add dialog titles 2024-09-01 21:14:15 -05:00
TrèsAbhi f0ca38e828 feat: opentest plug 2024-09-01 20:53:44 -05:00
TrèsAbhi 176eb1424d fix: region 2024-09-01 19:12:32 -05:00
TrèsAbhi 2f10e68e98 fix: prisma generate 2024-09-01 18:38:09 -05:00
TrèsAbhi 33ccf47a92 feat: use client for votes 2024-09-01 18:32:08 -05:00
TrèsAbhi 13faad0977 feat: swap button 2024-09-01 18:00:15 -05:00
TrèsAbhi ee9dbdaf74 feat: better loading 2024-09-01 17:41:50 -05:00
TrèsAbhi 76625dc7b2 feat: more visible grid 2024-09-01 17:06:47 -05:00
TrèsAbhi eac15cc15d fix: fullscreen 2024-09-01 17:05:40 -05:00
TrèsAbhi 4e66f57150 fix: lsiting alingment 2024-09-01 17:03:55 -05:00
TrèsAbhi 4f80169f9b feat: left sided name 2024-09-01 17:00:02 -05:00
TrèsAbhi 8b183269d1 fix: skeleton vote button 2024-09-01 16:27:19 -05:00
TrèsAbhi c5e2c1fd0f feat: cast ui 2024-09-01 16:25:43 -05:00
TrèsAbhi 2d2d31adf7 feat: voting averages 2024-09-01 15:46:39 -05:00
TrèsAbhi 798df862f7 Update cd-assets.yml 2024-09-01 11:01:51 -05:00
TrèsAbhi c3c16bf607 feat: start of user poll 2024-08-28 22:41:06 -05:00
TrèsAbhi c3e449745e feat: better hero 2024-08-28 22:22:53 -05:00
TrèsAbhi cd0769675e feat: start of dynamic armor 2024-08-28 21:16:25 -05:00
TrèsAbhi 86e369af19 feat: use latest url for cached rating images 2024-08-28 18:12:20 -05:00
TrèsAbhi 0bba768fbf feat: deprecated tanks 2024-08-28 18:08:23 -05:00
TrèsAbhi 8f12a77e12 fix: track movement invalidation 2024-08-28 18:02:20 -05:00
TrèsAbhi 0c2877d42f fix: sort actually sorts now? woah 2024-08-28 18:00:30 -05:00
TrèsAbhi e22156e779 fix: tank search discriminator 2024-08-28 17:57:01 -05:00
TrèsAbhi 6a6eab1c94 feat: unaffiliated with wg 2024-08-28 17:52:17 -05:00
TrèsAbhi bfb7928a74 fix: invalidated on quick equipments 2024-08-28 17:49:21 -05:00
TrèsAbhi 9566065160 fix: missing titles 2024-08-28 17:47:29 -05:00
TrèsAbhi 6949b27aa7 fix: patches no blank 2024-08-28 17:41:02 -05:00
TrèsAbhi 2482efba29 feat: better names 2024-08-28 17:40:18 -05:00
TrèsAbhi dc60f3c970 feat: better branch label 2024-08-28 17:38:23 -05:00
TrèsAbhi 84cd18d1d5 feat: revert dynamic title 2024-08-28 17:35:32 -05:00
TrèsAbhi 770cd1f928 feat: start of kitscore 2024-08-28 10:51:25 -05:00
TrèsAbhi cf17b56cc7 feat: title opentest 2024-08-28 10:03:43 -05:00
TrèsAbhi 0dd3e71353 feat: iteration safe assets 2024-08-28 10:02:28 -05:00
TrèsAbhi be9b3a41a8 Update cd-assets.yml 2024-08-28 07:33:49 -05:00
TrèsAbhi be7943d5e2 fix: uhg 2024-08-27 22:03:58 -05:00
TrèsAbhi 3ef102ba55 feat: split steps 2024-08-27 21:39:00 -05:00
TrèsAbhi 660e901283 feat: i am dumb 2024-08-27 20:54:31 -05:00
TrèsAbhi b42d2a96a2 feat: my ass 2024-08-27 20:33:16 -05:00
TrèsAbhi 10d5e2453e Update cd-assets.yml 2024-08-27 19:53:59 -05:00
TrèsAbhi e4d3e61bbb Update cd-assets.yml 2024-08-27 19:53:07 -05:00
TrèsAbhi ab1c8a825f almighty 2024-08-27 19:25:47 -05:00
TrèsAbhi 4b06e2a175 Merge branch 'main' of https://github.com/tresabhi/blitzkit 2024-08-27 18:43:25 -05:00
TrèsAbhi 08e07957a7 feat: post setup 2024-08-27 18:43:24 -05:00
TrèsAbhi ab4602094a Update cd-assets.yml 2024-08-27 18:26:33 -05:00
TrèsAbhi efe380bdfe Update cd-assets.yml 2024-08-27 18:02:35 -05:00
TrèsAbhi 1bc7a49cdb wget 2024-08-27 17:36:13 -05:00
TrèsAbhi 4c30ce65ab Update cd-assets.yml 2024-08-27 17:04:30 -05:00
TrèsAbhi 6464708514 feat: retry 2024-08-27 16:32:16 -05:00
TrèsAbhi d642116dd4 feat: workspace 2024-08-27 16:19:59 -05:00
TrèsAbhi 4ef0b6d37f feat: conc 2024-08-27 16:11:12 -05:00
TrèsAbhi 57b58775c6 fix: hide non-ot form navbar 2024-08-27 16:09:52 -05:00
TrèsAbhi 7e076a1e34 feat: yeaaah 2024-08-27 15:58:32 -05:00
TrèsAbhi 27a958079f feat: inputs 2024-08-27 15:45:05 -05:00
TrèsAbhi c9570e5fe8 feat: better yaml synxtax 2024-08-27 15:41:11 -05:00
TrèsAbhi 71af5d2166 feat: labels 2024-08-27 15:32:00 -05:00
TrèsAbhi 5da177e520 feat: ot indicator 2024-08-27 15:25:22 -05:00
TrèsAbhi c6106f1b92 fix: remove scrkpts 2024-08-27 15:23:59 -05:00
TrèsAbhi b2bcc8548f feat: revert poopy header 2024-08-27 15:09:54 -05:00
TrèsAbhi 3005cadc97 feat: logs 2024-08-27 15:00:00 -05:00
TrèsAbhi c79a5a55ac feat: logs 2024-08-27 14:58:53 -05:00
TrèsAbhi b9c978548a feat: disable tools on opentest 2024-08-27 14:55:43 -05:00
TrèsAbhi 48dcbbc227 feat: detached cdn branch 2024-08-27 14:40:43 -05:00
TrèsAbhi ed041b78bb feat: hide embed tool 2024-08-26 22:03:25 -05:00
TrèsAbhi e11ab1ae33 Merge branch 'main' into dev-embed 2024-08-26 22:02:29 -05:00
TrèsAbhi e99b125517 Merge branch 'main' into dev-embed 2024-08-26 22:02:10 -05:00
TrèsAbhi f2d40d40fd feat: logs 2024-08-26 21:52:34 -05:00
TrèsAbhi 21ece80187 feat: never render off screen 2024-08-26 21:47:14 -05:00
TrèsAbhi f58b6dcd17 feat: ah 2024-08-26 21:34:57 -05:00
TrèsAbhi 579f604b9f feat: new blitzkit logos 2024-08-26 21:25:20 -05:00
TrèsAbhi 49b4810a78 feat: better program 2024-08-26 21:20:45 -05:00
TrèsAbhi 51f28b5936 feat: copy to clipbioard screenshot 2024-08-26 21:18:07 -05:00
TrèsAbhi 37a50f8bc1 feat: incoporate meta section in hero 2024-08-26 10:49:10 -05:00
TrèsAbhi e0ab00386c fix: game mode banner visiblity 2024-08-26 10:21:03 -05:00
TrèsAbhi 62fd98e075 feat: responsive shell distance input 2024-08-26 10:18:33 -05:00
TrèsAbhi aef020c744 feat: better hero sectio alighment 2024-08-26 10:16:14 -05:00
TrèsAbhi 5be9c94641 feat: logs 2024-08-25 21:48:26 -05:00
TrèsAbhi 0ce34670c4 fix: icon check order 2024-08-25 21:32:35 -05:00
TrèsAbhi 5bcfa88f48 fix: persistent search 2024-08-25 21:15:16 -05:00
TrèsAbhi 7391937070 fix: align videos 2024-08-25 21:12:21 -05:00
TrèsAbhi 3d5b8e31c8 feat: xp multipler bold 2024-08-25 21:09:07 -05:00
TrèsAbhi 6cc616d993 feat: xp multipler bold 2024-08-25 21:08:41 -05:00
TrèsAbhi 9a686230c6 feat: battle count 2024-08-25 21:06:56 -05:00
TrèsAbhi 22831cc268 fix: selector 2024-08-25 19:32:28 -05:00
TrèsAbhi 2f183896eb feat: crew in compare 2024-08-25 19:30:47 -05:00
TrèsAbhi 633090f967 fix: auto clear 2024-08-25 19:23:13 -05:00
TrèsAbhi ece0791a08 feat: screenshot button 2024-08-25 19:11:30 -05:00
TrèsAbhi 8bc4eab2c0 fix: discord application link 2024-08-25 18:52:58 -05:00
TrèsAbhi bb0b39fabb fix: background accent color image alignment 2024-08-25 18:52:30 -05:00
TrèsAbhi 2b02158e19 feat: move tech tree section up 2024-08-25 18:48:57 -05:00
TrèsAbhi 2e97ccd40d feat: filter tooltips 2024-08-25 18:45:01 -05:00
TrèsAbhi da6691928e feat: mode tooltips 2024-08-25 18:38:28 -05:00
TrèsAbhi 1a1b8c3a65 feat: premium purchase price 2024-08-25 18:36:57 -05:00
TrèsAbhi 8ebd604cde feat: display videos 2024-08-25 18:33:04 -05:00
TrèsAbhi d9521ce1e5 feat: new reviews 2024-08-25 18:10:56 -05:00
TrèsAbhi f91dd1e2c0 stash: averages proto 2024-08-25 09:21:17 -05:00
TrèsAbhi 474846e9c2 feat: add wotb official to whitelist 2024-08-24 20:26:12 -05:00
TrèsAbhi cae2bcc3ea fix: it didn't have to end this way 2024-08-24 20:23:58 -05:00
TrèsAbhi 13784345af Merge branch 'main' into next 2024-08-24 20:19:06 -05:00
TrèsAbhi 2f5e1eeadc fix: spaces 2024-08-23 19:58:58 -05:00
TrèsAbhi 69676da446 fix: guess the pokemon! 2024-08-23 19:57:58 -05:00
TrèsAbhi ed283d4d2e fix: f 2024-08-23 19:56:24 -05:00
TrèsAbhi f7e1b08788 fix: add 2024-08-23 19:55:45 -05:00
TrèsAbhi 66e65587bd fix: update index 2024-08-23 19:54:36 -05:00
TrèsAbhi 59d837bbb2 fix: format 2024-08-23 19:52:17 -05:00
TrèsAbhi 5dc55914ed feat: linux assets 2024-08-23 19:50:48 -05:00
TrèsAbhi 912f134eb6 Update settings.json 2024-08-22 19:44:52 -05:00
TrèsAbhi aeed328c18 Update credits.md 2024-08-22 19:09:05 -05:00
TrèsAbhi 17526ca59c feat: remove name 2024-08-21 20:25:51 -05:00
TrèsAbhi c19eeb01e1 fix: restorateion price for prems 2024-08-21 20:25:22 -05:00
TrèsAbhi 575fdbbcc3 feat: currency icons 2024-08-21 20:23:39 -05:00
TrèsAbhi 679bd2956b fix: invalidate frame on shell switch 2024-08-21 20:04:27 -05:00
TrèsAbhi e6b29a4ab8 fix: persistent tank filters 2024-08-21 20:01:20 -05:00
TrèsAbhi d45637a407 feat: characteristics section 2024-08-21 19:45:33 -05:00
TrèsAbhi 876dee1870 feat: responsive meta 2024-08-21 19:28:15 -05:00
TrèsAbhi 263740dd30 fix: invalidate frame on model transform 2024-08-21 12:11:08 -05:00
TrèsAbhi 09848c7b21 feat: more robust xp 2024-08-21 12:08:02 -05:00
TrèsAbhi c2abc94241 feat: totals 2024-08-20 13:57:22 -05:00
TrèsAbhi 781d2da933 feat: multiple lines 2024-08-20 13:49:14 -05:00
TrèsAbhi cfe0060121 fix: correct currencies 2024-08-20 11:51:05 -05:00
TrèsAbhi 434d2d3d5d feat: game name in descs 2024-08-20 11:17:56 -05:00
TrèsAbhi e6a1a98fd3 fix: homepage links 2024-08-20 11:17:03 -05:00
TrèsAbhi 5b3723322e fix: navbar links 2024-08-20 11:12:22 -05:00
TrèsAbhi 631dc547fa fix: remove player stats 2024-08-19 20:42:18 -05:00
TrèsAbhi 59324f7438 feat: use deferred store 2024-08-19 20:40:50 -05:00
TrèsAbhi 2727b2babe feat: lessen ads 2024-08-19 20:32:15 -05:00
TrèsAbhi 89f8136137 fix: key 2024-08-19 20:31:19 -05:00
TrèsAbhi 165e9c62e8 fix: key 2024-08-19 20:29:55 -05:00
TrèsAbhi 5091066d6c fix: key 2024-08-19 20:29:18 -05:00
TrèsAbhi e8c1ce333c fix: key 2024-08-19 20:28:56 -05:00
TrèsAbhi 9b83cde515 fix: key 2024-08-19 20:28:25 -05:00
TrèsAbhi c4a6b4a680 feat: nation 2024-08-19 20:26:54 -05:00
TrèsAbhi 9c784228fb feat: shell name tooltips 2024-08-19 20:22:37 -05:00
TrèsAbhi 16e2f9ac96 feat: meta section 2024-08-19 20:20:04 -05:00
TrèsAbhi b747d31574 feat: on demand rendering 2024-08-19 14:04:25 -05:00
TrèsAbhi 14fccf3f6e feat: tooltips 2024-08-19 14:02:39 -05:00
TrèsAbhi c73eb0d951 feat: testing warning 2024-08-19 13:56:04 -05:00
TrèsAbhi 2b008ecabe fix: wrap modules 2024-08-19 13:50:41 -05:00
TrèsAbhi 8908a720f3 fix: webkit you asshole 2024-08-19 13:45:47 -05:00
TrèsAbhi d67b0ef5ab fix: slimmer and correct banners 2024-08-19 13:45:12 -05:00
TrèsAbhi 72769fbcb0 feat: plum more tools 2024-08-19 13:40:17 -05:00
TrèsAbhi 7268e5fc11 fix: no toggle on miss 2024-08-19 13:36:13 -05:00
TrèsAbhi ec547af49e feat: simplified 2024-08-19 13:35:19 -05:00
TrèsAbhi 8f54b8a576 feat: no push content 2024-08-19 13:28:46 -05:00
TrèsAbhi 9d36ad6dab feat: smaller images for navbar 2024-08-17 20:13:36 -05:00
TrèsAbhi f64e85c1cf fix: no center align between xs and sm 2024-08-17 20:12:21 -05:00
TrèsAbhi 5f3a1b1311 feat: home link 2024-08-17 20:09:52 -05:00
TrèsAbhi 207b9ae36c fix: manage errors extensions 2024-08-17 20:03:00 -05:00
TrèsAbhi afd99a1dfe feat: accounts 2024-08-17 20:01:27 -05:00
TrèsAbhi bc9e1c3007 feat: more things 2024-08-17 20:00:01 -05:00
TrèsAbhi 4b88a52fcf feat: start of new navbar 2024-08-17 14:47:47 -05:00
TrèsAbhi ca7c01bbc8 feat: better history and video sections 2024-08-16 21:17:50 -05:00
TrèsAbhi 7fcd4a1e94 feat: better flags 2024-08-16 21:10:14 -05:00
TrèsAbhi 6a3fefd513 feat: better flags 2024-08-16 21:08:50 -05:00
TrèsAbhi b329152dc3 feat: flag in highlight 2024-08-16 20:49:29 -05:00
TrèsAbhi 1cf31c67f8 feat: better highlighting 2024-08-16 20:38:09 -05:00
TrèsAbhi 5d603cc246 fix: hide game mode section on no tanks 2024-08-16 20:06:37 -05:00
TrèsAbhi 44f35a813c feat: start of better tech tree 2024-08-16 20:05:25 -05:00
TrèsAbhi 7e6e480788 feat: better cards 2024-08-16 19:41:03 -05:00
TrèsAbhi 987a14b68d feat: looks 2024-08-16 14:09:58 -05:00
TrèsAbhi d9c2f53c6a feat: ability defs 2024-08-16 13:48:23 -05:00
TrèsAbhi 4811668832 feat: numerical role ids 2024-08-16 13:05:27 -05:00
TrèsAbhi 354be775ad feat: more styling 2024-08-16 12:58:17 -05:00
TrèsAbhi e9d5de7e97 feat: abilites 2024-08-16 12:52:29 -05:00
TrèsAbhi b25814e399 fix: trim 2024-08-15 21:08:02 -05:00
TrèsAbhi 91d98c6aad feat: logs 2024-08-15 20:02:42 -05:00
TrèsAbhi 1132018d16 feat: seperable buttons and remove antagonist configurer 2024-08-15 14:32:08 -05:00
TrèsAbhi f07aa9a2a7 fix: variable most optimal shell 2024-08-15 14:06:57 -05:00
TrèsAbhi 3e00860f7f feat: start of game mode icons 2024-08-15 13:35:09 -05:00
TrèsAbhi 6ada813dd5 feat: gamemode defs 2024-08-14 20:46:55 -05:00
TrèsAbhi 643c7272ca feat: gamemode definitions 2024-08-14 14:17:23 -05:00
TrèsAbhi 97b251e3a3 feat: gamemode consumable and provisions 2024-08-14 14:04:06 -05:00
TrèsAbhi 94db2c9159 fix: additive camouflage values (Synx, you better be right!) 2024-08-13 19:52:33 -05:00
TrèsAbhi 9d346082ea fix: post ricochet penetration 2024-08-13 19:48:47 -05:00
TrèsAbhi ea7d822420 feat: legendary camo names in search 2024-08-13 19:44:35 -05:00
TrèsAbhi 3058756346 feat: camouflage definitiosn 2024-08-13 19:38:05 -05:00
TrèsAbhi 6cfa3b9c70 fix: disabled turret rotation through other objects 2024-08-13 14:00:36 -05:00
TrèsAbhi d43391e625 fix: effective dom 2024-08-12 21:14:05 -05:00
TrèsAbhi 7f796c5ec1 fix: stat parity with game 2024-08-12 21:12:07 -05:00
TrèsAbhi 8d32c7ce23 fix: most optimal shell index 2024-08-12 19:53:47 -05:00
TrèsAbhi 820c125912 fix: stricter search 2024-08-12 19:47:35 -05:00
TrèsAbhi 79a01da317 fix: tankopedia search name alignemtn 2024-08-12 19:23:22 -05:00
TrèsAbhi d1a4b0d1d1 fix: currentVersion 2024-08-12 13:31:33 -05:00
TrèsAbhi 35db670f5c feat: dynamicContentLocalizationsDir 2024-08-12 13:31:06 -05:00
TrèsAbhi b2c4bfc926 feat: url object notation found work 2024-08-12 13:18:22 -05:00
TrèsAbhi 400c6ebfe1 Update index.ts 2024-08-12 13:12:02 -05:00
TrèsAbhi 2b08ecad7f Update index.ts 2024-08-12 11:23:24 -05:00
TrèsAbhi 6303fbb961 Update index.ts 2024-08-12 10:32:54 -05:00
TrèsAbhi d1fe7f6533 feat: move customizer to root 2024-08-11 13:29:46 -05:00
TrèsAbhi 899aefd851 feat: 404 page and redirects 2024-08-11 13:25:41 -05:00
TrèsAbhi c04e1ae0f5 feat: app in title 2024-08-11 13:11:56 -05:00
TrèsAbhi 9f77936e3e feat: reset button 2024-08-11 13:06:38 -05:00
TrèsAbhi 34c2cfdb2a feat: import 2024-08-11 13:05:11 -05:00
TrèsAbhi 1359452f67 feat: copiers 2024-08-11 12:44:16 -05:00
TrèsAbhi 1fcb60ab3f feat: centralized dimentions 2024-08-11 12:29:45 -05:00
TrèsAbhi 33a0af1bcd feat: state parsing 2024-08-10 14:20:48 -05:00
TrèsAbhi acf36ec461 fix: hosting 2024-08-10 14:13:24 -05:00
TrèsAbhi 31666c9bb6 feat: start of buttons 2024-08-10 13:39:49 -05:00
TrèsAbhi 64139e301b feat: composite stats 2024-08-10 13:29:10 -05:00
TrèsAbhi 84893842e9 feat: more controllers!!! 2024-08-08 14:51:34 -05:00
TrèsAbhi 11cc3aa783 feat: more controllers 2024-08-08 14:37:40 -05:00
TrèsAbhi bcd4f279a8 feat: radius 2024-08-08 14:28:06 -05:00
TrèsAbhi 27cfc225de fix: tank name colors 2024-08-08 14:22:04 -05:00
TrèsAbhi 94623c43eb feat: new dynamic system 2024-08-08 14:18:22 -05:00
TrèsAbhi e8b8b19332 feat: rename to breakdown 2024-08-07 12:03:45 -05:00
TrèsAbhi 1b376746a2 feat: better preview 2024-08-06 21:06:53 -05:00
TrèsAbhi 1a2f440e11 feat: slider for width 2024-08-06 21:01:45 -05:00
TrèsAbhi b0dfa6949c fix: stupid javascript my butt 2024-08-06 14:21:13 -05:00
TrèsAbhi de9254a221 fix: stupid javascript my butt 2024-08-06 14:20:33 -05:00
TrèsAbhi c278bb094a feat: unsued code 2024-08-06 14:14:48 -05:00
TrèsAbhi bfc7d76853 feat: title 2024-08-06 14:08:47 -05:00
TrèsAbhi 4b2367699a feat: better layout 2024-08-06 14:05:16 -05:00
TrèsAbhi ca39b8e215 Merge branch 'main' into dev-embed 2024-08-06 13:34:19 -05:00
TrèsAbhi 38f3ccfbd8 feat: more customizations 2024-08-06 13:33:39 -05:00
TrèsAbhi 4d9cf4329c Update cd-assets.yml 2024-08-05 23:42:26 -05:00
TrèsAbhi 33674a0d5b Add files via upload 2024-08-05 19:57:53 -05:00
TrèsAbhi 6a18abf17f feat: float 2024-08-05 14:25:12 -05:00
TrèsAbhi 6984794be1 feat: start of embeds 2024-08-05 12:52:40 -05:00
TrèsAbhi f666023bef fix: remove dead code 2024-08-02 13:50:43 -05:00
TrèsAbhi 6830aa7ac0 feat: logs 2024-08-02 13:48:44 -05:00
TrèsAbhi 6bcf5c25dc fix: directional clip 2024-08-02 13:48:24 -05:00
TrèsAbhi b559878667 feat: rotation inputs in static mode 2024-08-01 20:38:37 -05:00
TrèsAbhi c6184acf26 feat: logs 2024-08-01 14:37:05 -05:00
TrèsAbhi 5d58530661 fix: color 2024-08-01 14:26:29 -05:00
TrèsAbhi e04bfcde3c feat: better scale 2024-08-01 14:26:10 -05:00
TrèsAbhi c8be2257ef feat: softer colros 2024-08-01 14:21:39 -05:00
TrèsAbhi 0f45476a8b fix: safer outlines 2024-08-01 14:19:52 -05:00
TrèsAbhi 99cdf931a8 fix: japanese gun depression 2024-08-01 14:16:42 -05:00
TrèsAbhi ed4658adcc fix: initial transparency 2024-08-01 14:15:05 -05:00
TrèsAbhi 0cc9089156 feat: individual reset 2024-08-01 14:06:45 -05:00
TrèsAbhi 71e0e8e09e feat: floating editor 2024-08-01 14:00:43 -05:00
TrèsAbhi 0dc708ab2a feat: revert lighting 2024-07-31 14:26:03 -05:00
TrèsAbhi f73426df6a fix: clipping plane intersections 2024-07-31 14:18:58 -05:00
TrèsAbhi abc8acb6ed feat: new lighting env 2024-07-31 13:56:43 -05:00
TrèsAbhi 1944745902 feat: better outluiens 2024-07-31 13:48:14 -05:00
TrèsAbhi e9bb76e698 fix: types 2024-07-31 13:40:50 -05:00
TrèsAbhi 5810ca8f81 feat: moving components 2024-07-31 13:36:56 -05:00
TrèsAbhi c6249c5a83 feat: better coloring 2024-07-31 13:25:58 -05:00
TrèsAbhi 2c0f9184db feat: better plate editing integration 2024-07-31 13:11:25 -05:00
TrèsAbhi 15cf4ec0f1 feat: wireframe 2024-07-30 13:45:52 -05:00
TrèsAbhi 8ba56069c4 feat: dynamic model defs 2024-07-30 13:24:55 -05:00
TrèsAbhi 3889c0f75d feat: rename core armor to primary armor 2024-07-29 20:46:57 -05:00
TrèsAbhi b1685bcc12 feat: dev prefix 2024-07-29 20:42:58 -05:00
TrèsAbhi d0055bb118 feat: dev mode debug 2024-07-29 20:40:32 -05:00
TrèsAbhi 8a7d18d586 feat: use basic material 2024-07-29 20:26:21 -05:00
TrèsAbhi b6f235efcd fix: better coloring 2024-07-29 20:25:28 -05:00
TrèsAbhi b609fcbac7 fix: ricochet penetration reporation of external modules 2024-07-29 20:23:33 -05:00
TrèsAbhi 969c9a903e feat: better card positioning 2024-07-29 20:18:31 -05:00
TrèsAbhi c4b5baf6cc feat: functional armor type toggling 2024-07-29 19:59:07 -05:00
TrèsAbhi 0aca2dab6c Merge branch 'main' into dev-static 2024-07-29 19:46:08 -05:00
TrèsAbhi 6fa70711d7 fix: DISCORD_CLIENT_ID 2024-07-29 19:46:03 -05:00
TrèsAbhi 14cbd67e04 Merge branch 'main' into dev-static 2024-07-29 19:45:12 -05:00
TrèsAbhi f8aa51941d fix: DISCORD_CLIENT_ID 2024-07-29 19:45:00 -05:00
TrèsAbhi f86a4022ea feat: armor toggle buttons 2024-07-29 14:08:52 -05:00
TrèsAbhi cddfef1b9f feat: better coloring 2024-07-29 13:33:56 -05:00
TrèsAbhi c12fb0d668 feat: card 2024-07-29 13:22:20 -05:00
TrèsAbhi ce3c9b936b Update tsconfig.json 2024-07-28 17:34:23 -05:00
TrèsAbhi 7c3bc8884d feat: seletable external moduels 2024-07-28 13:59:28 -05:00
TrèsAbhi 6ebced6f01 feat: segmented control mode 2024-07-28 13:32:52 -05:00
TrèsAbhi 6e7df526ff fix: static states 2024-07-27 14:43:33 -05:00
TrèsAbhi 5d1352590a fix: disable track movement in armor mdoe 2024-07-27 14:26:34 -05:00
TrèsAbhi b0aff726b5 fix: types 2024-07-27 14:25:27 -05:00
TrèsAbhi ca002623b8 feat: standard material 2024-07-27 14:23:39 -05:00
TrèsAbhi f0e8153a67 feat: on click highlighting 2024-07-27 14:21:12 -05:00
TrèsAbhi a0612b2beb fix: hull origin 2024-07-27 13:46:36 -05:00
TrèsAbhi 3071c887cc fix: better tankopedia search page padding 2024-07-27 13:33:45 -05:00
TrèsAbhi 47d7ebb15f fix: stricter emphmeral stores 2024-07-27 13:29:09 -05:00
TrèsAbhi 2512134e15 fix: type 2024-07-27 13:24:58 -05:00
TrèsAbhi e682172486 fix: exclude node modules 2024-07-27 13:16:14 -05:00
TrèsAbhi 0c9714b5a5 feat: quartile 2024-07-27 13:07:40 -05:00
TrèsAbhi f13622836e feat: better opacity 2024-07-27 12:46:12 -05:00
TrèsAbhi 1a91214dd0 feat: some transparencies 2024-07-26 13:39:32 -05:00
TrèsAbhi ceb759aba1 feat: static armor 2024-07-26 13:24:18 -05:00
TrèsAbhi e88fdd861f feat: generalize wrapper 2024-07-24 20:46:42 -05:00
TrèsAbhi 85166a2614 feat: generalize transform handling 2024-07-24 20:35:01 -05:00
TrèsAbhi fde9319bbd feat: generalize ZY correction 2024-07-24 20:27:16 -05:00
TrèsAbhi 5d733a79ef feat: logs 2024-07-24 20:14:49 -05:00
TrèsAbhi ee58b3543e feat: start of static armor mode 2024-07-24 20:09:38 -05:00
TrèsAbhi 3d0c87579b feat: that's a lotta damage easter egg 2024-07-24 13:30:50 -05:00
TrèsAbhi 4f7b4f1602 feat: that's a lotta damage easter egg 2024-07-24 13:27:46 -05:00
TrèsAbhi b1c3453d38 Merge branch 'main' into dev-qol 2024-07-24 13:18:01 -05:00
TrèsAbhi 23974ee83a fix: no dev mode 2024-07-24 13:14:21 -05:00
TrèsAbhi 84951026e0 Merge branch 'main' into dev-qol 2024-07-23 21:07:04 -05:00
TrèsAbhi 8cae642243 fix: include more debian modules 2024-07-23 21:04:23 -05:00
TrèsAbhi 8b5638f82d feat: he splash visual 2024-07-23 21:01:32 -05:00
TrèsAbhi 16500793a5 fix: no session search result overlap 2024-07-22 20:59:38 -05:00
TrèsAbhi e294f2e286 feat: use simple text navbar logo 2024-07-22 20:52:29 -05:00
TrèsAbhi a237e1541b fix: correctly re-mounting camera 2024-07-22 20:47:29 -05:00
TrèsAbhi ffdb75d028 fix: keying 2024-07-22 20:32:10 -05:00
TrèsAbhi 9ea307d90a feat: tank search result coubt 2024-07-22 20:24:32 -05:00
TrèsAbhi 1059b3e6e6 fix: DISCORD_CLIENT_ID 2024-07-22 12:15:17 -05:00
TrèsAbhi 5ec40271f8 fix: DISCORD_CLIENT_ID 2024-07-22 12:14:29 -05:00
TrèsAbhi adf0aecd13 fix: env 2024-07-22 12:11:33 -05:00
TrèsAbhi 5ab102ed55 fix: dev 2024-07-22 12:06:38 -05:00
TrèsAbhi aec96d70d2 fix: dev 2024-07-22 12:01:47 -05:00
TrèsAbhi da50b5c8c8 fix: dev 2024-07-22 12:01:34 -05:00
TrèsAbhi 043bc0494a feat: sharp 2024-07-22 11:44:09 -05:00
TrèsAbhi d9a8fa82fa feat: external sharp 2024-07-22 11:39:58 -05:00
TrèsAbhi fe938772b6 feat: external sharp 2024-07-22 11:38:23 -05:00
TrèsAbhi fed9e5d157 feat: external sharp 2024-07-22 11:37:53 -05:00
TrèsAbhi f706eec483 feat: external sharp 2024-07-22 11:26:27 -05:00
TrèsAbhi a4e511bbca fix: porisma dir 2024-07-21 20:49:26 -05:00
TrèsAbhi 7402e30226 fix: ls 2024-07-21 20:45:15 -05:00
TrèsAbhi d3f519fa0b fix: move node modules back 2024-07-21 20:44:31 -05:00
TrèsAbhi 9850b21e2b fix: inlclude node files 2024-07-21 20:41:40 -05:00
TrèsAbhi 9a193dde5e feat: debian-openssl-1.1.x 2024-07-21 20:26:45 -05:00
TrèsAbhi b814981828 fix: prisma 2024-07-21 20:22:36 -05:00
TrèsAbhi 39967154bb fix: prisma 2024-07-21 20:21:42 -05:00
TrèsAbhi d6911c3e08 fix: build db 2024-07-21 20:16:21 -05:00
TrèsAbhi ccf08cd48a fix: command alais 2024-07-21 20:11:19 -05:00
TrèsAbhi 9978a0c2b3 fix: mk dir 2024-07-21 20:10:41 -05:00
TrèsAbhi a076025bb8 feat: logs 2024-07-21 20:06:45 -05:00
TrèsAbhi 2f3e1d7ae4 feat: update workflows 2024-07-21 20:01:16 -05:00
TrèsAbhi 377a00aaf1 feat: fast font loading 2024-07-21 19:51:04 -05:00
TrèsAbhi 3f83fffade feat: remove legacy bot code 2024-07-21 19:41:37 -05:00
TrèsAbhi 9ffd20ffbf feat: migrate to bun 2024-07-20 20:36:36 -05:00
TrèsAbhi 6ecabe1d77 fix: return t 2024-07-20 13:50:01 -05:00
TrèsAbhi 0d71288df5 feat: move icon to font 2024-07-18 19:08:30 -05:00
TrèsAbhi 43671ee754 feat: removed all averages requirements 2024-07-18 19:07:24 -05:00
TrèsAbhi 2d3aec62fe feat: removed all averages requirements 2024-07-18 19:06:14 -05:00
TrèsAbhi 5cbfe50455 feat: removed all averages requirements 2024-07-18 19:05:18 -05:00
TrèsAbhi 0646be5b6a feat: removed all averages requirements 2024-07-18 19:03:37 -05:00
TrèsAbhi 9bc2d12ff0 fix: don't include 0 battle tanks 2024-07-18 19:01:10 -05:00
TrèsAbhi f3140ce0af fix: no store only manifest 2024-07-17 13:15:21 -05:00
TrèsAbhi 0952d7e770 fix: no store 2024-07-17 13:15:05 -05:00
TrèsAbhi 031bdbe0b5 fix: 1e2 power to weight 2024-07-14 12:23:00 -05:00
TrèsAbhi 4ac1dbf23b fix: 1e2 power to weight 2024-07-14 12:19:12 -05:00
TrèsAbhi 6e26420e0e feat: shot type 2024-07-13 20:09:37 -05:00
TrèsAbhi 0808505af3 feat: logs 2024-07-13 20:08:03 -05:00
TrèsAbhi 793c07d1ed fix: shot display suspense 2024-07-13 20:01:45 -05:00
TrèsAbhi 447b4629ce fix: contextual shot display card 2024-07-13 19:49:00 -05:00
TrèsAbhi 7e22f4596d feat: antagonist gun selector 2024-07-13 19:19:49 -05:00
TrèsAbhi ef5169f669 feat: percentage resistances 2024-07-13 14:37:42 -05:00
TrèsAbhi 5c787dfd7f feat: stop track propogation 2024-07-13 14:34:55 -05:00
TrèsAbhi b7eae89a4e fix: NaN delta 2024-07-13 14:32:06 -05:00
TrèsAbhi 2272cd319e fix: better default provision algorithm 2024-07-13 14:31:12 -05:00
TrèsAbhi 43fb2f423e fix: tank tree icon color 2024-07-13 14:25:26 -05:00
TrèsAbhi 887d9b8017 fix: only allow d120 tanks 2024-07-13 14:23:31 -05:00
TrèsAbhi c6028b9868 feat: remove battle count 2024-07-13 14:20:07 -05:00
TrèsAbhi f3174e8567 fix: consistent tank row header cell width 2024-07-13 13:53:59 -05:00
TrèsAbhi 80811724b6 fix: client side armor mode 2024-07-13 13:52:13 -05:00
TrèsAbhi 421ea6c20a fix: tank filters provider for antagonist selector 2024-07-13 13:49:06 -05:00
TrèsAbhi 56460937ca Create LICENSE 2024-07-13 13:18:06 -05:00
TrèsAbhi 85e483e696 Delete LICENSE 2024-07-13 13:15:28 -05:00
TrèsAbhi 499cafad50 feat: logs 2024-07-12 20:57:30 -05:00
TrèsAbhi 424904207d fix: load degs 2024-07-12 20:56:16 -05:00
TrèsAbhi 232cb4db4e feat: logs 2024-07-12 20:40:38 -05:00
TrèsAbhi 3019af942b feat: logs 2024-07-12 20:40:26 -05:00
TrèsAbhi 7c097d4dd8 feat: optimized tank comapre 2024-07-12 20:38:19 -05:00
TrèsAbhi faabea9c06 feat: sticky compare 2024-07-12 19:55:41 -05:00
TrèsAbhi f1383c54bc fix: select all filtered raw 2024-07-12 19:24:12 -05:00
TrèsAbhi 8eb76b1efd feat: use native link 2024-07-12 19:23:15 -05:00
TrèsAbhi 03ce75c15d feat: variable player count 2024-07-12 13:53:11 -05:00
TrèsAbhi d6fc037d4f feat: production flag 2024-07-12 13:08:50 -05:00
TrèsAbhi 8a0e258a7f feat: shadow 2024-07-12 13:02:23 -05:00
TrèsAbhi 7eb13c199b feat: sticky headers 2024-07-12 13:01:10 -05:00
TrèsAbhi 3244a0fd8a feat: more human readability 2024-07-12 12:41:11 -05:00
TrèsAbhi e86dc4ecc5 feat: better tech tree layout 2024-07-10 21:02:33 -05:00
TrèsAbhi fe98d52c31 feat: compact format tech tree 2024-07-10 20:51:36 -05:00
TrèsAbhi c39351929c feat: ad after history section 2024-07-10 20:47:34 -05:00
TrèsAbhi 11e75e48ce feat: instant model loading 2024-07-10 20:47:02 -05:00
TrèsAbhi db4c207708 feat: soe friendlier checks 2024-07-10 20:31:16 -05:00
TrèsAbhi d86af7e7ab feat: faster tankopedia 2024-07-10 19:16:00 -05:00
TrèsAbhi 0a836826c2 feat: better loader 2024-07-10 18:57:27 -05:00
TrèsAbhi 6f387e28f9 feat: better loading 2024-07-10 13:31:21 -05:00
TrèsAbhi c27ebdbcb3 feat: fullscreen hydration 2024-07-10 13:16:04 -05:00
TrèsAbhi 74d4b8edf4 feat: remove assertion 2024-07-10 13:11:09 -05:00
TrèsAbhi b0b68f3fd3 feat: lesser ads on tankopedia 2024-07-10 13:09:54 -05:00
TrèsAbhi dde92bf1ec feat: next safe ad exempt 2024-07-10 13:08:00 -05:00
TrèsAbhi c5b3f6adad feat: friendlier home page ads 2024-07-10 12:57:06 -05:00
TrèsAbhi 423ffdb24f feat: data passing 2024-07-10 12:55:19 -05:00
TrèsAbhi 2286a398cf feat: lazy loaded tanks earch 2024-07-09 21:16:20 -05:00
TrèsAbhi 6a2631ea72 feat: better hero padding 2024-07-09 21:01:09 -05:00
TrèsAbhi 2ba00f3477 fix: provider place 2024-07-09 20:58:13 -05:00
TrèsAbhi 697497b11e feat: remove useWideFormat 2024-07-09 20:53:00 -05:00
TrèsAbhi 332c1787f4 feat: migrated duel store 2024-07-09 20:35:36 -05:00
TrèsAbhi eaaea114a0 fix: add use client to app store 2024-07-09 20:20:44 -05:00
TrèsAbhi cf841c9bb2 feat: migrated app store 2024-07-09 20:05:34 -05:00
TrèsAbhi 5aa4b262f8 feat: omit ads in compact mode 2024-07-09 19:54:23 -05:00
TrèsAbhi 8b70aa12e4 feat: migrate compare store 2024-07-09 19:53:50 -05:00
TrèsAbhi f423f8f797 feat: migrate session store 2024-07-09 19:42:57 -05:00
TrèsAbhi 3a31191d9a fix: use providers 2024-07-09 14:45:29 -05:00
TrèsAbhi 84bbb05d43 feat: upgrade tankopedia stores 2024-07-09 14:43:33 -05:00
TrèsAbhi 5bf9f8ca9e feat: safe takopedai sort 2024-07-08 20:12:46 -05:00
TrèsAbhi f0fc23712a feat: safe sort 2024-07-08 19:59:15 -05:00
TrèsAbhi 4d99e61bfb fix: fetch tank ids 2024-07-08 19:41:56 -05:00
TrèsAbhi dae902fe03 feat: next safe generalization 2024-07-08 19:36:28 -05:00
TrèsAbhi eb87463f08 fix: null check 2024-07-08 12:46:56 -05:00
TrèsAbhi d34bc4db06 feat: historical averages 2024-07-08 12:41:06 -05:00
TrèsAbhi b27d200ae6 feat: shadow sticky column 2024-07-07 21:13:40 -05:00
TrèsAbhi 86d7007dc2 feat: nivo graph 2024-07-07 21:06:02 -05:00
TrèsAbhi 499bcde320 feat: move icon to right 2024-07-07 18:59:01 -05:00
TrèsAbhi a7f68364f3 feat: total bar 2024-07-07 18:56:49 -05:00
TrèsAbhi b556f5f7e8 feat: memoize row loader 2024-07-07 18:48:32 -05:00
TrèsAbhi cc51f660d4 feat: smaller tank icons 2024-07-07 18:19:45 -05:00
TrèsAbhi 3c9fcfa623 fix: tankFiltersContext types 2024-07-07 18:07:07 -05:00
TrèsAbhi 555c94f3b1 feat: generalized intersection 2024-07-07 18:01:56 -05:00
TrèsAbhi 33c67b9416 feat: fast observers 2024-07-06 20:32:41 -05:00
TrèsAbhi b965893bfc feat: transition to next safe zustand 2024-07-06 20:07:46 -05:00
TrèsAbhi 595941ab9c feat: smaller tank card 2024-07-02 20:12:15 -05:00
TrèsAbhi 127ffc787e feat: sticky tank cards 2024-07-02 20:07:16 -05:00
TrèsAbhi ac243a3cdd feat: multi-select 2024-07-02 19:30:29 -05:00
TrèsAbhi 3542cb1ece feat: add script mdoe 2024-07-02 19:22:39 -05:00
TrèsAbhi 4c6369b8b4 feat: tank performance filters 2024-07-02 19:19:15 -05:00
TrèsAbhi 4b46eb59e0 fix: remove player stats 2024-07-02 18:58:11 -05:00
TrèsAbhi d8b9dd63b5 feat: soft hide player stats 2024-07-02 18:53:08 -05:00
TrèsAbhi 3deaa1e9bd feat: row icons 2024-07-02 18:42:23 -05:00
TrèsAbhi 366a5111b7 fix: remove old banners 2024-07-02 18:28:04 -05:00
TrèsAbhi 29af2101f4 feat: hide player stats 2024-07-02 18:23:01 -05:00
TrèsAbhi 39137ae14b fix: move y-i 2024-07-02 10:55:56 -05:00
TrèsAbhi 084d44e53f feat: update wss 2024-07-02 10:52:27 -05:00
TrèsAbhi d6ed395716 Merge branch 'main' into dev 2024-07-01 20:31:30 -05:00
TrèsAbhi 51da286dc7 feat: logs 2024-07-01 20:29:42 -05:00
TrèsAbhi e28408bc3a feat: default direction 2024-07-01 20:21:42 -05:00
TrèsAbhi 2dcfd13457 feat: sort 2024-07-01 20:18:09 -05:00
TrèsAbhi 16bee48989 feat: scaling 2024-07-01 19:41:13 -05:00
TrèsAbhi ea305b8ce5 fix: emoji 2024-07-01 19:14:54 -05:00
TrèsAbhi f400794e64 feat: cute symbols 2024-07-01 19:14:39 -05:00
TrèsAbhi fe21e268e5 feat: rewrite 2024-07-01 19:10:47 -05:00
TrèsAbhi 7fe0d8bdb4 Merge branch 'dev' of https://github.com/tresabhi/blitzkit into dev 2024-07-01 11:44:10 -05:00
TrèsAbhi 4c56eba5dd feat: simple average 2024-07-01 11:44:08 -05:00
TrèsAbhi daf21467ad Change to 30 2024-06-30 23:40:38 -05:00
TrèsAbhi 0443a92693 fix: include data 2024-06-30 21:44:48 -05:00
TrèsAbhi 9edc2cffad feat: scanned players 2024-06-30 21:43:21 -05:00
TrèsAbhi db83ac40b4 feat: player count 2024-06-30 20:34:22 -05:00
TrèsAbhi 1d112bb633 fix: merge 2024-06-30 20:03:11 -05:00
TrèsAbhi 574c789233 feat: skeleton loading 2024-06-30 19:59:32 -05:00
TrèsAbhi 6c6cf6b76d feat: more data 2024-06-30 19:34:55 -05:00
TrèsAbhi c6c78f2661 feat: some data 2024-06-30 18:26:05 -05:00
TrèsAbhi dd9b3ce869 feat: start of tank averages 2024-06-29 21:22:12 -05:00
TrèsAbhi 51c998163d Merge branch 'dev-static-updates' into dev 2024-06-29 21:04:43 -05:00
TrèsAbhi 0dc6af440b feat: fetch average definitions 2024-06-29 20:58:38 -05:00
TrèsAbhi 88d8f4f14b feat: efficient pre-chunking 2024-06-29 19:43:46 -05:00
TrèsAbhi 63a608b3df fix: handle non-ok repsoness 2024-06-29 13:40:38 -05:00
TrèsAbhi 1ad75d8dc5 fix: remove autofocus in signin popup 2024-06-29 13:37:53 -05:00
TrèsAbhi 47c3b2de0e fix: mino line depression disparity on live updates 2024-06-29 13:35:06 -05:00
TrèsAbhi f002c23e70 fix: omit ricochet for explosive shells 2024-06-29 13:32:57 -05:00
TrèsAbhi bb561847ad feat: premium dpm 2024-06-29 13:29:43 -05:00
TrèsAbhi 1dc85253c9 feat: terrain coefficients 2024-06-29 13:25:59 -05:00
TrèsAbhi 11cca03f2c feat: open in new tab tank compare 2024-06-29 13:20:36 -05:00
TrèsAbhi 5474cc8d9e fix: pointer jump 2024-06-29 13:18:10 -05:00
TrèsAbhi 5b833bab11 feat: movable tracks 2024-06-29 13:15:24 -05:00
TrèsAbhi b032de4a62 feat: no default tier 2024-06-29 12:14:34 -05:00
TrèsAbhi 4bc0a95973 feat: tank class and icon 2024-06-29 12:12:10 -05:00
TrèsAbhi 6ef0610331 feat: clipping potential 2024-06-29 12:08:42 -05:00
TrèsAbhi 9f89903a6e feat: better compare layout 2024-06-29 11:57:44 -05:00
TrèsAbhi cf68c9812c feat: move shell selector to firepower header 2024-06-29 11:49:55 -05:00
TrèsAbhi 1eddb33380 feat: rename fire to firepower 2024-06-29 11:41:03 -05:00
TrèsAbhi 604345d909 feat: random sampling 2024-06-29 10:49:32 -05:00
TrèsAbhi 4bcd3bffdc feat: max dispersion 2024-06-29 10:37:40 -05:00
TrèsAbhi 0136dda0dd feat: responsive shot card 2024-06-28 20:41:24 -05:00
TrèsAbhi 8d2ec5f5b4 feat: antagonist penetration preview 2024-06-28 20:32:19 -05:00
TrèsAbhi abac64f01b fix: enter click no redirect with onselect 2024-06-28 20:17:47 -05:00
TrèsAbhi 8abdc3f824 feat: trust protobuf post install 2024-06-28 20:11:34 -05:00
TrèsAbhi ed17366365 feat: add cron 2024-06-28 20:08:50 -05:00
TrèsAbhi ffaa368f81 feat: finish script 2024-06-28 14:12:58 -05:00
TrèsAbhi 33012f9f21 feat: start on fixing pre work 2024-06-26 21:22:03 -05:00
TrèsAbhi de22efabc4 feat: finish work on post work 2024-06-26 21:07:54 -05:00
TrèsAbhi bdbc0073a8 feat: start of math 2024-06-26 14:07:27 -05:00
TrèsAbhi 2928db2727 Merge branch 'main' into dev 2024-06-26 13:18:47 -05:00
TrèsAbhi 0558f27347 fix: no auto exempt 2024-06-26 11:14:45 -05:00
TrèsAbhi 3767f3e51e fix: types 2024-06-25 20:05:41 -05:00
TrèsAbhi 8b082ed31f feat: exempt 2024-06-25 20:01:51 -05:00
TrèsAbhi 7cc086b999 feat: ads :( 2024-06-25 19:58:29 -05:00
TrèsAbhi d6caeabe68 feat: logs 2024-06-25 19:32:13 -05:00
TrèsAbhi 6eba9e6b94 feat: select all 2024-06-25 19:24:33 -05:00
TrèsAbhi d186368c98 feat: compact search 2024-06-25 19:17:53 -05:00
TrèsAbhi 9485b0e36c feat: sort label 2024-06-25 18:38:53 -05:00
TrèsAbhi e0e8c3554a feat: some fixes 2024-06-24 21:06:37 -05:00
TrèsAbhi 8bcd74262c feat: complete sort labels 2024-06-24 21:00:51 -05:00
TrèsAbhi 77105b514e fix: remove dupiclate build assets 2024-06-24 14:14:59 -05:00
TrèsAbhi 337398debe fix: auto enter 2024-06-24 14:14:25 -05:00
TrèsAbhi 4ff7d23027 fix: meta.name 2024-06-24 14:13:00 -05:00
TrèsAbhi 798ef10469 feat: skeletons 2024-06-24 14:10:23 -05:00
TrèsAbhi fe945cced1 feat: better layout 2024-06-24 13:54:08 -05:00
TrèsAbhi 0c74cb90e9 Merge branch 'main' into dev-tank-search 2024-06-24 13:07:43 -05:00
TrèsAbhi 31158b9d68 Update cd-discover-ids.yml 2024-06-24 12:07:45 -05:00
TrèsAbhi ea9d3685a1 Update cd-discover-ids.yml 2024-06-24 12:07:33 -05:00
TrèsAbhi 9d71471529 feat: nice progress bar 2024-06-24 12:03:08 -05:00
TrèsAbhi dab5e14297 feat: move tank icons to the bottom 2024-06-24 11:57:28 -05:00
TrèsAbhi 742290b3c0 fix: types 2024-06-23 20:59:03 -05:00
TrèsAbhi 42b169cf60 fix: types 2024-06-23 20:49:24 -05:00
TrèsAbhi ff4be57faf feat: cached styling 2024-06-23 20:45:56 -05:00
TrèsAbhi 1d65dc755f Merge branch 'main' into dev-tank-search 2024-06-23 20:11:23 -05:00
TrèsAbhi 948a655296 feat: bun build website 2024-06-23 20:09:47 -05:00
TrèsAbhi 01af4d457a feat: upgrade build bot 2024-06-23 20:05:21 -05:00
TrèsAbhi a5fd786d64 feat: upgrade rating archivers to bun 2024-06-23 20:01:18 -05:00
TrèsAbhi b9acaccae5 fix: install 2024-06-23 19:55:47 -05:00
TrèsAbhi 03fcb3b91e feat: upgrade docs 2024-06-23 19:55:02 -05:00
TrèsAbhi 1fc3c5c087 Merge branch 'main' of https://github.com/tresabhi/blitzkit 2024-06-23 19:49:38 -05:00
TrèsAbhi b18e8d282d fix: remove node modules cache 2024-06-23 19:49:37 -05:00
TrèsAbhi 62ec1e4a19 Update cd-assets.yml 2024-06-23 16:01:07 -05:00
TrèsAbhi fb6bff00d7 Update credits.md 2024-06-23 16:00:20 -05:00
TrèsAbhi 533c5dd055 feat: ps env 2024-06-23 14:17:38 -05:00
TrèsAbhi 36eeec6766 fix: use windows 2024-06-22 18:02:54 -05:00
TrèsAbhi e1f0fdf2b7 feat: transfer assets 2024-06-22 18:01:37 -05:00
TrèsAbhi 0f38cd8f34 feat: transfer assets 2024-06-22 18:01:20 -05:00
TrèsAbhi c0b437f207 feat: migrate booster icons 2024-06-22 17:46:25 -05:00
TrèsAbhi 02198f052d feat: migrated lz4 to bun 2024-06-22 17:46:16 -05:00
TrèsAbhi 9b141fc49a feat: migrated package to bun 2024-06-22 17:46:05 -05:00
TrèsAbhi 38b2b6025f feat: start of sorting 2024-06-22 16:39:31 -05:00
TrèsAbhi 479a165149 fix: clipPath 2024-06-21 19:10:46 -05:00
TrèsAbhi a1d80a2ab2 fix: replace reset state 2024-06-21 19:06:50 -05:00
TrèsAbhi 8e438757fd feat: search bar 2024-06-21 19:04:34 -05:00
TrèsAbhi c8e207b6a2 feat: sticky 2024-06-21 18:26:49 -05:00
TrèsAbhi a57734cdee feat: perf 2024-06-21 14:03:20 -05:00
TrèsAbhi df8b32b7cd feat: test tanks warning 2024-06-20 14:33:12 -05:00
TrèsAbhi 5b7ce1ae7b feat: functional filters 2024-06-20 14:18:00 -05:00
TrèsAbhi 7225fb0231 feat: data driven nations 2024-06-20 13:34:27 -05:00
TrèsAbhi 7e5357dfe7 feat: experiments 2024-06-20 13:31:42 -05:00
TrèsAbhi 34cbfd2c9b feat: buttons 2024-06-20 13:20:03 -05:00
TrèsAbhi 4927f1315c feat: data driven nations 2024-06-19 20:53:59 -05:00
TrèsAbhi b4bb0dcc67 feat: keys 2024-06-19 20:23:44 -05:00
TrèsAbhi b689ecba9f feat: some things 2024-06-19 13:58:37 -05:00
TrèsAbhi 3ccbb7895c feat: improved layout 2024-06-18 20:43:21 -05:00
TrèsAbhi eb53b59e32 feat: new layout 2024-06-18 14:28:20 -05:00
TrèsAbhi a84943fdaa Merge branch 'main' into dev 2024-06-18 13:27:41 -05:00
TrèsAbhi 243bc1104e feat: start on new discover ids script 2024-06-18 12:55:48 -05:00
TrèsAbhi e96ac14770 feat: simplifications 2024-06-17 15:36:33 -05:00
TrèsAbhi 4a69d57adf fix: use text 2024-06-17 14:16:01 -05:00
TrèsAbhi 5f7330271c feat: new metric 2024-06-17 14:10:22 -05:00
TrèsAbhi 7554f1ffed feat: disabled worker threads 2024-06-17 12:28:07 -05:00
TrèsAbhi 3e0479824d fix: remove no-store for rating 2024-06-17 12:16:35 -05:00
TrèsAbhi 83527fed7d feat: player stats card 2024-06-16 17:47:02 -05:00
TrèsAbhi 136805067f Merge branch 'main' into dev 2024-06-16 17:37:06 -05:00
TrèsAbhi 48ee173cbc fix: use use 2024-06-16 17:33:03 -05:00
TrèsAbhi faf5bc3619 fix: non-conditional hooks 2024-06-16 17:30:53 -05:00
TrèsAbhi 68d8a6925c feat: memo fetch 2024-06-16 17:09:50 -05:00
TrèsAbhi 463371de18 feat: cache exempt 2024-06-16 17:08:44 -05:00
TrèsAbhi 7584fe1ba3 fix: empty sumnation notation 2024-06-15 21:13:37 -05:00
TrèsAbhi 2d6b8105d2 Merge branch 'main' into dev 2024-06-15 21:09:37 -05:00
TrèsAbhi e6d2817524 fix: undefined string 2024-06-15 14:07:25 -05:00
TrèsAbhi 4d462508bc fix: swap window undef check 2024-06-15 14:05:47 -05:00
TrèsAbhi e966c8df16 Merge branch 'main' into dev-ads 2024-06-15 14:02:13 -05:00
TrèsAbhi bcabb65857 feat: homepage ads 2024-06-15 14:01:51 -05:00
TrèsAbhi 9f38f16d2b feat: homepage ads 2024-06-15 13:51:42 -05:00
TrèsAbhi 57fa29cc6e feat: cleaner exempt 2024-06-15 13:24:53 -05:00
TrèsAbhi 14e45d97d2 feat: patreon plug 2024-06-15 13:16:12 -05:00
TrèsAbhi 6d5f958167 Update discoverIds.ts 2024-06-14 23:20:08 -05:00
TrèsAbhi 0a0376312b feat: patreon check 2024-06-14 13:57:54 -05:00
TrèsAbhi cb09f57a91 feat: wargaming login 2024-06-13 20:17:09 -05:00
TrèsAbhi a7e89c2147 feat: patreon login 2024-06-13 14:52:43 -05:00
TrèsAbhi 03aa690247 fix: ctrl key functionality 2024-06-13 13:50:44 -05:00
TrèsAbhi 84929f9732 feat: responsive ads 2024-06-13 13:26:12 -05:00
TrèsAbhi b4173e780b feat; update readme 2024-06-12 14:37:46 -05:00
TrèsAbhi 9d0abdb135 feat: more layout 2024-06-12 14:35:10 -05:00
TrèsAbhi c900af6e33 Merge branch 'main' into dev 2024-06-12 13:29:20 -05:00
TrèsAbhi 1aaff323bf fix: add react 2024-06-12 13:24:42 -05:00
TrèsAbhi 55d0c1926c feat: more ads 2024-06-12 13:08:52 -05:00
TrèsAbhi e3eb0f458d feat: disable overflow hidden 2024-06-12 12:40:46 -05:00
TrèsAbhi ea18fe9247 feat: better layout 2024-06-11 21:08:28 -05:00
TrèsAbhi 73289d7ff8 feat: some stats 2024-06-11 20:35:47 -05:00
TrèsAbhi 865c8991b2 Merge branch 'main' into dev 2024-06-11 19:53:03 -05:00
TrèsAbhi 690ed2aa7e feat: stricter ad boundaries 2024-06-11 19:49:15 -05:00
TrèsAbhi 22cc7b367c fix: style 2024-06-11 13:38:38 -05:00
TrèsAbhi ac81c68889 fix: box props 2024-06-11 13:38:25 -05:00
TrèsAbhi c26dd277a8 feat: debug 2024-06-11 13:36:02 -05:00
TrèsAbhi 903a2e9be1 feat: dunno mate 2024-06-11 11:02:27 -05:00
TrèsAbhi fa4c1cea56 feat: unique tagging 2024-06-10 14:10:58 -05:00
TrèsAbhi 1e36a24aff feat: move 2024-06-10 14:08:31 -05:00
TrèsAbhi 8901a3664b Merge pull request #126 from tresabhi/main 2024-06-10 14:08:20 -05:00
TrèsAbhi bb00f7be31 feat: move ad down 2024-06-10 14:05:48 -05:00
TrèsAbhi c645e8929a fix: remove legacy ads 2024-06-10 13:53:22 -05:00
TrèsAbhi 626eb7e2d6 feat: ads 2024-06-10 13:52:25 -05:00
TrèsAbhi de5dfbab8e feat: date popovers 2024-06-10 13:40:11 -05:00
TrèsAbhi e2cef42667 feat: popover 2024-06-10 13:06:02 -05:00
TrèsAbhi e370a53473 Update discoverIds.ts 2024-06-09 23:49:56 -05:00
TrèsAbhi 1fd9c9e6b0 Update discoverIds.ts 2024-06-09 23:46:35 -05:00
TrèsAbhi fe9e300c80 Update discoverIds.ts 2024-06-09 23:43:13 -05:00
TrèsAbhi 785407c8ff Update discoverIds.ts 2024-06-09 23:40:40 -05:00
TrèsAbhi 2ed0a6963f Update cd-discover-ids.yml 2024-06-09 23:35:35 -05:00
TrèsAbhi 0523619aee feat: start of date picker 2024-06-09 21:00:40 -05:00
TrèsAbhi 9e2677586c Merge pull request #125 from tresabhi/main 2024-06-09 17:46:34 -05:00
TrèsAbhi c42fc908c7 feat: chunking 2024-06-09 17:44:38 -05:00
TrèsAbhi 93c4d80dd0 feat: flipped tabs 2024-06-09 17:19:44 -05:00
TrèsAbhi 227022e755 Merge pull request #124 from tresabhi/main 2024-06-08 19:12:23 -05:00
TrèsAbhi 996c56ed43 feat: progress updates 2024-06-08 19:10:15 -05:00
TrèsAbhi 9f2a40e73c feat: more retry erros 2024-06-08 19:04:54 -05:00
TrèsAbhi 318ef9afca feat: better header 2024-06-07 20:40:09 -05:00
TrèsAbhi 5e8a69d2d8 feat: bkni indicator 2024-06-07 20:17:10 -05:00
TrèsAbhi dc5e4fc2de feat: beggening of player stats 2024-06-07 14:31:43 -05:00
TrèsAbhi 521b0e8906 feat: statistics 2024-06-07 12:51:44 -05:00
TrèsAbhi 73f1851f3c fix: centered footer 2024-06-07 12:37:22 -05:00
TrèsAbhi e13d0c0e33 feat: changelogs 2024-06-06 20:09:02 -05:00
959 changed files with 42400 additions and 26404 deletions

No files matched your search

+123
View File
@@ -0,0 +1,123 @@
name: Build Assets
on:
push:
branches: main
workflow_dispatch:
inputs:
cdn_branch:
type: string
required: false
default: main
description: What CDN branch to write to
zip_url:
type: string
required: false
description: ZIP URL to download instead of Steam client
zip_root:
type: string
required: false
description: Root dir of ZIP which houses the executable and Data dir
schedule:
- cron: '0 2 * * *'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event.inputs.cdn_branch }}
cancel-in-progress: true
env:
DISCORD_CLIENT_ID: ${{ secrets.DISCORD_CLIENT_ID }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }}
DATABASE_URL: ${{ secrets.DATABASE_URL }}
VIDEOS_SHEET: ${{ secrets.VIDEOS_SHEET }}
GOOGLE_APPLICATION_CREDENTIALS: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
WOTB_GLOSSARY: ${{ secrets.WOTB_GLOSSARY }}
WOTB_DLC_CDN: ${{ secrets.WOTB_DLC_CDN }}
PUBLIC_WARGAMING_APPLICATION_ID: ${{ secrets.PUBLIC_WARGAMING_APPLICATION_ID }}
PUBLIC_ASSET_REPO: ${{ secrets.PUBLIC_ASSET_REPO }}
PUBLIC_ASSET_BRANCH: ${{ github.event.inputs.cdn_branch || secrets.PUBLIC_ASSET_BRANCH }}
jobs:
download_client:
name: Download client
runs-on: ubuntu-latest
steps:
- name: (ZIP) Maximize build space
if: github.event.inputs.zip_url != ''
uses: easimon/maximize-build-space@master
with:
root-reserve-mb: 512
swap-size-mb: 1024
remove-dotnet: 'true'
- uses: actions/checkout@v4
with:
submodules: recursive
token: ${{ secrets.GH_TOKEN }}
- name: (Steam) Setup bun
uses: oven-sh/setup-bun@v1
if: github.event.inputs.zip_url == ''
- name: (Steam) Install dependencies
if: github.event.inputs.zip_url == ''
run: bun install
- name: (Steam) Setup DepotDownloader
if: github.event.inputs.zip_url == ''
run: bun run setup:depotdownloader
- name: (Steam) Download client
if: github.event.inputs.zip_url == ''
run: |
chmod +x ./temp/depotDownloader/DepotDownloader
./temp/depotDownloader/DepotDownloader -q -os windows -app 444200 -username ${{ secrets.DEPOT_DOWNLOADER_USERNAME }} -password "${{ secrets.DEPOT_DOWNLOADER_PASSWORD }}"
- name: (Steam) Apply patches
if: github.event.inputs.zip_url == ''
run: bun setup:patches --depot
- name: (ZIP) Download client
if: github.event.inputs.zip_url != ''
env:
ZIP_URL: ${{ github.event.inputs.zip_url }}
ZIP_ROOT: ${{ github.event.inputs.zip_root }}
run: |
wget -q -O client.zip $ZIP_URL
unzip -q client.zip -d client
rm client.zip
mkdir -p depots/444202/0
mv client/$ZIP_ROOT/* depots/444202/0
- name: Archive depots
uses: actions/upload-artifact@v4
with:
name: depots
path: depots
build_assets:
name: Build assets
runs-on: ubuntu-latest
needs: download_client
steps:
- uses: actions/checkout@v4
- name: Setup bun
uses: oven-sh/setup-bun@v1
- name: Install dependencies
run: bun install
- name: Download depots
uses: actions/download-artifact@v4
with:
name: depots
path: depots
- name: Build assets
run: bun run build:assets --all-targets --depot --production
+36
View File
@@ -0,0 +1,36 @@
name: Averages
on:
workflow_dispatch:
schedule:
- cron: '0 8 * * *'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
PUBLIC_ASSET_REPO: ${{ secrets.PUBLIC_ASSET_REPO }}
PUBLIC_WARGAMING_APPLICATION_ID: ${{ secrets.PUBLIC_WARGAMING_APPLICATION_ID }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
- name: Install dependencies
run: bun install
- name: Build averages
env:
PUBLIC_ASSET_BRANCH: main
DISCORD_CLIENT_ID: ${{ secrets.DISCORD_CLIENT_ID }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }}
DATABASE_URL: ${{ secrets.DATABASE_URL }}
VIDEOS_SHEET: ${{ secrets.VIDEOS_SHEET }}
GOOGLE_APPLICATION_CREDENTIALS: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
run: bun run build:averages --production
@@ -1,11 +1,8 @@
name: CD Discover IDs
name: Build Bot
on:
push:
branches: main
workflow_dispatch:
schedule:
- cron: '0 8 * * *'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
@@ -13,6 +10,7 @@ concurrency:
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
@@ -22,5 +20,14 @@ jobs:
- name: Install dependencies
run: bun install
- name: Discover IDs
run: DISCORD_TOKEN=${{ secrets.DISCORD_TOKEN }} GH_TOKEN=${{ secrets.GH_TOKEN }} DATABASE_URL=${{ secrets.DATABASE_URL }} bun scripts/discoverIds.ts --production
- name: Build Prisma
run: bun run build:prisma
- name: Build bot
run: bun run build:bot
- name: Archive build
uses: actions/upload-artifact@v4
with:
name: bot
path: dist/bot
-67
View File
@@ -1,67 +0,0 @@
name: CD Build Assets
on:
push:
branches: main
workflow_dispatch:
schedule:
- cron: '0 2 * * *'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: recursive
token: ${{ secrets.GH_TOKEN }}
- name: Use node
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'npm'
- name: Install Yarn
run: npm install --location=global yarn
- name: Use node_modules cache
uses: actions/cache@v3
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
- name: Install dependencies
run: yarn
- name: Add fixed sharp
run: yarn add [email protected] --ignore-engines
- name: Setup DepotDownloader
run: yarn setup:depotdownloader
- name: Run DepotDownloader
run: ./temp/depotDownloader/DepotDownloader.exe -app 444200 -username ${{ secrets.DEPOT_DOWNLOADER_USERNAME }} -password "${{ secrets.DEPOT_DOWNLOADER_PASSWORD }}"
- name: Apply patches
run: |
$env:GH_TOKEN = "${{ secrets.GH_TOKEN }}"
$env:DISCORD_TOKEN = "${{ secrets.DISCORD_TOKEN }}"
$env:DATABASE_URL = "${{ secrets.DATABASE_URL }}"
$env:WOTB_DLC_CDN = "${{ secrets.WOTB_DLC_CDN }}"
yarn setup:patches --depot
- name: Build assets
run: |
$env:GH_TOKEN = "${{ secrets.GH_TOKEN }}"
$env:DISCORD_TOKEN = "${{ secrets.DISCORD_TOKEN }}"
$env:DATABASE_URL = "${{ secrets.DATABASE_URL }}"
$env:VIDEOS_SHEET = "${{ secrets.VIDEOS_SHEET }}"
$env:GOOGLE_APPLICATION_CREDENTIALS = "${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}"
yarn build:assets --all-targets --depot ${{ github.ref == 'refs/heads/main' && '--production' || '' }}
-25
View File
@@ -1,25 +0,0 @@
name: CD Averages
on:
workflow_dispatch:
# schedule:
# - cron: '0 12 * * 0'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
- name: Install dependencies
run: bun install
- name: Build averages
run: |
GH_TOKEN=${{ secrets.GH_TOKEN }} DISCORD_TOKEN=${{ secrets.DISCORD_TOKEN }} DATABASE_URL=${{ secrets.DATABASE_URL }} VIDEOS_SHEET=${{ secrets.VIDEOS_SHEET }} GOOGLE_APPLICATION_CREDENTIALS=${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }} bun scripts/averages.ts
-60
View File
@@ -1,60 +0,0 @@
name: CD Docs
on:
push:
branches: main
jobs:
build:
name: Build
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use node
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'npm'
- name: Install Yarn
run: npm install --location=global yarn
- name: Use node_modules cache
uses: actions/cache@v3
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
- name: Install dependencies
run: yarn
- name: Build docs
run: yarn build:docs
- name: Configure pages
uses: actions/configure-pages@v2
- name: Upload pages artifact
uses: actions/upload-pages-artifact@v1
with:
path: dist/docs
- name: Deploy
id: deployment
uses: actions/deploy-pages@v1
- name: Archive build
uses: actions/upload-artifact@v4
with:
name: dist
path: docs/.vitepress/dist
-36
View File
@@ -1,36 +0,0 @@
name: CD Host
on:
push:
branches: main
schedule:
- cron: '0 */5 * * *'
workflow_dispatch:
release:
types: [created, published, released, edited]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
host:
runs-on: ubuntu-latest
steps:
- name: Use node
uses: actions/setup-node@v4
with:
node-version: 18
- name: Download release assets
run: |
DOWNLOAD_URL=$(curl -s https://api.github.com/repos/tresabhi/blitzkit/releases/latest \
| grep "browser_download_url.*bot.zip" \
| cut -d : -f 2,3 \
| tr -d \")
curl -L -o bot.zip $DOWNLOAD_URL
unzip bot.zip
- name: Run bot
run: NODE_ENV=production GH_TOKEN=${{ secrets.GH_TOKEN }} DISCORD_TOKEN=${{ secrets.DISCORD_TOKEN }} DATABASE_URL=${{ secrets.DATABASE_URL }} node --enable-source-maps index.cjs
-34
View File
@@ -1,34 +0,0 @@
name: CD Rating Asia
on:
schedule:
- cron: '0 17 * * *'
jobs:
host:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use node
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'npm'
- name: Install Yarn
run: npm install --location=global yarn
- name: Use node_modules cache
uses: actions/cache@v3
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
- name: Install dependencies
run: yarn
- name: Generate leaderboard
run: GH_TOKEN=${{ secrets.GH_TOKEN }} DISCORD_TOKEN=${{ secrets.DISCORD_TOKEN }} DATABASE_URL=${{ secrets.DATABASE_URL }} yarn publish:ratingleaderboard --region=asia --target=midnight --production
-34
View File
@@ -1,34 +0,0 @@
name: CD Rating Europe
on:
schedule:
- cron: '0 23 * * *'
jobs:
host:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use node
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'npm'
- name: Install Yarn
run: npm install --location=global yarn
- name: Use node_modules cache
uses: actions/cache@v3
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
- name: Install dependencies
run: yarn
- name: Generate leaderboard
run: GH_TOKEN=${{ secrets.GH_TOKEN }} DISCORD_TOKEN=${{ secrets.DISCORD_TOKEN }} DATABASE_URL=${{ secrets.DATABASE_URL }} yarn publish:ratingleaderboard --region=eu --target=midnight --production
-34
View File
@@ -1,34 +0,0 @@
name: CD Rating Latest
on:
schedule:
- cron: '0 0 * * *'
jobs:
host:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use node
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'npm'
- name: Install Yarn
run: npm install --location=global yarn
- name: Use node_modules cache
uses: actions/cache@v3
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
- name: Install dependencies
run: yarn
- name: Generate all leaderboards
run: GH_TOKEN=${{ secrets.GH_TOKEN }} DISCORD_TOKEN=${{ secrets.DISCORD_TOKEN }} DATABASE_URL=${{ secrets.DATABASE_URL }} yarn publish:ratingleaderboard --region=na,asia,eu --target=latest --production
-34
View File
@@ -1,34 +0,0 @@
name: CD Rating North America
on:
schedule:
- cron: '0 5 * * *'
jobs:
host:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use node
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'npm'
- name: Install Yarn
run: npm install --location=global yarn
- name: Use node_modules cache
uses: actions/cache@v3
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
- name: Install dependencies
run: yarn
- name: Generate leaderboard
run: GH_TOKEN=${{ secrets.GH_TOKEN }} DISCORD_TOKEN=${{ secrets.DISCORD_TOKEN }} DATABASE_URL=${{ secrets.DATABASE_URL }} yarn publish:ratingleaderboard --region=na --target=midnight --production
-46
View File
@@ -1,46 +0,0 @@
name: CI Build Bot
on: push
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use node
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'npm'
- name: Install Yarn
run: npm install --location=global yarn
- name: Use node_modules cache
uses: actions/cache@v3
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
- name: Install dependencies
run: yarn
- name: Build Prisma
run: yarn prisma generate
- name: Build
run: yarn build:bot --production
- name: Archive build
uses: actions/upload-artifact@v4
with:
name: bot
path: dist/bot
-43
View File
@@ -1,43 +0,0 @@
name: CI Build Docs
on: push
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use node
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'npm'
- name: Install Yarn
run: npm install --location=global yarn
- name: Use node_modules cache
uses: actions/cache@v3
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
- name: Install dependencies
run: yarn
- name: Build
run: yarn build:docs
- name: Archive build
uses: actions/upload-artifact@v4
with:
name: docs
path: dist/docs
-43
View File
@@ -1,43 +0,0 @@
name: CI Build Website
on: push
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use node
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'npm'
- name: Install Yarn
run: npm install --location=global yarn
- name: Use node_modules cache
uses: actions/cache@v3
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
- name: Install dependencies
run: yarn
- name: Build
run: yarn build:website
- name: Archive build
uses: actions/upload-artifact@v4
with:
name: website
path: dist/website
+32
View File
@@ -0,0 +1,32 @@
name: Discover IDs
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 1'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
DATABASE_URL: ${{ secrets.DATABASE_URL }}
PUBLIC_ASSET_BRANCH: ${{ secrets.PUBLIC_ASSET_BRANCH }}
PUBLIC_ASSET_REPO: ${{ secrets.PUBLIC_ASSET_REPO }}
PUBLIC_WARGAMING_APPLICATION_ID: ${{ secrets.PUBLIC_WARGAMING_APPLICATION_ID }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
- name: Install dependencies
run: bun install
- name: Discover IDs
run: bun build:ids --production
+50
View File
@@ -0,0 +1,50 @@
name: Host Bot
on:
push:
branches: main
schedule:
- cron: '0 */5 * * *'
workflow_dispatch:
release:
types: [created, published, released, edited]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }}
DISCORD_CLIENT_ID: ${{ secrets.DISCORD_CLIENT_ID }}
DATABASE_URL: ${{ secrets.DATABASE_URL }}
PUBLIC_ASSET_REPO: ${{ secrets.PUBLIC_ASSET_REPO }}
PUBLIC_ASSET_BRANCH: ${{ secrets.PUBLIC_ASSET_BRANCH }}
PUBLIC_WARGAMING_APPLICATION_ID: ${{ secrets.PUBLIC_WARGAMING_APPLICATION_ID }}
jobs:
host:
runs-on: ubuntu-latest
steps:
- uses: oven-sh/setup-bun@v1
# with:
# bun-version: 1.1.33
- name: Download release assets
run: |
DOWNLOAD_URL=$(curl -s https://api.github.com/repos/tresabhi/blitzkit/releases/latest \
| grep "browser_download_url.*bot.zip" \
| cut -d : -f 2,3 \
| tr -d \")
curl -L -o bot.zip $DOWNLOAD_URL
mkdir -p dist/bot
unzip bot.zip -d dist/bot
- name: Install sharp
run: bun init -y && bun add sharp
- name: Move directories
run: mv dist/bot/prisma .
- name: Run bot
run: bun run dist/bot/main.js
+28
View File
@@ -0,0 +1,28 @@
name: Rating Asia
on:
workflow_dispatch:
schedule:
- cron: '0 17 * * *'
jobs:
host:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
- name: Install dependencies
run: bun install
- name: Generate leaderboard
env:
PUBLIC_ASSET_BRANCH: main
PUBLIC_ASSET_REPO: ${{ secrets.PUBLIC_ASSET_REPO }}
DISCORD_CLIENT_ID: ${{ secrets.DISCORD_CLIENT_ID }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }}
DATABASE_URL: ${{ secrets.DATABASE_URL }}
PUBLIC_WARGAMING_APPLICATION_ID: ${{ secrets.PUBLIC_WARGAMING_APPLICATION_ID }}
run: bun build:ratingleaderboard --region=asia
+28
View File
@@ -0,0 +1,28 @@
name: Rating Europe
on:
workflow_dispatch:
schedule:
- cron: '0 23 * * *'
jobs:
host:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
- name: Install dependencies
run: bun install
- name: Generate leaderboard
env:
PUBLIC_ASSET_BRANCH: main
PUBLIC_ASSET_REPO: ${{ secrets.PUBLIC_ASSET_REPO }}
DISCORD_CLIENT_ID: ${{ secrets.DISCORD_CLIENT_ID }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }}
DATABASE_URL: ${{ secrets.DATABASE_URL }}
PUBLIC_WARGAMING_APPLICATION_ID: ${{ secrets.PUBLIC_WARGAMING_APPLICATION_ID }}
run: bun build:ratingleaderboard --region=eu
+28
View File
@@ -0,0 +1,28 @@
name: Rating North America
on:
workflow_dispatch:
schedule:
- cron: '0 5 * * *'
jobs:
host:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
- name: Install dependencies
run: bun install
- name: Generate leaderboard
env:
PUBLIC_ASSET_BRANCH: main
PUBLIC_ASSET_REPO: ${{ secrets.PUBLIC_ASSET_REPO }}
DISCORD_CLIENT_ID: ${{ secrets.DISCORD_CLIENT_ID }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }}
DATABASE_URL: ${{ secrets.DATABASE_URL }}
PUBLIC_WARGAMING_APPLICATION_ID: ${{ secrets.PUBLIC_WARGAMING_APPLICATION_ID }}
run: bun build:ratingleaderboard --region=com
+37
View File
@@ -0,0 +1,37 @@
name: Reviews
on:
workflow_dispatch:
schedule:
- cron: 0 0 * * 2
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
DATABASE_URL: ${{ secrets.DATABASE_URL }}
PUBLIC_ASSET_BRANCH: ${{ secrets.PUBLIC_ASSET_BRANCH }}
PUBLIC_ASSET_REPO: ${{ secrets.PUBLIC_ASSET_REPO }}
GOOGLE_APPLICATION_CREDENTIALS: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
PUBLIC_WARGAMING_APPLICATION_ID: ${{ secrets.PUBLIC_WARGAMING_APPLICATION_ID }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
token: ${{ secrets.GH_TOKEN }}
- uses: oven-sh/setup-bun@v1
- name: Install dependencies
run: bun install
- name: Find reviews
run: bun packages/scripts/src/reviews.ts
+91
View File
@@ -0,0 +1,91 @@
name: Website
on:
push:
workflow_dispatch:
schedule:
- cron: '0 4 * * *'
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref == 'refs/heads/main' }}
env:
PUBLIC_WARGAMING_APPLICATION_ID: ${{ secrets.PUBLIC_WARGAMING_APPLICATION_ID }}
PUBLIC_ASSET_REPO: ${{ secrets.PUBLIC_ASSET_REPO }}
PUBLIC_ASSET_BRANCH: ${{ secrets.PUBLIC_ASSET_BRANCH }}
PUBLIC_PROMOTE_OPENTEST: ${{ secrets.PUBLIC_PROMOTE_OPENTEST }}
ALLOW_ROBOTS: true
WOTB_GLOSSARY: ${{ secrets.WOTB_GLOSSARY }}
PUBLIC_GOOGLE_TAG_MANAGER_ID: ${{ secrets.PUBLIC_GOOGLE_TAG_MANAGER_ID }}
PUBLIC_GOOGLE_ANALYTICS_PROPERTY_ID: ${{ secrets.PUBLIC_GOOGLE_ANALYTICS_PROPERTY_ID }}
GOOGLE_APPLICATION_CREDENTIALS: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
token: ${{ secrets.GH_TOKEN }}
- uses: oven-sh/setup-bun@v1
- uses: actions/configure-pages@v5
- name: Install dependencies
run: bun install
- name: Build website
run: bun run build:website
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: dist/website
deploy-github-pages:
if: github.ref == 'refs/heads/main'
name: Deploy to GitHub Pages
runs-on: ubuntu-latest
needs: build
environment:
name: Production
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
deploy-vercel:
name: Deploy to Vercel
needs: build
runs-on: ubuntu-latest
environment:
name: Preview
steps:
# vercel begs for the .git dir so here it is my guy
- uses: actions/checkout@v4
- name: Download artifact
uses: actions/download-artifact@v4
with:
path: ./dist/website
- uses: amondnet/vercel-action@v25
with:
vercel-token: ${{ secrets.VERCEL_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}
vercel-org-id: ${{ secrets.VERCEL_ORG_ID}}
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }}
working-directory: ./dist/website
+8 -1
View File
@@ -1,4 +1,5 @@
node_modules
_node_modules
package-lock.json
.env
/test-results/
@@ -19,4 +20,10 @@ temp/
/.yarn
depots
public/sitemap*
/firebase.json
/firebase.json
target
# packages/core/src/protos/*
# !packages/core/src/protos/*.proto
/.vercel
/.astro
.vercel
+4
View File
@@ -0,0 +1,4 @@
{
"recommendations": ["astro-build.astro-vscode"],
"unwantedRecommendations": []
}
+11
View File
@@ -0,0 +1,11 @@
{
"version": "0.2.0",
"configurations": [
{
"command": "./node_modules/.bin/astro dev",
"name": "Development server",
"request": "launch",
"type": "node-terminal"
}
]
}
+38 -5
View File
@@ -2,16 +2,21 @@
"cSpell.words": [
"AABBOX",
"Abhi",
"absarc",
"accountinfo",
"adsense",
"aeson",
"alphatest",
"analyticsdata",
"analyticsreporting",
"APAC",
"apcr",
"applypatches",
"artefacts",
"astrojs",
"atgm",
"Avearges",
"Autoloader",
"Autoreloader",
"AYUV",
"battleresults",
"bbox",
@@ -19,6 +24,7 @@
"betakrieg",
"BINORMAL",
"Binormals",
"bkni",
"BKRL",
"BKRTS",
"BKRTSMANIFEST",
@@ -26,7 +32,10 @@
"blitzkit",
"blitzrinth",
"blitzstars",
"cacheable",
"Callouts",
"Camo",
"CCPAOPTOUT",
"CDON",
"classname",
"cleandist",
@@ -34,17 +43,20 @@
"cockroackdb",
"Coef",
"cooldown",
"corelations",
"corsproxy",
"CUBEMAP",
"CUBETEXCOORD",
"customperiod",
"datasource",
"Dava",
"dbid",
"Ddpf",
"Ddsd",
"debugflags",
"deburr",
"decalmask",
"decompressor",
"defence",
"degressive",
"devkrieg",
@@ -52,20 +64,21 @@
"DIDS",
"donotremove",
"drei",
"Droodles",
"dvpd",
"dvpl",
"DVPLCRC",
"dvpm",
"dxgi",
"echarts",
"Everytime",
"FASTNAME",
"flexdirection",
"FOURCC",
"frameloop",
"fsformat",
"Fullscreen",
"fullstats",
"fuzzysort",
"gamemode",
"gameplay",
"glsl",
"GLTF",
@@ -83,25 +96,36 @@
"leaderboards",
"lerp",
"LINEARSIZE",
"lmao",
"loadouts",
"loddist",
"lods",
"lossrate",
"Maddoxkkm",
"malum",
"mantlets",
"metallicness",
"metalness",
"minitelrose",
"Minotauro",
"MIPMAPCOUNT",
"mišek",
"mmnow",
"modeltransform",
"MURICA",
"nanostores",
"NEGATIVEX",
"NEGATIVEY",
"NEGATIVEZ",
"NITROPAY",
"nivo",
"nmatname",
"noout",
"normalmap",
"oneof",
"oopsies",
"Oopsy",
"opentest",
"OPTML",
"outdir",
"outfile",
@@ -113,7 +137,9 @@
"POSITIVEX",
"POSITIVEY",
"POSITIVEZ",
"precompute",
"Promisable",
"proto",
"protobuf",
"protos",
"Pyogenics",
@@ -136,6 +162,7 @@
"Specularity",
"SSAO",
"startcase",
"statkit",
"statsfull",
"steamapps",
"Stringifying",
@@ -161,12 +188,15 @@
"UNORM",
"unpickled",
"Unregistering",
"unrotate",
"vercel",
"vickers",
"vitepress",
"Vovko",
"wargaming",
"webp",
"whitespaces",
"WHSS",
"winrate",
"wireframe",
"Woah",
@@ -178,11 +208,14 @@
"xkdkw",
"XMLDVPL",
"YAMLDVPL",
"yolo",
"youtuber",
"youtubers",
"zustand"
],
"deno.enable": false,
"deno.unstable": false,
"cSpell.enableFiletypes": ["glsl"],
"typescript.tsdk": "node_modules\\typescript\\lib"
"cSpell.enableFiletypes": ["glsl", "proto3"],
"typescript.tsdk": "node_modules\\typescript\\lib",
"liveServer.settings.multiRootWorkspaceName": "blitzkit"
}
+657 -17
View File
@@ -1,21 +1,661 @@
MIT License
GNU AFFERO GENERAL PUBLIC LICENSE
Version 3, 19 November 2007
Copyright (c) 2023 TrèsAbhi
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
Preamble
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
The GNU Affero General Public License is a free, copyleft license for
software and other kinds of works, specifically designed to ensure
cooperation with the community in the case of network server software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
our General Public Licenses are intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
Developers that use our General Public Licenses protect your rights
with two steps: (1) assert copyright on the software, and (2) offer
you this License which gives you legal permission to copy, distribute
and/or modify the software.
A secondary benefit of defending all users' freedom is that
improvements made in alternate versions of the program, if they
receive widespread use, become available for other developers to
incorporate. Many developers of free software are heartened and
encouraged by the resulting cooperation. However, in the case of
software used on network servers, this result may fail to come about.
The GNU General Public License permits making a modified version and
letting the public access it on a server without ever releasing its
source code to the public.
The GNU Affero General Public License is designed specifically to
ensure that, in such cases, the modified source code becomes available
to the community. It requires the operator of a network server to
provide the source code of the modified version running there to the
users of that server. Therefore, public use of a modified version, on
a publicly accessible server, gives the public access to the source
code of the modified version.
An older license, called the Affero General Public License and
published by Affero, was designed to accomplish similar goals. This is
a different license, not a version of the Affero GPL, but Affero has
released a new version of the Affero GPL which permits relicensing under
this license.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU Affero General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Remote Network Interaction; Use with the GNU General Public License.
Notwithstanding any other provision of this License, if you modify the
Program, your modified version must prominently offer all users
interacting with it remotely through a computer network (if your version
supports such interaction) an opportunity to receive the Corresponding
Source of your version by providing access to the Corresponding Source
from a network server at no charge, through some standard or customary
means of facilitating copying of software. This Corresponding Source
shall include the Corresponding Source for any work covered by version 3
of the GNU General Public License that is incorporated pursuant to the
following paragraph.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the work with which it is combined will remain governed by version
3 of the GNU General Public License.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU Affero General Public License from time to time. Such new versions
will be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU Affero General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU Affero General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU Affero General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If your software can interact with users remotely through a computer
network, you should also make sure that it provides a way for users to
get its source. For example, if your program is a web application, its
interface could display a "Source" link that leads users to an archive
of the code. There are many ways you could offer source, and different
solutions will be better for different programs; see section 13 for the
specific requirements.
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU AGPL, see
<https://www.gnu.org/licenses/>.
+6 -6
View File
@@ -1,3 +1,9 @@
## Visit the website
### https://blitzkit.app/
![BlitzKit website](https://i.imgur.com/m8e39Rv.png)
# BlitzKit
[![built with Codeium](https://codeium.com/badges/main)](https://codeium.com)
@@ -10,12 +16,6 @@ Go to [application directory for BlitzKit](https://discord.com/application-direc
![BlitzKit application directory](https://i.imgur.com/YWCtOuJ.png)
## Visit the website
### https://blitzkit.app/
![BlitzKit website](https://i.imgur.com/bdYMUCL.png)
## Visit the documentation website
### https://tresabhi.github.io/blitzkit/
+10
View File
@@ -0,0 +1,10 @@
{
"folders": [
{
"path": ".",
},
{
"path": "C:/Program Files/WindowsApps/7458BE2C.WorldofTanksBlitz_11.1.256.0_x64__x4tje2y229k00/Data",
},
],
}
BIN
View File
Binary file not shown.
+2 -2
View File
@@ -1,3 +1,3 @@
files:
- source: /src/lang/en-US.json
translation: /src/lang/%locale%.json
- source: /packages/core/lang/en-US.json
translation: /%original_path%/%locale%.json
-14
View File
@@ -1,14 +0,0 @@
{
"client_id": "1097673957865443370",
"client_id_dev": "1099063696015229078",
"sklld_guild_id": "894784231677513819",
"sklld_verify_channel": "909968131873726545",
"sklld_verify_role": "909968395154358333",
"sklld_peasant_role": "896878529512370228",
"tres_guild_id": "734786591205359697",
"tres_log_channel": "1109262265850544148",
"test_guild_id": "1124729294829142116"
}
-39
View File
@@ -1,39 +0,0 @@
import { compareVersions } from 'compare-versions';
import { readdirSync } from 'fs';
import { parse } from 'path';
import { defineConfig } from 'vitepress';
import { getSidebar } from 'vitepress-plugin-auto-sidebar';
export default defineConfig({
title: 'BlitzKit',
description: '🎉 All-in-one Discord bot for everything World of Tanks Blitz',
base: '/blitzkit/',
outDir: '../dist/docs',
themeConfig: {
nav: [
{ text: 'Home', link: '/' },
{ text: 'Guide', link: '/guide/introduction' },
],
sidebar: [
...getSidebar({
collapsed: false,
contentDirs: ['guide', 'legal'],
contentRoot: '/docs/',
}),
{
text: 'Changelogs',
items: readdirSync('./docs/changelogs')
.map((file) => parse(file).name)
.sort(compareVersions)
.map((name) => ({ text: name, link: `/changelogs/${name}.html` })),
},
],
socialLinks: [
{ icon: 'github', link: 'https://github.com/tresabhi/blitzkit' },
],
},
});
-16
View File
@@ -1,16 +0,0 @@
// https://vitepress.dev/guide/custom-theme
import { h } from 'vue';
import Theme from 'vitepress/theme';
import './style.css';
export default {
extends: Theme,
Layout: () => {
return h(Theme.Layout, null, {
// https://vitepress.dev/guide/extending-default-theme#layout-slots
});
},
enhanceApp({ app, router, siteData }) {
// ...
},
};
-90
View File
@@ -1,90 +0,0 @@
/**
* Customize default theme styling by overriding CSS variables:
* https://github.com/vuejs/vitepress/blob/main/src/client/theme-default/styles/vars.css
*/
/**
* Colors
* -------------------------------------------------------------------------- */
:root {
--vp-c-brand: #646cff;
--vp-c-brand-light: #747bff;
--vp-c-brand-lighter: #9499ff;
--vp-c-brand-lightest: #bcc0ff;
--vp-c-brand-dark: #535bf2;
--vp-c-brand-darker: #454ce1;
--vp-c-brand-dimm: rgba(100, 108, 255, 0.08);
}
/**
* Component: Button
* -------------------------------------------------------------------------- */
:root {
--vp-button-brand-border: var(--vp-c-brand-light);
--vp-button-brand-text: var(--vp-c-white);
--vp-button-brand-bg: var(--vp-c-brand);
--vp-button-brand-hover-border: var(--vp-c-brand-light);
--vp-button-brand-hover-text: var(--vp-c-white);
--vp-button-brand-hover-bg: var(--vp-c-brand-light);
--vp-button-brand-active-border: var(--vp-c-brand-light);
--vp-button-brand-active-text: var(--vp-c-white);
--vp-button-brand-active-bg: var(--vp-button-brand-bg);
}
/**
* Component: Home
* -------------------------------------------------------------------------- */
:root {
--vp-home-hero-name-color: transparent;
--vp-home-hero-name-background: -webkit-linear-gradient(
120deg,
#bd34fe 30%,
#41d1ff
);
--vp-home-hero-image-background-image: linear-gradient(
-45deg,
#bd34fe 50%,
#47caff 50%
);
--vp-home-hero-image-filter: blur(40px);
}
@media (min-width: 640px) {
:root {
--vp-home-hero-image-filter: blur(56px);
}
}
@media (min-width: 960px) {
:root {
--vp-home-hero-image-filter: blur(72px);
}
}
/**
* Component: Custom Block
* -------------------------------------------------------------------------- */
:root {
--vp-custom-block-tip-border: var(--vp-c-brand);
--vp-custom-block-tip-text: var(--vp-c-brand-darker);
--vp-custom-block-tip-bg: var(--vp-c-brand-dimm);
}
.dark {
--vp-custom-block-tip-border: var(--vp-c-brand);
--vp-custom-block-tip-text: var(--vp-c-brand-lightest);
--vp-custom-block-tip-bg: var(--vp-c-brand-dimm);
}
/**
* Component: Algolia
* -------------------------------------------------------------------------- */
.DocSearch {
--docsearch-primary-color: var(--vp-c-brand) !important;
}
+4 -3
View File
@@ -12,6 +12,7 @@ BlitzKit is a one man band **TrèsAbhi** but I am far from solo.
| Game file layout | Aeson |
| 3-caliber rule edge cases | Minitelrose, ChickenMan7777 |
| Embed UX | \_34, HisRoyalFatness, Synx |
| Tankopedia pre-release testing | [OPTML], Aeson, \_34, Droodles |
| Website advertisement platform | Aeson, Droodles |
| Compare pre-release testing | [OPTML], Droodles |
| Tankopedia pre-release testing | [OPTML], Aeson, \_34 |
| Website advertisement platform | Aeson |
| Compare pre-release testing | [OPTML] |
| Redacted | GonnaHetzMe |
+3 -3
View File
@@ -6,6 +6,6 @@ A minor-major fix to the armor sandbox. This update only affects the website.
- Guns are now clipped properly allowing some tanks like the 252U and T34's mantlets to be penetrable (usually with premium shells) as they are in-game
| Before | After |
| ------------------------------------------ | ----------------------------------------- |
| ![before](https://i.imgur.com/wB0kuk0.png) | ![after](https://i.imgur.com/vxp8wB0.png) |
| Before | After |
| ------------------------------------------- | ------------------------------------------ |
| ![before](https://i.imgur.com/wB0kuk0m.png) | ![after](https://i.imgur.com/vxp8wB0m.png) |
+13
View File
@@ -0,0 +1,13 @@
# BlitzKit 1.20.4
Continuing the revamping UI train, this release tanks the tank search page.
## Changes
- Tanks are now displayed naked, not bounded by a button
- The filters are now far more compact, responsive, and intuitive
- The search bar is now faster and shows skeletons when loading
- The sort feature now displays the values of tanks used to sort underneath the tank's names
- Nations are now ordered in the way they are in-game
- When filtering tanks in testing, a work-in-progress warning is shown
- When there are no results, a proper message is shown
+28
View File
@@ -0,0 +1,28 @@
# BlitzKit 1.20.5
Some QOL changes incoming!
## Changes
- The penetration of the shooter is now displayed above the shell switcher
- The shot display card is now shown below the tank instead of to the side on narrow screens
- Added a few more stats to Compare and Tankopedia
- Max dispersion
- Clipping potential for auto-loaders and auto-reloaders
- Raw terrain resistance coefficients
- Renamed the "Fire" section to "Firepower"
- The shell selector for the protagonist tank has been moved to the Firepower section's title
- The table layout of Compare has been compacted and indented in places
- The tank class and type has now displayed in the hero section of the Tankopedia
- Removed the default tier X filter
- Added draggable tracks
- Added the ability to sort by premium shell DPM
## Fixes
- Clicking enter no longer changes the tank you're viewing when selecting the shooter tank
- The open in new tab button in Compare now opens in a new tab
- HEAT shells no longer display ricochet angle
- The gun depression is now properly reported for the Minotauro line
- Stopped autofocus of the ghost button in the login card
- Patreon login now handles bad responses
+19
View File
@@ -0,0 +1,19 @@
# BlitzKit 1.21.0
Introducing the Tank performance tool! This release only affects the websites.
## Features
- Added the Tank performance tool which lists all tanks in the game and how players are performing in them
- This tool features the same tank filters as the Tankopedia search page
- The number of players in any given period can be viewed by switching the period from the dropdown
- This list updated daily
- The tankopedia search page now loads much faster
- Not all tanks are loaded at once; rather, more tanks are loaded as you scroll down the page (the same as Tank performance)
- The tank pages also load lightning fast now
- Tank compare now feature sticky headers and runs must faster
- Reduced ads in a few places
## Fixes
- The footer is now better centered
+22
View File
@@ -0,0 +1,22 @@
# BlitzKit 1.21.1
One wise man said, experimental is literally in the name of experimental technology.
## Features
- Added a button on the right above the shells to quickly switch antagonist guns
- Terrain resistance coefficients are now displayed as coefficients
## Fixes
- The shot display card now once again shows up on-screen
- The shot tracer is also now correctly aligned
- Tank tracks no longer interfere with camera rotation
- "NaN" deltas don't show up in the stats section
- The default provisions algorithm has been improved so most tanks should now have the best provisions by default
- The tree type icon in the Tankopedia hero section is now colored properly
- Removed "Battles" from Tank performance as it's simply inaccurate
- This feature will come back when player stats are released
- Tank cell headers are now more consistently sized
- Armor mode no longer causes Next.js hydration issues (even faster Tankopedia loading!)
- The antagonist selector for the Tankopedia page now once again works
+8
View File
@@ -0,0 +1,8 @@
# BlitzKit 1.21.2
Freshly baked buns, anyone? This update only affects the bot.
## Technical Changes
- Switched from Node to Bun (faster everything!)
- Removed legacy features like the custom welcome message for the SKLLD Discord server
+17
View File
@@ -0,0 +1,17 @@
# BlitzKit 1.21.3
Splashing with HE got splashier! This update only affects the website.
## Features
- Added HE splash radius visualization to the armor sandbox
- Added a count for the number of tanks in the Tankopedia search page
## Fixes
- The Session tool's player search no longer clips into the footer
- The shell tracer is no longer bugged when switching between tanks
## Technical Changes
- "BlitzKit" in the navigation bar is now simple text instead of an image
+26
View File
@@ -0,0 +1,26 @@
# BlitzKit 1.22.0
Introducing the long awaited Static Armor mode! This update only affects the website.
## Features
- Added static armor mode which display solid colors for each plate of armor
- Different type of armors have different scales and can be toggled by clicking the color scales
- Checking on "Edit" allows you to change the thicknesses to test hypothetical values
- Changes you make are also reflected in the Blitz-styled dynamic armor highlighter
- Added a segmented controller to switch between Model, Dynamic Armor, and Static Armor modes
- Track dragging has been disabled in both armor modes
- Penetration tracer has been disabled for model mode
- Penetration and thickness cards are now placed to better cooperate with screen real estate
- "Core" armor has been renamed to "primary" across the website
## Fixes
- Penetration card now displays in fullscreen mode on mobile devices once again
- Penetration of external modules after ricochets are no longer reported as "successful penetrations"
- Gun barrels are no longer incorrectly incorporated into the shell tracer
- Japanese gun depression equipment has been swapped back to the correct values
## Technical Features
- In dev mode, the ID of the selected armor plates is shown in static mode
+19
View File
@@ -0,0 +1,19 @@
# BlitzKit 1.22.1
## Features
- Legendary camouflage names are now included in the Tankopedia search (for example, you can search up "Shark" and the T54E2 will show up)
- Provision and consumable buttons in the Tankopedia and Compare tools are now separate buttons
## Fixes
- The name and icons of tanks in the Tankopedia search page are now properly aligned and trimmed
- The Tankopedia search is now stricter; thus, filters out nonsensical results
- The most optimal shell index once again shows the correct index
- The DPM listing is now in parity with the game which is what "Max DPM" used to be previously
- The Max DPM value is now also correct since the optimal shell index has been corrected
- The mastery of crew members who play a secondary role in the tank is now handled properly
- The turret of tanks cannot be accidentally rotated when dragging over other objects (like the body of the tank)
- Penetrations are once again calculated after a ricochet
- Camouflage values are now calculated properly when the Camouflage Net equipment is applied
- Removed the redundant Configure tab when selecting an antagonist tank
+38
View File
@@ -0,0 +1,38 @@
# BlitzKit 1.22.2
This update packs a punch.
## Features
- Added "Game mode abilities" section to the tankopedia pages
- Shows the game mode provisions and consumables underneath the corresponding mode's banner
- Reworked the tech tree section
- Now shows the whole line and if multiple paths exist, they are can be selected
- The selected tank is now highlighted with the flag of the corresponding country
- This section now also shows the total required XP and credits required
- Added a battle count which indicates the number of games required to reach the next tank (not including module upgrades) based on average xp earnings of players
- XP multipliers can also be applied to get a sense of how many battles you will really have to play
- Reworked the "Review videos" section
- Removed all previews videos; we will be starting from scratch
- Added names of content creators under their corresponding videos
- Added a way for YouTubers to apply to be a part of the review videos section
- Reworked the navbar
- This are a lot more compact and contrastive
- Tool names are now separated with vertical lines now
- The hamburger menu now looks more like the homepage cards
- Added a warning for test tanks
- Switched to on-demand rendering
- This makes it so that the canvas only renders upon interaction and not the continuously synced with the screen's refresh rate
- Added the meta information section to the tankopedia pages
- Lists the full name, nation, tier, class, type, restoration, purchase, and sale prices
- Added tooltips to a lot of places
- Reduced ads on the tankopedia pages
- Added a screenshot button to take screenshots of the tank
- Added crew training slider to the compare tool
## Fixes
- Invalid Wargaming logins are now handled properly
- Season currencies are now displayed properly
- Tank filters are now persistent but will be reset on refresh
- The search for a tank now populates the search bar when navigating back to the search page
+16
View File
@@ -0,0 +1,16 @@
# BlitzKit 1.22.3
This should've been in the last update lol.
## Features
- The "meta information" section has been moved to the hero section on larger screens
- Added an option to take a screenshot directly to the clipboard
- Removed the number from the BlitzKit logo
- The tank playground now stops rendering when it is offscreen, hence fixing a lot of crashes
## Fixes
- The hero section of the Tankopedia is now better sized on smaller screens
- The shell penetration over distance slider now instantly updates the corresponding input instead after a delay
- The game mode banner info is now visible on Apple devices
+11
View File
@@ -0,0 +1,11 @@
# BlitzKit 1.22.4
This update makes some technical internal changes to allow the website to switch to the opentest version of the game when it is released. The opentest variant of BlitzKit will be available on https://opentest.blitzkit.app/ in the future (currently, it just redirects to https://blitzkit.app).
## Features
- Renamed "Tank performance" to "Performance"
- Added auto-redirect for old tool names:
- "ratings" -> "rating"
- "tank-performance" -> "performance"
- Added a 404 page
+27
View File
@@ -0,0 +1,27 @@
# BlitzKit 1.22.5
This update only affects the website.
## Features
- CDN branch names are now outline
- Added an "unaffiliated to Wargaming" note to the footer
- Added a warning when viewing deprecated tanks
- Added partial support for dynamic armor
- The armor behaves properly in both dynamic and static armor modes but the visual 3D model doesn't update as of yet
- I'm working on it!
- Reworked the hero and meta information section of the tankopedia pages
- The grid is now more visible at steeper angles
- Re-introduced the "swap" tanks button in the tankopedia
- Added an opentest plug at homepage (you'll see what this is soon™)
## Fixes
- Titles for a few pages are once again static
- Some links that opened in a new tab even though they were BlitzKit links now once again behave properly
- Missing page titles for documentation pages now work properly
- Toggling equipments through the tank canvas now update the render properly
- The sorting feature in tank search properly updates once again
- Dragging on the tracks to move them once again renders properly
- Correct tier I tanks are now shown in tech trees where deprecated tanks previously occupied the slot
- Reward icons once again display properly for archived rating seasons
+21
View File
@@ -0,0 +1,21 @@
# BlitzKit 1.22.6
This update only affects the website.
## Features
- Added a "cool projects" section at the bottom of the homepage
- If you have any other cool projects, feel free to let me know
- Added raw terrain coefficients along side the percentage values
- The account name is displayed instead of "Wargaming" when logged in
- Added an opentest button to the Tankopedia pages
## Fixes
- Protobuf files are now loaded more deterministically on both the server and client which resolves one of the issues that caused Error 500
- Removed a server-side incompatible method which fixes the other issue that caused Error 500
- Shot penetration is now displayed properly on mobile devices again
- Center aligned Wargaming login regions buttons on smaller screen sizes
- The dynamic armor button is no longer inverted
- BlitzKit opentest is not longer promoted on opentest
- The settings link in the navbar no longer open in a new tab
+17
View File
@@ -0,0 +1,17 @@
# BlitzKit 1.23.0
I rewrote the whole website for performance and lower bandwidth. This update does not affect the bot. If I did my job right, you should not notice a difference.
## Changes
- Removed documentation website, all the docs are now available within https://blitzkit.app/
- Removed the Rating tool
- Removed the ability to log in with Patreon
- Removed all ads
## Technical Changes
- Converted BlitzKit to a monorepo
- The whole website is now static with no server-side rendering
- Gotta go fast ⚡
- All structural data is now stored in protocol buffers
+12
View File
@@ -0,0 +1,12 @@
# BlitzKit 1.23.1
Some critical fixes. This update only affects the website.
## Features
- Added a cool new interactive banner to the homepage
- This was primary done to reduce load times due to the high-definition image behind the "BlitzKit" heading
## Fixes
- The Session tool once again works
+25
View File
@@ -0,0 +1,25 @@
# BlitzKit 1.23.2
I made some oopsies so it's time to fix them. This update only affects the website.
## Features
- Added an experimental "Charts" tab to the Performance tool feature a single player distribution chart for now
## Fixes
- The player count in the Performance tool is now more accurate
- The "Total" option in the Performance player count dropdown is now accessible
- The tier in the meta section of the Tankopedia page is no longer off by 1
- The HE splash animation no longer stutters
- Module damage is no longer affected by Reactive Armor, Dynamic Armor, and Spall Liner
- Lower raw terrain coefficients are now correctly flagged as better in the Compare tool
- The Vanilla website is now promoted in the OpenTest version of the Tankopedia page
- Removed the crew mastery slider
- Removed the annoying tooltips in tank filters which would block the buttons up above
- The default gun depression transition angle is now 0 instead of 10deg
- The capitalization of "BlitzKit" in the terms of service is now correct
- The lighting in static mode is now consistent between PBR and non-PBR tanks
- On-click penetration testing now correctly applies enhanced armor
- Crew member count is now longer off by 1
- These values may take up to 24 hours to update on your end
+20
View File
@@ -0,0 +1,20 @@
# BlitzKit 1.24.0
Introducing a new tool: the Gallery, an exhaustive collection of player avatars. This update only affects the website.
## Features
- Added the Gallery tool with a blazing fast search bar
- Click on an avatar to get the full resolution image which you can download using the download button
- External modules in static mode is now denoted by gray
- Added a crew count to the Crew Training section
## Fixes
- Crew skill levels are not longer off by 1
- Crew members with no substitutes are no longer shown with substitutes
- PBR tanks no longer are blasted with excessive lighting
## Technical Changes
- Added page pre-fetching for faster anchors
+9
View File
@@ -0,0 +1,9 @@
# BlitzKit 1.25.0
## Features
- Added embeds
- This tool is intended for streamers and content creators but feel free to generate embeds for personal use!
- There are tons of options and an infinite amount of possible customizations
- BlitzKit only offers 1 embed at the moment but feel free to suggest more
- Tank models are now 4x smaller (meaning it's 4x faster to load)
+14
View File
@@ -0,0 +1,14 @@
# BlitzKit 1.25.1
## Features
- Added shell range and capacity to Tankopedia, Compare, and tank search sort
- These values will appear "0" for a few hours as the website slowly syncs with the game
- Added a skeleton loading screen to Tankopedia
- Added gun type filters and module damage sorting to tank search
- Added the camouflage button to Compare
- Gave camouflage percentages 2 decimals places of precision
## Fixes
- Tankopedia no longer displays "0 battles" under tier X tanks in the tech tree section
+13
View File
@@ -0,0 +1,13 @@
# BlitzKit 1.25.2
## Features
- Added custom shells
- This shows up as a "fourth" shell below the antagonist's shells
- Here, you can customize the shell type, caliber, and penetration
- If the shell type is AP or APCR, you can further customize the ricochet and normalization angles
## Fixes
- The Tankopedia now renders more efficiently by not rendering frames when not needed and unnecessarily rebuilding the whole tank model
- This fix above fixes an issue where the whole tank flashed red when switching shells
+26
View File
@@ -0,0 +1,26 @@
# BlitzKit 1.25.3
## Features
- Added a "popular tanks" list under the Tankopedia link on the homepage
- The render engine has been sped up by about 50% thanks to cheaper lighting
- Added a caliber discriminator for the antagonist gun selector in the Tankopedia sandbox
- Added 30+ new stats to the Session tool
- Added relative stat bars to the Tankopedia tank pages
- This compares each stat against other tanks of the same class & tier, tier, or every other tank
- Added a recently viewed tanks list to the Tankopedia tank pages
## Fixes
- The shot result card is now displayed in the sandbox even on mobile devices now
- Removed ad settings and referenced from the policies prompt
- Removed draco compression as it usually only saved about 0.7mb per tank but added an extra 1mb to the decompressor
- The tank type colors are back in the tank search
- Frames are once again rendered when posing tanks
- Removed the "ghost column" in the Session tool
- The "total" cell is now sticky too much-like the tank name cells
- The reset button in the tank search now resets the sort as well
- The provisions list is now centered on smaller screens
- The navbar can once again be scrolled
- Provisions and consumables are no longer off by 1
- Allow up to 24 hours for this to update as BlitzKit re-syncs with the game
+15
View File
@@ -0,0 +1,15 @@
# BlitzKit 1.25.4
## Features
- The popular tanks list on the homepage now uses a better algorithm such that it doesn't exclude low tier
## Fixes
- Clipping potential is once again rounded to the nearest integer
- Raw hard terrain coefficients are now flagged as "lower the better," hence bringing it to parity with the terrain percentages
- The renderer now doesn't brighten the tank too much
- The recently viewed tanks is list no longer displayed in compact mode (in places like the Compare tool)
- Tank ids once again populate the URL making it easily shareable
- The number of tanks no longer double each time a file is saved in dev mode
- Lol tankopedia once had 662 \* 2 ^ 18 = 173 million tanks loaded on my dying pc
+7
View File
@@ -0,0 +1,7 @@
# BlitzKit 1.25.5
## Fixes
- The Compare tool now has a vertically clipping table
- Custom shells that are not HE no longer have an explosion radius
- Performance tool table row titles are now fully clickable instead of just the icons
+19
View File
@@ -0,0 +1,19 @@
# BlitzKit 1.26.0
## Features
- Added the Tier list tool
- Migrated the bot to use BlitzKit 1.26.0
- The hamburger menu has been move to the right of the screen
- The Gallery tool now has a larger number of loading skeletons
- Added some extra details when pasting Tankopedia links in Discord
## Fixes
- Rewrote the rating leaderboard archiver and commands making use of protobufs
- The navbar is once again sticky to the top of the page
- Added missing page titles to the Compare tool, Tankopedia pages, and the various docs
## Technical Changes
- Commands that accept a player account input now use just the player id instead of including the region
+9
View File
@@ -0,0 +1,9 @@
# BlitzKit 1.26.1
The auctions are here!
## Features
- Added the `/auction` command
- No need to login or go to the official website, just use `/auction`
- Everything built into Discord, one step at a time!
+22
View File
@@ -0,0 +1,22 @@
# BlitzKit 1.26.2
Two updates in a day! Why? Well, these two updates were being cooked separately in parallel and happened to have matured on the same day. Merry early Christmas!
## Features
- Highly optimized the component rerenders of the Tank Sandbox
- Implemented Google Analytics into the homepage to more accurately show the most popular tanks
- Optimized page load speeds and memory consumption by loading all data in parallel instead of sequentially
## Fixes
- Dynamic armor is now loaded in React Suspense to avoid race conditions
- Re-ordered cards on the home page so that it makes a little bit more sense
- The warnings section of the Tankopedia pages are now padded on the sides
- The calibers in the antagonist gun selector are now rounded correctly
- Tank class icons are now colored and sized properly again in the header
## Technical Changes
- Removed the extreme JPEG compression for the tank textures
- Buffers of the same length are now assumed to be identical when diffing lmao I hope this doesn't go wrong
+19
View File
@@ -0,0 +1,19 @@
# BlitzKit 1.26.3
## Features
- The bot now notifies you if your username/clan search query is too long or short instead of just showing a generic no results message
- Reduced the popular tanks list on the home page back to 8 tanks
- `/owned-tanks` now links to the corresponding Tankopedia pages
- Added more funky rich presence statuses
## Fixes
- The website no longer crashes when turning on Static Armor mode
- `/stats` and other commands with tank filter commands now work properly once again
- The swap button in the Tankopedia pages no longer crashes switching between tech tree and non-tech tree tanks
- `/owned-tanks` and `/auction` now chunk text better to meet Discord's 2000 character limit
- Tanks with fixes camouflages like the M60 no longer have the option to disable the camouflage of in the Compare tool
- The pointer cursor and underscore once again appear now in the tank search in the Compare tool
- Opaque mode in the Dynamic armor mode once again works instantly
- The rich presence/status/bio of the bot once again counts all servers instead of just the ones the single shard is responsible for
+15
View File
@@ -0,0 +1,15 @@
# BlitzKit 1.26.4
## Features
- `/auction` now warns if a tank stock is at or below 500 and now strikes through the tank name if its out
- Added advanced armor highlighting mode
- Green: penetration
- Red: blocked
- Pink: ricochet
- Cyan: penetration with 3 calibers rule
- Optimized the armor highlighting for about a 15% increase in frame rate
## Fixes
- Added 5000 doses of adrenaline, incase the BOT DECIDES TO DIE AGAIN FOR NO REASON
+1 -1
View File
@@ -2,7 +2,7 @@
This release of Blitzkrieg focuses mainly on **performance**. Blitzkrieg now uses **Satori** and **resvg** under the hood to render images resulting in a solid **2x to 8x performance boost** depending on the situation.
This only applies to `/today` and /stats` as they're the only commands that render an image currently.
This only applies to `/today` and `/stats` as they're the only commands that render an image currently.
We're working further on **performance optimizations**. Our goal is to deliver a message within **3 seconds or less**. We're close and we'll get there!
-30
View File
@@ -1,30 +0,0 @@
---
# https://vitepress.dev/reference/default-theme-home-page
layout: home
hero:
name: 'BlitzKit'
text: Everything Blitz, right in Discord
tagline: All-in-one Discord bot for everything World of Tanks Blitz
image:
src: '/assets/images/hero.png'
alt: 'blitzkit'
actions:
- theme: brand
text: Add to Discord Server
link: /guide/invite
- theme: alt
text: Guide
link: /guide/introduction
features:
- title: Clean and Efficient UI
icon: 🚀
details: BlitzKit is where concise meets efficient. Get the information you need in the way you want.
- title: Endless Possibilities
icon: 🛠
details: With endless ways to customize the output, it's guaranteed that you'll always get the information you need.
- title: Easy to Use
icon: 💻
details: Leveraging Discord's, Blitz Stars', and Wargaming's powerful APIS, Blitzkit does all the hard work for you.
---
+18 -1
View File
@@ -130,6 +130,23 @@ Your consent to this Privacy Policy followed by Your submission of such informat
The Company will take all steps reasonably necessary to ensure that Your data is treated securely and in accordance with this Privacy Policy and no transfer of Your Personal Data will take place to an organization or a country unless there are adequate controls in place including the security of Your data and other personal information.
### California Consumer Privacy Act (CCPA)
If you are a California resident, you have specific rights regarding your personal information under the California Consumer Privacy Act (CCPA). This section describes your CCPA rights and explains how to exercise those rights.
#### Rights under CCPA
Under CCPA, California residents have the following rights:
1. Right to Know: You have the right to request that we disclose certain information to you about our collection and use of your personal information over the past 12 months.
2. Right to Delete: You have the right to request that we delete any of your personal information that we collected from you and retained, subject to certain exceptions.
3. Right to Opt-Out of Sale: You have the right to opt-out of the sale of your personal information. Note that we do not sell personal information as defined by the CCPA.
4. Right to Non-Discrimination: You have the right not to be discriminated against for exercising any of your CCPA rights.
#### Exercising Your CCPA Rights
To exercise your rights under CCPA and to opt-out of the sale of your personal information, you can click on the "Do not sell my personal information" link in the footer of any page on our website.
### Delete Your Personal Data
You have the right to delete or request that We assist in deleting the Personal Data that We have collected about You.
@@ -188,4 +205,4 @@ You are advised to review this Privacy Policy periodically for any changes. Chan
If you have any questions about this Privacy Policy, You can contact us:
- By visiting this page on our website: [https://discord.gg/nDt7AjGJQH](https://discord.gg/nDt7AjGJQH)
- By emailing blitzkriegautomation@gmail.com
+1 -1
View File
@@ -1,4 +1,4 @@
# BLitzKit Terms and Conditions
# BlitzKit Terms and Conditions
Last updated: May 23, 2024
Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

-181
View File
@@ -1,181 +0,0 @@
![Neutrality Index](https://i.imgur.com/XcGy5rh.png 'Neutrality Index')
# BlitzKit Neutrality Index
> [!CAUTION]
> This is a working draft and is incomplete. Do not implement.
## Why BkPM over WN8?
BkPM addresses a lot of issues with WN8:
- WN8 incorporates win rate into the metric; a metric like this must be a correlate of win rate, not a dependent
- The weights and biases are not dynamic and their formulation is not transparent
- WN8 values do not asymptote under extreme conditions resulting in meaninglessly large or negative values
- WN8 has too many digits; it doesn't make sense to differentiate between players with sub-one-thousandth's worth of precision
## Preface
The goal of this paper is to deliver a numerical metric for judging player performance by converging all statistics down to a single, easy-to-consume, human-readable value. This must be a mathematically elegant process that yields a reasonable number that asymptotes under extreme situations. More specifically, this value should equal 0, on average across all players and tanks. Extreme cases should be mapped onto the range $[-1, 1]$. To attain the human readable value, we will be transforming the raw metric to a scale of $[0, 2s]$ using $M=\operatorname{round}\left(sR+s\right)$ where $M$ is the resulting human-readable metric, $s = 100$ is an arbitrary scaling factor, and $R$ is the raw metric.
Wargaming provides cumulative statistics for players and tanks. The big idea is to average all provided statistics together to get one unified value. We will also incorporate other composite values based on these default statistics into the average. However, averaging this way poses two problems:
1. All statistics do not scale equally. For example, good players performing with 3,000 damage per battle could also attain a kill-to-death ratio of 3. But averaging them as-is would imply damage per battle has weight 1000 times that of the kill ratio. In other words, damage per battle would totally diminish the impact of kill ratios on the average. Hence, there’s a need for normalization. Normalization, in most cases, simply means dividing by the corresponding averages.
2. All statistics are not equally important. For example, dealing damage is arguably far more important than base capture; hence, it does not make sense to average them together. But this does not mean we totally discard this value as it does make an impact albeit very small. Instead, we will be incorporating weighted averages where the weights will be calculated through correlational analysis against win rate. Specifically, the weights of the statistics will be the corresponding correlation coefficient, r. One caveat to look out for is that r can be negative for statistics like damage received which must be minimized. Fortunately, negative weights are okay and make intuitive sense; after all, bleeding health should punish the metric.
## Computation
$\mu$ is a simple weighted average of statistics across all players where $C_{battles}$ is the number of player battles and $x_{i}$ is the statistic for player $i$.
$$
\mu=\frac{\sum_{ }^{ }C_{battles}x_{i}}{\sum_{ }^{ }C_{battles}}
$$
$\sigma$ is the standard deviation of the statistic across all players. Below is a refresher of the formula where $x_{i}$ is the statistic for player $i$ and $n$ is the number of players (or the sample size).
$$
\sigma=\sqrt{\frac{\sum_{ }^{ }\left(x_{i}-\mu\right)^{2}}{n}}
$$
A normalized atomic statistic is provided by the equation below where $x$ is the player's statistic being evaluated, $\mu$ is the mean of the statistic across all players, and $\sigma$ is the standard deviation of the statistic across all players. During computation, one may pre-compute and reuse $\gamma=x-\mu$.
$$
A=\frac{x-\mu}{\left|x-\mu\right|}\left(1-e^{-\frac{1}{2}\left(\frac{x-\mu}{\sigma}\right)^{2}}\right)=\frac{\gamma}{\left|\gamma\right|}\left(1-e^{-\frac{1}{2}\left(\frac{\gamma}{\sigma}\right)^{2}}\right)
$$
$r$ is the correlation coefficient of the statistic across all players. Below is a refresher of the formula where $x_{i}$ is the statistic for player, $y_{i}$ is the player's win rate, $\mu$ is the mean of the statistic across all players, and $\overline{y}$ is the average win rate across all players.
$$
r=\frac{\sum_{ }^{ }\left(x_{i}-\mu\right)\left(y_{i}-\overline{y}\right)}{\sqrt{\sum_{ }^{ }\left(x_{i}-\mu\right)^{2}\sum_{ }^{ }\left(y_{i}-\overline{y}\right)^{2}}}
$$
$m$ is the slope of the least squares regression line. Below is a refresher of the formula where $x_i$ is the player's statistic being evaluated, $y_i$ is the player's win rate, and $n$ is the number of players (or the sample size).
$$
m=\frac{n\sum_{ }^{ }x_{i}y_{i}-\sum_{ }^{ }x_{i}\sum_{ }^{ }y_{i}}{n\sum_{ }^{ }x_{i}^{2}-\left(\sum_{ }^{ }x_{i}\right)^{2}}
$$
The weight of an atomic statistic is $w$ where $r$ is the correlation coefficient between the statistic and win rate, $\mu$ is the mean of the statistic across all players, and $m$ is the slope of the least squares regression line.
$$
w=\left|r\right|\mu m
$$
The raw metric is the weighted average of all atomic statistics.
$$
R=\frac{\sum_{ }^{ }wA}{\sum_{ }^{ }w}
$$
The final human-readable metric will be passed through the following transformation where $s=100$.
$$
M=\operatorname{round}\left(sR+s\right)
$$
## Constants
A few constants that the rest of the paper depends on. Available under the “constants” object.
```ts
players_per_team = 7;
```
## Wargaming-Provided Statistics
Wargaming provides the following pieces of statistics for each player and tank. These are cumulative; in other words, they simply add up over time and it is up to the recorder to contrast two snapshots of said statistics in time to get periodical statistics. Available under the “all” object.
```ts
battles;
capture_points;
damage_dealt;
damage_received;
dropped_capture_points;
frags; // kills
frags8p; // frags against tanks at or above tier 8
hits;
losses;
max_frags;
max_frags_tank_id;
max_xp;
max_xp_tank_id;
shots;
spotted;
survived_battles;
win_and_survived;
wins;
xp;
```
## Composite Statistics
Raw statistics from Wargaming can be combined into more meaningful numeric snippets. Most of these values are divided by all.battles indicating they are the average across all battles in the given period. Assigned under the “composite” object.
```ts
win_rate = all.wins / all.battles;
capture_points = all.capture_points / all.battles;
damage_dealt = all.damage_dealt / all.battles;
damage_received = all.damage_received / all.battles;
dropped_capture_points = all.dropped_capture_points / all.battles;
frags = all.frags / all.battles;
hits = all.hits / all.battles;
shots = all.shots / all.battles;
spotted = all.spotted / all.battles;
survival_rate = all.survived_battles / all.battles;
xp = all.xp / all.battles;
damage_ratio = all.damage_dealt / all.damage_received;
accuracy = all.hits / all.shots;
damage_per_hit = composite.damage_dealt / composite.hits;
```
## Normalized Statistics
We will be using the standard deviation and the mean of each metric supplied to this expression below to normalize each metric in the range $[-1, 1]$. The goal is to map the mean of the statistic to $0$, and the extrema to $-1$ and $1$ (whichever direction that may be in).
$$
\frac{x-\mu}{\left|x-\mu\right|}\left[1-e^{-\frac{1}{2}\left(\frac{x-\mu}{\sigma}\right)^{2}}\right]
$$
During computation, one may pre-compute and reuse $\gamma=x-\mu$ in:
$$
\frac{\gamma}{\left|\gamma\right|}\left[1-e^{-\frac{1}{2}\left(\frac{\gamma}{\sigma}\right)^{2}}\right]
$$
Here is an example of HisRoyalFatness scoring a very high $0.988$ with the frags metric with his [XM551 Sheridan](https://blitzkit.app/tools/tankopedia/20257). $\mu=0.7694$, $\sigma=0.2492$, and $x=1.5113$, HisRoyalFatness' average frags. At $x = 0$ (if the player manages to get no frags), the metric drops nearly to $-1$ and vice versa. And, at $x=\mu$, the metric is exactly $0$.
![](https://i.imgur.com/aIUQmGF.png)
### Derivation
We start with the standard normal distribution formula
$$
\frac{1}{\sigma\sqrt{2\pi}}e^{-\frac{1}{2}\left(\frac{x-\mu}{\sigma}\right)^{2}}
$$
![](https://i.imgur.com/a10m8Xz.png)
We remove the coefficient to transform the range of the function from $\left(0,\frac{1}{\sigma\sqrt{2\pi}}\right]$ to $\left(0,1\right]$. From this point onwards, I will be using the substitution $\gamma=x-\mu$.
$$
e^{-\frac{1}{2}\left(\frac{\gamma}{\sigma}\right)^{2}}
$$
![](https://i.imgur.com/67DO69i.png)
Then we mirror the function across $y=\frac{1}{2}$ to allow the function to be rewarding as you reach the extrema.
$$
1-e^{-\frac{1}{2}\left(\frac{\gamma}{\sigma}\right)^{2}}
$$
![](https://i.imgur.com/1J0cTyb.png)
Finally, to punish the function as you approach the left extreme, we flip the sign of the function when $x<\mu$. One may choose to implement this as a piece-wise function (especially when implementing this in a computer), but I have chosen to represent it as one unified coefficient in this paper.
$$
\frac{\gamma}{\left|\gamma\right|}\left[1-e^{-\frac{1}{2}\left(\frac{\gamma}{\sigma}\right)^{2}}\right]
$$
![](https://i.imgur.com/O8stVlJ.png)
-99
View File
@@ -1,99 +0,0 @@
# Cedilla Object Notation
1. JSON compressed as CDON, written directly to disk (a direct 50% reduction).
2. CDON further compressed with LZ4 (a clean 90% reduction).
3. The raw JSON file as fetched from a random data source.
4. CDON decompressed once again to JSON. Note that this file is a little larger than the original JSON file as it contains a lot more decimal places due to float precision (this shouldn't affect the size in memory).
![an image of file sizes](https://i.imgur.com/AHJiFpq.png)
FS stands for "Fast String".
```cpp
primary CedillaObjectNotation {
utf8"CDON" magic;
Header header;
primary Body<header.fsFormat> body;
}
Header {
uint16 version; // always 1
FSFormat fsFormat;
StringTable<fsFormat> stringTable;
}
FSFormat enum<uint8> {
Format8,
Format16,
Format32,
}
FSPrimitive<FSFormat fsFormat> match(fsFormat) {
Format8: uint8;
Format16: uint16;
Format32: uint32;
}
StringTable<FSFormat fsFormat> {
FSPrimitive<fsFormat> count;
String[count] strings;
}
Body<FSFormat fsFormat> {
primary Value<fsFormat> object;
}
ValueType enum<uint8> {
Null,
Boolean,
Uint8,
Uint16,
Uint32,
Uint64,
Int8,
Int16,
Int32,
Int64,
Float32,
Float64,
String,
FS,
Array,
Object,
}
String {
uint32 length;
primary utf8<length> value;
}
StringValue Value & { (ValueType.String | ValueType.FS) type }
Value<FSFormat fsFormat> {
ValueType type;
match<type> {
Boolean: { uint8 value; }
Uint8: { uint8 value; }
Uint16: { uint16 value; }
Uint32: { uint32 value; }
Uint64: { uint64 value; }
Int8: { int8 value; }
Int16: { int16 value; }
Int32: { int32 value; }
Int64: { int64 value; }
Float32: { float32 value; }
Float64: { float64 value; }
String: { String value; }
FS: { FSPrimitive<fsFormat> index; }
Array: {
uint32 count;
Value[count] values;
}
Object: {
uint32 count;
StringValue[count] keys;
Value[count] values;
}
}
}
```
+172
View File
@@ -0,0 +1,172 @@
# KitScore
## Memo
KitScore is a performance metric that makes sense. This metric can be applied to any game, virtual or real. Specific pieces of information relating directly to World of Tanks Blitz will be provided within parentheses and with a "WoTB:" prefix.
## Consumption of Observations
KitScore is driven solely by the behavior of other players and finding meaning of a new observation within a pool of condensed data based on previously observed data. Generally, we will be provided with a number of statistics (the $x_i$ of an observation) per player (WoTB: $x_\text{frags}$, $x_\text{xp}$, $x_\text{spots}$, etc.) including a target statistic (the $x_j$ of an observation) that all other statistics try to maximize (WoTB: "winrate" which we will defined later as $x_j$).
If the statistics are cumulative, they will have to be normalized (WoTB: statistics fetched from Wargaming are indeed cumulative even for a single player; $x_\text{frags}=\frac{\Sigma x_\text{frags}}{\Sigma x_\text{battles}}$, $x_\text{spots}=\frac{\Sigma x_\text{spots}}{\Sigma x_\text{battles}}$, $x_j=\frac{\Sigma x_\text{wins}}{\Sigma x_\text{battles}}$, etc.). Each player will have such average statistics, giving us many points of data to work with. If the statistics are not cumulative, then you will be dealing with multiple observations per player which will only help improve accuracy.
## It's Impossible to "Find What Makes the Metric Tick"
WN8, a widely adopted metric in the World of Tanks and World of Tanks Blitz communities is plagued with problems. One of them being that people often find and exploit "what makes the metric tick." In other words, people easily exploit the rudimentary nature of WN8 to score undeservedly high.
In WN8, the gains of some rewarding categories overshadow the losses of others though that may not necessarily be in the best interest in maximizing winrate. KitScore makes this nearly impossible as it punishes a player for scoring well solely high in a certain category. You will never exploit KitScore. Period.
## Generating Reasonable Values
TODO: there's like no runaway cases
## Symbol Interpretation
| Symbol | Interpretation |
| ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| $A_\text{human}$ | The human readable version of the raw score $A$. |
| $A$ | The raw KitScore. |
| $C$ | An arbitrary coefficient. |
| $I$ | The number of statistics including the target statistic. This means that there are $I-1$ entries for $x_i$ and $1$ entry for $y$ for each observation. |
| $i$ | The statistic index of where there are $I$ entries. |
| $j$ | A discriminator for the target statistic. There may never be more than $1$ entries for $j$. |
| $m$ | The degree of the polynomial regression. |
| $n$ | The number of observations. |
| $a$ | An "atomic" score which is a function of the $i$th statistic. |
| $w$ | The weight of the $i$th atomic statistic. |
## Computing the Score
The final metric $A_\text{human}$ is an arbitrarily scaled value of the raw score $A$ where $C$ is any coefficient of your liking. BlitzKit uses $C=10^3$.
$$
A_\text{human}=CA
$$
The final metric $A$ is the weighted average of individual scores $a$ which are functions of the $i$th statistic excluding the target statistic $j$ itself.
$$
A=\frac{\sum_{i \neq j} w_{i}a_{i}}{\sum_{i \neq j} w_{i}}
$$
The "atomic" score $a$ is the difference between the predicted target statistic $P_{i \leftrightarrow j}(x_i)$ acquired using a polynomial regression of degree $m$ and the actual newly observed $x_j$.
$$
a_i=x_j-P_{i \leftrightarrow j}(x_i)
$$
The polynomial regression of $m$th degree can be written as follows:
$$
P(x)=\beta_0x^0+\beta_1x^1+\beta_2x^2+\dots+\beta_mx^m
$$
Polynomial regression coefficients $\beta$ can be acquired through basic linear algebra where an $m \times m$ of constants is multiplied with $m \times 1$ of unknowns which equals another $m \times 1$ of constants.
```math
\begin{bmatrix}
\sum_{k=1}^n x_i^0 & \sum_{k=1}^n x_i^1 & \sum_{k=1}^n x_i^2 & \dots & \sum_{k=1}^n x_i^m \\
\sum_{k=1}^n x_i^1 & \sum_{k=1}^n x_i^2 & \sum_{k=1}^n x_i^3 & \dots & \sum_{k=1}^n x_i^{m+1} \\
\sum_{k=1}^n x_i^2 & \sum_{k=1}^n x_i^3 & \sum_{k=1}^n x_i^4 & \dots & \sum_{k=1}^n x_i^{m+2} \\
\vdots & \vdots & \vdots & \ddots & \vdots \\
\sum_{k=1}^n x_i^m & \sum_{k=1}^n x_i^{m+1} & \sum_{k=1}^n x_i^{m+1} & \dots & \sum_{k=1}^n x_i^{2m} \\
\end{bmatrix}
\begin{bmatrix}
\beta_0 \\
\beta_1 \\
\beta_2 \\
\vdots \\
\beta_m
\end{bmatrix}
=
\begin{bmatrix}
\sum_{k=1}^n x_jx_i^0 \\
\sum_{k=1}^n x_jx_i^1 \\
\sum_{k=1}^n x_jx_i^2 \\
\vdots \\
\sum_{k=1}^n x_jx_i^m
\end{bmatrix}
```
The weight $w$ is a slice of the Pearson corelation matrix. The numerator is the corelation between the $i$th statistic and the target statistic $j$ while the denominator the sum of the corelations between the $i$th statistic and all statistics but the target statistic $j$.
$$
w_{i}=\frac{r_{i\leftrightarrow j}^2}{\sum_{i_{k}\neq j}r_{i\leftrightarrow i_{k}}^2}
$$
## Understanding the Corelation Matrix
Forming the corelation matrix will create an $I \times I$ matrix where. This matrix is best represented as a table. The example below illustrates a matrix/table for $I=4$ which includes $3$ entries for $i$ statistics and $1$ entry for the $j$ target statistic.
| | $x_1$ | $x_2$ | $x_3$ | $x_j$ |
| ----- | --------------------------- | --------------------------- | --------------------------- | --------------------------- |
| $x_1$ | $1$ | $r_{1 \leftrightarrow 2}^2$ | $r_{1 \leftrightarrow 3}^2$ | $r_{1 \leftrightarrow j}^2$ |
| $x_2$ | $r_{1 \leftrightarrow 2}^2$ | $1$ | $r_{2 \leftrightarrow 3}^2$ | $r_{2 \leftrightarrow j}^2$ |
| $x_3$ | $r_{1 \leftrightarrow 3}^2$ | $r_{2 \leftrightarrow 3}^2$ | $1$ | $r_{3 \leftrightarrow j}^2$ |
| $x_j$ | $r_{1 \leftrightarrow j}^2$ | $r_{2 \leftrightarrow j}^2$ | $r_{3 \leftrightarrow j}^2$ | $1$ |
It should not be a surprise to find $r_{i \leftrightarrow i}^2=1$ which forms a neat diagonal across the table. Note that there are many duplicates within the $I^2$ entries. The "bottom-right triangle" can be eliminated to remove redundancies leaving us with only $\frac{I(I+1)}{2}$ fields occupied.
| | $x_1$ | $x_2$ | $x_3$ | $x_j$ |
| ----- | ----- | --------------------------- | --------------------------- | --------------------------- |
| $x_1$ | $1$ | $r_{1 \leftrightarrow 2}^2$ | $r_{1 \leftrightarrow 3}^2$ | $r_{1 \leftrightarrow j}^2$ |
| $x_2$ | | $1$ | $r_{2 \leftrightarrow 3}^2$ | $r_{2 \leftrightarrow j}^2$ |
| $x_3$ | | | $1$ | $r_{3 \leftrightarrow j}^2$ |
| $x_j$ | | | | $1$ |
When programming this matrix into an array, $r_{i \leftrightarrow i}^2=1$ will be redundant. I recommend condensing the matrix into an array of size $\frac{I(I+1)}{2}+I=\frac{I(I-1)}{2}$ to avoid all redundant entries. For $I=4$, the array will look something like the one illustrated below (here, $j=4$).
$$
[r_{1 \leftrightarrow 2}^2, r_{1 \leftrightarrow 3}^2, r_{1 \leftrightarrow 4}^2, r_{2 \leftrightarrow 3}^2, r_{2 \leftrightarrow 4}^2, r_{3 \leftrightarrow 4}^2]
$$
## Understanding the Weights
Some may find the weight equation arbitrary; it evidently isn't. The goal of $w$ is to eliminate over-rewarding the same behavior represented in multiple statistics. It makes all atomic statistics concurrent by leveraging the Pearson corelation matrix.
A simplified example will clarify the idea. First, we compute a Pearson corelation matrix for $I=3$ statistics. We have $x_1$ and $x_2$, the statistics that are trying to maximize $x_j$. Reminder: a Pearson corelation matrix finds the $r$ value not only between $x_i$ and $x_j$ but also between all combinations of $x_i$ and themselves. Here, $r^2$ is calculated using polynomial regression corelation analysis to the $m$th degree.
| | $x_1$ | $x_2$ | $x_3$ | $x_j$ |
| ----- | ----- | ----------- | ----- | ----- |
| $x_1$ | $1$ | $\boxed{0}$ | $0$ | $1$ |
| $x_2$ | | $1$ | $0$ | $1$ |
| $x_3$ | | | $1$ | $1$ |
| $x_j$ | | | | $1$ |
In the case above, $r^2_{1 \leftrightarrow 2}=0$ meaning that both statistics have absolutely nothing to do with each other. Hence, the player will be awarded for optimizing both individually. And since $r^2_{1 \leftrightarrow j}=r^2_{2 \leftrightarrow j}$, they should both be rewarded equally; in other words, they should have equal weights.
$$
w_{1}=\frac{1}{1 + 0 + 0}=1
$$
$$
w_{2}=\frac{1}{0 + 1 + 0}=1
$$
$$
w_{3}=\frac{1}{0 + 0 + 1}=1
$$
Now consider a case where $x_1$ and $x_2$ are fully correlated. It would be a bad idea to reward them equally; hence, their weights suffer.
| | $x_1$ | $x_2$ | $x_3$ | $x_j$ |
| ----- | ----- | ----------- | ----- | ----- |
| $x_1$ | $1$ | $\boxed{1}$ | $0$ | $1$ |
| $x_2$ | | $1$ | $0$ | $1$ |
| $x_3$ | | | $1$ | $1$ |
| $x_j$ | | | | $1$ |
$$
w_{1}=\frac{1}{1 + 1 + 0}=0.5
$$
$$
w_{2}=\frac{1}{1 + 1 + 0}=0.5
$$
$$
w_{3}=\frac{1}{0 + 0 + 1}=1
$$
-5
View File
@@ -1,5 +0,0 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
-30
View File
@@ -1,30 +0,0 @@
import { createVanillaExtractPlugin } from '@vanilla-extract/next-plugin';
const withVanillaExtract = createVanillaExtractPlugin({ tests: /\.css$/ });
/** @type {import('next').NextConfig} */
const nextConfig = {
...withVanillaExtract({
webpack: (config) => {
config.module.rules.push({
test: /\.glsl$/,
type: 'asset/source',
});
return config;
},
}),
async headers() {
return [
{
source: '/(.*)?',
headers: [{ key: 'X-Frame-Options', value: 'DENY' }],
},
];
},
distDir: 'dist/website',
reactStrictMode: false,
};
export default nextConfig;
+35 -97
View File
@@ -1,114 +1,52 @@
{
"name": "blitzkit",
"version": "1.20.3",
"private": true,
"version": "1.26.4",
"description": "🎉 Tools for everything World of Tanks Blitz",
"main": "src/server.ts",
"type": "module",
"types": "./types.d.ts",
"workspaces": [
"packages/*"
],
"scripts": {
"build:averages": "bun scripts/averages",
"build:db": "prisma generate",
"build:bot": "vite-node --script scripts/build --production",
"build:website": "yarn build:db && yarn build:sitemap && next build",
"build:sitemap": "vite-node --script scripts/sitemap",
"build:assets": "cd packages/scripts && bun run build:assets",
"build:averages": "bun --filter=@blitzkit/scripts run build:averages",
"build:bot": "cd packages/scripts && bun run build:bot",
"build:website": "bun build:prisma --no-hints && cd packages/website && bun run build",
"build:prisma": "prisma generate",
"build:sitemap": "bun scripts/sitemap.ts",
"build:docs": "vitepress build docs",
"build:ratingleaderboard": "vite-node --script scripts/buildRatingLeaderboard",
"build:assets": "vite-node --max_old_space_size=16384 --script scripts/buildAssets/index",
"test": "vite-node --script scripts/test",
"test2": "vite-node --script scripts/test2",
"dev:bot": "vite-node --script scripts/build && yarn start:bot",
"build:ratingleaderboard": "cd packages/scripts && bun run build:ratingleaderboard",
"dev:bot": "bun run build:bot --dev && bun start:bot",
"start:bot": "bun dist/bot/main.js",
"dev:docs": "vitepress dev docs",
"dev:website": "next dev",
"start:bot": "node --enable-source-maps dist/bot/index.cjs",
"start:website": "next start",
"dev:website": "cd packages/website && bun run dev",
"dev:api": "bun --filter=@blitzkit/api run dev",
"setup:depotdownloader": "bun --filter=@blitzkit/scripts run setup:depotdownloader",
"setup:patches": "bun --filter=@blitzkit/scripts run setup:patches",
"start:website": "bun --filter=@blitzkit/website run start",
"host:docs": "vitepress preview docs",
"publish:ratingleaderboard": "vite-node --script scripts/buildRatingLeaderboard --publish",
"setup:patches": "vite-node --script scripts/applyPatches",
"lint": "npx tsc",
"lint:website": "next lint",
"lint": "tsc",
"lint:website": "cd packages/website && bun run lint",
"format": "prettier --write \"**/*.@(json|js|jsx|css|md|ts|tsx|html|xml|yml|gltf)\"",
"lint:version": "vite-node --script scripts/checkVersionMissMatch",
"knip": "knip",
"update": "yarn upgrade --latest",
"setup:depotdownloader": "vite-node --script scripts/setupDepotDownloader",
"tunnel": "cloudflared tunnel --url http://localhost:3000",
"discoverids": "scripts/discoverIds.ts"
"discoverids": "scripts/discoverIds.ts",
"build:protos": "bun packages/scripts/src/protos.ts",
"preview:website": "cd packages/website && bun run preview",
"build:reviews": "cd packages/scripts && bun build:reviews",
"build:ids": "cd packages/scripts && bun build:ids"
},
"license": "MIT",
"dependencies": {
"@gltf-transform/core": "^3.9.0",
"@octokit/plugin-throttling": "^8.1.3",
"@octokit/rest": "^20.0.1",
"@prisma/client": "^5.4.1",
"@radix-ui/colors": "^3.0.0",
"@radix-ui/react-icons": "^1.3.0",
"@radix-ui/themes": "^3.0.1",
"@react-three/drei": "^9.93.0",
"@react-three/fiber": "^8.15.14",
"@resvg/resvg-js": "^2.4.1",
"@types/three": "^0.160.0",
"@vanilla-extract/css": "^1.13.0",
"adm-zip": "^0.5.12",
"bepaint": "^0.1.0-beta.3",
"decompress": "^4.2.1",
"discord.js": "^14.13.0",
"dotenv": "^16.3.1",
"esbuild": "^0.19.3",
"express": "^4.18.2",
"false": "^0.0.4",
"fuzzysort": "^2.0.4",
"googleapis": "^134.0.0",
"immer": "^10.0.2",
"js-yaml": "^4.1.0",
"lodash": "^4.17.21",
"lz4js": "^0.2.0",
"markdown-escape": "^2.0.0",
"markdown-to-jsx": "^7.4.7",
"next": "^14.1.0",
"parse-dds": "^1.2.1",
"pickleparser": "^0.2.1",
"postprocessing": "^6.34.1",
"progress": "^2.0.3",
"protobufjs": "^7.2.6",
"react": "^18.2.0",
"react-device-detect": "^2.2.3",
"react-dom": "^18.2.0",
"react-fuzzysort": "^1.0.1",
"react-promise-suspense": "^0.3.4",
"satori": "^0.10.13",
"sharp": "^0.33.4",
"three": "0.159.0",
"three-stdlib": "^2.29.4",
"vite-node": "^0.34.5",
"vitepress": "^1.0.0-rc.20",
"vitepress-plugin-auto-sidebar": "^1.1.0",
"yaml": "^2.3.4",
"zustand": "^4.4.1"
"lodash-es": "^4.17.21"
},
"devDependencies": {
"@total-typescript/ts-reset": "^0.5.1",
"@types/adm-zip": "^0.5.5",
"@types/decompress": "^4.2.7",
"@types/escape-html": "^1.0.2",
"@types/express": "^4.17.18",
"@types/js-yaml": "^4.0.8",
"@types/lodash": "^4.14.199",
"@types/lz4": "^0.6.4",
"@types/lz4js": "^0.2.1",
"@types/markdown-escape": "^1.1.0",
"@types/node": "^20.6.5",
"@types/parse-dds": "^1.0.3",
"@types/pngjs": "^6.0.4",
"@types/progress": "^2.0.7",
"@types/react": "^18.2.22",
"@vanilla-extract/next-plugin": "^2.3.1",
"compare-versions": "^6.1.0",
"crc": "^4.3.2",
"fast-xml-parser": "^4.3.2",
"knip": "^3.4.0",
"lz4": "^0.6.5",
"prettier": "^3.0.3",
"prisma": "^5.4.1",
"typescript": "^5.4.5"
},
"packageManager": "[email protected]"
"@types/bun": "latest",
"@types/lodash-es": "^4.17.12",
"@types/node": "^22.5.4",
"prettier": "^3.3.3",
"prisma": "^6.0.0",
"typescript": "^5.5.4"
}
}
+25
View File
@@ -0,0 +1,25 @@
{
"name": "@blitzkit/bot",
"private": true,
"type": "module",
"types": "src/types.d.ts",
"dependencies": {
"@blitzkit/core": "workspace:*",
"satori": "^0.10.14",
"@resvg/resvg-js": "^2.6.2",
"discord.js": "^14.16.3",
"react": "^18.3.1",
"@radix-ui/colors": "^3.0.0",
"fuzzysort": "^2.0.4",
"bepaint": "^0.1.0-beta.3",
"dotenv": "^16.4.5",
"markdown-escape": "^2.0.0"
},
"scripts": {
"dev": "bun --watch src/main.ts",
"start": "bun src/main.ts"
},
"devDependencies": {
"@types/markdown-escape": "^1.1.3"
}
}
@@ -7,7 +7,7 @@ const subcommands = [
'introduction',
'invite',
'timezones',
'creators',
'credits',
] as const;
type Subcommand = (typeof subcommands)[number];
@@ -16,14 +16,11 @@ const DOCS: Record<Subcommand, string> = {
introduction: 'guide/introduction',
invite: 'guide/invite',
timezones: 'guide/timezones',
creators: 'guide/creators',
credits: 'about/credits',
};
export const aboutCommand = new Promise<CommandRegistry>(async (resolve) => {
resolve({
inProduction: true,
inPublic: true,
command: createLocalizedCommand('about', [
{ subcommand: 'commands' },
...subcommands.map((subcommand) => ({ subcommand })),
@@ -37,7 +34,6 @@ export const aboutCommand = new Promise<CommandRegistry>(async (resolve) => {
return t`bot.commands.about.subcommands.commands.body${(
await Promise.all(COMMANDS_RAW)
)
.filter((registry) => registry.inPublic && registry.inProduction)
.sort((a, b) =>
(a.command.name_localizations?.[interaction.locale] ??
a.command.name) <
+138
View File
@@ -0,0 +1,138 @@
import {
BlitzTankClass,
Region,
regionToRegionSubdomain,
} from '@blitzkit/core';
import { tankDefinitions } from '../core/blitzkit/nonBlockingPromises';
import { chunkLines } from '../core/discord/chunkLines';
import { createLocalizedCommand } from '../core/discord/createLocalizedCommand';
import { translator } from '../core/localization/translator';
import { CommandRegistry } from '../events/interactionCreate';
interface Auction {
count: number;
has_next: boolean;
results: Result[];
}
type Result =
| {
id?: number;
type: 'vehicle';
countable?: boolean;
entity?: Entity;
initial_count: number;
current_count: number;
saleable?: boolean;
available_from?: Date;
available_before?: Date;
price?: Price;
next_price?: Price | null;
available: true;
display?: boolean;
next_price_datetime: Date;
next_price_timestamp: number;
}
| {
available: false;
type: 'vehicle';
};
interface Entity {
id: number;
name: string;
nation: string;
subnation: string;
use_subnation_flag: boolean;
type_slug: BlitzTankClass;
level: number;
roman_level: string;
user_string: string;
image_url: string;
preview_image_url: string;
is_premium: boolean;
is_collectible: boolean;
}
interface Price {
currency: Currency;
value: number;
}
interface Currency {
name: 'gold';
count: number;
title: 'Gold';
image_url: string;
sizes: unknown;
type: 'currency';
}
const WARNING_COUNT = 500;
export const auctionCommand = new Promise<CommandRegistry>((resolve) => {
resolve({
command: createLocalizedCommand('auction'),
async handler(interaction) {
const { t, translate } = translator(interaction.locale);
const awaitedTankDefinitions = await tankDefinitions;
const region: Region = 'com';
const pageSize = 80;
const saleable = true;
const data = await fetch(
`https://${regionToRegionSubdomain(
region,
)}.wotblitz.com/en/api/events/items/auction/?page_size=${
pageSize
}&type[]=vehicle&saleable=${saleable}`,
).then((response) => response.json() as Promise<Auction>);
const saleableTanks = data.results.filter((result) => result.available);
if (saleableTanks.length === 0) {
return t`bot.commands.auction.errors.no_auction`;
}
const nextPricesTimestamp = saleableTanks[0].next_price_timestamp;
const title = `# ${t`bot.commands.auction.body.title`}`;
const subtitle = `${translate('bot.commands.auction.body.subtitle', [
`${saleableTanks.length} / ${data.results.length}`,
`<t:${nextPricesTimestamp}:R>`,
'<https://wotblitz.com/auction/>',
])}`;
const body = saleableTanks.map((data, index) => {
const tank = awaitedTankDefinitions.tanks[data.entity!.id];
if (!tank) return '';
const name = `[${tank.name}](<https://blitzkit.app/tools/tankopedia/${
tank.id
}>)`;
const next = translate('bot.commands.auction.body.next', [
`<:gold:1317173197082333244> ${data.next_price!.value.toLocaleString(
interaction.locale,
)}`,
]);
const available = translate('bot.commands.auction.body.available', [
data.current_count.toLocaleString(interaction.locale),
data.initial_count.toLocaleString(interaction.locale),
]);
const nextLine = `\n-# ${next}`;
const isOut = data.current_count === 0;
const outString = isOut ? '~~' : '';
const isLow = data.current_count <= WARNING_COUNT;
return `${index + 1}. ${
outString
}${name} <:gold:1317173197082333244> ${data.price!.value.toLocaleString(
interaction.locale,
)}${outString}\n-#${isLow ? ' ‼️ ' : ' '}${available}${isOut ? '' : nextLine}`;
});
const header = `${title}\n${subtitle}`;
const lines = [header, ...body];
return chunkLines(lines, '\n\n');
},
});
});
@@ -1,27 +1,24 @@
import { getBlitzStarsLinkButton } from '../../core/blitzstars/getBlitzStarsLinkButton';
import addPeriodicFilterOptions from '../../core/discord/addPeriodicFilterOptions';
import addUsernameChoices from '../../core/discord/addUsernameChoices';
import autocompleteTanks from '../../core/discord/autocompleteTanks';
import autocompleteUsername from '../../core/discord/autocompleteUsername';
import { addPeriodicFilterOptions } from '../../core/discord/addPeriodicFilterOptions';
import { addUsernameChoices } from '../../core/discord/addUsernameChoices';
import { autocompleteTanks } from '../../core/discord/autocompleteTanks';
import { autocompleteUsername } from '../../core/discord/autocompleteUsername';
import { buttonRefresh } from '../../core/discord/buttonRefresh';
import commandToURL from '../../core/discord/commandToURL';
import { commandToURL } from '../../core/discord/commandToURL';
import { createLocalizedCommand } from '../../core/discord/createLocalizedCommand';
import { getCustomPeriodParams } from '../../core/discord/getCustomPeriodParams';
import { getFiltersFromButton } from '../../core/discord/getFiltersFromButton';
import { getFiltersFromCommand } from '../../core/discord/getFiltersFromCommand';
import resolvePeriodFromButton from '../../core/discord/resolvePeriodFromButton';
import resolvePeriodFromCommand from '../../core/discord/resolvePeriodFromCommand';
import resolvePlayerFromButton from '../../core/discord/resolvePlayerFromButton';
import resolvePlayerFromCommand from '../../core/discord/resolvePlayerFromCommand';
import { resolvePeriodFromButton } from '../../core/discord/resolvePeriodFromButton';
import { resolvePeriodFromCommand } from '../../core/discord/resolvePeriodFromCommand';
import { resolvePlayerFromButton } from '../../core/discord/resolvePlayerFromButton';
import { resolvePlayerFromCommand } from '../../core/discord/resolvePlayerFromCommand';
import { CommandRegistry } from '../../events/interactionCreate';
import { renderBreakdown } from './render';
export const breakdownCommand = new Promise<CommandRegistry>(
async (resolve) => {
resolve({
inProduction: true,
inPublic: true,
command: await addPeriodicFilterOptions(
createLocalizedCommand('breakdown'),
(option) => option.addStringOption(addUsernameChoices),
@@ -1,26 +1,27 @@
import { Locale } from 'discord.js';
import { chunk } from 'lodash';
import * as Breakdown from '../../components/Breakdown';
import CommandWrapper from '../../components/CommandWrapper';
import NoData from '../../components/NoData';
import TitleBar from '../../components/TitleBar';
import { AllStats, getAccountInfo } from '../../core/blitz/getAccountInfo';
import { getClanAccountInfo } from '../../core/blitz/getClanAccountInfo';
import getTankStats from '../../core/blitz/getTankStats';
import { filtersToDescription } from '../../core/blitzkit/filtersToDescription';
import {
BlitzStats,
calculateWN8,
getAccountInfo,
getClanAccountInfo,
getTankStats,
getWN8Percentile,
TankDefinition,
tankDefinitions,
} from '../../core/blitzkit/tankDefinitions';
import getStatsInPeriod from '../../core/blitzstars/getStatsInPeriod';
import { tankAverages } from '../../core/blitzstars/tankAverages';
} from '@blitzkit/core';
import { Locale } from 'discord.js';
import { chunk } from 'lodash-es';
import * as Breakdown from '../../components/Breakdown';
import { CommandWrapper } from '../../components/CommandWrapper';
import { NoData } from '../../components/NoData';
import { TitleBar } from '../../components/TitleBar';
import { filtersToDescription } from '../../core/blitzkit/filtersToDescription';
import { tankDefinitions } from '../../core/blitzkit/nonBlockingPromises';
import { UserError } from '../../core/blitzkit/userError';
import { filterStats, StatFilters } from '../../core/blitzstars/filterStats';
import { getStatsInPeriod } from '../../core/blitzstars/getStatsInPeriod';
import { blitzStarsTankAverages } from '../../core/blitzstars/tankAverages';
import { ResolvedPeriod } from '../../core/discord/resolvePeriodFromCommand';
import { ResolvedPlayer } from '../../core/discord/resolvePlayerFromCommand';
import { translator } from '../../core/localization/translator';
import calculateWN8 from '../../core/statistics/calculateWN8';
import { StatFilters, filterStats } from '../../core/statistics/filterStats';
import getWN8Percentile from '../../core/statistics/getWN8Percentile';
import { UserError } from '../../hooks/userError';
const ROWS_PER_PAGE = 8;
const MAX_PAGES = 9;
@@ -33,15 +34,15 @@ export async function renderBreakdown(
) {
const { t, translate } = translator(locale);
const awaitedTankDefinitions = await tankDefinitions;
const awaitedTankAverages = await tankAverages;
const awaitedTankAverages = await blitzStarsTankAverages;
const statsInPeriod = await getStatsInPeriod(region, id, start, end, locale);
const { filteredOrder } = await filterStats(statsInPeriod, filters);
const accountInfo = await getAccountInfo(region, id);
const clanData = await getClanAccountInfo(region, id, ['clan']);
const tankStats = await getTankStats(region, id);
const filterDescriptions = await filtersToDescription(filters, locale);
const orderedCurrentStats: AllStats[] = [];
const orderedCareerStats: AllStats[] = [];
const orderedCurrentStats: BlitzStats[] = [];
const orderedCareerStats: BlitzStats[] = [];
const orderedCurrentWN8: (number | undefined)[] = [];
const orderedCareerWN8: (number | undefined)[] = [];
const orderedCareerWN8Full: (number | undefined)[] = [];
@@ -134,7 +135,7 @@ export async function renderBreakdown(
children.push(
<Breakdown.Row
key={id}
type="summary"
displayType="summary"
title={t`bot.commands.breakdown.body.total`}
stats={[
{
@@ -174,7 +175,7 @@ export async function renderBreakdown(
);
filteredOrder.forEach((id, index) => {
const tankDefinition = awaitedTankDefinitions[id] as
const tankDefinition = awaitedTankDefinitions.tanks[id] as
| TankDefinition
| undefined;
const current = orderedCurrentStats[index];
@@ -185,9 +186,9 @@ export async function renderBreakdown(
children.push(
<Breakdown.Row
key={id}
type="tank"
tankType={tankDefinition?.class}
treeType={tankDefinition?.treeType}
displayType="tank"
class={tankDefinition?.class}
type={tankDefinition?.type}
title={
tankDefinition?.name ??
translate('bot.commands.breakdown.body.unknown_tank', [`${id}`])
@@ -1,4 +1,4 @@
import packageJSON from '../../package.json' assert { type: 'json' };
import packageJSON from '../../../../package.json';
import { client } from '../core/discord/client';
import { createLocalizedCommand } from '../core/discord/createLocalizedCommand';
import { translator } from '../core/localization/translator';
@@ -8,9 +8,6 @@ const executionStart = new Date().getTime();
export const debugCommand = new Promise<CommandRegistry>((resolve) => {
resolve({
inProduction: true,
inPublic: true,
command: createLocalizedCommand('debug'),
async handler(interaction) {
@@ -1,32 +1,32 @@
import { emblemURL, getAccountInfo, getClanAccountInfo } from '@blitzkit/core';
import { Locale, SlashCommandSubcommandGroupBuilder } from 'discord.js';
import CommandWrapper from '../components/CommandWrapper';
import { CommandWrapper } from '../components/CommandWrapper';
import * as Graph from '../components/Graph';
import { LineColor } from '../components/Graph/components/Line/constants';
import NoData from '../components/NoData';
import TitleBar from '../components/TitleBar';
import { getAccountInfo } from '../core/blitz/getAccountInfo';
import { getClanAccountInfo } from '../core/blitz/getClanAccountInfo';
import resolveTankId from '../core/blitz/resolveTankId';
import { emblemURL } from '../core/blitzkit/emblemURL';
import getTankHistories from '../core/blitzkit/getTankHistories';
import { NoData } from '../components/NoData';
import { TitleBar } from '../components/TitleBar';
import { resolveTankId } from '../core/blitz/resolveTankId';
import { getBlitzStarsLinkButton } from '../core/blitzstars/getBlitzStarsLinkButton';
import getPlayerHistories from '../core/blitzstars/getPlayerHistories';
import { getPlayerHistories } from '../core/blitzstars/getPlayerHistories';
import { getTankHistories } from '../core/blitzstars/getTankHistories';
import { addPeriodSubCommands } from '../core/discord/addPeriodSubCommands';
import addTankChoices from '../core/discord/addTankChoices';
import addUsernameChoices from '../core/discord/addUsernameChoices';
import autocompleteTanks from '../core/discord/autocompleteTanks';
import autocompleteUsername from '../core/discord/autocompleteUsername';
import { addTankChoices } from '../core/discord/addTankChoices';
import { addUsernameChoices } from '../core/discord/addUsernameChoices';
import { autocompleteTanks } from '../core/discord/autocompleteTanks';
import { autocompleteUsername } from '../core/discord/autocompleteUsername';
import { buttonRefresh } from '../core/discord/buttonRefresh';
import commandToURL from '../core/discord/commandToURL';
import { commandToURL } from '../core/discord/commandToURL';
import { createLocalizedCommand } from '../core/discord/createLocalizedCommand';
import { getCustomPeriodParams } from '../core/discord/getCustomPeriodParams';
import resolvePeriodFromButton from '../core/discord/resolvePeriodFromButton';
import resolvePeriodFromCommand, {
import { resolvePeriodFromButton } from '../core/discord/resolvePeriodFromButton';
import {
ResolvedPeriod,
resolvePeriodFromCommand,
} from '../core/discord/resolvePeriodFromCommand';
import resolvePlayerFromButton from '../core/discord/resolvePlayerFromButton';
import resolvePlayerFromCommand, {
import { resolvePlayerFromButton } from '../core/discord/resolvePlayerFromButton';
import {
ResolvedPlayer,
resolvePlayerFromCommand,
} from '../core/discord/resolvePlayerFromCommand';
import { CommandRegistry } from '../events/interactionCreate';
@@ -110,9 +110,6 @@ async function render(
export const evolutionCommand = new Promise<CommandRegistry>(
async (resolve) => {
resolve({
inProduction: true,
inPublic: true,
command: createLocalizedCommand('evolution', [
{
group: 'player',
@@ -1,35 +1,39 @@
import {
emblemURL,
getAccountInfo,
getClanAccountInfo,
getTierWeights,
} from '@blitzkit/core';
import { Locale } from 'discord.js';
import CommandWrapper from '../components/CommandWrapper';
import GenericAllStats from '../components/GenericAllStats';
import NoData from '../components/NoData';
import TierWeights from '../components/TierWeights';
import TitleBar from '../components/TitleBar';
import { getAccountInfo } from '../core/blitz/getAccountInfo';
import { getClanAccountInfo } from '../core/blitz/getClanAccountInfo';
import { emblemURL } from '../core/blitzkit/emblemURL';
import { CommandWrapper } from '../components/CommandWrapper';
import { GenericAllStats } from '../components/GenericAllStats';
import { NoData } from '../components/NoData';
import { TierWeights } from '../components/TierWeights';
import { TitleBar } from '../components/TitleBar';
import { filtersToDescription } from '../core/blitzkit/filtersToDescription';
import { filterStats, StatFilters } from '../core/blitzstars/filterStats';
import { getBlitzStarsLinkButton } from '../core/blitzstars/getBlitzStarsLinkButton';
import getStatsInPeriod from '../core/blitzstars/getStatsInPeriod';
import addPeriodicFilterOptions from '../core/discord/addPeriodicFilterOptions';
import addUsernameChoices from '../core/discord/addUsernameChoices';
import autocompleteTanks from '../core/discord/autocompleteTanks';
import autocompleteUsername from '../core/discord/autocompleteUsername';
import { getStatsInPeriod } from '../core/blitzstars/getStatsInPeriod';
import { addPeriodicFilterOptions } from '../core/discord/addPeriodicFilterOptions';
import { addUsernameChoices } from '../core/discord/addUsernameChoices';
import { autocompleteTanks } from '../core/discord/autocompleteTanks';
import { autocompleteUsername } from '../core/discord/autocompleteUsername';
import { buttonRefresh } from '../core/discord/buttonRefresh';
import commandToURL from '../core/discord/commandToURL';
import { commandToURL } from '../core/discord/commandToURL';
import { createLocalizedCommand } from '../core/discord/createLocalizedCommand';
import { getCustomPeriodParams } from '../core/discord/getCustomPeriodParams';
import { getFiltersFromButton } from '../core/discord/getFiltersFromButton';
import { getFiltersFromCommand } from '../core/discord/getFiltersFromCommand';
import resolvePeriodFromButton from '../core/discord/resolvePeriodFromButton';
import resolvePeriodFromCommand, {
import { resolvePeriodFromButton } from '../core/discord/resolvePeriodFromButton';
import {
ResolvedPeriod,
resolvePeriodFromCommand,
} from '../core/discord/resolvePeriodFromCommand';
import resolvePlayerFromButton from '../core/discord/resolvePlayerFromButton';
import resolvePlayerFromCommand, {
import { resolvePlayerFromButton } from '../core/discord/resolvePlayerFromButton';
import {
ResolvedPlayer,
resolvePlayerFromCommand,
} from '../core/discord/resolvePlayerFromCommand';
import { StatFilters, filterStats } from '../core/statistics/filterStats';
import { getTierWeights } from '../core/statistics/getTierWeights';
import { CommandRegistry } from '../events/interactionCreate';
async function render(
@@ -81,9 +85,6 @@ async function render(
export const fullStatsCommand = new Promise<CommandRegistry>(
async (resolve) => {
resolve({
inProduction: true,
inPublic: true,
command: await addPeriodicFilterOptions(
createLocalizedCommand('full-stats'),
(option) => option.addStringOption(addUsernameChoices),
@@ -1,15 +1,14 @@
import { getAccountInfo, getClanInfo } from '@blitzkit/core';
import { Locale } from 'discord.js';
import CommandWrapper from '../components/CommandWrapper';
import GenericStats from '../components/GenericStats';
import NoData from '../components/NoData';
import TitleBar from '../components/TitleBar';
import { getAccountInfo } from '../core/blitz/getAccountInfo';
import { getClanInfo } from '../core/blitz/getClanInfo';
import addClanChoices from '../core/discord/addClanChoices';
import autocompleteClan from '../core/discord/autocompleteClan';
import { CommandWrapper } from '../components/CommandWrapper';
import { GenericStats } from '../components/GenericStats';
import { NoData } from '../components/NoData';
import { TitleBar } from '../components/TitleBar';
import { addClanChoices } from '../core/discord/addClanChoices';
import { autocompleteClan } from '../core/discord/autocompleteClan';
import { createLocalizedCommand } from '../core/discord/createLocalizedCommand';
import { localizationObject } from '../core/discord/localizationObject';
import resolveClanFromCommand from '../core/discord/resolveClanFromCommand';
import { resolveClanFromCommand } from '../core/discord/resolveClanFromCommand';
import { translator } from '../core/localization/translator';
import { CommandRegistry } from '../events/interactionCreate';
@@ -17,9 +16,6 @@ const DEFAULT_THRESHOLD = 7;
export const inactiveCommand = new Promise<CommandRegistry>((resolve) => {
resolve({
inProduction: true,
inPublic: true,
command: createLocalizedCommand('inactive')
.addStringOption(addClanChoices)
.addNumberOption((option) => {
@@ -75,7 +71,9 @@ export const inactiveCommand = new Promise<CommandRegistry>((resolve) => {
<TitleBar
title={clanInfo.name}
image={`https://wotblitz-gc.gcdn.co/icons/clanEmblems1x/clan-icon-v2-${clanInfo.emblem_set_id}.png`}
description={`${translate('bot.commands.inactive.body.subtitle', [`${threshold}`])} • ${new Date().toLocaleDateString(interaction.locale)}`}
description={`${translate('bot.commands.inactive.body.subtitle', [
`${threshold}`,
])} • ${new Date().toLocaleDateString(interaction.locale)}`}
/>
{!hasInactiveMembers && (
@@ -1,27 +1,22 @@
import {
getAccountInfo,
getClanAccountInfo,
linkBlitzAndDiscord,
} from '@blitzkit/core';
import { teal } from '@radix-ui/colors';
import { GuildMemberRoleManager } from 'discord.js';
import markdownEscape from 'markdown-escape';
import discord from '../../discord.json' assert { type: 'json' };
import { Glow } from '../components/AllStatsOverview/components/HeroStat/components/Glow';
import CommandWrapper from '../components/CommandWrapper';
import { getAccountInfo } from '../core/blitz/getAccountInfo';
import { getClanAccountInfo } from '../core/blitz/getClanAccountInfo';
import { linkBlitzAndDiscord } from '../core/blitzkit/discordBlitzLink';
import addUsernameChoices from '../core/discord/addUsernameChoices';
import autocompleteUsername from '../core/discord/autocompleteUsername';
import { CommandWrapper } from '../components/CommandWrapper';
import { addUsernameChoices } from '../core/discord/addUsernameChoices';
import { autocompleteUsername } from '../core/discord/autocompleteUsername';
import { createLocalizedCommand } from '../core/discord/createLocalizedCommand';
import embedInfo from '../core/discord/embedInfo';
import embedNegative from '../core/discord/embedNegative';
import resolvePlayerFromCommand from '../core/discord/resolvePlayerFromCommand';
import { embedInfo } from '../core/discord/embedInfo';
import { resolvePlayerFromCommand } from '../core/discord/resolvePlayerFromCommand';
import { translator } from '../core/localization/translator';
import { CommandRegistry } from '../events/interactionCreate';
import { theme } from '../stitches.config';
export const verifyCommand = new Promise<CommandRegistry>((resolve) => {
resolve({
inProduction: true,
inPublic: true,
command: createLocalizedCommand('link').addStringOption((option) =>
addUsernameChoices(option).setRequired(true),
),
@@ -35,28 +30,6 @@ export const verifyCommand = new Promise<CommandRegistry>((resolve) => {
await linkBlitzAndDiscord(discordId, id);
if (interaction.guildId === discord.sklld_guild_id) {
if (!interaction.guild?.members.me?.permissions.has('ManageRoles')) {
return embedNegative(
translate(translate('bot.commands.link.body.no_role_permissions'), [
markdownEscape(interaction.user.username),
]),
translate(
translate(
'bot.commands.link.body.no_role_permissions.description',
),
),
);
}
await (interaction.member!.roles as GuildMemberRoleManager).remove(
discord.sklld_verify_role,
);
await (interaction.member!.roles as GuildMemberRoleManager).add(
discord.sklld_peasant_role,
);
}
return [
<CommandWrapper fat>
<div
@@ -1,31 +1,27 @@
import { chunk } from 'lodash';
import markdownEscape from 'markdown-escape';
import { TANK_CLASSES } from '../components/Tanks/components/Item/constants';
import { getAccountInfo } from '../core/blitz/getAccountInfo';
import getTankStats from '../core/blitz/getTankStats';
import {
NATIONS,
TANK_CLASSES,
TIER_ROMAN_NUMERALS,
TankDefinition,
Tier,
flags,
getAccountInfo,
getTankStats,
} from '@blitzkit/core';
import markdownEscape from 'markdown-escape';
import {
gameDefinitions,
tankDefinitions,
} from '../core/blitzkit/tankDefinitions';
import { TIER_ROMAN_NUMERALS } from '../core/blitzkit/tankDefinitions/constants';
import addTierChoices from '../core/discord/addTierChoices';
import addUsernameChoices from '../core/discord/addUsernameChoices';
import autocompleteUsername from '../core/discord/autocompleteUsername';
} from '../core/blitzkit/nonBlockingPromises';
import { addTierChoices } from '../core/discord/addTierChoices';
import { addUsernameChoices } from '../core/discord/addUsernameChoices';
import { autocompleteUsername } from '../core/discord/autocompleteUsername';
import { chunkLines } from '../core/discord/chunkLines';
import { createLocalizedCommand } from '../core/discord/createLocalizedCommand';
import resolvePlayerFromCommand from '../core/discord/resolvePlayerFromCommand';
import { resolvePlayerFromCommand } from '../core/discord/resolvePlayerFromCommand';
import { translator } from '../core/localization/translator';
import { CommandRegistry } from '../events/interactionCreate';
const TANKS_PER_MESSAGE = 64;
export const ownedTanksCommand = new Promise<CommandRegistry>((resolve) => {
resolve({
inProduction: true,
inPublic: true,
command: createLocalizedCommand('owned-tanks')
.addStringOption(addTierChoices)
.addStringOption(addUsernameChoices),
@@ -44,7 +40,7 @@ export const ownedTanksCommand = new Promise<CommandRegistry>((resolve) => {
const filteredTanks = (
await Promise.all(
tankStats.map(async (tankData) => ({
tankDefinitions: (await tankDefinitions)[tankData.tank_id]!,
tankDefinitions: (await tankDefinitions).tanks[tankData.tank_id]!,
id: tankData.tank_id,
})),
)
@@ -62,9 +58,13 @@ export const ownedTanksCommand = new Promise<CommandRegistry>((resolve) => {
});
const awaitedTankDefinitions = await tankDefinitions;
const awaitedNations = await NATIONS;
const lines = tankStats
.map(({ tank_id }) => awaitedTankDefinitions[tank_id])
const awaitedGameDefinitions = await gameDefinitions;
const title = translate('bot.commands.owned_tanks.body.title', [
markdownEscape(accountInfo.nickname),
TIER_ROMAN_NUMERALS[tier],
]);
const tankList = tankStats
.map(({ tank_id }) => awaitedTankDefinitions.tanks[tank_id])
.filter((tank) => tank.tier === tier)
.sort(
(a, b) =>
@@ -72,18 +72,16 @@ export const ownedTanksCommand = new Promise<CommandRegistry>((resolve) => {
)
.sort(
(a, b) =>
awaitedNations.indexOf(a.nation) - awaitedNations.indexOf(b.nation),
awaitedGameDefinitions.nations.indexOf(a.nation) -
awaitedGameDefinitions.nations.indexOf(b.nation),
)
.map((tank) => `${flags[tank.nation]} ${markdownEscape(tank.name)}`);
.map(
(tank) =>
`[${flags[tank.nation]} ${markdownEscape(tank.name)}](<https://blitzkit.app/tools/tankopedia/${tank.id}>)`,
);
const lines = [title, ...tankList];
return chunk(lines, TANKS_PER_MESSAGE).map((lines, index) =>
index === 0
? `${translate('bot.commands.owned_tanks.body.title', [
markdownEscape(accountInfo.nickname),
TIER_ROMAN_NUMERALS[tier as Tier],
])}${lines.join('\n')}`
: lines.join('\n'),
);
return chunkLines(lines);
},
autocomplete: autocompleteUsername,
@@ -4,9 +4,6 @@ import { CommandRegistry } from '../events/interactionCreate';
export const permissionsCommand = new Promise<CommandRegistry>((resolve) => {
resolve({
inProduction: true,
inPublic: true,
command: createLocalizedCommand('permissions'),
async handler(interaction) {
@@ -4,8 +4,6 @@ import { CommandRegistry } from '../events/interactionCreate';
export const pingCommand = new Promise<CommandRegistry>((resolve) => {
resolve({
inProduction: true,
inPublic: true,
handlesInteraction: true,
command: createLocalizedCommand('ping', [
@@ -1,19 +1,16 @@
import { getAccountInfo } from '@blitzkit/core';
import markdownEscape from 'markdown-escape';
import { getAccountInfo } from '../core/blitz/getAccountInfo';
import addUsernameChoices from '../core/discord/addUsernameChoices';
import autocompleteUsername from '../core/discord/autocompleteUsername';
import { addUsernameChoices } from '../core/discord/addUsernameChoices';
import { autocompleteUsername } from '../core/discord/autocompleteUsername';
import { createLocalizedCommand } from '../core/discord/createLocalizedCommand';
import embedInfo from '../core/discord/embedInfo';
import markdownTable from '../core/discord/markdownTable';
import resolvePlayerFromCommand from '../core/discord/resolvePlayerFromCommand';
import { embedInfo } from '../core/discord/embedInfo';
import { markdownTable } from '../core/discord/markdownTable';
import { resolvePlayerFromCommand } from '../core/discord/resolvePlayerFromCommand';
import { translator } from '../core/localization/translator';
import { CommandRegistry } from '../events/interactionCreate';
export const playerInfoCommand = new Promise<CommandRegistry>((resolve) => {
resolve({
inProduction: true,
inPublic: true,
command:
createLocalizedCommand('player-info').addStringOption(addUsernameChoices),
@@ -1,24 +1,26 @@
import {
deltaBkrlBlitzStats,
emblemURL,
getAccountInfo,
getArchivedRatingLeaderboard,
getClanAccountInfo,
getLeagueFromScore,
getRatingInfo,
getRatingNeighbors,
imgur,
} from '@blitzkit/core';
import { SlashCommandSubcommandBuilder } from 'discord.js';
import markdownEscape from 'markdown-escape';
import { Glow } from '../components/AllStatsOverview/components/HeroStat/components/Glow';
import CommandWrapper from '../components/CommandWrapper';
import { CommandWrapper } from '../components/CommandWrapper';
import { DeltaCaret } from '../components/DeltaCaret';
import TitleBar from '../components/TitleBar';
import { getAccountInfo } from '../core/blitz/getAccountInfo';
import { getClanAccountInfo } from '../core/blitz/getClanAccountInfo';
import { getLeagueFromScore } from '../core/blitz/getLeagueFromScore';
import getRatingInfo from '../core/blitz/getRatingInfo';
import { getRatingNeighbors } from '../core/blitz/getRatingNeighbors';
import { TitleBar } from '../components/TitleBar';
import { normalizeLeagueIcon } from '../core/blitz/normalizeLeagueIcon';
import { emblemURL } from '../core/blitzkit/emblemURL';
import getArchivedRatingMidnightLeaderboard from '../core/blitzkit/getArchivedRatingMidnightLeaderboard';
import { iconPng } from '../core/blitzkit/iconPng';
import addUsernameChoices from '../core/discord/addUsernameChoices';
import { addUsernameChoices } from '../core/discord/addUsernameChoices';
import { createLocalizedCommand } from '../core/discord/createLocalizedCommand';
import resolvePlayerFromCommand from '../core/discord/resolvePlayerFromCommand';
import { resolvePlayerFromCommand } from '../core/discord/resolvePlayerFromCommand';
import { translator } from '../core/localization/translator';
import { deltaBkrlBlitzStats } from '../core/statistics/deltaBkrlBlitzStats';
import { BkrlFormat } from '../core/streams/bkrl';
import { CommandRegistry } from '../events/interactionCreate';
import { theme } from '../stitches.config';
@@ -47,9 +49,6 @@ export const ratingCommand = new Promise<CommandRegistry>((resolve) => {
},
]),
inProduction: true,
inPublic: true,
async handler(interaction) {
const subcommand = interaction.options.getSubcommand(true) as
| 'season'
@@ -65,12 +64,12 @@ export const ratingCommand = new Promise<CommandRegistry>((resolve) => {
throw new Error(`Rating info not available for ${region}`);
}
const leaderboard = await getArchivedRatingMidnightLeaderboard(
const leaderboard = await getArchivedRatingLeaderboard(
region,
ratingInfo.current_season - (subcommand === 'today' ? 0 : 1),
);
if (leaderboard?.format === BkrlFormat.Base) {
if (leaderboard.version!.$case === 'v1') {
throw new Error(
'Encountered bkrl minimal format in latest season. Wait till next cron?',
);
@@ -79,10 +78,12 @@ export const ratingCommand = new Promise<CommandRegistry>((resolve) => {
const accountInfo = await getAccountInfo(region, id, [
'statistics.rating',
]);
const statsIndex = leaderboard?.entries.findIndex(
const statsIndex = leaderboard.version!.value.entries.findIndex(
(entry) => entry.id === id,
);
const statsA = leaderboard ? leaderboard.entries[statsIndex!] : null;
const statsA = leaderboard
? leaderboard.version!.value.entries[statsIndex!]
: null;
const positionA = leaderboard ? statsIndex! + 1 : undefined;
const statsB1 = accountInfo.statistics.rating!;
const statsB2Array = (await getRatingNeighbors(region, id, 0)).neighbors;
@@ -119,15 +120,28 @@ export const ratingCommand = new Promise<CommandRegistry>((resolve) => {
statsB2,
);
const leagueTheme = LEAGUE_ACCENT[league.index];
let rewardImage = reward
? reward.type === 'vehicle'
? reward.vehicle.preview_image_url
: reward.stuff.image_url
: undefined;
if (rewardImage) {
const { ok } = await fetch(rewardImage);
if (!ok) {
rewardImage = imgur('kP88vqr');
}
}
return (
<CommandWrapper>
<TitleBar
title={accountInfo.nickname}
image={clanImage}
description={`${translate(`bot.commands.rating.body.subtitle.${subcommand}`)} • ${new Date().toLocaleDateString(
interaction.locale,
)}`}
description={`${translate(
`bot.commands.rating.body.subtitle.${subcommand}`,
)} • ${new Date().toLocaleDateString(interaction.locale)}`}
/>
<div
@@ -143,7 +157,9 @@ export const ratingCommand = new Promise<CommandRegistry>((resolve) => {
padding: 16,
backgroundColor: theme.colors[`appBackground2${leagueTheme}`],
borderRadius: 4,
border: `1px solid ${theme.colors[`componentInteractive${leagueTheme}`]}`,
border: `1px solid ${
theme.colors[`componentInteractive${leagueTheme}`]
}`,
display: 'flex',
alignItems: 'center',
justifyContent: 'space-between',
@@ -323,11 +339,7 @@ export const ratingCommand = new Promise<CommandRegistry>((resolve) => {
height: 64,
objectFit: 'cover',
}}
src={await iconPng(
reward.type === 'vehicle'
? reward.vehicle.preview_image_url
: reward.stuff.image_url,
)}
src={await iconPng(rewardImage!)}
/>
</div>
)}
@@ -1,123 +1,38 @@
import {
FIRST_MINIMAL_ARCHIVED_RATING_SEASON,
getAccountInfo,
getArchivedLatestSeasonNumber,
getArchivedRatingLeaderboard,
getClanAccountInfo,
getRatingInfo,
getRatingLeague,
getRatingNeighbors,
imgur,
isOnGoingRatingSeason,
LEAGUES,
RatingInfo,
RatingLeaderboard,
Region,
} from '@blitzkit/core';
import {
APIApplicationCommandOptionChoice,
Locale,
SlashCommandSubcommandBuilder,
} from 'discord.js';
import { range } from 'lodash';
import { range } from 'lodash-es';
import markdownEscape from 'markdown-escape';
import CommandWrapper from '../components/CommandWrapper';
import { CommandWrapper } from '../components/CommandWrapper';
import * as Leaderboard from '../components/Leaderboard';
import TitleBar from '../components/TitleBar';
import { LEAGUES } from '../constants/leagues';
import { FIRST_MINIMAL_ARCHIVED_RATING_SEASON } from '../constants/rating';
import { Region } from '../constants/regions';
import { getAccountInfo } from '../core/blitz/getAccountInfo';
import { getClanAccountInfo } from '../core/blitz/getClanAccountInfo';
import getRatingInfo from '../core/blitz/getRatingInfo';
import { getRatingLeague } from '../core/blitz/getRatingLeague';
import { getRatingNeighbors } from '../core/blitz/getRatingNeighbors';
import { isOnGoingRatingSeason } from '../core/blitz/isOnGoingRatingSeason';
import { getArchivedLatestSeasonNumber } from '../core/blitzkit/getArchivedLatestSeasonNumber';
import getArchivedRatingInfo from '../core/blitzkit/getArchivedRatingInfo';
import { getArchivedRatingLeaderboard } from '../core/blitzkit/getArchivedRatingLeaderboard';
import getArchivedRatingMidnightLeaderboard from '../core/blitzkit/getArchivedRatingMidnightLeaderboard';
import addRegionChoices from '../core/discord/addRegionChoices';
import addUsernameChoices from '../core/discord/addUsernameChoices';
import autocompleteUsername from '../core/discord/autocompleteUsername';
import { TitleBar } from '../components/TitleBar';
import { UserError } from '../core/blitzkit/userError';
import { addRegionChoices } from '../core/discord/addRegionChoices';
import { addUsernameChoices } from '../core/discord/addUsernameChoices';
import { autocompleteUsername } from '../core/discord/autocompleteUsername';
import { createLocalizedCommand } from '../core/discord/createLocalizedCommand';
import { localizationObject } from '../core/discord/localizationObject';
import resolvePlayerFromCommand from '../core/discord/resolvePlayerFromCommand';
import { resolvePlayerFromCommand } from '../core/discord/resolvePlayerFromCommand';
import { translator } from '../core/localization/translator';
import { BkrlDiscriminatedEntries } from '../core/streams/bkrl';
import { CommandRegistry } from '../events/interactionCreate';
import { UserError } from '../hooks/userError';
export interface RatingPlayer {
spa_id: number;
mmr: number;
season_number: number;
calibrationBattlesLeft: number;
number: number;
percentile: number;
skip: boolean;
updated_at: string;
score: number;
nickname: string;
clan_tag: string;
}
export interface LeagueTop {
result: RatingPlayer[];
}
export type RatingReward = {
from_position: number;
to_position: number;
count: number;
} & (
| {
type: 'vehicle';
vehicle: {
id: number;
name: string;
nation: string;
subnation: string;
use_subnation_flag: boolean;
type_slug: string;
level: number;
roman_level: string;
user_string: string;
image_url: string;
preview_image_url: string;
is_premium: boolean;
is_collectible: boolean;
};
}
| {
type: 'stuff';
stuff: {
name: string;
count: number;
title: string;
image_url: string;
type: string;
sizes: {};
};
}
);
export interface RatingLeague {
title: string;
small_icon: string;
big_icon: string;
background: string;
index: number;
percentile: number;
}
export type RatingInfo =
| {
detail: undefined;
title: string;
icon: string | null;
start_at: string;
finish_at: string;
current_season: number;
updated_at: string;
count: number;
rewards: RatingReward[];
leagues: RatingLeague[];
}
| { detail: { error: string } };
export interface RatingNeighbors {
neighbors: RatingPlayer[];
}
interface SimplifiedPlayer {
id: number;
@@ -213,9 +128,6 @@ export const ratingLeaderboardCommand = new Promise<CommandRegistry>(
}
resolve({
inProduction: true,
inPublic: true,
command: createLocalizedCommand('rating-leaderboard', [
{
subcommand: 'neighbors',
@@ -288,9 +200,9 @@ export const ratingLeaderboardCommand = new Promise<CommandRegistry>(
let titleDescription: string;
let playersAfter: number;
let players: SimplifiedPlayer[] | undefined;
let midnightLeaderboard: BkrlDiscriminatedEntries | null;
let archivedLeaderboard: RatingLeaderboard | null;
let playerId: number | undefined;
let regionRatingInfo: RatingInfo;
let regionRatingInfo: RatingInfo | null;
if (subcommand === 'league') {
const leagueIndex = parseInt(
@@ -299,10 +211,14 @@ export const ratingLeaderboardCommand = new Promise<CommandRegistry>(
const region = interaction.options.getString('region') as Region;
regionRatingInfo = await (isCurrentSeason
? getRatingInfo(region)
: getArchivedRatingInfo(region, season!));
: null);
if (regionRatingInfo.detail !== undefined)
if (
regionRatingInfo !== null &&
regionRatingInfo.detail !== undefined
) {
return t`bot.commands.rating_leaderboard.body.no_ongoing_season`;
}
const result = isCurrentSeason
? await getRatingLeague(region, leagueIndex).then(async (result) =>
@@ -322,12 +238,12 @@ export const ratingLeaderboardCommand = new Promise<CommandRegistry>(
const firstPlayerIndex =
leagueIndex === 0
? 0
: players.entries.findIndex(
: players.version!.value.entries.findIndex(
(player) =>
player.score < LEAGUES[leagueIndex - 1].minScore,
);
const lastPlayerIndex = firstPlayerIndex + limit - 1;
const trimmed = players.entries.slice(
const trimmed = players.version!.value.entries.slice(
firstPlayerIndex,
lastPlayerIndex + 1,
);
@@ -354,25 +270,23 @@ export const ratingLeaderboardCommand = new Promise<CommandRegistry>(
);
},
);
const leagueInfo = regionRatingInfo.leagues[leagueIndex];
midnightLeaderboard = isCurrentSeason
? await getArchivedRatingMidnightLeaderboard(
region,
regionRatingInfo.current_season,
)
: await getArchivedRatingMidnightLeaderboard(region, season!);
const leagueInfo = LEAGUES[leagueIndex];
archivedLeaderboard = await getArchivedRatingLeaderboard(
region,
season,
);
players = result;
playersAfter =
regionRatingInfo.count - result[result.length - 1].position;
(regionRatingInfo === null
? archivedLeaderboard.version!.value.entries.length
: regionRatingInfo.count) - result[result.length - 1].position;
titleName = `${
leagueInfo
? translate(`common.leagues.${LEAGUES[leagueInfo.index].name}`)
: ''
} - ${translate(`common.regions.short.${region}`)}`;
titleImage = leagueInfo.big_icon.startsWith('http')
? leagueInfo.big_icon
: `https:${leagueInfo.big_icon}`;
titleImage = imgur(leagueInfo.icon);
titleDescription = translate(
'bot.commands.rating_leaderboard.body.top_players',
[`${limit}`],
@@ -381,10 +295,14 @@ export const ratingLeaderboardCommand = new Promise<CommandRegistry>(
const { region, id } = await resolvePlayerFromCommand(interaction);
regionRatingInfo = isCurrentSeason
? await getRatingInfo(region)
: await getArchivedRatingInfo(region, season!);
: null;
if (regionRatingInfo.detail !== undefined)
if (
regionRatingInfo !== null &&
regionRatingInfo.detail !== undefined
) {
return t`bot.commands.rating_leaderboard.body.no_ongoing_season`;
}
const accountInfo = await getAccountInfo(region, id);
const clan = (await getClanAccountInfo(region, id, ['clan']))?.clan;
@@ -404,7 +322,7 @@ export const ratingLeaderboardCommand = new Promise<CommandRegistry>(
)
: await getArchivedRatingLeaderboard(region, season!).then(
async (players) => {
const playerIndex = players.entries.findIndex(
const playerIndex = players.version!.value.entries.findIndex(
(player) => player.id === id,
);
@@ -418,7 +336,7 @@ export const ratingLeaderboardCommand = new Promise<CommandRegistry>(
}
const halfRange = Math.round(limit / 2);
const trimmed = players.entries.slice(
const trimmed = players.version!.value.entries.slice(
playerIndex - halfRange,
playerIndex + halfRange + 1,
);
@@ -439,12 +357,10 @@ export const ratingLeaderboardCommand = new Promise<CommandRegistry>(
}));
},
);
midnightLeaderboard = isCurrentSeason
? await getArchivedRatingMidnightLeaderboard(
region,
regionRatingInfo.current_season,
)
: await getArchivedRatingMidnightLeaderboard(region, season!);
archivedLeaderboard = await getArchivedRatingLeaderboard(
region,
season,
);
players = neighbors;
titleImage = clan
@@ -453,18 +369,23 @@ export const ratingLeaderboardCommand = new Promise<CommandRegistry>(
titleName = neighbors ? accountInfo.nickname : '';
titleDescription = t`bot.commands.rating_leaderboard.body.neighbors`;
playersAfter =
regionRatingInfo.count - neighbors[neighbors.length - 1].position;
(regionRatingInfo === null
? archivedLeaderboard.version!.value.entries.length
: regionRatingInfo.count) -
neighbors[neighbors.length - 1].position;
playerId = id;
}
const items = players.map((player) => {
const midnightIndex = midnightLeaderboard?.entries.findIndex(
(item) => item.id === player.id,
);
const midnightIndex =
archivedLeaderboard?.version!.value.entries.findIndex(
(item) => item.id === player.id,
);
const midnightScore =
midnightIndex === undefined
? player.score
: midnightLeaderboard!.entries[midnightIndex].score;
: archivedLeaderboard!.version!.value.entries[midnightIndex]
.score;
const midnightPosition =
midnightIndex === undefined ? player.position : midnightIndex + 1;
@@ -1,19 +1,23 @@
import { clamp } from 'lodash';
import CommandWrapper from '../components/CommandWrapper';
import TitleBar from '../components/TitleBar';
import { getClanAccountInfo } from '../core/blitz/getClanAccountInfo';
import { idToRegion } from '../core/blitz/idToRegion';
import { emblemURL } from '../core/blitzkit/emblemURL';
import {
calculateWN8,
emblemURL,
getClanAccountInfo,
idToRegion,
tankIcon,
TIER_ROMAN_NUMERALS,
} from '@blitzkit/core';
import { clamp } from 'lodash-es';
import { CommandWrapper } from '../components/CommandWrapper';
import { TitleBar } from '../components/TitleBar';
import { iconPng } from '../core/blitzkit/iconPng';
import { mapDefinitions } from '../core/blitzkit/mapDefinitions';
import {
mapDefinitions,
tankDefinitions,
} from '../core/blitzkit/nonBlockingPromises';
import { RenderConfiguration } from '../core/blitzkit/renderConfiguration';
import { tankDefinitions } from '../core/blitzkit/tankDefinitions';
import { TIER_ROMAN_NUMERALS } from '../core/blitzkit/tankDefinitions/constants';
import { tankIcon } from '../core/blitzkit/tankIcon';
import { tankAverages } from '../core/blitzstars/tankAverages';
import buttonLink from '../core/discord/buttonLink';
import { blitzStarsTankAverages } from '../core/blitzstars/tankAverages';
import { buttonLink } from '../core/discord/buttonLink';
import { createLocalizedCommand } from '../core/discord/createLocalizedCommand';
import calculateWN8 from '../core/statistics/calculateWN8';
import { CommandRegistry } from '../events/interactionCreate';
import { theme } from '../stitches.config';
@@ -219,9 +223,9 @@ async function playerListing(
winningTeam: number,
recordingPlayer = false,
) {
const awaitedTankAverages = await tankAverages;
const awaitedTankAverages = await blitzStarsTankAverages;
const awaitedTankDefinitions = await tankDefinitions;
const tank = awaitedTankDefinitions[player.vehicle_descr];
const tank = awaitedTankDefinitions.tanks[player.vehicle_descr];
const blockAccent = recordingPlayer ? '_amber' : '';
const healthAccent = protagonistTeam
? recordingPlayer
@@ -453,8 +457,6 @@ function Header() {
export const replayCommand = new Promise<CommandRegistry>((resolve) => {
resolve({
inProduction: true,
inPublic: true,
command: createLocalizedCommand('replay').addAttachmentOption((option) =>
option.setName('file').setDescription('Replay file').setRequired(true),
),
@@ -502,7 +504,7 @@ export const replayCommand = new Promise<CommandRegistry>((resolve) => {
replayData.protagonist_team === replayData.winner_team
? 'Victory'
: 'Defeat'
} • ${awaitedMapDefinitions[replayData.map_id].name}`}
} • ${awaitedMapDefinitions.maps[replayData.map_id].name}`}
/>
<div
@@ -1,27 +1,28 @@
import { Locale, escapeMarkdown } from 'discord.js';
import CommandWrapper from '../components/CommandWrapper';
import TitleBar from '../components/TitleBar';
import { equipmentPriceMatrix } from '../constants/equipmentPrice';
import { getAccountInfo } from '../core/blitz/getAccountInfo';
import { getClanAccountInfo } from '../core/blitz/getClanAccountInfo';
import getTankStats from '../core/blitz/getTankStats';
import resolveTankId from '../core/blitz/resolveTankId';
import { asset } from '../core/blitzkit/asset';
import { buildTechTreeLine } from '../core/blitzkit/buildTechTreeLine';
import { emblemURL } from '../core/blitzkit/emblemURL';
import { iconPng } from '../core/blitzkit/iconPng';
import { resolveAncestry } from '../core/blitzkit/resolveAncestry';
import { tankDefinitions } from '../core/blitzkit/tankDefinitions';
import {
asset,
emblemURL,
equipmentPriceMatrix,
getAccountInfo,
getClanAccountInfo,
getTankStats,
TANK_ICONS,
TankType,
TIER_ROMAN_NUMERALS,
} from '../core/blitzkit/tankDefinitions/constants';
} from '@blitzkit/core';
import { escapeMarkdown, Locale } from 'discord.js';
import { CommandWrapper } from '../components/CommandWrapper';
import { TitleBar } from '../components/TitleBar';
import { resolveTankId } from '../core/blitz/resolveTankId';
import { buildTechTreeLine } from '../core/blitzkit/buildTechTreeLine';
import { iconPng } from '../core/blitzkit/iconPng';
import { tankDefinitions } from '../core/blitzkit/nonBlockingPromises';
import { resolveAncestry } from '../core/blitzkit/resolveAncestry';
import { tankIconPng } from '../core/blitzkit/tankIconPng';
import addUsernameChoices from '../core/discord/addUsernameChoices';
import autocompleteTanks from '../core/discord/autocompleteTanks';
import { addUsernameChoices } from '../core/discord/addUsernameChoices';
import { autocompleteTanks } from '../core/discord/autocompleteTanks';
import { createLocalizedCommand } from '../core/discord/createLocalizedCommand';
import { localizationObject } from '../core/discord/localizationObject';
import resolvePlayerFromCommand from '../core/discord/resolvePlayerFromCommand';
import { resolvePlayerFromCommand } from '../core/discord/resolvePlayerFromCommand';
import { translator } from '../core/localization/translator';
import { CommandRegistry } from '../events/interactionCreate';
import { theme } from '../stitches.config';
@@ -30,9 +31,6 @@ export const researchCommand = new Promise<CommandRegistry>((resolve) => {
const { t } = translator(Locale.EnglishUS);
resolve({
inProduction: true,
inPublic: true,
command: createLocalizedCommand('research')
.addStringOption((option) =>
option
@@ -79,7 +77,7 @@ export const researchCommand = new Promise<CommandRegistry>((resolve) => {
true,
);
const startingTankRaw = interaction.options.getString('starting-tank');
const targetTank = awaitedTankDefinitions[targetTankId];
const targetTank = awaitedTankDefinitions.tanks[targetTankId];
const { id, region } = await resolvePlayerFromCommand(interaction);
let startingTankId: number;
const targetTankAncestry = await resolveAncestry(targetTankId);
@@ -97,7 +95,7 @@ export const researchCommand = new Promise<CommandRegistry>((resolve) => {
]);
}
const startingTank = awaitedTankDefinitions[startingTankId];
const startingTank = awaitedTankDefinitions.tanks[startingTankId];
if (startingTank.tier > targetTank.tier) {
return translate('bot.commands.research.errors.unordered', [
@@ -114,7 +112,7 @@ export const researchCommand = new Promise<CommandRegistry>((resolve) => {
]);
}
} else {
if (targetTank.treeType !== 'researchable') {
if (targetTank.type !== TankType.RESEARCHABLE) {
return translate('bot.commands.research.errors.non_tech_tree', [
escapeMarkdown(targetTank.name),
]);
@@ -140,7 +138,7 @@ export const researchCommand = new Promise<CommandRegistry>((resolve) => {
const foundAncestor = targetTankAncestry.find(
(id) =>
awaitedTankDefinitions[id].tier === 1 ||
awaitedTankDefinitions.tanks[id].tier === 1 ||
tankStats.some(({ tank_id }) => tank_id === id),
);
@@ -162,33 +160,59 @@ export const researchCommand = new Promise<CommandRegistry>((resolve) => {
const clanImage = clan ? emblemURL(clan.emblem_set_id) : undefined;
const costs = await Promise.all(
line.map(async (id) => {
const tank = awaitedTankDefinitions[id];
const tank = awaitedTankDefinitions.tanks[id];
const turretXps = new Map<number, number>();
const gunXps = new Map<number, number>();
const engineXps = new Map<number, number>();
const trackXps = new Map<number, number>();
tank.turrets.forEach((turret) => {
if (turret.xp !== undefined) {
turretXps.set(turret.id, turret.xp);
if (
turret.research_cost !== undefined &&
typeof turret.research_cost.research_cost_type!.value === 'number'
) {
turretXps.set(
turret.id,
turret.research_cost.research_cost_type!.value,
);
}
turret.guns.forEach((gun) => {
if (gun.xp !== undefined) {
gunXps.set(gun.id, gun.xp);
if (
gun.gun_type!.value.base.research_cost !== undefined &&
typeof gun.gun_type!.value.base.research_cost
.research_cost_type!.value === 'number'
) {
gunXps.set(
gun.gun_type!.value.base.id,
gun.gun_type!.value.base.research_cost.research_cost_type!
.value,
);
}
});
});
tank.engines.forEach((engine) => {
if (engine.xp !== undefined) {
engineXps.set(engine.id, engine.xp);
if (
engine.research_cost !== undefined &&
typeof engine.research_cost.research_cost_type!.value === 'number'
) {
engineXps.set(
engine.id,
engine.research_cost.research_cost_type!.value,
);
}
});
tank.tracks.forEach((track) => {
if (track.xp !== undefined) {
trackXps.set(track.id, track.xp);
if (
track.research_cost !== undefined &&
typeof track.research_cost.research_cost_type!.value === 'number'
) {
trackXps.set(
track.id,
track.research_cost.research_cost_type!.value,
);
}
});
@@ -207,7 +231,7 @@ export const researchCommand = new Promise<CommandRegistry>((resolve) => {
});
return {
research: tank.xp,
research: tank.research_cost!.research_cost_type!.value as number,
upgrades: moduleXp,
purchase: tank.price.value,
equipment: equipmentPriceMatrix[tank.tier].reduce(
@@ -223,7 +247,9 @@ export const researchCommand = new Promise<CommandRegistry>((resolve) => {
<TitleBar
title={nickname}
image={clanImage}
description={`${t`bot.commands.research.body.subtitle`} • ${targetTank.name}`}
description={`${t`bot.commands.research.body.subtitle`} • ${
targetTank.name
}`}
/>
<div
@@ -354,7 +380,7 @@ export const researchCommand = new Promise<CommandRegistry>((resolve) => {
{await Promise.all(
line.map(async (id, index) => {
const tank = awaitedTankDefinitions[id];
const tank = awaitedTankDefinitions.tanks[id];
return (
<div
@@ -1,23 +1,18 @@
import { ClanList, fetchBlitz, Region } from '@blitzkit/core';
import { Locale } from 'discord.js';
import markdownEscape from 'markdown-escape';
import { Region } from '../constants/regions';
import fetchBlitz from '../core/blitz/fetchBlitz';
import addClanChoices from '../core/discord/addClanChoices';
import addRegionChoices from '../core/discord/addRegionChoices';
import { addClanChoices } from '../core/discord/addClanChoices';
import { addRegionChoices } from '../core/discord/addRegionChoices';
import { createLocalizedCommand } from '../core/discord/createLocalizedCommand';
import embedInfo from '../core/discord/embedInfo';
import { embedInfo } from '../core/discord/embedInfo';
import { localizationObject } from '../core/discord/localizationObject';
import { translator } from '../core/localization/translator';
import { CommandRegistry } from '../events/interactionCreate';
import { ClanList } from '../types/clanList';
const DEFAULT_LIMIT = 25;
export const searchClansCommand = new Promise<CommandRegistry>((resolve) => {
resolve({
inProduction: true,
inPublic: true,
command: createLocalizedCommand('search-clans')
.addStringOption(addRegionChoices)
.addStringOption((option) =>
@@ -1,13 +1,15 @@
import {
AccountList,
fetchBlitz,
Region,
usernamePattern,
} from '@blitzkit/core';
import { Locale } from 'discord.js';
import markdownEscape from 'markdown-escape';
import { Region } from '../constants/regions';
import fetchBlitz from '../core/blitz/fetchBlitz';
import { AccountList } from '../core/blitz/searchPlayersAcrossRegions';
import { usernamePattern } from '../core/blitz/searchPlayersAcrossRegions/constants';
import addRegionChoices from '../core/discord/addRegionChoices';
import addUsernameChoices from '../core/discord/addUsernameChoices';
import { addRegionChoices } from '../core/discord/addRegionChoices';
import { addUsernameChoices } from '../core/discord/addUsernameChoices';
import { createLocalizedCommand } from '../core/discord/createLocalizedCommand';
import embedInfo from '../core/discord/embedInfo';
import { embedInfo } from '../core/discord/embedInfo';
import { localizationObject } from '../core/discord/localizationObject';
import { translator } from '../core/localization/translator';
import { CommandRegistry } from '../events/interactionCreate';
@@ -18,9 +20,6 @@ export const searchPlayersCommand = new Promise<CommandRegistry>((resolve) => {
const { t, translate } = translator(Locale.EnglishUS);
resolve({
inProduction: true,
inPublic: true,
command: createLocalizedCommand('search-players')
.addStringOption(addRegionChoices)
.addStringOption((option) =>
@@ -1,33 +1,33 @@
import { emblemURL, getAccountInfo, getClanAccountInfo } from '@blitzkit/core';
import { Locale } from 'discord.js';
import AllStatsOverview from '../components/AllStatsOverview';
import CommandWrapper from '../components/CommandWrapper';
import NoData from '../components/NoData';
import TitleBar from '../components/TitleBar';
import { getAccountInfo } from '../core/blitz/getAccountInfo';
import { getClanAccountInfo } from '../core/blitz/getClanAccountInfo';
import { emblemURL } from '../core/blitzkit/emblemURL';
import { AllStatsOverview } from '../components/AllStatsOverview';
import { CommandWrapper } from '../components/CommandWrapper';
import { NoData } from '../components/NoData';
import { TitleBar } from '../components/TitleBar';
import { filtersToDescription } from '../core/blitzkit/filtersToDescription';
import { filterStats, StatFilters } from '../core/blitzstars/filterStats';
import { getBlitzStarsLinkButton } from '../core/blitzstars/getBlitzStarsLinkButton';
import getStatsInPeriod from '../core/blitzstars/getStatsInPeriod';
import addPeriodicFilterOptions from '../core/discord/addPeriodicFilterOptions';
import addUsernameChoices from '../core/discord/addUsernameChoices';
import autocompleteTanks from '../core/discord/autocompleteTanks';
import autocompleteUsername from '../core/discord/autocompleteUsername';
import { getStatsInPeriod } from '../core/blitzstars/getStatsInPeriod';
import { addPeriodicFilterOptions } from '../core/discord/addPeriodicFilterOptions';
import { addUsernameChoices } from '../core/discord/addUsernameChoices';
import { autocompleteTanks } from '../core/discord/autocompleteTanks';
import { autocompleteUsername } from '../core/discord/autocompleteUsername';
import { buttonRefresh } from '../core/discord/buttonRefresh';
import commandToURL from '../core/discord/commandToURL';
import { commandToURL } from '../core/discord/commandToURL';
import { createLocalizedCommand } from '../core/discord/createLocalizedCommand';
import { getCustomPeriodParams } from '../core/discord/getCustomPeriodParams';
import { getFiltersFromButton } from '../core/discord/getFiltersFromButton';
import { getFiltersFromCommand } from '../core/discord/getFiltersFromCommand';
import resolvePeriodFromButton from '../core/discord/resolvePeriodFromButton';
import resolvePeriodFromCommand, {
import { resolvePeriodFromButton } from '../core/discord/resolvePeriodFromButton';
import {
ResolvedPeriod,
resolvePeriodFromCommand,
} from '../core/discord/resolvePeriodFromCommand';
import resolvePlayerFromButton from '../core/discord/resolvePlayerFromButton';
import resolvePlayerFromCommand, {
import { resolvePlayerFromButton } from '../core/discord/resolvePlayerFromButton';
import {
ResolvedPlayer,
resolvePlayerFromCommand,
} from '../core/discord/resolvePlayerFromCommand';
import { StatFilters, filterStats } from '../core/statistics/filterStats';
import { CommandRegistry } from '../events/interactionCreate';
async function render(
@@ -71,9 +71,6 @@ async function render(
export const statsCommand = new Promise<CommandRegistry>(async (resolve) => {
resolve({
inProduction: true,
inPublic: true,
command: await addPeriodicFilterOptions(
createLocalizedCommand('stats'),
(option) => option.addStringOption(addUsernameChoices),
@@ -1,31 +1,29 @@
import { NATIONS } from '../core/blitzkit/tankDefinitions';
import { gameDefinitions } from '../core/blitzkit/nonBlockingPromises';
import { getBlitzStarsLinkButton } from '../core/blitzstars/getBlitzStarsLinkButton';
import { addFilterOptions } from '../core/discord/addFilterOptions';
import addUsernameChoices from '../core/discord/addUsernameChoices';
import autocompleteTanks from '../core/discord/autocompleteTanks';
import autocompleteUsername from '../core/discord/autocompleteUsername';
import { addUsernameChoices } from '../core/discord/addUsernameChoices';
import { autocompleteTanks } from '../core/discord/autocompleteTanks';
import { autocompleteUsername } from '../core/discord/autocompleteUsername';
import { buttonRefresh } from '../core/discord/buttonRefresh';
import commandToURL from '../core/discord/commandToURL';
import { commandToURL } from '../core/discord/commandToURL';
import { createLocalizedCommand } from '../core/discord/createLocalizedCommand';
import { getCustomPeriodParams } from '../core/discord/getCustomPeriodParams';
import { getFiltersFromButton } from '../core/discord/getFiltersFromButton';
import { getFiltersFromCommand } from '../core/discord/getFiltersFromCommand';
import resolvePeriodFromButton from '../core/discord/resolvePeriodFromButton';
import resolvePeriodFromCommand from '../core/discord/resolvePeriodFromCommand';
import resolvePlayerFromButton from '../core/discord/resolvePlayerFromButton';
import resolvePlayerFromCommand from '../core/discord/resolvePlayerFromCommand';
import { resolvePeriodFromButton } from '../core/discord/resolvePeriodFromButton';
import { resolvePeriodFromCommand } from '../core/discord/resolvePeriodFromCommand';
import { resolvePlayerFromButton } from '../core/discord/resolvePlayerFromButton';
import { resolvePlayerFromCommand } from '../core/discord/resolvePlayerFromCommand';
import { CommandRegistry } from '../events/interactionCreate';
import { renderBreakdown } from './breakdown/render';
export const todayCommand = new Promise<CommandRegistry>(async (resolve) => {
const nations = await NATIONS;
resolve({
inProduction: true,
inPublic: true,
const awaitedGameDefinitions = await gameDefinitions;
resolve({
command: addFilterOptions(
createLocalizedCommand('today'),
nations,
awaitedGameDefinitions.nations,
).addStringOption(addUsernameChoices),
async handler(interaction) {
Loaded 100 of 959 files, more files were not shown because too many files have changed in this diff. Show more