mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02:00
Compare commits
1279
Commits
v1.27.11
...
data-driven
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b00a63a9f8 | ||
|
|
8ec7fcb90a | ||
|
|
830e1597e7 | ||
|
|
3131217600 | ||
|
|
0b740e3f60 | ||
|
|
1416d64e34 | ||
|
|
bc6257a0c3 | ||
|
|
3d8cfc3aeb | ||
|
|
1c4ef7c129 | ||
|
|
a649995cdc | ||
|
|
df53f687f7 | ||
|
|
cae63a70b0 | ||
|
|
de80519f06 | ||
|
|
f935adb70e | ||
|
|
3902c63a65 | ||
|
|
e7b81f39b8 | ||
|
|
9692110733 | ||
|
|
ae2839cb83 | ||
|
|
eb0c35d6c6 | ||
|
|
1f0392681a | ||
|
|
53eebc7a43 | ||
|
|
5c482e0bac | ||
|
|
fe28738fe4 | ||
|
|
e1bc11644d | ||
|
|
e7708ce01b | ||
|
|
9a66fb5115 | ||
|
|
62da186a25 | ||
|
|
95318d0a99 | ||
|
|
9c67fd3204 | ||
|
|
1b08393f65 | ||
|
|
7f7d0cc499 | ||
|
|
0c91ee3600 | ||
|
|
1988ecff92 | ||
|
|
ff03f8ffb2 | ||
|
|
d050776628 | ||
|
|
78bff2cdd2 | ||
|
|
072174ad45 | ||
|
|
03f2bcdc1a | ||
|
|
b6ae34dafa | ||
|
|
2e10052732 | ||
|
|
9a95306b37 | ||
|
|
fbc4355984 | ||
|
|
24026a95ee | ||
|
|
8f4a43fc8a | ||
|
|
646d6fa7d5 | ||
|
|
37fae7477d | ||
|
|
940c3c537b | ||
|
|
fbdfa2c063 | ||
|
|
7234c39ad8 | ||
|
|
c292adac41 | ||
|
|
1af104d4d6 | ||
|
|
7b7513f227 | ||
|
|
02f5cc0686 | ||
|
|
6f1d653d54 | ||
|
|
92c8b90bb3 | ||
|
|
1b807e6d0e | ||
|
|
0e7b020d60 | ||
|
|
eda5d10290 | ||
|
|
85e93cd827 | ||
|
|
bc2dd8c7b7 | ||
|
|
904d50f4c3 | ||
|
|
112472762d | ||
|
|
f6e5fabb65 | ||
|
|
e19d0d5895 | ||
|
|
aa6268a86b | ||
|
|
0f878485b3 | ||
|
|
0e119b6ba8 | ||
|
|
3397e7f67b | ||
|
|
de03a2ab95 | ||
|
|
d4e649804e | ||
|
|
c31d5705eb | ||
|
|
16be5faae6 | ||
|
|
e1b079ca02 | ||
|
|
00149a3d9d | ||
|
|
e3e94e2b49 | ||
|
|
5ce927be4e | ||
|
|
f5dc3684d2 | ||
|
|
03b8ffe7e5 | ||
|
|
c70fae8162 | ||
|
|
d79e0ddb5d | ||
|
|
448e36492d | ||
|
|
541da65bfc | ||
|
|
e4e92d76b4 | ||
|
|
273881c460 | ||
|
|
3aefe7d985 | ||
|
|
bfe31053a9 | ||
|
|
a5eac5572e | ||
|
|
7cb3df3da2 | ||
|
|
474e71843d | ||
|
|
16637dac71 | ||
|
|
1a19cff268 | ||
|
|
870f7d799b | ||
|
|
4e1219486d | ||
|
|
bf132a7387 | ||
|
|
b4175dc60d | ||
|
|
6ebb2810ad | ||
|
|
116c30be88 | ||
|
|
e0ba100e91 | ||
|
|
60a92fbfdf | ||
|
|
643e1dd352 | ||
|
|
5ba62d2952 | ||
|
|
91f2b7afd0 | ||
|
|
1bdd8bab9e | ||
|
|
bded8a4da5 | ||
|
|
95d6d8a1ae | ||
|
|
5f61bac375 | ||
|
|
c310e8475e | ||
|
|
e090aee984 | ||
|
|
f3a8f2faab | ||
|
|
0539d69c7f | ||
|
|
ccbb572999 | ||
|
|
89b8f25918 | ||
|
|
fee2c8212d | ||
|
|
9a659845f5 | ||
|
|
ebdb8577da | ||
|
|
b880b8cdbd | ||
|
|
dd11efd481 | ||
|
|
6be4ff97f3 | ||
|
|
784c3e58c1 | ||
|
|
8b03784be5 | ||
|
|
d9f29cd0c9 | ||
|
|
86e7ace3f0 | ||
|
|
fbba0bf13b | ||
|
|
c2c586c2e7 | ||
|
|
aaf0e52be4 | ||
|
|
067c9cb267 | ||
|
|
8d5ef29771 | ||
|
|
a5637c9f07 | ||
|
|
d7e06a2b46 | ||
|
|
551183a65b | ||
|
|
46bd8f6316 | ||
|
|
f8aa9e75d5 | ||
|
|
6907e5fb7a | ||
|
|
e5e2f2505c | ||
|
|
b4770c1497 | ||
|
|
cef393473f | ||
|
|
6fb14d5544 | ||
|
|
2e46ba79cf | ||
|
|
6153beced6 | ||
|
|
90006dfd2a | ||
|
|
98b555fa7e | ||
|
|
0bdb66742b | ||
|
|
f3e8cdd5e0 | ||
|
|
962c3c78d0 | ||
|
|
04805675dd | ||
|
|
4028df0886 | ||
|
|
126e91411a | ||
|
|
24ffd70394 | ||
|
|
8c8b36f0d5 | ||
|
|
38c595ebce | ||
|
|
66a6aece7c | ||
|
|
35ce79a421 | ||
|
|
8e8da15254 | ||
|
|
eea358c4e1 | ||
|
|
ecfd50f05b | ||
|
|
7458cf51dc | ||
|
|
3b0af110d2 | ||
|
|
576b4f7c73 | ||
|
|
91da72e8b4 | ||
|
|
6319d6fbd0 | ||
|
|
a5321ebde3 | ||
|
|
74ca01f978 | ||
|
|
b7ac038ace | ||
|
|
1a2caf120b | ||
|
|
377bbabb02 | ||
|
|
a4c6f0a1e2 | ||
|
|
802f04bbe6 | ||
|
|
f7db1280cf | ||
|
|
0477887d68 | ||
|
|
0941c23a3c | ||
|
|
d44c184025 | ||
|
|
73975a5d83 | ||
|
|
7f9ee1f907 | ||
|
|
238674bd96 | ||
|
|
af85fb74cb | ||
|
|
bd42cb44e4 | ||
|
|
1f767af0b5 | ||
|
|
f73ffc3c93 | ||
|
|
5d4e0541b2 | ||
|
|
cbf320454f | ||
|
|
74fbd15c5f | ||
|
|
5cae5d1583 | ||
|
|
5c88bda07a | ||
|
|
19dbd8ca2e | ||
|
|
f17ac2b575 | ||
|
|
5d7482b158 | ||
|
|
22aff6188a | ||
|
|
1ee6cdabe5 | ||
|
|
480d2226f7 | ||
|
|
c42b109974 | ||
|
|
9537349664 | ||
|
|
8793c9a9c9 | ||
|
|
4d57b43912 | ||
|
|
ee146b8ed9 | ||
|
|
1c382022a7 | ||
|
|
593ae760e7 | ||
|
|
127c55ec93 | ||
|
|
e5b44d4eb8 | ||
|
|
e18d6f58f9 | ||
|
|
488451d71f | ||
|
|
558a02b6ae | ||
|
|
d8f6a55ee4 | ||
|
|
85b8c7057d | ||
|
|
763ecf22b0 | ||
|
|
281e4abec7 | ||
|
|
2beb084b67 | ||
|
|
f7ca622906 | ||
|
|
960279bf00 | ||
|
|
4247004b13 | ||
|
|
960ca4b0f4 | ||
|
|
424d9944ad | ||
|
|
a75c47865b | ||
|
|
c2714c4d6b | ||
|
|
1c505818a4 | ||
|
|
444705347f | ||
|
|
19556b5fc9 | ||
|
|
e52f003c1b | ||
|
|
4fc57d7fc1 | ||
|
|
8af41b91b5 | ||
|
|
347efa75fe | ||
|
|
1619ee1e00 | ||
|
|
a38239a6f9 | ||
|
|
9e26da3205 | ||
|
|
750bdd236a | ||
|
|
33bb8ead3c | ||
|
|
79e282e70e | ||
|
|
e911f36ea3 | ||
|
|
4e470599e8 | ||
|
|
5f24887535 | ||
|
|
99317c2075 | ||
|
|
99965118b3 | ||
|
|
7592381b12 | ||
|
|
7d02f6311f | ||
|
|
6c9ce58af5 | ||
|
|
9e38815475 | ||
|
|
402b6d5113 | ||
|
|
88643d366d | ||
|
|
1733180f2c | ||
|
|
11c2c9749c | ||
|
|
267bb271c9 | ||
|
|
3c01056f4e | ||
|
|
66f9c9d106 | ||
|
|
3be91469aa | ||
|
|
491b03ad00 | ||
|
|
054f33a649 | ||
|
|
5b4ad95a14 | ||
|
|
fe7282aae7 | ||
|
|
84f950ade4 | ||
|
|
8842283f0e | ||
|
|
b6f9ae9187 | ||
|
|
b5a10fcc73 | ||
|
|
4015c103cf | ||
|
|
8c08a00d64 | ||
|
|
5c89bcea99 | ||
|
|
5f737d940d | ||
|
|
ec161addab | ||
|
|
8d7575815b | ||
|
|
4a0fccc526 | ||
|
|
5477616917 | ||
|
|
ba1f530de7 | ||
|
|
1f1c9f26f1 | ||
|
|
b400ff6d07 | ||
|
|
edc3aba545 | ||
|
|
1e1040816b | ||
|
|
d477a3a7a4 | ||
|
|
37efc2b4a4 | ||
|
|
a0111d8b69 | ||
|
|
5285d081e4 | ||
|
|
de8b3959b3 | ||
|
|
cfc0ebb8e5 | ||
|
|
9839d4eef5 | ||
|
|
c637343593 | ||
|
|
f3c362dfce | ||
|
|
20cc6d32a4 | ||
|
|
35ed716659 | ||
|
|
bea55f1b6c | ||
|
|
f355cb9f76 | ||
|
|
e42576b005 | ||
|
|
f68198475e | ||
|
|
896ae20dce | ||
|
|
b8fdc5424d | ||
|
|
204c3eacc1 | ||
|
|
4d0f21e10b | ||
|
|
d3202e8607 | ||
|
|
a438eb704f | ||
|
|
1569de4475 | ||
|
|
0f022f8295 | ||
|
|
75c21a5129 | ||
|
|
5092d43e8e | ||
|
|
56d5d5e956 | ||
|
|
70eca3293b | ||
|
|
4f7ee54ef7 | ||
|
|
269df9586d | ||
|
|
3152c18840 | ||
|
|
52630596b8 | ||
|
|
7e184b8be0 | ||
|
|
877ba9408d | ||
|
|
8dc9a6b46d | ||
|
|
b3e439669b | ||
|
|
08c909fbe2 | ||
|
|
a44e2e9866 | ||
|
|
bae2f253bc | ||
|
|
d485a463dd | ||
|
|
3da1ed4d6c | ||
|
|
051e9ec74a | ||
|
|
486171f4db | ||
|
|
72de42a9ab | ||
|
|
404e6625c0 | ||
|
|
32e4bf3fd2 | ||
|
|
0d1088fefb | ||
|
|
1a17d607fb | ||
|
|
dcda627518 | ||
|
|
c130da7f0e | ||
|
|
e2df4d35b8 | ||
|
|
7739dbd0a3 | ||
|
|
9b7aa13d61 | ||
|
|
84ecaec5d3 | ||
|
|
01a5f1bd47 | ||
|
|
de0433ca02 | ||
|
|
cf76ae7136 | ||
|
|
ea21636c4e | ||
|
|
dafa834d28 | ||
|
|
f1a1c78588 | ||
|
|
14d16e5daf | ||
|
|
b52c1fc2d9 | ||
|
|
f45b24f7ab | ||
|
|
6ae175e5e0 | ||
|
|
0df27c38a1 | ||
|
|
e27cc3f6ed | ||
|
|
968c3957d0 | ||
|
|
577d2323a8 | ||
|
|
625c6cc649 | ||
|
|
9bc753b512 | ||
|
|
fb34e6ce2f | ||
|
|
f882ea29e2 | ||
|
|
62f68f1f10 | ||
|
|
8c9a41d72b | ||
|
|
5bda754b6e | ||
|
|
c5bb537bf2 | ||
|
|
c59779bedb | ||
|
|
5059e382b3 | ||
|
|
953570461c | ||
|
|
6d527a7170 | ||
|
|
ffd74de79f | ||
|
|
7c9ef9e5e0 | ||
|
|
cd10d9ab4a | ||
|
|
578d4a3ff2 | ||
|
|
0cd01fa258 | ||
|
|
21b37ced8d | ||
|
|
81856276b0 | ||
|
|
389052c692 | ||
|
|
09edd39a06 | ||
|
|
5c3077033e | ||
|
|
ef84d5b3b5 | ||
|
|
d29f91afbc | ||
|
|
ab87282103 | ||
|
|
408417ca68 | ||
|
|
b171ce2011 | ||
|
|
58d0d92d4f | ||
|
|
754f39f623 | ||
|
|
10c8ac95a4 | ||
|
|
b367866a22 | ||
|
|
b26c5137f3 | ||
|
|
13cda7aec0 | ||
|
|
d1b8bfe244 | ||
|
|
734db0957e | ||
|
|
050cb7a834 | ||
|
|
6dbcbc2afc | ||
|
|
484cb8fcb5 | ||
|
|
e09b407e61 | ||
|
|
b8742bae66 | ||
|
|
af58b4614d | ||
|
|
db6c4679b7 | ||
|
|
8169dfd85d | ||
|
|
e6d7f78ea4 | ||
|
|
f1f29b85b7 | ||
|
|
f587bc0983 | ||
|
|
7ef4e0b9af | ||
|
|
b52919ebfe | ||
|
|
84290b1c0e | ||
|
|
24297dcae8 | ||
|
|
c7ee3dbf7e | ||
|
|
dd769a9aa5 | ||
|
|
645cfacecb | ||
|
|
d2041d0ee6 | ||
|
|
ed7dd76ee5 | ||
|
|
bc2b9f1267 | ||
|
|
851a1108d2 | ||
|
|
f09663e1c0 | ||
|
|
6a05f11001 | ||
|
|
36e8a20cd5 | ||
|
|
7630cc52d3 | ||
|
|
23d2ca9a42 | ||
|
|
6e759e52c9 | ||
|
|
85883cd2c5 | ||
|
|
9e4d9c7968 | ||
|
|
9968b2c83d | ||
|
|
be0804ae59 | ||
|
|
129a2c52f9 | ||
|
|
996c9c05df | ||
|
|
36dbb24572 | ||
|
|
aaae8fb8ff | ||
|
|
e5e747f7a0 | ||
|
|
487d149587 | ||
|
|
48c4a4c76d | ||
|
|
33ebbbeb65 | ||
|
|
1a7a1223d5 | ||
|
|
9813459310 | ||
|
|
94c3608ca7 | ||
|
|
7e9be14a9a | ||
|
|
5f773931bc | ||
|
|
b2fd85a5b0 | ||
|
|
b060e65af5 | ||
|
|
8a3e57637d | ||
|
|
90ad923672 | ||
|
|
59108d7637 | ||
|
|
f85d097c16 | ||
|
|
ed92440b94 | ||
|
|
d41d45abae | ||
|
|
32a7db238b | ||
|
|
2dc23ba09d | ||
|
|
30522bfda0 | ||
|
|
ed31f40876 | ||
|
|
6ad64c9bd9 | ||
|
|
bd7c952478 | ||
|
|
f7180f0e1a | ||
|
|
b0611d7d72 | ||
|
|
244968bbbf | ||
|
|
fd8448b0a6 | ||
|
|
17c54be1c8 | ||
|
|
39745dd475 | ||
|
|
d81d885767 | ||
|
|
901cb0fcc8 | ||
|
|
7ee49c4026 | ||
|
|
4cff06110a | ||
|
|
251d40b0f4 | ||
|
|
ad15f83abb | ||
|
|
c2a5b742a7 | ||
|
|
514999e588 | ||
|
|
50d21918b4 | ||
|
|
43b59e4f02 | ||
|
|
d0834ed572 | ||
|
|
caf238dd32 | ||
|
|
0a7a220af3 | ||
|
|
434d1ede3c | ||
|
|
0f47208f5e | ||
|
|
cb2d795461 | ||
|
|
6e934e0ff1 | ||
|
|
375adadbe5 | ||
|
|
082a756f1b | ||
|
|
9fc8a8e2a2 | ||
|
|
1413475679 | ||
|
|
86504e685e | ||
|
|
9df81044d1 | ||
|
|
c5fd7591ea | ||
|
|
cd8e43f945 | ||
|
|
8df112aab4 | ||
|
|
94c04ce102 | ||
|
|
3a170202ca | ||
|
|
46937693a0 | ||
|
|
b391d0b036 | ||
|
|
1061e003f7 | ||
|
|
a2b573abca | ||
|
|
4571d141e6 | ||
|
|
d70225b03c | ||
|
|
dc6c528167 | ||
|
|
b4d5d4c16e | ||
|
|
f2f6d4ff49 | ||
|
|
cdbb7647f0 | ||
|
|
41e40de791 | ||
|
|
c85cd36818 | ||
|
|
5d2c63fed9 | ||
|
|
cead140855 | ||
|
|
63a0143d4f | ||
|
|
19f22993f1 | ||
|
|
b2eb74914f | ||
|
|
05572918b1 | ||
|
|
1cc8b26b16 | ||
|
|
a8e8d20cf1 | ||
|
|
55deb30607 | ||
|
|
03b8b89a17 | ||
|
|
3e421c7eb7 | ||
|
|
fc27caabdc | ||
|
|
3d35fae5ce | ||
|
|
f6dfc4f176 | ||
|
|
fdbbe2f356 | ||
|
|
cdf2aee43f | ||
|
|
56933ddfac | ||
|
|
1df2e818be | ||
|
|
1e4d00ea34 | ||
|
|
1bde50e0a3 | ||
|
|
88290ec1ab | ||
|
|
e8325df832 | ||
|
|
394f28e6ed | ||
|
|
f5f170bcca | ||
|
|
2ffe3fc006 | ||
|
|
406d70b5b7 | ||
|
|
f801e81c8b | ||
|
|
a0e1d8cee0 | ||
|
|
a9a870c3e6 | ||
|
|
3d061a78de | ||
|
|
a188a01244 | ||
|
|
0828722876 | ||
|
|
0ccd9e45d8 | ||
|
|
2f745a16d1 | ||
|
|
100c7391fb | ||
|
|
4f42a31f53 | ||
|
|
0b2e322112 | ||
|
|
042a1afa74 | ||
|
|
3edf4a25be | ||
|
|
43237c2aee | ||
|
|
2fffdc3ef5 | ||
|
|
76e748f0ed | ||
|
|
c353119962 | ||
|
|
5fa4d3b242 | ||
|
|
068e0e26b0 | ||
|
|
f6ca77f8c8 | ||
|
|
4c7eda81ca | ||
|
|
3948af9e39 | ||
|
|
aec30e1944 | ||
|
|
4205b16769 | ||
|
|
4d13803b0c | ||
|
|
b950ac1318 | ||
|
|
1920be28d8 | ||
|
|
8b00772958 | ||
|
|
e2e38dc4b3 | ||
|
|
455f1be041 | ||
|
|
3e37368038 | ||
|
|
4b86e20a13 | ||
|
|
d9a14924eb | ||
|
|
7d9d322405 | ||
|
|
5365044017 | ||
|
|
069edf0847 | ||
|
|
2cdcf95822 | ||
|
|
e43231aa97 | ||
|
|
0df2acd5e6 | ||
|
|
3f0b3f190a | ||
|
|
504f143ff7 | ||
|
|
7cfc30c7a1 | ||
|
|
f3ed687f00 | ||
|
|
e37575148c | ||
|
|
2df9979f08 | ||
|
|
c8ce26d6a7 | ||
|
|
898fd4bbf6 | ||
|
|
744f7195dd | ||
|
|
bc4f51846d | ||
|
|
ab8dc131b8 | ||
|
|
684d33071e | ||
|
|
146e68fc53 | ||
|
|
655b87d876 | ||
|
|
71caa2f703 | ||
|
|
99c95a4c15 | ||
|
|
93632a7073 | ||
|
|
297265822b | ||
|
|
a7f799b5b6 | ||
|
|
b176ec6c96 | ||
|
|
1a008a4852 | ||
|
|
145de2bbbc | ||
|
|
77c516a6eb | ||
|
|
6835004945 | ||
|
|
e36823c159 | ||
|
|
ec6ac128f2 | ||
|
|
d80f47a6c8 | ||
|
|
3a9af7505f | ||
|
|
34ee954502 | ||
|
|
b9878a05a1 | ||
|
|
e9412bc404 | ||
|
|
6755115c8a | ||
|
|
e8ed4615fe | ||
|
|
c55f4c311f | ||
|
|
e063970c58 | ||
|
|
fdf8580f5f | ||
|
|
cffd37c6f1 | ||
|
|
7419b3f29e | ||
|
|
e2f50871ec | ||
|
|
bdea9fdab3 | ||
|
|
ae793c1c28 | ||
|
|
3d912036a7 | ||
|
|
1866077a82 | ||
|
|
8345f99603 | ||
|
|
2ab576a37c | ||
|
|
5b9ff7acb3 | ||
|
|
4cdb712013 | ||
|
|
e6fcfdb514 | ||
|
|
9df1800e10 | ||
|
|
95ba925d27 | ||
|
|
41882ddf23 | ||
|
|
fe9b543a75 | ||
|
|
191843f972 | ||
|
|
c1fde44809 | ||
|
|
1a3517e035 | ||
|
|
afec6d9851 | ||
|
|
e3f2fd70ad | ||
|
|
5adbec25c4 | ||
|
|
4ff8d77460 | ||
|
|
22faa6d294 | ||
|
|
a2abfa7f85 | ||
|
|
7b93b12fcb | ||
|
|
ed252d5dfe | ||
|
|
c365993541 | ||
|
|
30f9475208 | ||
|
|
454c526666 | ||
|
|
e67970d2b9 | ||
|
|
0f1c03d1e5 | ||
|
|
8394f2ec1e | ||
|
|
f14e73d811 | ||
|
|
23e00b4199 | ||
|
|
427b189a34 | ||
|
|
eab4266fd1 | ||
|
|
86b4b63a7c | ||
|
|
547614fa89 | ||
|
|
e803d96f20 | ||
|
|
009caeeaf1 | ||
|
|
bfa80cd549 | ||
|
|
987c798b7e | ||
|
|
8dbe7cb155 | ||
|
|
053f1e3ac8 | ||
|
|
588c0a809b | ||
|
|
dde059b1f9 | ||
|
|
102072746a | ||
|
|
10d7fe1e75 | ||
|
|
4cc4e664df | ||
|
|
d5269e763b | ||
|
|
bae7ca2720 | ||
|
|
a0b81bfb83 | ||
|
|
629e9f814e | ||
|
|
f39d1bab4e | ||
|
|
bf61cb17de | ||
|
|
c8ba6b1eca | ||
|
|
1d8c823703 | ||
|
|
3594c9a971 | ||
|
|
f478a08bd9 | ||
|
|
115fa5acad | ||
|
|
c24a2989fa | ||
|
|
a6cfb522b3 | ||
|
|
12e645f6e2 | ||
|
|
9a3f64fcd6 | ||
|
|
5dba69f30a | ||
|
|
023c348b0d | ||
|
|
8313dd811d | ||
|
|
3f7d10c2c6 | ||
|
|
98e83d120a | ||
|
|
dd845d2784 | ||
|
|
dc15df2a40 | ||
|
|
7c838aaf06 | ||
|
|
f181c96518 | ||
|
|
6fbfa2c70b | ||
|
|
17dd50b902 | ||
|
|
9061335292 | ||
|
|
c27d3a3b6a | ||
|
|
c37acf4a93 | ||
|
|
0c1cef87f6 | ||
|
|
e8b777be8a | ||
|
|
2941348412 | ||
|
|
68b2ecfb6d | ||
|
|
e058b09621 | ||
|
|
d5526da1fb | ||
|
|
091305a20f | ||
|
|
85cd70b2d5 | ||
|
|
7997f490fc | ||
|
|
5a0b309b0b | ||
|
|
448e4e0d7d | ||
|
|
43c14665de | ||
|
|
e249408360 | ||
|
|
24e57d7125 | ||
|
|
0ea7714578 | ||
|
|
636a2934a2 | ||
|
|
cbe22035cb | ||
|
|
4c8e5cc8ed | ||
|
|
ee4141838c | ||
|
|
24ff42a672 | ||
|
|
d8748c028e | ||
|
|
b55924ce2b | ||
|
|
66f7a8d369 | ||
|
|
8ed97a3173 | ||
|
|
b4f452b026 | ||
|
|
8d4d730b11 | ||
|
|
8f54bd5971 | ||
|
|
56a09536cd | ||
|
|
9df5efa422 | ||
|
|
ee5461a297 | ||
|
|
5ed5f45240 | ||
|
|
a8cdc96382 | ||
|
|
532d677491 | ||
|
|
610ea60ca2 | ||
|
|
718576d5a9 | ||
|
|
f885fba4bd | ||
|
|
408a14003c | ||
|
|
9416e25ee9 | ||
|
|
8a3bbb3647 | ||
|
|
e16cc63cfe | ||
|
|
b2856eab58 | ||
|
|
55ffe22fd6 | ||
|
|
98e0f28cd9 | ||
|
|
547381286e | ||
|
|
bdaf6e662c | ||
|
|
87438abaa3 | ||
|
|
f837aaf40a | ||
|
|
86e080aae9 | ||
|
|
57efde83df | ||
|
|
6b29584424 | ||
|
|
71e40a0113 | ||
|
|
b5e7170697 | ||
|
|
4122856024 | ||
|
|
5b4c85138e | ||
|
|
727ced967b | ||
|
|
4462ebe82c | ||
|
|
06ce263668 | ||
|
|
7e086cc639 | ||
|
|
540e56a12d | ||
|
|
faf802cf3d | ||
|
|
b6d6fa7212 | ||
|
|
dfa8be63b4 | ||
|
|
9eb6acc624 | ||
|
|
b6204b1c2c | ||
|
|
39f1389d77 | ||
|
|
53b0f04512 | ||
|
|
d2fa93ee71 | ||
|
|
7871eae7a3 | ||
|
|
0bd660f255 | ||
|
|
488857b7d8 | ||
|
|
5e4c5fc230 | ||
|
|
7e6925772e | ||
|
|
b479c09cf8 | ||
|
|
eddc8168ba | ||
|
|
80dfc59017 | ||
|
|
fdc0f34e08 | ||
|
|
c0fdf10eba | ||
|
|
2aba4da1af | ||
|
|
581d889e9b | ||
|
|
6a280982d0 | ||
|
|
45c7d74160 | ||
|
|
9e225d2093 | ||
|
|
d1001df3cf | ||
|
|
d28c56fe1c | ||
|
|
fe68ebf450 | ||
|
|
18cc885869 | ||
|
|
9d4e1a66a1 | ||
|
|
de8d3396b1 | ||
|
|
baaae612fd | ||
|
|
4b5a511216 | ||
|
|
57dacddcfd | ||
|
|
a56665f3a3 | ||
|
|
c27e903c31 | ||
|
|
476f180a1a | ||
|
|
b05e70faee | ||
|
|
5c30169eca | ||
|
|
1226ce89a7 | ||
|
|
dcc8207fb6 | ||
|
|
c50f40a887 | ||
|
|
85f7d420a0 | ||
|
|
1aec1b2885 | ||
|
|
51226c8503 | ||
|
|
407d00b25b | ||
|
|
fb4fb926e8 | ||
|
|
70b0df55b0 | ||
|
|
7e8fd40c61 | ||
|
|
9286104391 | ||
|
|
814192c0b0 | ||
|
|
8fa6f87540 | ||
|
|
d265f0b0a1 | ||
|
|
9ccaade1fc | ||
|
|
2bb5bb33c0 | ||
|
|
e456063c27 | ||
|
|
7bc25f0722 | ||
|
|
6ed991d281 | ||
|
|
2487e0eebf | ||
|
|
6cc44cdfee | ||
|
|
eca26e1e79 | ||
|
|
5484a15071 | ||
|
|
b58ca4f594 | ||
|
|
7708e2c1db | ||
|
|
de77e27d50 | ||
|
|
e159583333 | ||
|
|
bfcf183a6e | ||
|
|
eed9d23646 | ||
|
|
8c1bf450a8 | ||
|
|
9ffc040723 | ||
|
|
f33a73e1bb | ||
|
|
2101dba7c6 | ||
|
|
1b398a5f66 | ||
|
|
d8f9a2633d | ||
|
|
2e79ccf7eb | ||
|
|
be778acf39 | ||
|
|
8d10d7cffa | ||
|
|
5b9041a972 | ||
|
|
1e60b1f61f | ||
|
|
13a636c023 | ||
|
|
8bc0693f3b | ||
|
|
9b842c501c | ||
|
|
8aadda4fb8 | ||
|
|
58c70f98e1 | ||
|
|
54b73d11ce | ||
|
|
d1ac5644a4 | ||
|
|
ae35c1516c | ||
|
|
fd364d434f | ||
|
|
fd37f72f8c | ||
|
|
1427f61c52 | ||
|
|
cd4fa366a0 | ||
|
|
344e7caa81 | ||
|
|
fe7b2aea02 | ||
|
|
fced1e96ef | ||
|
|
778efb2372 | ||
|
|
b67fd5b58c | ||
|
|
2559782a28 | ||
|
|
efb479fece | ||
|
|
fb829d4b81 | ||
|
|
91f4f2edcf | ||
|
|
a692d1ee0b | ||
|
|
31d2ab4746 | ||
|
|
e4e2c30748 | ||
|
|
d633874d90 | ||
|
|
9cb1d0cb3f | ||
|
|
a0bccc7973 | ||
|
|
3efe807e35 | ||
|
|
1cc15f64b0 | ||
|
|
f70864a0db | ||
|
|
5de40b220f | ||
|
|
bd19c9aac9 | ||
|
|
6bc5b7dcb6 | ||
|
|
00795eecdd | ||
|
|
f4e7b2ed98 | ||
|
|
81612793e3 | ||
|
|
d3bdbc39d2 | ||
|
|
7cb67bd44b | ||
|
|
9df09c9a53 | ||
|
|
a9f1d9ebec | ||
|
|
1b834eb848 | ||
|
|
c5518ec9bc | ||
|
|
8c705d7e2e | ||
|
|
efe9f91a2d | ||
|
|
e84bf6b31c | ||
|
|
46234b6cbb | ||
|
|
0bda743a91 | ||
|
|
b19866a1f5 | ||
|
|
9ca329e53f | ||
|
|
47b1eb9ab0 | ||
|
|
6c8fbf7245 | ||
|
|
2ea22512d4 | ||
|
|
697d1fa1b4 | ||
|
|
e4429f15bd | ||
|
|
cd8083ae30 | ||
|
|
9dcf7441c9 | ||
|
|
d4e1f99ce2 | ||
|
|
98de246578 | ||
|
|
45097f198c | ||
|
|
e063719caa | ||
|
|
975d579d21 | ||
|
|
b963ef0981 | ||
|
|
49fab21113 | ||
|
|
cbde48d41b | ||
|
|
1210baa545 | ||
|
|
2c03b530d2 | ||
|
|
ec977899fb | ||
|
|
e5fc2faad7 | ||
|
|
541dfc186b | ||
|
|
182471c4d6 | ||
|
|
e5c66cf232 | ||
|
|
fbbc0b82b4 | ||
|
|
aecc2adb07 | ||
|
|
f8ee2b64a6 | ||
|
|
7c4e28bd09 | ||
|
|
80d61d9e04 | ||
|
|
0c22ac3a97 | ||
|
|
efad6e61f7 | ||
|
|
3563aaecd5 | ||
|
|
5294de848f | ||
|
|
e82aa56cb2 | ||
|
|
e1b2b130a5 | ||
|
|
28f22f1d40 | ||
|
|
a3bb023309 | ||
|
|
797307fb81 | ||
|
|
f9802b44ff | ||
|
|
e26b9c78a3 | ||
|
|
925ae1a0b7 | ||
|
|
9584ecf38b | ||
|
|
338168d7e4 | ||
|
|
711d92887e | ||
|
|
78160041e8 | ||
|
|
1b884a52f9 | ||
|
|
f13c658ef4 | ||
|
|
b72d4058be | ||
|
|
029a781c50 | ||
|
|
adc1791f56 | ||
|
|
15b6ff43c5 | ||
|
|
e2c02f3d86 | ||
|
|
3ce47f6ed0 | ||
|
|
fa91b37d92 | ||
|
|
108644bd44 | ||
|
|
413436376b | ||
|
|
7d118015d0 | ||
|
|
92e7390a5d | ||
|
|
475e25a0d8 | ||
|
|
17115af0d8 | ||
|
|
a9894ade78 | ||
|
|
f5b09873a9 | ||
|
|
ac768d0897 | ||
|
|
f802b997c0 | ||
|
|
db94edea69 | ||
|
|
0809c9ee0c | ||
|
|
0326e8d1d7 | ||
|
|
912c1fb125 | ||
|
|
d07383a722 | ||
|
|
582e608203 | ||
|
|
501a618d5f | ||
|
|
7c7f34d899 | ||
|
|
864d34f344 | ||
|
|
9201fc72ce | ||
|
|
50f82d68b4 | ||
|
|
b81f664379 | ||
|
|
389707d0c8 | ||
|
|
9fbd623d91 | ||
|
|
f36df9e902 | ||
|
|
437bbfdc89 | ||
|
|
7becb7b6ad | ||
|
|
94e8a07f90 | ||
|
|
4ae5283ac4 | ||
|
|
ade238966b | ||
|
|
ea048da7a2 | ||
|
|
263f292a59 | ||
|
|
ff4a87e5b8 | ||
|
|
222b690fba | ||
|
|
e1a6e4e38d | ||
|
|
37adc04cda | ||
|
|
3fc7279f0e | ||
|
|
bd852b9368 | ||
|
|
26304fc281 | ||
|
|
0d8cb5c1ae | ||
|
|
dc60cffdff | ||
|
|
a3e74de277 | ||
|
|
49b5d4f7dc | ||
|
|
2c55455cd7 | ||
|
|
648ac57424 | ||
|
|
5e3cf816ee | ||
|
|
98ea42c7b0 | ||
|
|
873c8a54d3 | ||
|
|
927495ca16 | ||
|
|
cc957466fc | ||
|
|
ef173758aa | ||
|
|
bfceacdf3c | ||
|
|
ed0dde37d2 | ||
|
|
5ba64f231a | ||
|
|
1f06b1fef4 | ||
|
|
7b0625fc8d | ||
|
|
5dce234447 | ||
|
|
0f609717d0 | ||
|
|
3958709348 | ||
|
|
2d869c9fac | ||
|
|
82afaf9494 | ||
|
|
b1d82e624a | ||
|
|
9b60d56a36 | ||
|
|
ee0d4f6996 | ||
|
|
2d43408822 | ||
|
|
868f132105 | ||
|
|
ce428e093b | ||
|
|
ab430dc0ca | ||
|
|
03a51c47bb | ||
|
|
1790443698 | ||
|
|
a60f95340c | ||
|
|
e407463ca7 | ||
|
|
61cc15aafc | ||
|
|
1a947a6300 | ||
|
|
75262647f7 | ||
|
|
9914371dd8 | ||
|
|
a4e48a2feb | ||
|
|
4ab03e56a2 | ||
|
|
06a3791ddd | ||
|
|
36cce4b0c1 | ||
|
|
158141fdc7 | ||
|
|
1d319551e7 | ||
|
|
0552ac790e | ||
|
|
5ad7566874 | ||
|
|
638f178fbf | ||
|
|
1e996cb970 | ||
|
|
8639b31b8f | ||
|
|
889a92e98b | ||
|
|
e7fe3a4baf | ||
|
|
ab10343704 | ||
|
|
9412be2d7c | ||
|
|
66cf590f1c | ||
|
|
7c18549c00 | ||
|
|
9b97d3e27d | ||
|
|
aadc252e47 | ||
|
|
320a764d45 | ||
|
|
5594c0ec3b | ||
|
|
3d69d464f5 | ||
|
|
dd0b2bade7 | ||
|
|
99c90cfa9e | ||
|
|
dd3ce21508 | ||
|
|
b512cb2292 | ||
|
|
907e71ce03 | ||
|
|
10942879a6 | ||
|
|
d60551d30a | ||
|
|
b8c8528e1c | ||
|
|
0c9643016a | ||
|
|
61d1ebbad6 | ||
|
|
e9b7059cc0 | ||
|
|
a359897a2a | ||
|
|
e5f7d72df3 | ||
|
|
57092d8df0 | ||
|
|
86508d5413 | ||
|
|
33373c286f | ||
|
|
7443f75347 | ||
|
|
d09f934b80 | ||
|
|
7f919ebb87 | ||
|
|
0929825555 | ||
|
|
4de0fc5ec1 | ||
|
|
e66610f86e | ||
|
|
674abc4923 | ||
|
|
25cee8a36b | ||
|
|
dcbac5e017 | ||
|
|
0c94d42f3f | ||
|
|
7ab5e94323 | ||
|
|
f9ea5ba74a | ||
|
|
1e7162d2da | ||
|
|
cfba53a655 | ||
|
|
77a85641f0 | ||
|
|
5330a27e96 | ||
|
|
a791aff4a0 | ||
|
|
df8a5967f0 | ||
|
|
6261dfc9cd | ||
|
|
766801826c | ||
|
|
7b728596ca | ||
|
|
0bf6ac33a5 | ||
|
|
9a33b84b1c | ||
|
|
c14efe86cc | ||
|
|
4ff9a2ec7f | ||
|
|
75d7b4554b | ||
|
|
27c8b348bb | ||
|
|
a55ab5e7ee | ||
|
|
12e90cc6ee | ||
|
|
01755a2a64 | ||
|
|
080f0a0eb7 | ||
|
|
a646cc1e57 | ||
|
|
d107813c37 | ||
|
|
27d3bbf346 | ||
|
|
675a613a0e | ||
|
|
50c77e0ae1 | ||
|
|
6e0429332d | ||
|
|
7afce6cbcb | ||
|
|
17c7a5c7f5 | ||
|
|
f5aa2ff9de | ||
|
|
96a8f225fc | ||
|
|
d15a5aee69 | ||
|
|
84dc5e4960 | ||
|
|
58b5ee7f83 | ||
|
|
8a99d34af9 | ||
|
|
7cd7bd83dc | ||
|
|
c29d36a4b7 | ||
|
|
7d3b6221d7 | ||
|
|
fd66f9ab17 | ||
|
|
6fbb0e81cb | ||
|
|
6dc82588c1 | ||
|
|
c6eae9ad51 | ||
|
|
ebdd7629ff | ||
|
|
646bccf370 | ||
|
|
86206f2d89 | ||
|
|
bc0dd87e31 | ||
|
|
e26bb4efe0 | ||
|
|
66cf1fd223 | ||
|
|
335cd4d699 | ||
|
|
95fa5bc1a5 | ||
|
|
50eac9eba6 | ||
|
|
1598ae973f | ||
|
|
69f3a95379 | ||
|
|
3846cbab4a | ||
|
|
30e87743fc | ||
|
|
fe4afdcbf0 | ||
|
|
ef2a47e756 | ||
|
|
c2d625e1ed | ||
|
|
d33990bdb4 | ||
|
|
96482d4268 | ||
|
|
8b527f2333 | ||
|
|
f56c31fb48 | ||
|
|
7d164e415a | ||
|
|
b3a9f0889e | ||
|
|
6d24ed92d0 | ||
|
|
d287e66265 | ||
|
|
ac29d1ead0 | ||
|
|
b6c3fdc4e9 | ||
|
|
4efdaaf7c9 | ||
|
|
87b6a36520 | ||
|
|
cf38cb3a6e | ||
|
|
97fc386bc7 | ||
|
|
abfb3f8ddb | ||
|
|
9cb5113f6e | ||
|
|
7dd1c0c32a | ||
|
|
03233f3fdc | ||
|
|
377159c298 | ||
|
|
d8431fb620 | ||
|
|
0546ddefbd | ||
|
|
26f6889012 | ||
|
|
3ad6088565 | ||
|
|
b6fd568cc6 | ||
|
|
3861b07aef | ||
|
|
2bf57e2c72 | ||
|
|
744c6654cf | ||
|
|
b82e905757 | ||
|
|
c42e5b7dc3 | ||
|
|
b716218ecd | ||
|
|
511346e4bb | ||
|
|
5c2e49453e | ||
|
|
5d397de766 | ||
|
|
aa763f65d1 | ||
|
|
94cbd95509 | ||
|
|
f3762e356f | ||
|
|
5747d7549f | ||
|
|
aea4905d20 | ||
|
|
1558b69931 | ||
|
|
a560a3d3ae | ||
|
|
b620110d0f | ||
|
|
23ea72bf40 | ||
|
|
aaee0b7965 | ||
|
|
347523f9e7 | ||
|
|
3205630a0f | ||
|
|
8446e3fbbd | ||
|
|
6d25a97fc8 | ||
|
|
bdbfce0e18 | ||
|
|
8033e8f7cc | ||
|
|
f98c801d6c | ||
|
|
339663adaf | ||
|
|
2b15357dee | ||
|
|
1e05717daf | ||
|
|
c20f8c5040 | ||
|
|
f22f4eeccd | ||
|
|
79c450798c | ||
|
|
d247e67690 | ||
|
|
69b2035cfc | ||
|
|
62fed63310 | ||
|
|
7c29046390 | ||
|
|
b65c3c1d93 | ||
|
|
87f5d8fe8f | ||
|
|
54c7b6b476 | ||
|
|
7bdaf9ca93 | ||
|
|
525b9377cc | ||
|
|
94cba0c9ba | ||
|
|
4ddf77fc7f | ||
|
|
ae6dc259dc | ||
|
|
c2e95f6ef6 | ||
|
|
868812e578 | ||
|
|
b5064f9e8b | ||
|
|
a0eb0d54f0 | ||
|
|
e47b1315a9 | ||
|
|
60025365c4 | ||
|
|
cde6904513 | ||
|
|
997d1df8f9 | ||
|
|
9f15ded0c9 | ||
|
|
b2ee97b3d4 | ||
|
|
03d819a6c1 | ||
|
|
8ff26d57f6 | ||
|
|
c243ebd19a | ||
|
|
40f5042896 | ||
|
|
21130b29f8 | ||
|
|
d50b054243 | ||
|
|
6b7f8049fe | ||
|
|
e6029157aa | ||
|
|
ba656eb603 | ||
|
|
e8dd26b2ba | ||
|
|
897da9479d | ||
|
|
291395718f | ||
|
|
42e860b171 | ||
|
|
3b6d339310 | ||
|
|
728fd5b824 | ||
|
|
34217b2754 | ||
|
|
1e7acc2775 | ||
|
|
0b5c88531f | ||
|
|
e145d7c6e8 | ||
|
|
af13e3f184 | ||
|
|
19a2492555 | ||
|
|
3c51f4f94a | ||
|
|
86f4712b87 | ||
|
|
ea90ca21b1 | ||
|
|
b3046d8655 | ||
|
|
8f9e537a5e | ||
|
|
9368d058f2 | ||
|
|
31b628049a | ||
|
|
072e913433 | ||
|
|
e3f131cdfd | ||
|
|
5cab394ced | ||
|
|
2033fab21a | ||
|
|
7471567147 | ||
|
|
43aee373ea | ||
|
|
993083665b | ||
|
|
f2c25424d9 | ||
|
|
bbe53deb98 | ||
|
|
1f07c2be74 | ||
|
|
ea744b673a | ||
|
|
d8a6cac52f | ||
|
|
1524b9a35d | ||
|
|
36738f57a9 | ||
|
|
fca6cb23d1 | ||
|
|
a704b291fd | ||
|
|
e1b5b21fae | ||
|
|
097f2792ae | ||
|
|
089d0e9682 | ||
|
|
6a92b3ae80 | ||
|
|
1e91065033 | ||
|
|
b20bb97ea3 | ||
|
|
ba97a9f28b | ||
|
|
81e480f983 | ||
|
|
40e4e0a274 | ||
|
|
83b7de77de | ||
|
|
20f7119854 | ||
|
|
275ddcc7a6 | ||
|
|
4858f31da4 | ||
|
|
4bc255a624 | ||
|
|
17755641a1 | ||
|
|
0e6b0087ce | ||
|
|
fcd084a86f | ||
|
|
af699ff5b7 | ||
|
|
93665df223 | ||
|
|
f8b4f9372a | ||
|
|
e84e15daf4 | ||
|
|
d7af7e19dd | ||
|
|
c5cf172e42 | ||
|
|
2e8cac885c | ||
|
|
9ed4a856bf | ||
|
|
eedd4b3f27 | ||
|
|
3b7fe0b114 | ||
|
|
a6d66b94f5 | ||
|
|
c7a7bbb809 | ||
|
|
02ce6ba8d9 | ||
|
|
9dd057d594 | ||
|
|
64ec981496 | ||
|
|
8afafdeece | ||
|
|
6b9fd1d392 | ||
|
|
c1efc50134 | ||
|
|
b4b1f4e916 | ||
|
|
3de0c40ce3 | ||
|
|
893bfa8393 | ||
|
|
cc25535c34 | ||
|
|
a4cdf16fcd | ||
|
|
36588b11e6 | ||
|
|
e927838c14 | ||
|
|
5197ebb6a7 | ||
|
|
51089a3e91 | ||
|
|
c6121fd4bd | ||
|
|
7dca9d3244 | ||
|
|
abebfcf6c6 | ||
|
|
470869418c | ||
|
|
cd2bad3b27 | ||
|
|
5e9555aa57 | ||
|
|
084d55b853 | ||
|
|
a3879f3fa7 | ||
|
|
135a2d74c4 | ||
|
|
233f866c9e | ||
|
|
9e880ff24f | ||
|
|
36039563e0 | ||
|
|
022e970537 | ||
|
|
51e99ec442 | ||
|
|
caeba34ba1 | ||
|
|
6d6a634973 | ||
|
|
55e6599eaa | ||
|
|
e146366385 | ||
|
|
b1dd319c1e | ||
|
|
e7ca8f1b10 | ||
|
|
0d8a677ac5 | ||
|
|
a8dc271e0a | ||
|
|
f3d6ba68a7 | ||
|
|
e68b27bac4 | ||
|
|
d49eef7308 | ||
|
|
6e630a91aa | ||
|
|
2c66e79daf | ||
|
|
9a94a4e371 | ||
|
|
b1372c998d | ||
|
|
4ed93cb38f | ||
|
|
4d1b175c07 | ||
|
|
ecfedc32ad | ||
|
|
9da514c329 | ||
|
|
ee5386c925 | ||
|
|
76f7ae45ce | ||
|
|
ad2aaa7bf8 | ||
|
|
2a4375c718 | ||
|
|
134566f1d8 | ||
|
|
d592a95cae | ||
|
|
4f74556eb6 | ||
|
|
1342f434a3 | ||
|
|
6110471990 | ||
|
|
359eec5209 |
No files matched your search
@@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
name: proto-workflow
|
||||||
|
description: Regenerate this repository's TypeScript protobuf outputs after editing .proto schemas.
|
||||||
|
---
|
||||||
|
|
||||||
|
# Proto Workflow
|
||||||
|
|
||||||
|
After editing any `.proto` schema in this repository, run `bun run build-protos` from the repository root. Review the generated changes and address any schema or generator errors before finishing the task.
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
---
|
||||||
|
name: repo-boundaries
|
||||||
|
description: Apply the user's persistent repository boundaries whenever working in their projects.
|
||||||
|
---
|
||||||
|
|
||||||
|
# Repo Boundaries
|
||||||
|
|
||||||
|
Apply these boundaries to all work in the user's repositories:
|
||||||
|
|
||||||
|
- Read-only Git commands are allowed when useful, including status, diff, log, and show. Do not run Git commands that modify repository state.
|
||||||
|
- Never edit `bun.lock`, including regenerating or formatting it. When dependency manifests change, leave the lockfile alone; the user will update it by running `bun install`.
|
||||||
|
|
||||||
|
These are firm constraints, not preferences to revisit for a task. Continue useful work within them and explain any limitation if a requested result would require crossing either boundary.
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
interface:
|
||||||
|
display_name: "Repo Boundaries"
|
||||||
|
short_description: "Respect repository editing boundaries"
|
||||||
@@ -0,0 +1,38 @@
|
|||||||
|
name: 🐞 Bug Report
|
||||||
|
description: BlitzKit is not behaving as expected.
|
||||||
|
labels: ["bug"]
|
||||||
|
type: bug
|
||||||
|
|
||||||
|
body:
|
||||||
|
- type: markdown
|
||||||
|
attributes:
|
||||||
|
value: Thank you so much for reporting an issue! Please fill out the form below in its entirety and we'll address your issue as soon as possible.
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
attributes:
|
||||||
|
label: What happened?
|
||||||
|
description: What about BlitzKit's behavior did you find unexpected?
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
attributes:
|
||||||
|
label: How do you reproduce the issue?
|
||||||
|
description: What steps one must follow to recreate your issue?
|
||||||
|
|
||||||
|
- type: dropdown
|
||||||
|
attributes:
|
||||||
|
label: Branch
|
||||||
|
description: What branch of BlitzKit were you using? Please see the "Branch" section of the footer at the very bottom of any page.
|
||||||
|
options:
|
||||||
|
- Production
|
||||||
|
- Preview
|
||||||
|
- OpenTest
|
||||||
|
default: 0
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
|
||||||
|
- type: input
|
||||||
|
attributes:
|
||||||
|
label: Discord username
|
||||||
|
description: Do you have a Discord account that we can reach out to for further information?
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
blank_issues_enabled: false
|
||||||
|
|
||||||
|
contact_links:
|
||||||
|
- name: 🎮 Discord Server
|
||||||
|
about: Got questions? We answer better on Discord!
|
||||||
|
url: https://discord.gg/nDt7AjGJQH
|
||||||
|
|
||||||
|
- name: ✉️ Email
|
||||||
|
about: Reach out to BlitzKit formally through email.
|
||||||
|
url: https://blitzkit.app/contact
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
name: 💡 Feature Request
|
||||||
|
description: BlitzKit could use a new idea.
|
||||||
|
labels: ["enhancement"]
|
||||||
|
type: feature
|
||||||
|
|
||||||
|
body:
|
||||||
|
- type: markdown
|
||||||
|
attributes:
|
||||||
|
value: Thank you so much for pitching in an idea!
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
attributes:
|
||||||
|
label: What's your idea?
|
||||||
|
description: Please be descriptive and feel free to add drawings/screenshots if needed.
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
version: 2
|
||||||
|
updates:
|
||||||
|
- package-ecosystem: "bun"
|
||||||
|
directory: "/"
|
||||||
|
schedule:
|
||||||
|
interval: "daily"
|
||||||
@@ -1,150 +0,0 @@
|
|||||||
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 }}
|
|
||||||
WOTB_GLOSSARY_DOMAIN: ${{ secrets.WOTB_GLOSSARY_DOMAIN }}
|
|
||||||
WOTB_GLOSSARY_PATH: ${{ secrets.WOTB_GLOSSARY_PATH }}
|
|
||||||
PUBLIC_PROMOTE_OPENTEST: ${{ secrets.PUBLIC_PROMOTE_OPENTEST }}
|
|
||||||
ALLOW_ROBOTS: true
|
|
||||||
PUBLIC_GOOGLE_TAG_MANAGER_ID: ${{ secrets.PUBLIC_GOOGLE_TAG_MANAGER_ID }}
|
|
||||||
PUBLIC_GOOGLE_ANALYTICS_PROPERTY_ID: ${{ secrets.PUBLIC_GOOGLE_ANALYTICS_PROPERTY_ID }}
|
|
||||||
PUBLIC_PATREON_CLIENT_ID: ${{ secrets.PUBLIC_PATREON_CLIENT_ID }}
|
|
||||||
PUBLIC_PATREON_REDIRECT_URI: ${{ secrets.PUBLIC_PATREON_REDIRECT_URI }}
|
|
||||||
PATREON_CLIENT_SECRET: ${{ secrets.PATREON_CLIENT_SECRET }}
|
|
||||||
PUBLIC_NITROPAY_ID: ${{ secrets.PUBLIC_NITROPAY_ID }}
|
|
||||||
PUBLIC_DEBUG_MISSING_I18N: false
|
|
||||||
PUBLIC_DISCORD_SERVER_ID: ${{ secrets.PUBLIC_DISCORD_SERVER_ID }}
|
|
||||||
|
|
||||||
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
|
|
||||||
with:
|
|
||||||
submodules: recursive
|
|
||||||
token: ${{ secrets.GH_TOKEN }}
|
|
||||||
|
|
||||||
- name: Setup bun
|
|
||||||
uses: oven-sh/setup-bun@v1
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
run: bun install
|
|
||||||
|
|
||||||
- name: Lint
|
|
||||||
run: bun run lint:website
|
|
||||||
|
|
||||||
- name: Download depots
|
|
||||||
uses: actions/download-artifact@v4
|
|
||||||
with:
|
|
||||||
name: depots
|
|
||||||
path: depots
|
|
||||||
|
|
||||||
- name: AppArmor hack
|
|
||||||
run: echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns
|
|
||||||
|
|
||||||
- name: Start server and build assets
|
|
||||||
run: |
|
|
||||||
bun dev:website --verbosepa &
|
|
||||||
SERVER_PID=$!
|
|
||||||
|
|
||||||
bun run build:assets --all-targets --depot --production
|
|
||||||
|
|
||||||
kill $SERVER_PID || true
|
|
||||||
@@ -1,36 +0,0 @@
|
|||||||
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,33 +0,0 @@
|
|||||||
name: Build Bot
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
concurrency:
|
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
|
||||||
cancel-in-progress: true
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
name: Build
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- uses: oven-sh/setup-bun@v1
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
run: bun install
|
|
||||||
|
|
||||||
- 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
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
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
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
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
|
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
name: Discover IDs
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: production
|
||||||
|
|
||||||
|
schedule:
|
||||||
|
- cron: 0 */6 * * *
|
||||||
|
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
discover:
|
||||||
|
name: Discover IDs
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v6
|
||||||
|
with:
|
||||||
|
ref: production
|
||||||
|
submodules: recursive
|
||||||
|
token: ${{ secrets.GH_TOKEN }}
|
||||||
|
|
||||||
|
- name: Setup bun
|
||||||
|
uses: oven-sh/setup-bun@v2
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: bun install
|
||||||
|
|
||||||
|
- name: Setup Git
|
||||||
|
run: |
|
||||||
|
git config --global user.name "github-actions[bot]"
|
||||||
|
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||||
|
|
||||||
|
- name: Discover IDs
|
||||||
|
run: bun run discover-ids
|
||||||
|
env:
|
||||||
|
PUBLIC_WARGAMING_APPLICATION_ID: ${{ secrets.PUBLIC_WARGAMING_APPLICATION_ID }}
|
||||||
|
GH_TOKEN: ${{ secrets.IDS_TOKEN }}
|
||||||
@@ -1,28 +0,0 @@
|
|||||||
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
|
|
||||||
@@ -1,28 +0,0 @@
|
|||||||
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
|
|
||||||
@@ -1,28 +0,0 @@
|
|||||||
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
|
|
||||||
@@ -1,37 +0,0 @@
|
|||||||
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
|
|
||||||
@@ -0,0 +1,176 @@
|
|||||||
|
name: Website
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
|
||||||
|
schedule:
|
||||||
|
- cron: "0 4 * * *"
|
||||||
|
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
branch:
|
||||||
|
description: Branch
|
||||||
|
|
||||||
|
type: choice
|
||||||
|
required: true
|
||||||
|
default: production
|
||||||
|
|
||||||
|
options:
|
||||||
|
- production
|
||||||
|
- main
|
||||||
|
|
||||||
|
environment:
|
||||||
|
description: Environment
|
||||||
|
|
||||||
|
type: choice
|
||||||
|
required: true
|
||||||
|
default: production
|
||||||
|
|
||||||
|
options:
|
||||||
|
- development
|
||||||
|
- beta
|
||||||
|
- production
|
||||||
|
- preview
|
||||||
|
- opentest
|
||||||
|
|
||||||
|
client_provider:
|
||||||
|
description: Client provider
|
||||||
|
|
||||||
|
type: choice
|
||||||
|
required: true
|
||||||
|
default: steam
|
||||||
|
|
||||||
|
options:
|
||||||
|
- steam
|
||||||
|
- zip
|
||||||
|
- wgpkg
|
||||||
|
|
||||||
|
client_source:
|
||||||
|
description: Client source
|
||||||
|
|
||||||
|
type: string
|
||||||
|
required: true
|
||||||
|
default: 444200/windows
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ inputs.environment || github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
|
env:
|
||||||
|
# client
|
||||||
|
STEAM_USERNAME: ${{ secrets.STEAM_USERNAME }}
|
||||||
|
STEAM_PASSWORD: ${{ secrets.STEAM_PASSWORD }}
|
||||||
|
CLIENT_PROVIDER: ${{ inputs.client_provider || 'steam' }}
|
||||||
|
CLIENT_SOURCE: ${{ inputs.client_source || '444200/windows' }}
|
||||||
|
CLIENT_DIR: ../../temp/game
|
||||||
|
|
||||||
|
# blitzkit
|
||||||
|
PUBLIC_ENVIRONMENT: ${{ inputs.environment || 'production' }}
|
||||||
|
PUBLIC_PROMOTE_OPENTEST: false
|
||||||
|
PUBLIC_STATIC_ASSET_BASE: https://assets.blitzkit.app
|
||||||
|
PUBLIC_GUIDE_WEBSITE: https://guidesblitz.com
|
||||||
|
|
||||||
|
# blitz
|
||||||
|
WOTB_GLOSSARY: ${{ secrets.WOTB_GLOSSARY }}
|
||||||
|
WOTB_GLOSSARY_DOMAIN: ${{ secrets.WOTB_GLOSSARY_DOMAIN }}
|
||||||
|
WOTB_GLOSSARY_PATH: ${{ secrets.WOTB_GLOSSARY_PATH }}
|
||||||
|
|
||||||
|
# google
|
||||||
|
PUBLIC_GOOGLE_TAG_MANAGER_ID: ${{ secrets.PUBLIC_GOOGLE_TAG_MANAGER_ID }}
|
||||||
|
|
||||||
|
# wargaming
|
||||||
|
PUBLIC_WARGAMING_APPLICATION_ID: ${{ secrets.PUBLIC_WARGAMING_APPLICATION_ID }}
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: Build website
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
fail-fast: true
|
||||||
|
matrix:
|
||||||
|
chunk: [default, api]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Free disk space
|
||||||
|
uses: jlumbroso/free-disk-space@main
|
||||||
|
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v6
|
||||||
|
with:
|
||||||
|
ref: ${{ inputs.branch || 'production' }}
|
||||||
|
submodules: recursive
|
||||||
|
token: ${{ secrets.GH_TOKEN }}
|
||||||
|
|
||||||
|
- name: Setup bun
|
||||||
|
uses: oven-sh/setup-bun@v2
|
||||||
|
|
||||||
|
- name: Setup protoc
|
||||||
|
uses: arduino/setup-protoc@v3
|
||||||
|
with:
|
||||||
|
repo-token: ${{ secrets.GH_TOKEN }}
|
||||||
|
|
||||||
|
- name: Setup CLIs
|
||||||
|
run: |
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install -y aria2 libarchive-tools
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: bun install
|
||||||
|
|
||||||
|
- name: Download Client
|
||||||
|
run: bun run download-client
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: bun run --bun build
|
||||||
|
env:
|
||||||
|
CHUNK: ${{ matrix.chunk }}
|
||||||
|
|
||||||
|
- name: Upload artifact
|
||||||
|
id: upload
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: chunk-${{ matrix.chunk }}
|
||||||
|
path: dist/website
|
||||||
|
|
||||||
|
- name: Trigger deployment
|
||||||
|
|
||||||
|
# Deploy if:
|
||||||
|
# 1. Running cron from main using content from production to target production
|
||||||
|
# 2. Running manually and targeting non-production
|
||||||
|
if: >-
|
||||||
|
${{
|
||||||
|
github.ref == 'refs/heads/production' ||
|
||||||
|
(inputs.environment != '' && inputs.environment != 'production')
|
||||||
|
}}
|
||||||
|
|
||||||
|
env:
|
||||||
|
TOKEN: ${{ secrets.GH_NODE_DEPLOY_TOKEN }}
|
||||||
|
CHUNK: ${{ matrix.chunk }}
|
||||||
|
|
||||||
|
run: |
|
||||||
|
ENV_FILE="environments/${PUBLIC_ENVIRONMENT}.json"
|
||||||
|
TARGET_REPO=$(jq -r ".nodes.\"$CHUNK\"" "$ENV_FILE")
|
||||||
|
|
||||||
|
if [ "$TARGET_REPO" == "null" ] || [ -z "$TARGET_REPO" ]; then
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
curl \
|
||||||
|
-X POST \
|
||||||
|
-H "Accept: application/vnd.github+json" \
|
||||||
|
-H "Authorization: Bearer $TOKEN" \
|
||||||
|
"https://api.github.com/repos/$TARGET_REPO/dispatches" \
|
||||||
|
-d "{
|
||||||
|
\"event_type\": \"deploy-pages\",
|
||||||
|
\"client_payload\": {
|
||||||
|
\"source_repo\": \"${{ github.repository }}\",
|
||||||
|
\"run_id\": \"${{ github.run_id }}\",
|
||||||
|
\"artifact_id\": \"${{ steps.upload.outputs.artifact-id }}\",
|
||||||
|
\"chunk\": \"$CHUNK\"
|
||||||
|
}
|
||||||
|
}"
|
||||||
@@ -1,69 +0,0 @@
|
|||||||
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 }}
|
|
||||||
WOTB_GLOSSARY_DOMAIN: ${{ secrets.WOTB_GLOSSARY_DOMAIN }}
|
|
||||||
WOTB_GLOSSARY_PATH: ${{ secrets.WOTB_GLOSSARY_PATH }}
|
|
||||||
PUBLIC_DISCORD_SERVER_ID: ${{ secrets.PUBLIC_DISCORD_SERVER_ID }}
|
|
||||||
|
|
||||||
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
|
|
||||||
+29
-4
@@ -1,3 +1,5 @@
|
|||||||
|
packages/protos/src/*/*.ts
|
||||||
|
|
||||||
node_modules
|
node_modules
|
||||||
_node_modules
|
_node_modules
|
||||||
package-lock.json
|
package-lock.json
|
||||||
@@ -22,10 +24,33 @@ depots
|
|||||||
public/sitemap*
|
public/sitemap*
|
||||||
/firebase.json
|
/firebase.json
|
||||||
target
|
target
|
||||||
# packages/core/src/protos/*
|
# packages/core/src/protos/*.ts
|
||||||
# !packages/core/src/protos/*.proto
|
|
||||||
/.vercel
|
/.vercel
|
||||||
/.astro
|
.astro
|
||||||
.vercel
|
.vercel
|
||||||
/src
|
/src
|
||||||
/packages/bot/src/prisma
|
dev-dist
|
||||||
|
# Logs
|
||||||
|
logs
|
||||||
|
*.log
|
||||||
|
npm-debug.log*
|
||||||
|
yarn-debug.log*
|
||||||
|
yarn-error.log*
|
||||||
|
pnpm-debug.log*
|
||||||
|
lerna-debug.log*
|
||||||
|
|
||||||
|
node_modules
|
||||||
|
dist
|
||||||
|
dist-ssr
|
||||||
|
*.local
|
||||||
|
|
||||||
|
# Editor directories and files
|
||||||
|
.vscode/*
|
||||||
|
!.vscode/extensions.json
|
||||||
|
.idea
|
||||||
|
.DS_Store
|
||||||
|
*.suo
|
||||||
|
*.ntvs*
|
||||||
|
*.njsproj
|
||||||
|
*.sln
|
||||||
|
*.sw?
|
||||||
+3
-9
@@ -1,9 +1,3 @@
|
|||||||
[submodule "submodules/blitzkit-closed"]
|
[submodule "packages/closed"]
|
||||||
path = submodules/blitzkit-closed
|
path = packages/closed
|
||||||
url = https://github.com/tresabhi/blitzkit-closed
|
url = https://github.com/blitzkit/closed.git
|
||||||
[submodule "submodules/CUE4Parse"]
|
|
||||||
path = submodules/CUE4Parse
|
|
||||||
url = https://github.com/FabianFG/CUE4Parse
|
|
||||||
[submodule "submodules/UAssetAPI"]
|
|
||||||
path = submodules/UAssetAPI
|
|
||||||
url = https://github.com/atenfyr/UAssetAPI
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
{
|
|
||||||
"trailingComma": "all",
|
|
||||||
"tabWidth": 2,
|
|
||||||
"semi": true,
|
|
||||||
"singleQuote": true,
|
|
||||||
"printWidth": 80
|
|
||||||
}
|
|
||||||
Vendored
+38
-5
@@ -11,16 +11,19 @@
|
|||||||
"analyticsreporting",
|
"analyticsreporting",
|
||||||
"APAC",
|
"APAC",
|
||||||
"apcr",
|
"apcr",
|
||||||
|
"appinfo",
|
||||||
"applypatches",
|
"applypatches",
|
||||||
"artefacts",
|
"artefacts",
|
||||||
"astrojs",
|
"astrojs",
|
||||||
"astrolib",
|
"astrolib",
|
||||||
"atgm",
|
"atgm",
|
||||||
|
"autocrop",
|
||||||
"Autoloader",
|
"Autoloader",
|
||||||
"Autoreloader",
|
"Autoreloader",
|
||||||
"AYUV",
|
"AYUV",
|
||||||
"battleresults",
|
"battleresults",
|
||||||
"bbox",
|
"bbox",
|
||||||
|
"beforeinstallprompt",
|
||||||
"bepaint",
|
"bepaint",
|
||||||
"betakrieg",
|
"betakrieg",
|
||||||
"BINORMAL",
|
"BINORMAL",
|
||||||
@@ -33,12 +36,14 @@
|
|||||||
"blitzkit",
|
"blitzkit",
|
||||||
"blitzrinth",
|
"blitzrinth",
|
||||||
"blitzstars",
|
"blitzstars",
|
||||||
|
"bufbuild",
|
||||||
"cacheable",
|
"cacheable",
|
||||||
"Callouts",
|
"Callouts",
|
||||||
"Camo",
|
"Camo",
|
||||||
"Carro",
|
"Carro",
|
||||||
"CCPAOPTOUT",
|
"CCPAOPTOUT",
|
||||||
"CDON",
|
"CDON",
|
||||||
|
"clanid",
|
||||||
"classname",
|
"classname",
|
||||||
"cleandist",
|
"cleandist",
|
||||||
"closedkrieg",
|
"closedkrieg",
|
||||||
@@ -61,32 +66,45 @@
|
|||||||
"deburr",
|
"deburr",
|
||||||
"decalmask",
|
"decalmask",
|
||||||
"decompressor",
|
"decompressor",
|
||||||
|
"décor",
|
||||||
|
"dedup",
|
||||||
"defence",
|
"defence",
|
||||||
"degressive",
|
"degressive",
|
||||||
|
"depotdownloader",
|
||||||
"devkrieg",
|
"devkrieg",
|
||||||
"diacriticless",
|
"diacriticless",
|
||||||
"DIDS",
|
"DIDS",
|
||||||
"donotremove",
|
"donotremove",
|
||||||
"drei",
|
"drei",
|
||||||
|
"Droodles",
|
||||||
"dvpd",
|
"dvpd",
|
||||||
"dvpl",
|
"dvpl",
|
||||||
"DVPLCRC",
|
"DVPLCRC",
|
||||||
"dvpm",
|
"dvpm",
|
||||||
"dxgi",
|
"dxgi",
|
||||||
|
"easimon",
|
||||||
"echarts",
|
"echarts",
|
||||||
"Everytime",
|
"Everytime",
|
||||||
"FASTNAME",
|
"FASTNAME",
|
||||||
|
"favicons",
|
||||||
"flexdirection",
|
"flexdirection",
|
||||||
|
"fontsource",
|
||||||
"FOURCC",
|
"FOURCC",
|
||||||
"frameloop",
|
"frameloop",
|
||||||
"fsformat",
|
"fsformat",
|
||||||
"Fullscreen",
|
"Fullscreen",
|
||||||
"fullstats",
|
"fullstats",
|
||||||
"fuzzysort",
|
"fuzzysort",
|
||||||
|
"gamemode",
|
||||||
|
"gamemodes",
|
||||||
"gameplay",
|
"gameplay",
|
||||||
"glsl",
|
"glsl",
|
||||||
"GLTF",
|
"GLTF",
|
||||||
|
"GSOR",
|
||||||
|
"gtag",
|
||||||
"haha",
|
"haha",
|
||||||
|
"Herdbreaker",
|
||||||
|
"Hetz",
|
||||||
"highp",
|
"highp",
|
||||||
"iife",
|
"iife",
|
||||||
"imgur",
|
"imgur",
|
||||||
@@ -100,6 +118,7 @@
|
|||||||
"leaderboards",
|
"leaderboards",
|
||||||
"lerp",
|
"lerp",
|
||||||
"LINEARSIZE",
|
"LINEARSIZE",
|
||||||
|
"linktarget",
|
||||||
"lmao",
|
"lmao",
|
||||||
"loadouts",
|
"loadouts",
|
||||||
"loddist",
|
"loddist",
|
||||||
@@ -108,6 +127,7 @@
|
|||||||
"Maddoxkkm",
|
"Maddoxkkm",
|
||||||
"malum",
|
"malum",
|
||||||
"mantlets",
|
"mantlets",
|
||||||
|
"mediump",
|
||||||
"metallicness",
|
"metallicness",
|
||||||
"metalness",
|
"metalness",
|
||||||
"minitelrose",
|
"minitelrose",
|
||||||
@@ -121,6 +141,7 @@
|
|||||||
"NEGATIVEX",
|
"NEGATIVEX",
|
||||||
"NEGATIVEY",
|
"NEGATIVEY",
|
||||||
"NEGATIVEZ",
|
"NEGATIVEZ",
|
||||||
|
"networkidle",
|
||||||
"NITROPAY",
|
"NITROPAY",
|
||||||
"nivo",
|
"nivo",
|
||||||
"nmatname",
|
"nmatname",
|
||||||
@@ -131,11 +152,14 @@
|
|||||||
"Oopsy",
|
"Oopsy",
|
||||||
"opentest",
|
"opentest",
|
||||||
"OPTML",
|
"OPTML",
|
||||||
|
"otemp",
|
||||||
"outdir",
|
"outdir",
|
||||||
"outfile",
|
"outfile",
|
||||||
"ownedtanks",
|
"ownedtanks",
|
||||||
"padder",
|
"padder",
|
||||||
"partytown",
|
"partytown",
|
||||||
|
"passability",
|
||||||
|
"patchnotes",
|
||||||
"PIXELFORMAT",
|
"PIXELFORMAT",
|
||||||
"playerachievements",
|
"playerachievements",
|
||||||
"playerinfo",
|
"playerinfo",
|
||||||
@@ -148,10 +172,15 @@
|
|||||||
"Promisable",
|
"Promisable",
|
||||||
"proto",
|
"proto",
|
||||||
"protobuf",
|
"protobuf",
|
||||||
|
"protoc",
|
||||||
"protos",
|
"protos",
|
||||||
|
"proxyclient",
|
||||||
|
"prunestrings",
|
||||||
"Pyogenics",
|
"Pyogenics",
|
||||||
"ratingleaderboard",
|
"ratingleaderboard",
|
||||||
"raycaster",
|
"raycaster",
|
||||||
|
"Redirector",
|
||||||
|
"Relogin",
|
||||||
"researchable",
|
"researchable",
|
||||||
"Resvg",
|
"Resvg",
|
||||||
"rizz",
|
"rizz",
|
||||||
@@ -165,6 +194,8 @@
|
|||||||
"searchtanks",
|
"searchtanks",
|
||||||
"SHAREDEXP",
|
"SHAREDEXP",
|
||||||
"SKLLD",
|
"SKLLD",
|
||||||
|
"sluggify",
|
||||||
|
"smoothstep",
|
||||||
"Smri",
|
"Smri",
|
||||||
"Specularity",
|
"Specularity",
|
||||||
"SSAO",
|
"SSAO",
|
||||||
@@ -184,6 +215,7 @@
|
|||||||
"tankopedia",
|
"tankopedia",
|
||||||
"tankopedias",
|
"tankopedias",
|
||||||
"tankstats",
|
"tankstats",
|
||||||
|
"tauri",
|
||||||
"texconv",
|
"texconv",
|
||||||
"TEXCOORD",
|
"TEXCOORD",
|
||||||
"tresabhi",
|
"tresabhi",
|
||||||
@@ -198,12 +230,14 @@
|
|||||||
"Unregistering",
|
"Unregistering",
|
||||||
"unrotate",
|
"unrotate",
|
||||||
"unwrapper",
|
"unwrapper",
|
||||||
|
"userns",
|
||||||
"vercel",
|
"vercel",
|
||||||
"vickers",
|
"vickers",
|
||||||
"vitepress",
|
"vitepress",
|
||||||
"Vovko",
|
"Vovko",
|
||||||
"wargaming",
|
"wargaming",
|
||||||
"webp",
|
"webp",
|
||||||
|
"wgpkg",
|
||||||
"whitespaces",
|
"whitespaces",
|
||||||
"WHSS",
|
"WHSS",
|
||||||
"winrate",
|
"winrate",
|
||||||
@@ -220,11 +254,10 @@
|
|||||||
"yolo",
|
"yolo",
|
||||||
"youtuber",
|
"youtuber",
|
||||||
"youtubers",
|
"youtubers",
|
||||||
"zustand"
|
"zoomable"
|
||||||
],
|
],
|
||||||
"deno.enable": false,
|
|
||||||
"deno.unstable": false,
|
|
||||||
"cSpell.enableFiletypes": ["glsl", "proto3"],
|
|
||||||
"typescript.tsdk": "node_modules\\typescript\\lib",
|
"typescript.tsdk": "node_modules\\typescript\\lib",
|
||||||
"liveServer.settings.multiRootWorkspaceName": "blitzkit"
|
"cSpell.enabledFileTypes": {
|
||||||
|
"proto": true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -1,13 +1,75 @@
|
|||||||
## BlitzKit
|
# BlitzKit
|
||||||
|
|
||||||
Your premier source for all things Blitz.
|
Your Blitz experience, elevated. https://blitzkit.app/.
|
||||||
|
|
||||||
### https://blitzkit.app/
|
## Developing: Prerequisites
|
||||||
|
|
||||||

|
There's a few things you'll need to get started. If this is your first time working with BlitzKit, it's completely safe to ignore all optional prerequisites below to get things running as quickly as possible.
|
||||||
|
|
||||||
## Invite the bot
|
### Bun
|
||||||
|
|
||||||
Go to [application directory for BlitzKit](https://discord.com/application-directory/1097673957865443370) and click "Add to Server." Voila! You're ready to go.
|
[Bun](https://bun.sh/) is the package manager and runtime that BlitzKit uses.
|
||||||
|
|
||||||

|
Ideally, you should also uninstall Node.js if you have it installed to avoid any cases where Node.js is used to run code instead of Bun which happens in some cases. But, this is not required and is unlikely to cause issues.
|
||||||
|
|
||||||
|
### Protocol Buffer
|
||||||
|
|
||||||
|
BlitzKit uses [Protocol Buffer's protoc CLI](https://protobuf.dev/installation/) to generate efficiently packed data structures to serve data to clients in place of JSON.
|
||||||
|
|
||||||
|
### World of Tanks Blitz
|
||||||
|
|
||||||
|
You will need a local installation of [World of Tanks Blitz](https://wotblitz.com/) for BlitzKit to build off.
|
||||||
|
|
||||||
|
### aria2 (Optional)
|
||||||
|
|
||||||
|
If you plan to use BlitzKit's client-management CLI for BlitzKit Previews, you will need to [get aria2](https://aria2.github.io/) to speed up your downloads.
|
||||||
|
|
||||||
|
### libarchive (Optional)
|
||||||
|
|
||||||
|
If you plan to use BlitzKit's client-management CLI for BlitzKit OpenTests, you will need to [get libarchive](https://www.libarchive.org/) to keep your downloads completely in-memory.
|
||||||
|
|
||||||
|
### Linux (Optional)
|
||||||
|
|
||||||
|
All work on BlitzKit is done on Linux and macOS. It is theoretically possible to work on Windows; please feel free to try and share your discoveries with us!
|
||||||
|
|
||||||
|
## Developing: Setting Up
|
||||||
|
|
||||||
|
Start by cloning the repository and changing directories.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
git clone https://github.com/blitzkit/blitzkit.git
|
||||||
|
cd blitzkit
|
||||||
|
```
|
||||||
|
|
||||||
|
> [!NOTE]
|
||||||
|
> There is a closed source submodule under `packages/closed` that you can safely ignore. This sole purpose of this submodule is to provide `dvp.ts`, a proprietary Wargaming game asset tree compression tool. You will not need this at any point.
|
||||||
|
|
||||||
|
Then, download the dependencies with Bun.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
bun install
|
||||||
|
```
|
||||||
|
|
||||||
|
Finally, compile the proto files into TypeScript.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
build build-protos
|
||||||
|
```
|
||||||
|
|
||||||
|
## Developing: Environment
|
||||||
|
|
||||||
|
Go through the different packages in the `packages` directory and clone their respective `template.env`'s to `.env` files. Follow the instructions in the `.env` files to fill them out as much as you can.
|
||||||
|
|
||||||
|
## Developing: Running
|
||||||
|
|
||||||
|
Launching the website is as easy as running the `dev` script.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
bun dev
|
||||||
|
```
|
||||||
|
|
||||||
|
If you ever make a change to any proto file, make sure to rebuild them.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
build build-protos
|
||||||
|
```
|
||||||
+44
-16
@@ -1,19 +1,47 @@
|
|||||||
# BlitzKit Credits
|
# BlitzKit Credits
|
||||||
|
|
||||||
BlitzKit is a one man band **TrèsAbhi** but I am far from solo.
|
BlitzKit is a one man band **TrèsAbhi** but I am far from solo. Helpers, in the order of contribution over time:
|
||||||
|
|
||||||
| Role | People |
|
### S0AP
|
||||||
| ------------------------------ | ------------------------------ |
|
|
||||||
| Bot verification | S0AP |
|
BlitzKit Discord bot verification, testing, advertisement, and the initial encouragement to create BlitzKit.
|
||||||
| General testing | Prince_NA |
|
|
||||||
| Bot advertisement platform | S0AP |
|
### Prince_NA
|
||||||
| Bot rendering pipeline | Vovko |
|
|
||||||
| Game asset decompression | Maddox |
|
BlitzKit Discord bot and website testing and general advise.
|
||||||
| Game 3D model parsing | Pyogenics |
|
|
||||||
| Game file layout | Aeson |
|
### Vovko
|
||||||
| 3-caliber rule edge cases | Minitelrose, ChickenMan7777 |
|
|
||||||
| Embed UX | \_34, HisRoyalFatness, Synx |
|
BlitzKit Discord bot and website rendering pipeline.
|
||||||
| Tankopedia pre-release testing | [OPTML], Aeson, \_34, xkdkw |
|
|
||||||
| Website advertisement platform | Aeson |
|
### Maddox
|
||||||
| Compare pre-release testing | [OPTML] |
|
|
||||||
| Redacted | GonnaHetzMe |
|
Game file decompression.
|
||||||
|
|
||||||
|
### Pyogenics
|
||||||
|
|
||||||
|
Game 3D model parsing.
|
||||||
|
|
||||||
|
### Aeson
|
||||||
|
|
||||||
|
Game file layout, general advise, advertisement, and Tankopedia pre-release testing.
|
||||||
|
|
||||||
|
### Minitelrose, ChickenMan7777
|
||||||
|
|
||||||
|
3-caliber rule edge cases.
|
||||||
|
|
||||||
|
### HisRoyalFatness, Synx
|
||||||
|
|
||||||
|
Embed UX.
|
||||||
|
|
||||||
|
### [OPTML] clan, \_34, xkdkw, Droodles Blitz
|
||||||
|
|
||||||
|
Tankopedia pre-release testing.
|
||||||
|
|
||||||
|
### GonnaHetzMe
|
||||||
|
|
||||||
|
Redacted by request.
|
||||||
|
|
||||||
|
### Mark Greene
|
||||||
|
|
||||||
|
GitHub contributor on bug fixes and feature additions.
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
# BlitzKit 1.27.12
|
||||||
|
|
||||||
|
This update only affects the website.
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
- Added the ability to sort by HE shell penetration
|
||||||
|
- The Tankopedia compare bars now account for equipment and selected shells
|
||||||
|
- Made the hero section of the Tankopedia a bit shorter to show users that the page is scrollable
|
||||||
|
|
||||||
|
## Fixes
|
||||||
|
|
||||||
|
- The "Clear filters" button no longer shows up after clearing the search bar
|
||||||
|
- Guns for some tanks no longer go transparent when far away from the camera
|
||||||
|
- The dynamic armor tab no longer lags and flickers when rotating the turret of a tank
|
||||||
|
- Reimplemented the missing tool backgrounds in the navigation bar hamburger menu
|
||||||
|
- The navigation bar now properly goes transparent for pages that request like the Tankopedia pages
|
||||||
|
- Removed the tank name text outline because it doesn't work on most devices
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
# BlitzKit 1.27.13
|
||||||
|
|
||||||
|
This update adds a feature for a future version of WoTB 👁️👃👁️
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
- Added compatibility for the new mechanic for the upcoming Polish Tank Destroyers
|
||||||
|
- This code will remain dormant until the update for WoTB is released
|
||||||
|
- Added a progress bar to the hero section of the Tankopedia to show that the model is loading
|
||||||
|
- Reordered some Tankopedia statistics to bring important statistics like Damage to the very top
|
||||||
|
|
||||||
|
## Fixes
|
||||||
|
|
||||||
|
- The second column in the footer is now aligned on mobile devices
|
||||||
|
- Fixed an issue that stopped the armor highlighting from working on the Kiwi browser and on older devices
|
||||||
|
|
||||||
|
## Technical Changes
|
||||||
|
|
||||||
|
- Removed permissions for robots to crawl non-blitzkit.app domains
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
# BlitzKit 1.27.14
|
||||||
|
|
||||||
|
This is the 14th patch for `1.27`, making it the new longest lasting version beating the previous record of `1.15.13`!
|
||||||
|
|
||||||
|
## Fixes
|
||||||
|
|
||||||
|
- Optimized the rendering of the shells in the Tankopedia search
|
||||||
|
- The Assault Shells cursor now works on iOS devices
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
# BlitzKit 1.27.15
|
||||||
|
|
||||||
|
I did not see this coming
|
||||||
|
|
||||||
|
## Fixes
|
||||||
|
|
||||||
|
- The Assault Shell graph now supports damage factors of above 100% now
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
# BlitzKit 1.27.16
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
- Added links to GuidesBlitz to Tankopedia to aid users understand tanks beyond just numbers and stats
|
||||||
|
- Added a gun depression and yaw visualizer
|
||||||
|
|
||||||
|
## Changes
|
||||||
|
|
||||||
|
- Made the colors of the advanced highlighting mode more subtle
|
||||||
|
- Made the Tankopedia stat lines more condensed
|
||||||
|
- You can now scroll the page even with your cursor on the Tankopedia sandbox
|
||||||
|
|
||||||
|
## Fixes
|
||||||
|
|
||||||
|
- Fixed a bug where the range of increased gun depression was incorrectly doubled
|
||||||
|
- Removed an unintended space before the "x" in the "Gun damaged" stat
|
||||||
|
- Fixed an issue causing the 3D renderer to render frames even when off screen
|
||||||
|
- Fixed a differential issue causing excessive rerendering of the stat lines
|
||||||
|
- Images no longer exceed the width of the device in the docs
|
||||||
|
- Assault shells no longer scale the module damage with distance
|
||||||
|
|
||||||
|
## Technical Changes
|
||||||
|
|
||||||
|
- Removed all code relating to the canceled "Shooting Range" mode
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
# BlitzKit 1.27.17
|
||||||
|
|
||||||
|
This update was released early for the website. Today, it'll be officially announced and released for the bot
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
- Added the shell reload visualizer to aid people in getting a feel for how long shell reloads really are
|
||||||
|
- Added lines of stats for the burst shells
|
||||||
|
|
||||||
|
## Changes
|
||||||
|
|
||||||
|
- Removed the redundant word "Shell" from "Shell reload" and "Shell reloads"
|
||||||
|
- Removed the penetration over distance slider
|
||||||
|
|
||||||
|
## Fixes
|
||||||
|
|
||||||
|
- Fixed the DPM of tanks with burst shells like the ATAC
|
||||||
|
- The DPM will still be different from the game due to a bug in World of Tanks Blitz; I am trying to get Wargaming to fix it; trust BlitzKit!
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
# BlitzKit 1.27.18
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
- Added a mini-game to BlitzKit similar to "Guess Who's That Pokemon" but with tanks: http://blitzkit.vercel.app/guess
|
||||||
|
- Switched to a new renderer for better lighting for the Tankopedia
|
||||||
|
|
||||||
|
## Fixes
|
||||||
|
|
||||||
|
- The loading bar for the Tankopedia sandbox now shows up again
|
||||||
|
- Removed a lot of dead code, improving performance
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
# BlitzKit 1.27.19
|
||||||
|
|
||||||
|
Two updates in a day? I just got a little excited by the new Tankopedia lighting.
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
- The camera is now lower down in the Tankopedia, giving the tank a more heroic feel
|
||||||
|
- Tanks are better framed across all devices, minimizing whitespace
|
||||||
|
- Added a skip button for the reload visualizer to skip to the next event
|
||||||
|
|
||||||
|
## Fixes
|
||||||
|
|
||||||
|
- Removed the useless "show grid" setting
|
||||||
|
- Taking screenshots now no longer includes the scene props like the floor
|
||||||
|
- The subtler color contrast for the advanced highlighting has now been reverted back to the higher contrast
|
||||||
|
- The shot display card is now properly aligned as a proper table again
|
||||||
|
- Tank modules are once again considered in the penetration tester
|
||||||
|
- Tank filters in the antagonist selector in the Tankopedia sandbox are now properly aligned
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
# BlitzKit 1.27.20
|
||||||
|
|
||||||
|
It's all technical updates! The HD tanks will be rolled out over the span of few days.
|
||||||
|
|
||||||
|
## Technical Changes
|
||||||
|
|
||||||
|
- Shadows are disabled if your framerate drops below 30fps
|
||||||
|
- Pages that redirect to other pages (like the old /tools/tankopedia) now load a few hundred times faster
|
||||||
|
- Replaced Zustand with a custom state manager called Varuna with the goal to rewrite a significant portion of the website to not require any React for rendering increasing performance
|
||||||
|
- The transition wireframe in the Tankopedia sandbox now uses a lower quality model for performance reasons
|
||||||
|
- Tanks with PBR now use the correct maximum resolution textures
|
||||||
|
- This is a significant update as you can now literally see individual splats of dust on tanks and scratches haha
|
||||||
|
- Baked the ambient occlusion maps into the textures, hence reducing the overall model load times even with higher resolution textures
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
# BlitzKit 1.28.0
|
||||||
|
|
||||||
|
BlitzKit, as an app and the new Mixer tool!
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
- Created the BlitzKit app that can be downloaded on most devices
|
||||||
|
- Re-did the BlitzKit logo to be a bit warmer
|
||||||
|
- Added the Mixer tool which lets you combine tank models into Frankensteins
|
||||||
|
- Updated all dependencies to the latest version for a decent performance boost
|
||||||
|
|
||||||
|
## Fixes
|
||||||
|
|
||||||
|
- BlitzKit no longer forgets persistent data if the app crashes without properly closing
|
||||||
|
- The tools list in the navbar no longer overflows into the neighboring elements on certain devices
|
||||||
|
- Added keying to a few places, speeding up re-rendering
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
# BlitzKit 1.28.1
|
||||||
|
|
||||||
|
## Fixes
|
||||||
|
|
||||||
|
- The lights no longer crash the Mixer tool
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
# BlitzKit 1.28.2
|
||||||
|
|
||||||
|
## Fixes
|
||||||
|
|
||||||
|
- BlitzKit no longer tries to redirect translated pages to the same page, over and over again
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
# BlitzKit 1.28.3
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
- Turrets and guns can now be rotated in Mixer without any pitch or yaw limits
|
||||||
|
- Added nation icons to the search results for Guesser
|
||||||
|
- The table now occupies the whole screen in Compare
|
||||||
|
- Added the ability to log in with a Wargaming account in the navbar
|
||||||
|
- Added owned/unowned filters in the Tankopedia filters
|
||||||
|
- Revamped Tankopedia quick controls to be more accessible and obvious
|
||||||
|
|
||||||
|
## Fixes
|
||||||
|
|
||||||
|
- Missing tank icons across the website have been fixed
|
||||||
|
- Events of starting and stopping of the transform tanks now use an asynchronous event instead of a reactive state, making them faster
|
||||||
|
- Removed a hook call on root context, speeding up load times
|
||||||
|
- Tankopedia's pitch input now follows the same sign convention as the pitch and yaw visualizer
|
||||||
|
- Shadows are no longer disabled when the scene is unloaded when the user scrolls away from the canvas
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
# BlitzKit 1.28.4
|
||||||
|
|
||||||
|
## Fixes
|
||||||
|
|
||||||
|
- The tank names in the Tankopedia sandbox now have less margin from the navbar
|
||||||
|
- Controls in the Tankopedia sandbox are now shown in all modes, except for the advanced highlighting button which only appears in the dynamic armor mode
|
||||||
|
- The settings page now reacts to input again
|
||||||
|
- The settings page now has a tab title and description for search engines
|
||||||
|
- Added support for transparent textures, fixing tanks like the Herdbreaker and the WZ-132-1
|
||||||
|
- The tank filters in the Performance and Tier-List tools work once again
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
# BlitzKit 1.29.0
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
- Added the Playlist tool
|
||||||
|
- Don't know what to play today? Let BlitzKit do the thinking!
|
||||||
|
- Navigate to [the tool on BlitzKit](https://blitzkit.app/playlist)
|
||||||
|
- Make sure you login with your Wargaming account to unlock all features like live tracking and filtering by owned tanks
|
||||||
|
- Use filters to pick tiers, nations, etc. then hit Generate playlist
|
||||||
|
- BlitzKit will generate a checklist for you to go through as you play
|
||||||
|
- Don't like the order of tanks? Hit Shuffle, Sort by Last played and Least played, or straight up remove tanks from the list by using the (-) button
|
||||||
|
- If you're logged in, BlitzKit will automatically check off tanks as you play them
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
# BlitzKit 1.29.1
|
||||||
|
|
||||||
|
## Technical Changes
|
||||||
|
|
||||||
|
- Recreated the full dependency tree for BlitzKit
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
# BlitzKit 1.29.10
|
||||||
|
|
||||||
|
Thank you to [Mark Greene](https://github.com/Hitjack007) for your contributions this update.
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
- Combined game mode passive and active abilities into a single dropdown
|
||||||
|
- Added tier filters to the Guess game [Mark Greene]
|
||||||
|
- Changing tiers will break your streak
|
||||||
|
|
||||||
|
## Fixes
|
||||||
|
|
||||||
|
- module damage is now properly shown when sorting with it in the tank search [Mark Greene]
|
||||||
|
- Duplicate abilities in the tank filters are now removed
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
# BlitzKit 1.29.11
|
||||||
|
|
||||||
|
## Fixes
|
||||||
|
|
||||||
|
- The Guesser game's toolbar now scales properly with screen size
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
# BlitzKit 1.29.12
|
||||||
|
|
||||||
|
## Fixes
|
||||||
|
|
||||||
|
- BlitzKit no longer uses BlitzStars for tank averages for some commands
|
||||||
|
- BlitzKit Performance was created to completely replace BlitzStars but BlitzStars was still used for some older commands
|
||||||
|
- But since BlitzStars keeps having downtime, it has been completely removed
|
||||||
|
- Upgraded all dependencies to the latest versions
|
||||||
|
- The replay command is now properly localized across all languages
|
||||||
|
- Special Chinese characters are now properly handled
|
||||||
|
- Commands are now registered synchronously, allowing errors to reveal their exact origins
|
||||||
|
- Error handling now properly exists the process after logging the error
|
||||||
|
- The bot now uses Discord's new `clientReady` instead of the ambiguous `ready` event
|
||||||
|
- Both the armor and model extractors now use the new BlitzKit `SteamVFS`
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
# BlitzKit 1.29.13
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
- The screenshot button now automatically crops your image so you don't have excessive blank space all around
|
||||||
|
- Increased the max zoom out distance in Tankopedia to 50m
|
||||||
|
|
||||||
|
## Fixes
|
||||||
|
|
||||||
|
- Turrets in Tankopedia now stay within a range of -180 and +180 degrees
|
||||||
|
- Tanks with transparency like the T34 and Herdbreaker are now properly rendered
|
||||||
|
- This will take a few days to roll out for all tanks (see screenshots below for the fixed models)
|
||||||
|
- High End Consumables now give a 33% boost instead of 70%
|
||||||
|
- Static Armor now properly deselects all irrelevant armor plates
|
||||||
|
- Removed a few debug loggers left behind
|
||||||
|
- Static Armor now properly rerenders armor plates when their thicknesses are changed
|
||||||
|
- The Ricochet Visualizer now stays in place when dragging around on mobile
|
||||||
|
- Reduced the text in the Tankopedia Compare segmented display to fit on smaller screens
|
||||||
|
- Sorting by tertiary shells no longer crashes for some tanks
|
||||||
|
- The Tank Filters are now left aligned on smaller screens for readability
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
# BlitzKit 1.29.14
|
||||||
|
|
||||||
|
## Changes
|
||||||
|
|
||||||
|
- BlitzStars has enabled aggressive Cloudflare protections; hence, disabling BlitzKit from using BlitzStar's API
|
||||||
|
- Disabled the following commands:
|
||||||
|
- `/stats`
|
||||||
|
- `/today`
|
||||||
|
- `/breakdown`
|
||||||
|
- `/evolution`
|
||||||
|
- `/full-stats`
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
# BlitzKit 1.29.15
|
||||||
|
|
||||||
|
## Fixes
|
||||||
|
|
||||||
|
- Tanks now use alpha clipping to render translucency, fixing a lot of "ghostly" looking tanks
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
# BlitzKit 1.29.16
|
||||||
|
|
||||||
|
Thank you to [GonnaHetzMe](https://github.com/karelpak1) for your contributions this update.
|
||||||
|
|
||||||
|
## Fixes
|
||||||
|
|
||||||
|
- The turret for Centurion I is no longer offset from the body [GonnaHetzMe]
|
||||||
|
- Please allow up to 24 hours for the model to update
|
||||||
|
- Vertical Stabilizers now give the correct 12% buff instead of 15%
|
||||||
|
- Re-ordering tanks in Compare now works once again
|
||||||
|
- Fixed review videos from being about the Object 452K across all tanks
|
||||||
|
- Please allow up to 2 weeks for all tanks to refresh their videos
|
||||||
|
- Tanks in Mixer with oscillating turrets are not handled properly
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
- Headings in the Compare tool are now even more compact for mobile devices
|
||||||
|
- Enabled all tiers for the randomizer in Mixer
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
# BlitzKit 1.29.2
|
||||||
|
|
||||||
|
## Technical Changes
|
||||||
|
|
||||||
|
- Implemented new workflow capabilities to deploy BlitzKit OpenTest and Preview remotely, from any device
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
# BlitzKit 1.29.3
|
||||||
|
|
||||||
|
## Technical Changes
|
||||||
|
|
||||||
|
- Added a significantly more memory and network efficient AssetUploader abstraction
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
# BlitzKit 1.29.4
|
||||||
|
|
||||||
|
## Technical Changes
|
||||||
|
|
||||||
|
- BlitzKit now partially downloads game files instead of the entire game, allowing for faster updates
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
# BlitzKit 1.29.5
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
- Added new lighting to be a bit softer on tanks
|
||||||
|
- Added a button with the sun icon to toggle high graphics
|
||||||
|
- Added a new reveal and transition animation between tabs
|
||||||
|
|
||||||
|
## Fixes
|
||||||
|
|
||||||
|
- Track wheels on some tanks no longer look translucent
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
# BlitzKit 1.29.6
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
- Simplified the ownership and test tank filters in the tank search
|
||||||
|
- Renamed "Guess the tank" to simply "Guess"
|
||||||
|
- The player count value in the Performance tool is now set to Total by default
|
||||||
|
- Added Compare-like red/green highlighting to the Performance tool
|
||||||
|
|
||||||
|
## Changes
|
||||||
|
|
||||||
|
- Removed the last updated info bar in Performance for some more screen real estate
|
||||||
|
|
||||||
|
## Fixes
|
||||||
|
|
||||||
|
- The remove played tanks in the Playlist tool now shows even when logged out
|
||||||
|
- The Guess game now has a page title
|
||||||
|
- The compare table now occupies the minimum width possible instead of expanding all columns excessively
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
# BlitzKit 1.29.7
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
- Re-introduced the ability to deploy BlitzKit OpenTests
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
# BlitzKit 1.29.8
|
||||||
|
|
||||||
|
Thank you to [Mark Greene](https://github.com/Hitjack007) for your contributions this update.
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
- Added an option to clear provisions and consumables from all tanks in Compare
|
||||||
|
- Added the ability to choose stock turrets and guns in Mixer if a tank has any
|
||||||
|
- Added streaks to Guesser
|
||||||
|
- Introduced an option to partially reveal tanks in Guesser
|
||||||
|
- This removes the darkness effect but keeps the name hidden
|
||||||
|
- This will reset your streak to 0
|
||||||
|
- Regardless of getting the right guess on the tank's name, your response will be counted as incorrect if partially revealed
|
||||||
|
|
||||||
|
## Fixes
|
||||||
|
|
||||||
|
- The Tankopedia now smoothly resizes when enlarging on interaction
|
||||||
|
- Stock turrets now correctly mount the corresponding stock gun [Mark Greene]
|
||||||
|
- The consumable and provision buttons in Compare are no longer tiny
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
# BlitzKit 1.29.9
|
||||||
|
|
||||||
|
Thank you to [Mark Greene](https://github.com/Hitjack007) for your contributions this update.
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
- Reworked tank search filters to be far more compact to make way for new filters
|
||||||
|
- Added the ability to filter tanks by consumables [Mark Greene]
|
||||||
|
- Added the ability to filter tanks by provisions and game-mode abilities and powers
|
||||||
|
|
||||||
|
## Fixes
|
||||||
|
|
||||||
|
- Consumable and provision icons in Compare are now properly sized
|
||||||
|
- Provisions now properly affect terrain resistances [Mark Greene]
|
||||||
@@ -0,0 +1,23 @@
|
|||||||
|
# BlitzKit 1.30.0
|
||||||
|
|
||||||
|
Thank you to [GonnaHetzMe](https://github.com/karelpak1) for your contributions this update.
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
- Added an equalizer mode for Tankopedia and Compare to preview what tank stats will look like in the upcoming Equalizer game mode
|
||||||
|
- This feature is in Beta and the stats are subject to change
|
||||||
|
- Thanks to WoTB News for sourcing data well ahead of the release of the gamemode
|
||||||
|
- Added a toggle in Tankopedia, right beneath Provisions
|
||||||
|
- Added button under the shell selector in the Tank Sandbox
|
||||||
|
- Added another toggle in the Compare table to enable equalizer for all tanks
|
||||||
|
|
||||||
|
## Technical Features
|
||||||
|
|
||||||
|
- Enabling dev mode now displays the tank's non-numerical id [GonnaHetzMe]
|
||||||
|
- The dev id and the new dev name are now copyable on click [GonnaHetzMe]
|
||||||
|
|
||||||
|
## Fixes
|
||||||
|
|
||||||
|
- Tech trees that start at tiers higher than tier 1 like the Blitz Nation ones now properly render their trees in Tankopedia [GonnaHetzMe]
|
||||||
|
- The tank pitch/yaw inputs in the Tank Sandbox now initialize with the correct values instead of 0 [GonnaHetzMe]
|
||||||
|
- Large Repair Kits once again use the correct modern icon [GonnaHetzMe]
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
# BlitzKit 1.30.1
|
||||||
|
|
||||||
|
Thank you to [GonnaHetzMe](https://github.com/karelpak1) for your contributions this update.
|
||||||
|
|
||||||
|
## Fixes
|
||||||
|
|
||||||
|
- Tank hit points in Equalizer mode is now accurate to the game [GonnaHetzMe]
|
||||||
|
- Armor highlighting now reflects the actual thicknesses of tanks in Equalizer mode
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
# BlitzKit 1.30.2
|
||||||
|
|
||||||
|
Thank you to [GonnaHetzMe](https://github.com/karelpak1) for your contributions this update.
|
||||||
|
|
||||||
|
## Fixes
|
||||||
|
|
||||||
|
- Tungsten shells are now properly cropped [GonnaHetzMe]
|
||||||
|
- Equalizer no longer gives insanely high penetration values
|
||||||
|
- The tank reveal animation no longer repeats when you scroll away and back to the tank sandbox
|
||||||
|
- The RHM. Pzw.'s turret no longer has the floating plate [GonnaHetzMe]
|
||||||
|
- Please give BlitzKit up to 1 hour to update the model
|
||||||
|
- Tanks with inclined turret rings like the Minotauro now display the correct pitch in the tank sandbox inputs [GonnaHetzMe]
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
# BlitzKit 1.30.3
|
||||||
|
|
||||||
|
Thank you to [GonnaHetzMe](https://github.com/karelpak1) for your contributions this update.
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
- Added tooltips to the module selector in Tankopedia [GonnaHetzMe]
|
||||||
|
|
||||||
|
## Fixes
|
||||||
|
|
||||||
|
- Added aggressive re-rendering for the Guess mini-game's score readout to make inspect-element harder
|
||||||
|
- Removed tank visual and collision model caching
|
||||||
|
- Guesser once again breaks streaks if not all tiers are selected
|
||||||
|
- BlitzKit now properly unloads tank models from memory when visually hidden in Guesser
|
||||||
|
- Tanks with complex transparency like the Herdbreaker once again handle opacity correctly [GonnaHetzMe]
|
||||||
|
- Pieces of tank models that have transparency now handle culling properly (they're visible from both sides) [GonnaHetzMe]
|
||||||
|
- Tanks with "cardboard" textures have been fixed, thanks to better PVR file parsing [GonnaHetzMe]
|
||||||
|
- Tank icons are now scaled correctly so small tanks are now properly zoomed out in contrast to bigger ones [GonnaHetzMe]
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
# BlitzKit 1.30.4
|
||||||
|
|
||||||
|
## Fixes
|
||||||
|
|
||||||
|
- BlitzKit now correctly implements minor WoTB updates
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
# BlitzKit 1.30.5
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
- Reduced the amount of code that executes for every rendered frame, hopefully improving performance
|
||||||
|
- Reduced the number of lights by 20% to decrease the amount of shadow calculations
|
||||||
|
- Decreased the ground size by 80% for an equal reduction in shadow texture sizes
|
||||||
|
- Added the ability for BlitzKit to dismount the components that handled the intro lighting animation when not animating, reducing checks running every frame
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
# BlitzKit 1.30.6
|
||||||
|
|
||||||
|
## Fixes
|
||||||
|
|
||||||
|
- Tanks no longer "randomly" appear dark in Tankopedia and Mixer
|
||||||
|
- The ground is now as dark as other modes when Static Armor is selected in Tankopedia
|
||||||
|
- Fixed some naming issues with the "equal" icon, improving performance a tiny tiny bit
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
# BlitzKit 1.30.7
|
||||||
|
|
||||||
|
Thank you to [Mark Greene](https://github.com/Hitjack007) for your contributions this update.
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
- Dragging items in the Tier List now automatically scrolls the screen if you reach the top/bottom edge of the screen
|
||||||
|
|
||||||
|
## Fixes
|
||||||
|
|
||||||
|
- Clicking on the armor multiple times with HE no longer crashes BlitzKit [Mark Greene]
|
||||||
|
- Ricochets that later intersect with external modules no longer falsely claim a successful damaging penetration [Mark Greene]
|
||||||
|
- The lighting animation no longer stops prematurely when BlitzKit is unfocused
|
||||||
|
- The spot light angle has been increased to more evenly light up larger tanks
|
||||||
|
- BlitzKit once again uses soft shadows, reducing the pixelated shadows
|
||||||
|
- Fixed the weird patterns that formed on the tracks of tanks under self-shadows
|
||||||
|
- Increased the floor size and light decay to create the illusion that the floor is infinite
|
||||||
|
- Safari no longer crashes when unloading textures for unloaded tanks [Mark Greene]
|
||||||
|
- The gun depression transition between two constraints (like often behind tanks) now uses a gentler zoned and can never be 0
|
||||||
|
- Armor plate names in Static Armor are now properly capitalized in English and translated to other languages [Mark Greene]
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
# BlitzKit 1.30.8
|
||||||
|
|
||||||
|
Support for tanks with Chinese names.
|
||||||
|
|
||||||
|
## Fixes
|
||||||
|
|
||||||
|
- The URL generator for BlitzKit now handles names that have only Chinese characters
|
||||||
|
- The Mixed Virtual File System now handles non-existent directories correctly
|
||||||
|
- Updated equipments to match the game again
|
||||||
@@ -0,0 +1,40 @@
|
|||||||
|
# BlitzKit 1.31.0
|
||||||
|
|
||||||
|
This update massively upgrades BlitzKit's graphical fidelity (while making it faster) and updates the way BlitzKit deploys updates, speeding up future versions.
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
- Improved the performance of the Tank Sandbox in Tankopedia
|
||||||
|
- Reduced the number of lights by 25%
|
||||||
|
- Reduced the resolution of shadows by 50%
|
||||||
|
- Improved the graphical fidelity of tanks in the Tankopedia
|
||||||
|
- Added soft contact shadows below tanks
|
||||||
|
- Added sky and ground reflected lighting to the top and bottom of tanks
|
||||||
|
- Removed the fog that used to darken tanks when zoomed far away
|
||||||
|
- Made BlitzKitLand™ fade out circularly to hide the sharp edges
|
||||||
|
- Pointed the lights 1.5m above the ground
|
||||||
|
- This genuinely makes BlitzKit almost photo-realistic in my opinion
|
||||||
|
- Non-PBR tanks are now lit up brighter to accommodate for their dark textures
|
||||||
|
|
||||||
|
## Fixes
|
||||||
|
|
||||||
|
- Fixed a bug where the ambient occlusion map (a measure of how dark a part of a tank gets due to low light bounces) was applied to the color of the tank directly, making many tanks appear dark even in direct light
|
||||||
|
- Tanks with chinese characters now generate urls through transliteration
|
||||||
|
|
||||||
|
## Known Issues
|
||||||
|
|
||||||
|
- The flags found behind the selected tank in the tech tree section of the Tankopedia is offset incorrectly
|
||||||
|
|
||||||
|
## Technical Features
|
||||||
|
|
||||||
|
- BlitzKit can now calculate and store performance statistics and account details for up 10,000,000,000 players
|
||||||
|
- This will help make the BlitzKit Performance tool more accurate, and play well with an upcoming, unannounced major feature
|
||||||
|
|
||||||
|
## Technical Changes
|
||||||
|
|
||||||
|
- The `production` branch now deploys updates to `blitzkit.app` instead of the `main` branch
|
||||||
|
- `robots.txt` now disables indexing of BlitzKit variants based on the environment
|
||||||
|
- The website is now compiled in "chunks" of which the `api` chunk now takes on the task of mangling what was previously stored in `assets3`
|
||||||
|
- `assets3` will be removed in `1.31.1`, please migrate to the new `api` if you use any BlitzKit assets
|
||||||
|
- Removed the `bot` and `app` packages
|
||||||
|
- Removed Prisma
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
# BlitzKit 1.31.1
|
||||||
|
|
||||||
|
This update adds capabilities to release BlitzKit OpenTest and Preview.
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
# BlitzKit 1.31.2
|
||||||
|
|
||||||
|
This update fixes an issue that occurred with Wargaming chose to declare the class of a tank in the game code with a tag that isn't the first in the list.
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
# BlitzKit 1.31.3
|
||||||
|
|
||||||
|
This update updates BlitzKit to work with the game's new ID system for game modes.
|
||||||
@@ -0,0 +1,98 @@
|
|||||||
|
# BlitzKit 1.32.0
|
||||||
|
|
||||||
|
Thank you to [Mark Greene](https://github.com/Hitjack007) for your contributions this update.
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
### Tankopedia & Armor
|
||||||
|
|
||||||
|
- Added a spall liner button to the Tankopedia beside the other equipment [Mark Greene]
|
||||||
|
- Listed track repair times in the Tankopedia [Mark Greene]
|
||||||
|
- The penetration chance is now displayed when penetration testing armor [Mark Greene]
|
||||||
|
- Added a new setting to disable automatically loading tanks in Tankopedia [Mark Greene]
|
||||||
|
|
||||||
|
### Tank Performance & Mechanics
|
||||||
|
|
||||||
|
- Added Peekaboo DPM [Mark Greene]
|
||||||
|
- Your Peekaboo DPM is lower than your normal DPM if your reload is faster than 10s as you'll have to wait for the remaining 10s for you to get unspotted before you can poke and shoot
|
||||||
|
|
||||||
|
### Tank Filters
|
||||||
|
|
||||||
|
- The test and owned tank filters are now more intuitive as clicking on them now turns the clicked option on instead of off [Mark Greene]
|
||||||
|
|
||||||
|
### Game Compatibility
|
||||||
|
|
||||||
|
- Added compatibility for tier XI tanks [Mark Greene]
|
||||||
|
|
||||||
|
## Fixes
|
||||||
|
|
||||||
|
### Tankopedia & Armor
|
||||||
|
|
||||||
|
- The armor no longer disappears when you turn on Dynamic Armor System [Mark Greene]
|
||||||
|
- Camouflage values in Tankopedia are now more descriptive when shooting [Mark Greene]
|
||||||
|
- The penetration chance is now displayed when penetration testing armor [Mark Greene]
|
||||||
|
- Listed track repair times in the Tankopedia [Mark Greene]
|
||||||
|
- Added a spall liner button to the Tankopedia beside the other equipment [Mark Greene]
|
||||||
|
- The flags in the Tankopedia tech tree are no longer offset to the top left [Mark Greene]
|
||||||
|
- The loading bar below the name of the tanks in Tankopedia is now sufficiently spaced below [Mark Greene]
|
||||||
|
- Removed the vertical sliver of pixels found to the right of the Equalizer toggle in Tankopedia
|
||||||
|
|
||||||
|
### Tank Search & Filters
|
||||||
|
|
||||||
|
- The search bar no longer redirects to a seemingly random tank when clicking enter when searching [Mark Greene]
|
||||||
|
- Tank search now properly handles the full names of tanks like the Super Pershing [Mark Greene]
|
||||||
|
- The tank search now remains consistent in order even when an added filter does not add/remove tanks from the list [Mark Greene]
|
||||||
|
- The test and owned tank filters are now more intuitive as clicking on them now turns the clicked option on instead of off [Mark Greene]
|
||||||
|
|
||||||
|
### Visuals & UI
|
||||||
|
|
||||||
|
- Removed the Beta badge from the Equalizer button [Mark Greene]
|
||||||
|
- Updated the background image for the Equalizer button to the actual banner of the new game mode
|
||||||
|
- The contact shadows on the ground no longer grow & darken when switching between tabs [Mark Greene]
|
||||||
|
- Additionally, the contact shadows stays visible at low angles [Mark Greene]
|
||||||
|
- The "Help Translate BlitzKit" text on the home page is now properly centered vertically
|
||||||
|
- The footer now says "Branch" instead of "CDN" [Mark Greene]
|
||||||
|
- The game version in the footer now displays a shorthand version instead of the entire version number [Mark Greene]
|
||||||
|
- The reload visualizer now displays just 1 decimal place [Mark Greene]
|
||||||
|
- Plot controls for the Static armor tab no longer pokes in from the right on non-Static armor tabs in some languages [Mark Greene]
|
||||||
|
- Mixer's controllers now scale better on smaller screens [Mark Greene]
|
||||||
|
- The list of available tanks in the Playlist is no longer excessively wide [Mark Greene]
|
||||||
|
|
||||||
|
### Tank Mechanics & Models
|
||||||
|
|
||||||
|
- The gun depression visualizer now properly handles the inherent tilt of tanks like the Minotauro [Mark Greene]
|
||||||
|
- When moving the tracks of tanks, the textures no longer move at different rates [Mark Greene]
|
||||||
|
|
||||||
|
### Localization
|
||||||
|
|
||||||
|
- Users with a preference on a language are once again redirected to the correct localized pages [Mark Greene]
|
||||||
|
|
||||||
|
### Session & Game Compatibility
|
||||||
|
|
||||||
|
- BlitzKit Session now properly handles tanks removed from the game [Mark Greene]
|
||||||
|
|
||||||
|
## Technical Fixes
|
||||||
|
|
||||||
|
- BlitzKit now handles the new ID system for game-modes in WoTB
|
||||||
|
- The directory which preview versions of the game are downloaded to are now created properly
|
||||||
|
- This was the last bug standing in the way of BlitzKit Previews
|
||||||
|
- Welcome back, BlitzKit Previews!
|
||||||
|
- Removed some dead code from the BlitzKit model mangler
|
||||||
|
- The player discovery loop now persists for longer than 1 iteration [Mark Greene]
|
||||||
|
- Bun is now forced to run scripts with the `--bun` flag
|
||||||
|
|
||||||
|
## Technical Features
|
||||||
|
|
||||||
|
- Added documentation to the README on setting up and developing BlitzKit locally
|
||||||
|
- Added bug report and feature request forms to GitHub
|
||||||
|
- Switched to the GNU AGPLv3 license
|
||||||
|
|
||||||
|
## Technical Fixes
|
||||||
|
|
||||||
|
- BlitzKit now handles the new ID system for game-modes in WoTB
|
||||||
|
- The directory which preview versions of the game are downloaded to are now created properly
|
||||||
|
- This was the last bug standing in the way of BlitzKit Previews
|
||||||
|
- Welcome back, BlitzKit Previews!
|
||||||
|
- Removed some dead code from the BlitzKit model mangler
|
||||||
|
- The player discovery loop now persists for longer than 1 iteration [Mark Greene]
|
||||||
|
- Bun is now forced to run scripts with the `--bun` flag
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
# Introduction
|
|
||||||
|
|
||||||
🎉 Services for everything and anything World of Tanks Blitz
|
|
||||||
|
|
||||||
## Bot
|
|
||||||
|
|
||||||
BlitzKit is available as a Discord bot and can be [installed very easily](/guide/invite).
|
|
||||||
|
|
||||||
- Track statistics
|
|
||||||
- Find inactive players in a clan
|
|
||||||
- Lookup owned tanks
|
|
||||||
- Create embeds for streams
|
|
||||||
- Track a player/tanks statistical evolution
|
|
||||||
- ...and a variety of other similar things
|
|
||||||
|
|
||||||
## Website
|
|
||||||
|
|
||||||
Provides a bunch of very helpful tools; https://blitzkit.app/
|
|
||||||
|
|
||||||
- Session tracker
|
|
||||||
- Rating leaderboard
|
|
||||||
- Way more to come
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
# Inviting the Bot
|
|
||||||
|
|
||||||
Go to [application directory for BlitzKit](https://discord.com/application-directory/1097673957865443370) and click "Add to Server." Voila! You're ready to go.
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
# Timezones
|
|
||||||
|
|
||||||
What is considered a "day's worth of games" is determined by the reset time. The reset time is generally at midnight everyday after which newer games are counted towards the next day. Reset times vary from region to region:
|
|
||||||
|
|
||||||
- North America: `UTC-5:00` (Central North American Time midnight)
|
|
||||||
- Europe: `UTC+1:00` (Central European Time midnight)
|
|
||||||
- Asia: `UTC+7:00` (Central Asia Standard Time midnight)
|
|
||||||
|
|
||||||
**Reset times are different from Blitz Stars** (Blitz Stars resets at 5:00 am locally relative to the user opening their website). Inconsistencies with Blitz Stars only occur with sleep-deprived players and players who play in the wrong region.
|
|
||||||
@@ -0,0 +1,57 @@
|
|||||||
|
# Christmas Garage Guide 2025
|
||||||
|
|
||||||
|
This content was pre-recorded on a test server and the version you may see may not be the same. Please see [the official WoTB portal](https://wotblitz.com/) for the most up-to-date information.
|
||||||
|
|
||||||
|
The holiday season has arrived, and this year the celebrations spill directly into your garage, transforming the familiar space into a festive hub filled with activities, rewards, and seasonal flair. Instead of just offering decorations or a visual makeover, this event brings a full set of mechanics that turn everyday battles into a steady stream of progress. Whether you’re aiming for bonuses, collectibles, or new tanks, the garage is designed to make every match feel like part of a larger holiday journey.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## The Music Box
|
||||||
|
|
||||||
|
The familiar Snow Globes are absent this year, replaced entirely by **Music Boxes**, which act as the new way to try your luck for seasonal rewards. They behave similarly to the Snow Globes and give you a chance to obtain various items, including a shot at the brand-new **[GSOR the TANK](https://blitzkit.app/tanks/gsor-the-tank/)**. But this time around, **they do not guarantee a tank every single time.** But as a bonus, the Music Box guarantees you will not receive duplicate tanks. Once you have a tank, the Music Box will try its best to give you a different one each time.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## Win Battles, Earn Rewards
|
||||||
|
|
||||||
|
Each victory during the event rewards you with **3 Hot Coffees**, a seasonal currency that serves as the backbone of the progression system. These coffees can be exchanged for a variety of Festive Town rewards, giving you reasons to keep pushing through battles even if you’re just casually playing.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
With the coffees, you’ll also be able to claim **2 tank certificates**, one for **tier VII** vehicles and another covering **tier IX–X** options.
|
||||||
|
|
||||||
|
The tier VII pool includes the [E 25](https://blitzkit.app/tanks/e-25), [CS-52 LIS](https://blitzkit.app/tanks/cs-52-lis), [AMX 13 57](https://blitzkit.app/tanks/amx-13-57), [Steyr WT](https://blitzkit.app/tanks/steyr-wt), [Kunze Panzer](https://blitzkit.app/tanks/kunze-panzer), and [Super Hellcat](https://blitzkit.app/tanks/super-hellcat). Meanwhile, the tier IX–X certificate gives access to higher-tier picks like the [121B](https://blitzkit.app/tanks/121b), [AMX 30 B](https://blitzkit.app/tanks/amx-30-b), [Obj. 260](https://blitzkit.app/tanks/obj-260), [Char Futur 4](https://blitzkit.app/tanks/char-futur-4), [TL-7-120](https://blitzkit.app/tanks/tl-7-120), and [Object 452K](https://blitzkit.app/tanks/object-452k).
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## Upgrade Your Christmas Tree
|
||||||
|
|
||||||
|
Golden tokens allow you to upgrade your Christmas Tree through **four distinct stages**, each bringing your garage closer to its fully decorated holiday form.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
As the tree grows, additional ornament slots open up, eight in total, which appear on the left side of your screen. These slots give you more room to customize the look of your garage and make the tree feel like something you’ve built up piece by piece over the course of the event. Each new ornament adds to the atmosphere, making the progression feel both cosmetic and rewarding.
|
||||||
|
|
||||||
|
A fully decorated tree grants up to **+25% silver** per battle, turning your regular gameplay into a more profitable experience without requiring extra effort. Ensure all your ornaments come from the same set to unlock the full potential of the tree (all left, all middle, or all right).
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## Upgrade Your Yuletide Stall
|
||||||
|
|
||||||
|
Your golden tokens can also be invested into upgrading the **Yuletide Stall**, another element of the garage that evolves as you level it up. Each upgrade unlocks new rewards, giving you incentives to distribute your tokens across different attractions instead of focusing on only one. The stall begins in a simple state, but after upgrades it transforms visually and functionally, becoming a more vibrant part of your garage.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Each upgrade unlocks a tier worth of rewards that you can claim in exchange for Free XP, Gold, Silver, and more Hot Coffees!
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## Upgrade Your Shooting Gallery
|
||||||
|
|
||||||
|
Another upgradeable area is the **Shooting Gallery**, which contributes its own set of rewards as it levels up. Enhancing the gallery expands your options for exchanging mastery badges, making those badges more useful during the event than they usually are.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Consider yourselves debriefed. Happy holidays!
|
||||||
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,11 @@
|
|||||||
|
# Introduction
|
||||||
|
|
||||||
|
🎉 Services for everything and anything World of Tanks Blitz
|
||||||
|
|
||||||
|
## Website
|
||||||
|
|
||||||
|
Provides a bunch of very helpful tools; https://blitzkit.app/
|
||||||
|
|
||||||
|
- Session tracker
|
||||||
|
- Rating leaderboard
|
||||||
|
- Way more to come
|
||||||
@@ -1,45 +0,0 @@
|
|||||||
# Blitzkit Rating Leaderboard
|
|
||||||
|
|
||||||
A straightforward way of storing the entire World of Tanks Blitz rating leaderboard to disk.
|
|
||||||
|
|
||||||
```cpp
|
|
||||||
primary BlitzkitRatingLeaderboard {
|
|
||||||
utf8"BKRL" magic;
|
|
||||||
Header header;
|
|
||||||
primary Body<header> body;
|
|
||||||
}
|
|
||||||
|
|
||||||
Header {
|
|
||||||
uint16 version; // always 1
|
|
||||||
Format format;
|
|
||||||
uint32 count;
|
|
||||||
}
|
|
||||||
|
|
||||||
Format enum<uint8> {
|
|
||||||
Base,
|
|
||||||
Superset1,
|
|
||||||
}
|
|
||||||
|
|
||||||
Body<Header header> match<header.format> {
|
|
||||||
Base {
|
|
||||||
primary {
|
|
||||||
uint32 id;
|
|
||||||
uint16 score;
|
|
||||||
}[header.count] entries;
|
|
||||||
};
|
|
||||||
|
|
||||||
Superset1 {
|
|
||||||
primary {
|
|
||||||
uint32 id;
|
|
||||||
uint16 score;
|
|
||||||
|
|
||||||
uint32 battles;
|
|
||||||
uint32 wins;
|
|
||||||
uint32 survived;
|
|
||||||
|
|
||||||
uint32 damage;
|
|
||||||
uint32 kills;
|
|
||||||
}[header.count] entries;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
```
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
# Discovered Ids
|
|
||||||
|
|
||||||
```c
|
|
||||||
primary DiscoveredIds {
|
|
||||||
utf8"DIDS" magic;
|
|
||||||
Header header;
|
|
||||||
primary Body body;
|
|
||||||
}
|
|
||||||
|
|
||||||
Header {
|
|
||||||
uint16 version; // always 1
|
|
||||||
}
|
|
||||||
|
|
||||||
Body {
|
|
||||||
uint32 count;
|
|
||||||
uint32[count] ids;
|
|
||||||
}
|
|
||||||
```
|
|
||||||
+1
-170
@@ -1,172 +1,3 @@
|
|||||||
# KitScore
|
# KitScore
|
||||||
|
|
||||||
## Memo
|
Remind me to write out the linearized model!
|
||||||
|
|
||||||
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
|
|
||||||
$$
|
|
||||||
@@ -1,71 +0,0 @@
|
|||||||
# BlitzKit Regular Tank Stats
|
|
||||||
|
|
||||||
A straightforward way of storing the entire World of Tanks Blitz tank statistics for players to disk.
|
|
||||||
|
|
||||||
## Manifest `manifest.rtsm`
|
|
||||||
|
|
||||||
```cpp
|
|
||||||
primary RegularTankStatisticsManifest {
|
|
||||||
utf8"RTSM" magic;
|
|
||||||
Header header;
|
|
||||||
primary Body body;
|
|
||||||
}
|
|
||||||
|
|
||||||
Header {
|
|
||||||
uint16 version; // always 1
|
|
||||||
}
|
|
||||||
|
|
||||||
Body {
|
|
||||||
uint32 time;
|
|
||||||
uint8 base;
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
## Chunk `*.rtsc`
|
|
||||||
|
|
||||||
```cpp
|
|
||||||
primary RegularTankStatisticsChunk {
|
|
||||||
utf8"RTSC" magic;
|
|
||||||
Header header;
|
|
||||||
primary Body body<header.playerCount>;
|
|
||||||
}
|
|
||||||
|
|
||||||
Header {
|
|
||||||
uint16 version; // always 1
|
|
||||||
uint32 playerCount;
|
|
||||||
}
|
|
||||||
|
|
||||||
Body<uint32 playerCount> {
|
|
||||||
Player[playerCount] players;
|
|
||||||
}
|
|
||||||
|
|
||||||
Player {
|
|
||||||
uint32 id;
|
|
||||||
uint16 tankCount;
|
|
||||||
Tank[tankCount] tanks;
|
|
||||||
}
|
|
||||||
|
|
||||||
Tank {
|
|
||||||
uint32 id;
|
|
||||||
uint32 battleLifeTime;
|
|
||||||
uint32 lastBattleTime;
|
|
||||||
uint8 markOfMastery;
|
|
||||||
uint32 battles;
|
|
||||||
uint32 capturePoints;
|
|
||||||
uint32 damageDealt;
|
|
||||||
uint32 damageReceived;
|
|
||||||
uint32 droppedCapturePoints;
|
|
||||||
uint32 frags;
|
|
||||||
uint32 frags8p;
|
|
||||||
uint32 hits;
|
|
||||||
uint32 losses;
|
|
||||||
uint8 maxFrags;
|
|
||||||
uint16 maxXp;
|
|
||||||
uint32 shots;
|
|
||||||
uint32 spotted;
|
|
||||||
uint32 survivedBattles;
|
|
||||||
uint32 winAndSurvived;
|
|
||||||
uint32 wins;
|
|
||||||
uint32 xp;
|
|
||||||
}
|
|
||||||
```
|
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
"robots": false,
|
||||||
|
"canonical": "https://blitzkit.app",
|
||||||
|
|
||||||
|
"paths": {
|
||||||
|
"default": null,
|
||||||
|
"api": null
|
||||||
|
},
|
||||||
|
"nodes": {
|
||||||
|
"default": "blitzkit/deploy-node-beta.blitzkit.app",
|
||||||
|
"api": "blitzkit/deploy-node-api.beta.blitzkit.app"
|
||||||
|
},
|
||||||
|
"aliases": {
|
||||||
|
"api": "https://api.beta.blitzkit.app",
|
||||||
|
"static": "https://static.beta.blitzkit.app"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"robots": false,
|
||||||
|
"canonical": "https://blitzkit.app",
|
||||||
|
|
||||||
|
"paths": {
|
||||||
|
"default": null,
|
||||||
|
"api": "api"
|
||||||
|
},
|
||||||
|
"nodes": {},
|
||||||
|
"aliases": {
|
||||||
|
"api": "/api",
|
||||||
|
"static": "https://static.blitzkit.app"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
"robots": false,
|
||||||
|
"canonical": "https://blitzkit.app",
|
||||||
|
|
||||||
|
"paths": {
|
||||||
|
"default": null,
|
||||||
|
"api": null
|
||||||
|
},
|
||||||
|
"nodes": {
|
||||||
|
"default": "blitzkit/deploy-node-opentest.blitzkit.app",
|
||||||
|
"api": "blitzkit/deploy-node-api.opentest.blitzkit.app"
|
||||||
|
},
|
||||||
|
"aliases": {
|
||||||
|
"api": "https://api.opentest.blitzkit.app",
|
||||||
|
"static": "https://static.opentest.blitzkit.app"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
"robots": false,
|
||||||
|
"canonical": "https://blitzkit.app",
|
||||||
|
|
||||||
|
"paths": {
|
||||||
|
"default": null,
|
||||||
|
"api": null
|
||||||
|
},
|
||||||
|
"nodes": {
|
||||||
|
"default": "blitzkit/deploy-node-preview.blitzkit.app",
|
||||||
|
"api": "blitzkit/deploy-node-api.preview.blitzkit.app"
|
||||||
|
},
|
||||||
|
"aliases": {
|
||||||
|
"api": "https://api.preview.blitzkit.app",
|
||||||
|
"static": "https://static.preview.blitzkit.app"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
"robots": true,
|
||||||
|
"canonical": "https://blitzkit.app",
|
||||||
|
|
||||||
|
"paths": {
|
||||||
|
"default": null,
|
||||||
|
"api": null
|
||||||
|
},
|
||||||
|
"nodes": {
|
||||||
|
"default": "blitzkit/deploy-node-blitzkit.app",
|
||||||
|
"api": "blitzkit/deploy-node-api.blitzkit.app"
|
||||||
|
},
|
||||||
|
"aliases": {
|
||||||
|
"api": "https://api.blitzkit.app",
|
||||||
|
"static": "https://static.blitzkit.app"
|
||||||
|
}
|
||||||
|
}
|
||||||
+15
-46
@@ -1,56 +1,25 @@
|
|||||||
{
|
{
|
||||||
"name": "blitzkit",
|
"name": "blitzkit",
|
||||||
|
"version": "1.32.0",
|
||||||
|
"license": "BlitzKit License",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "1.27.11",
|
"scripts": {
|
||||||
"description": "🎉 Tools for everything World of Tanks Blitz",
|
"dev": "cd packages/website && bun --bun run dev",
|
||||||
|
"build": "cd packages/website && bun run build",
|
||||||
|
"discover-ids": "cd packages/scripts && bun run discover-ids",
|
||||||
|
"build-protos": "cd packages/scripts && bun run build-protos",
|
||||||
|
"record-performance": "cd packages/scripts && bun run record-performance",
|
||||||
|
"download-client": "cd packages/scripts && bun run download-client",
|
||||||
|
"clean-astro": "rm -rf packages/website/.astro packages/website/node_modules/.astro packages/website/node_modules/.vite"
|
||||||
|
},
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"types": "./types.d.ts",
|
|
||||||
"workspaces": [
|
"workspaces": [
|
||||||
"packages/*"
|
"packages/*"
|
||||||
],
|
],
|
||||||
"scripts": {
|
|
||||||
"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": "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": "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",
|
|
||||||
"lint": "tsc",
|
|
||||||
"lint:website": "cd packages/website && bun run lint",
|
|
||||||
"format": "prettier --write \"**/*.@(json|js|jsx|css|md|ts|tsx|html|xml|yml|gltf)\"",
|
|
||||||
"update": "yarn upgrade --latest",
|
|
||||||
"tunnel": "cloudflared tunnel --url http://localhost:3000",
|
|
||||||
"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",
|
|
||||||
"prunestrings": "cd packages/scripts && bun prunestrings"
|
|
||||||
},
|
|
||||||
"license": "MIT",
|
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"googleapis": "^144.0.0",
|
"@gltf-transform/extensions": "^4.4.2",
|
||||||
"lodash-es": "^4.17.21",
|
"lz4js": "^0.2.0",
|
||||||
"quicklime": "^1.2.0",
|
"sharp": "^0.34.5",
|
||||||
"sharp": "^0.33.5"
|
"typescript": "^5.9.3"
|
||||||
},
|
|
||||||
"devDependencies": {
|
|
||||||
"@types/bun": "latest",
|
|
||||||
"@types/lodash-es": "^4.17.12",
|
|
||||||
"@types/node": "^22.14.1",
|
|
||||||
"prettier": "^3.5.3",
|
|
||||||
"prisma": "^6.6.0",
|
|
||||||
"typescript": "^5.8.3"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,26 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "@blitzkit/bot",
|
|
||||||
"private": true,
|
|
||||||
"type": "module",
|
|
||||||
"types": "src/types.d.ts",
|
|
||||||
"dependencies": {
|
|
||||||
"@blitzkit/core": "workspace:*",
|
|
||||||
"@blitzkit/i18n": "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"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,65 +0,0 @@
|
|||||||
import { createLocalizedCommand } from '../core/discord/createLocalizedCommand';
|
|
||||||
import { translator } from '../core/localization/translator';
|
|
||||||
import { COMMANDS_RAW, CommandRegistry } from '../events/interactionCreate';
|
|
||||||
|
|
||||||
const subcommands = [
|
|
||||||
'embeds',
|
|
||||||
'introduction',
|
|
||||||
'invite',
|
|
||||||
'timezones',
|
|
||||||
'credits',
|
|
||||||
] as const;
|
|
||||||
type Subcommand = (typeof subcommands)[number];
|
|
||||||
|
|
||||||
const DOCS: Record<Subcommand, string> = {
|
|
||||||
embeds: 'guide/embeds',
|
|
||||||
introduction: 'guide/introduction',
|
|
||||||
invite: 'guide/invite',
|
|
||||||
timezones: 'guide/timezones',
|
|
||||||
credits: 'about/credits',
|
|
||||||
};
|
|
||||||
|
|
||||||
export const aboutCommand = new Promise<CommandRegistry>(async (resolve) => {
|
|
||||||
resolve({
|
|
||||||
command: createLocalizedCommand('about', [
|
|
||||||
{ subcommand: 'commands' },
|
|
||||||
...subcommands.map((subcommand) => ({ subcommand })),
|
|
||||||
]),
|
|
||||||
|
|
||||||
async handler(interaction) {
|
|
||||||
const subcommand = interaction.options.getSubcommand();
|
|
||||||
const { strings } = translator(interaction.locale);
|
|
||||||
|
|
||||||
if (subcommand === 'commands') {
|
|
||||||
return `${strings.bot.commands.about.subcommands.commands.body}${(
|
|
||||||
await Promise.all(COMMANDS_RAW)
|
|
||||||
)
|
|
||||||
.sort((a, b) =>
|
|
||||||
(a.command.name_localizations?.[interaction.locale] ??
|
|
||||||
a.command.name) <
|
|
||||||
(b.command.name_localizations?.[interaction.locale] ??
|
|
||||||
b.command.name)
|
|
||||||
? -1
|
|
||||||
: 1,
|
|
||||||
)
|
|
||||||
.map(
|
|
||||||
(registry) =>
|
|
||||||
`- \`/${
|
|
||||||
registry.command.name_localizations?.[interaction.locale] ??
|
|
||||||
registry.command.name
|
|
||||||
}\`: ${
|
|
||||||
registry.command.description_localizations?.[
|
|
||||||
interaction.locale
|
|
||||||
] ?? registry.command.description
|
|
||||||
}`,
|
|
||||||
)
|
|
||||||
.join('\n')}`;
|
|
||||||
}
|
|
||||||
|
|
||||||
const url = `https://raw.githubusercontent.com/tresabhi/blitzkit/main/docs/${DOCS[subcommand as Subcommand]}.md`;
|
|
||||||
const content = fetch(url).then((response) => response.text());
|
|
||||||
|
|
||||||
return content;
|
|
||||||
},
|
|
||||||
});
|
|
||||||
});
|
|
||||||
@@ -1,144 +0,0 @@
|
|||||||
import {
|
|
||||||
BlitzTankClass,
|
|
||||||
Region,
|
|
||||||
regionToRegionSubdomain,
|
|
||||||
} from '@blitzkit/core';
|
|
||||||
import { literals } from '@blitzkit/i18n';
|
|
||||||
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';
|
|
||||||
|
|
||||||
type Auction = null | {
|
|
||||||
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 { strings } = 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>);
|
|
||||||
|
|
||||||
if (data === null) {
|
|
||||||
return strings.bot.commands.auction.errors.no_auction;
|
|
||||||
}
|
|
||||||
|
|
||||||
const saleableTanks = data.results.filter((result) => result.available);
|
|
||||||
const nextPricesTimestamp = saleableTanks[0].next_price_timestamp;
|
|
||||||
|
|
||||||
const title = `# ${strings.bot.commands.auction.body.title}`;
|
|
||||||
const subtitle = `${literals(strings.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/tanks/${
|
|
||||||
tank.slug
|
|
||||||
}>)`;
|
|
||||||
const next =
|
|
||||||
data.next_price === null
|
|
||||||
? ''
|
|
||||||
: `\n-# ${literals(strings.bot.commands.auction.body.next, [
|
|
||||||
`<:gold:1317173197082333244> ${data.next_price.value.toLocaleString(
|
|
||||||
interaction.locale,
|
|
||||||
)}`,
|
|
||||||
])}`;
|
|
||||||
const available = literals(
|
|
||||||
strings.bot.commands.auction.body.available,
|
|
||||||
[
|
|
||||||
data.current_count.toLocaleString(interaction.locale),
|
|
||||||
data.initial_count.toLocaleString(interaction.locale),
|
|
||||||
],
|
|
||||||
);
|
|
||||||
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 ? '' : next}`;
|
|
||||||
});
|
|
||||||
const header = `${title}\n${subtitle}`;
|
|
||||||
const lines = [header, ...body];
|
|
||||||
|
|
||||||
return chunkLines(lines, '\n\n');
|
|
||||||
},
|
|
||||||
});
|
|
||||||
});
|
|
||||||
@@ -1,68 +0,0 @@
|
|||||||
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 { buttonRefresh } from '../../core/discord/buttonRefresh';
|
|
||||||
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 { CommandRegistry } from '../../events/interactionCreate';
|
|
||||||
import { renderBreakdown } from './render';
|
|
||||||
|
|
||||||
export const breakdownCommand = new Promise<CommandRegistry>(
|
|
||||||
async (resolve) => {
|
|
||||||
resolve({
|
|
||||||
command: await addPeriodicFilterOptions(
|
|
||||||
createLocalizedCommand('breakdown'),
|
|
||||||
(option) => option.addStringOption(addUsernameChoices),
|
|
||||||
),
|
|
||||||
|
|
||||||
async handler(interaction) {
|
|
||||||
const player = await resolvePlayerFromCommand(interaction);
|
|
||||||
const period = resolvePeriodFromCommand(player.region, interaction);
|
|
||||||
const filters = await getFiltersFromCommand(interaction);
|
|
||||||
const path = commandToURL(interaction, {
|
|
||||||
...player,
|
|
||||||
...getCustomPeriodParams(interaction),
|
|
||||||
...filters,
|
|
||||||
});
|
|
||||||
|
|
||||||
return [
|
|
||||||
...(await renderBreakdown(
|
|
||||||
player,
|
|
||||||
period,
|
|
||||||
filters,
|
|
||||||
interaction.locale,
|
|
||||||
)),
|
|
||||||
buttonRefresh(interaction, path),
|
|
||||||
await getBlitzStarsLinkButton(player.region, player.id),
|
|
||||||
];
|
|
||||||
},
|
|
||||||
|
|
||||||
autocomplete: (interaction) => {
|
|
||||||
autocompleteUsername(interaction);
|
|
||||||
autocompleteTanks(interaction);
|
|
||||||
},
|
|
||||||
|
|
||||||
async button(interaction) {
|
|
||||||
const player = await resolvePlayerFromButton(interaction);
|
|
||||||
const period = resolvePeriodFromButton(player.region, interaction);
|
|
||||||
const filters = getFiltersFromButton(interaction);
|
|
||||||
|
|
||||||
return await renderBreakdown(
|
|
||||||
player,
|
|
||||||
period,
|
|
||||||
filters,
|
|
||||||
interaction.locale,
|
|
||||||
);
|
|
||||||
},
|
|
||||||
});
|
|
||||||
},
|
|
||||||
);
|
|
||||||
@@ -1,290 +0,0 @@
|
|||||||
import {
|
|
||||||
BlitzStats,
|
|
||||||
calculateWN8,
|
|
||||||
getAccountInfo,
|
|
||||||
getClanAccountInfo,
|
|
||||||
getTankStats,
|
|
||||||
getWN8Percentile,
|
|
||||||
TankDefinition,
|
|
||||||
} from '@blitzkit/core';
|
|
||||||
import { literals } from '@blitzkit/i18n';
|
|
||||||
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';
|
|
||||||
|
|
||||||
const ROWS_PER_PAGE = 8;
|
|
||||||
const MAX_PAGES = 9;
|
|
||||||
|
|
||||||
export async function renderBreakdown(
|
|
||||||
{ region, id }: ResolvedPlayer,
|
|
||||||
{ start, end, name }: ResolvedPeriod,
|
|
||||||
filters: StatFilters,
|
|
||||||
locale: Locale,
|
|
||||||
) {
|
|
||||||
const { strings, unwrap } = translator(locale);
|
|
||||||
const awaitedTankDefinitions = await tankDefinitions;
|
|
||||||
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: BlitzStats[] = [];
|
|
||||||
const orderedCareerStats: BlitzStats[] = [];
|
|
||||||
const orderedCurrentWN8: (number | undefined)[] = [];
|
|
||||||
const orderedCareerWN8: (number | undefined)[] = [];
|
|
||||||
const orderedCareerWN8Full: (number | undefined)[] = [];
|
|
||||||
|
|
||||||
if (tankStats === null) {
|
|
||||||
throw new UserError(strings.bot.common.errors.no_tank_stats);
|
|
||||||
}
|
|
||||||
|
|
||||||
filteredOrder.forEach((id) => {
|
|
||||||
const tankAveragesEntry = awaitedTankAverages[id];
|
|
||||||
const current = statsInPeriod.diff[id];
|
|
||||||
const career = tankStats.find((tank) => tank.tank_id === id)!.all;
|
|
||||||
const currentWN8 = tankAveragesEntry
|
|
||||||
? calculateWN8(tankAveragesEntry.all, current)
|
|
||||||
: undefined;
|
|
||||||
const careerWN8 = tankAveragesEntry
|
|
||||||
? calculateWN8(tankAveragesEntry.all, career)
|
|
||||||
: undefined;
|
|
||||||
|
|
||||||
orderedCurrentStats.push(current);
|
|
||||||
orderedCareerStats.push(career);
|
|
||||||
orderedCurrentWN8.push(currentWN8);
|
|
||||||
orderedCareerWN8.push(careerWN8);
|
|
||||||
});
|
|
||||||
tankStats.forEach((tank) => {
|
|
||||||
const tankAveragesEntry = awaitedTankAverages[tank.tank_id];
|
|
||||||
|
|
||||||
orderedCareerWN8Full.push(
|
|
||||||
tankAveragesEntry
|
|
||||||
? calculateWN8(tankAveragesEntry.all, tank.all)
|
|
||||||
: undefined,
|
|
||||||
);
|
|
||||||
});
|
|
||||||
|
|
||||||
const currentBattles = orderedCurrentStats.reduce(
|
|
||||||
(accumulator, current) => accumulator + current.battles,
|
|
||||||
0,
|
|
||||||
);
|
|
||||||
const careerBattles = tankStats.reduce(
|
|
||||||
(accumulator, current) => accumulator + current.all.battles,
|
|
||||||
0,
|
|
||||||
);
|
|
||||||
const currentWinrate =
|
|
||||||
orderedCurrentStats.reduce(
|
|
||||||
(accumulator, current) => accumulator + current.wins,
|
|
||||||
0,
|
|
||||||
) / currentBattles;
|
|
||||||
const careerWinrate =
|
|
||||||
tankStats.reduce(
|
|
||||||
(accumulator, current) => accumulator + current.all.wins,
|
|
||||||
0,
|
|
||||||
) / careerBattles;
|
|
||||||
const currentWN8 =
|
|
||||||
orderedCurrentWN8.reduce<number>(
|
|
||||||
(accumulator, current, index) =>
|
|
||||||
accumulator + (current ?? 0) * orderedCurrentStats[index].battles,
|
|
||||||
0,
|
|
||||||
) /
|
|
||||||
orderedCurrentStats.reduce(
|
|
||||||
(accumulator, current, index) =>
|
|
||||||
accumulator +
|
|
||||||
(orderedCurrentWN8[index] === undefined ? 0 : current.battles),
|
|
||||||
0,
|
|
||||||
);
|
|
||||||
const careerWN8 =
|
|
||||||
orderedCareerWN8Full.reduce<number>(
|
|
||||||
(accumulator, current) => accumulator + (current ?? 0),
|
|
||||||
0,
|
|
||||||
) /
|
|
||||||
tankStats.reduce(
|
|
||||||
(accumulator, current, index) =>
|
|
||||||
accumulator +
|
|
||||||
(orderedCareerWN8Full[index] === undefined ? 0 : current.all.battles),
|
|
||||||
0,
|
|
||||||
);
|
|
||||||
const currentDamage =
|
|
||||||
orderedCurrentStats.reduce(
|
|
||||||
(accumulator, current) => accumulator + current.damage_dealt,
|
|
||||||
0,
|
|
||||||
) / currentBattles;
|
|
||||||
const careerDamage =
|
|
||||||
tankStats.reduce(
|
|
||||||
(accumulator, current) => accumulator + current.all.damage_dealt,
|
|
||||||
0,
|
|
||||||
) / careerBattles;
|
|
||||||
|
|
||||||
const children: JSX.Element[] = [];
|
|
||||||
|
|
||||||
if (filteredOrder.length > 0) {
|
|
||||||
children.push(
|
|
||||||
<Breakdown.Row
|
|
||||||
key={id}
|
|
||||||
displayType="summary"
|
|
||||||
title={strings.bot.commands.breakdown.body.total}
|
|
||||||
stats={[
|
|
||||||
{
|
|
||||||
title: strings.bot.commands.breakdown.body.battles,
|
|
||||||
current: currentBattles,
|
|
||||||
career: careerBattles,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: strings.bot.commands.breakdown.body.winrate,
|
|
||||||
current: `${(100 * currentWinrate).toFixed(2)}%`,
|
|
||||||
career: `${(100 * careerWinrate).toFixed(2)}%`,
|
|
||||||
delta: currentWinrate - careerWinrate,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: strings.bot.commands.breakdown.body.wn8,
|
|
||||||
current:
|
|
||||||
currentWN8 === undefined
|
|
||||||
? undefined
|
|
||||||
: Math.round(currentWN8).toLocaleString(),
|
|
||||||
career:
|
|
||||||
careerWN8 === undefined
|
|
||||||
? undefined
|
|
||||||
: Math.round(careerWN8).toLocaleString(),
|
|
||||||
percentile:
|
|
||||||
currentWN8 === undefined
|
|
||||||
? undefined
|
|
||||||
: getWN8Percentile(currentWN8),
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: strings.bot.commands.breakdown.body.damage,
|
|
||||||
current: Math.round(currentDamage).toLocaleString(),
|
|
||||||
career: Math.round(careerDamage).toLocaleString(),
|
|
||||||
delta: currentDamage - careerDamage,
|
|
||||||
},
|
|
||||||
]}
|
|
||||||
/>,
|
|
||||||
);
|
|
||||||
|
|
||||||
filteredOrder.forEach((id, index) => {
|
|
||||||
const tankDefinition = awaitedTankDefinitions.tanks[id] as
|
|
||||||
| TankDefinition
|
|
||||||
| undefined;
|
|
||||||
const current = orderedCurrentStats[index];
|
|
||||||
const career = orderedCareerStats[index];
|
|
||||||
const currentWN8 = orderedCurrentWN8[index];
|
|
||||||
const careerWN8 = orderedCareerWN8[index];
|
|
||||||
|
|
||||||
children.push(
|
|
||||||
<Breakdown.Row
|
|
||||||
key={id}
|
|
||||||
displayType="tank"
|
|
||||||
class={tankDefinition?.class}
|
|
||||||
type={tankDefinition?.type}
|
|
||||||
title={
|
|
||||||
tankDefinition
|
|
||||||
? unwrap(tankDefinition.name)
|
|
||||||
: literals(strings.bot.commands.breakdown.body.unknown_tank, [
|
|
||||||
`${id}`,
|
|
||||||
])
|
|
||||||
}
|
|
||||||
stats={[
|
|
||||||
{
|
|
||||||
title: strings.bot.commands.breakdown.body.battles,
|
|
||||||
current: current.battles.toLocaleString(),
|
|
||||||
career: career.battles.toLocaleString(),
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: strings.bot.commands.breakdown.body.winrate,
|
|
||||||
current: `${(100 * (current.wins / current.battles)).toFixed(
|
|
||||||
2,
|
|
||||||
)}%`,
|
|
||||||
career: `${(100 * (career.wins / career.battles)).toFixed(2)}%`,
|
|
||||||
delta:
|
|
||||||
current.wins / current.battles - career.wins / career.battles,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: strings.bot.commands.breakdown.body.wn8,
|
|
||||||
current:
|
|
||||||
currentWN8 === undefined
|
|
||||||
? undefined
|
|
||||||
: Math.round(currentWN8).toLocaleString(),
|
|
||||||
career:
|
|
||||||
careerWN8 === undefined
|
|
||||||
? undefined
|
|
||||||
: Math.round(careerWN8).toLocaleString(),
|
|
||||||
percentile:
|
|
||||||
currentWN8 === undefined
|
|
||||||
? undefined
|
|
||||||
: getWN8Percentile(currentWN8),
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: strings.bot.commands.breakdown.body.damage,
|
|
||||||
current: Math.round(
|
|
||||||
current.damage_dealt / current.battles,
|
|
||||||
).toLocaleString(),
|
|
||||||
career: Math.round(
|
|
||||||
career.damage_dealt / career.battles,
|
|
||||||
).toLocaleString(),
|
|
||||||
delta:
|
|
||||||
current.damage_dealt / current.battles -
|
|
||||||
career.damage_dealt / career.battles,
|
|
||||||
},
|
|
||||||
]}
|
|
||||||
/>,
|
|
||||||
);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
const pages = chunk(
|
|
||||||
children,
|
|
||||||
Math.max(Math.ceil(children.length / MAX_PAGES), ROWS_PER_PAGE),
|
|
||||||
);
|
|
||||||
|
|
||||||
if (filteredOrder.length > 0) {
|
|
||||||
return pages
|
|
||||||
.map((page, index) => (
|
|
||||||
<CommandWrapper>
|
|
||||||
{index === 0 && (
|
|
||||||
<TitleBar
|
|
||||||
title={accountInfo.nickname}
|
|
||||||
image={
|
|
||||||
clanData?.clan
|
|
||||||
? `https://wotblitz-gc.gcdn.co/icons/clanEmblems1x/clan-icon-v2-${clanData?.clan?.emblem_set_id}.png`
|
|
||||||
: undefined
|
|
||||||
}
|
|
||||||
description={`${name} • ${filterDescriptions}`}
|
|
||||||
/>
|
|
||||||
)}
|
|
||||||
|
|
||||||
<Breakdown.Root>{page}</Breakdown.Root>
|
|
||||||
</CommandWrapper>
|
|
||||||
))
|
|
||||||
.reverse();
|
|
||||||
} else {
|
|
||||||
return [
|
|
||||||
<CommandWrapper>
|
|
||||||
<TitleBar
|
|
||||||
title={accountInfo.nickname}
|
|
||||||
image={
|
|
||||||
clanData?.clan
|
|
||||||
? `https://wotblitz-gc.gcdn.co/icons/clanEmblems1x/clan-icon-v2-${clanData?.clan?.emblem_set_id}.png`
|
|
||||||
: undefined
|
|
||||||
}
|
|
||||||
description={`${name} • ${filterDescriptions}`}
|
|
||||||
/>
|
|
||||||
|
|
||||||
<NoData type="battles_in_period" locale={locale} />
|
|
||||||
</CommandWrapper>,
|
|
||||||
];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,37 +0,0 @@
|
|||||||
import packageJSON from '../../../../package.json';
|
|
||||||
import { client } from '../core/discord/client';
|
|
||||||
import { createLocalizedCommand } from '../core/discord/createLocalizedCommand';
|
|
||||||
import { translator } from '../core/localization/translator';
|
|
||||||
import { CommandRegistry } from '../events/interactionCreate';
|
|
||||||
|
|
||||||
const executionStart = new Date().getTime();
|
|
||||||
|
|
||||||
export const debugCommand = new Promise<CommandRegistry>((resolve) => {
|
|
||||||
resolve({
|
|
||||||
command: createLocalizedCommand('debug'),
|
|
||||||
|
|
||||||
async handler(interaction) {
|
|
||||||
const { strings } = translator(interaction.locale);
|
|
||||||
const currentTime = new Date().getTime();
|
|
||||||
const uptime = currentTime - executionStart;
|
|
||||||
const list = [
|
|
||||||
[strings.bot.commands.debug.body.version, packageJSON.version],
|
|
||||||
[
|
|
||||||
strings.bot.commands.debug.body.shard.label,
|
|
||||||
client.shard?.ids[0] ?? strings.bot.commands.debug.body.shard.default,
|
|
||||||
],
|
|
||||||
[
|
|
||||||
strings.bot.commands.debug.body.uptime,
|
|
||||||
`${Math.floor((uptime / 1000 / 60 / 60) % 24)}h ${Math.floor(
|
|
||||||
(uptime / 1000 / 60) % 60,
|
|
||||||
)}m ${Math.floor((uptime / 1000) % 60)}s ${Math.floor(
|
|
||||||
uptime % 1000,
|
|
||||||
)}ms`,
|
|
||||||
],
|
|
||||||
];
|
|
||||||
return `${strings.bot.commands.debug.body.title}${list
|
|
||||||
.map(([key, value]) => `- ${key}: ${value}`)
|
|
||||||
.join('\n')}`;
|
|
||||||
},
|
|
||||||
});
|
|
||||||
});
|
|
||||||
@@ -1,189 +0,0 @@
|
|||||||
import { emblemURL, getAccountInfo, getClanAccountInfo } from '@blitzkit/core';
|
|
||||||
import { Locale, SlashCommandSubcommandGroupBuilder } from 'discord.js';
|
|
||||||
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 { resolveTankId } from '../core/blitz/resolveTankId';
|
|
||||||
import { getBlitzStarsLinkButton } from '../core/blitzstars/getBlitzStarsLinkButton';
|
|
||||||
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 { buttonRefresh } from '../core/discord/buttonRefresh';
|
|
||||||
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 {
|
|
||||||
ResolvedPeriod,
|
|
||||||
resolvePeriodFromCommand,
|
|
||||||
} from '../core/discord/resolvePeriodFromCommand';
|
|
||||||
import { resolvePlayerFromButton } from '../core/discord/resolvePlayerFromButton';
|
|
||||||
import {
|
|
||||||
ResolvedPlayer,
|
|
||||||
resolvePlayerFromCommand,
|
|
||||||
} from '../core/discord/resolvePlayerFromCommand';
|
|
||||||
import { CommandRegistry } from '../events/interactionCreate';
|
|
||||||
|
|
||||||
type EvolutionStatType = 'player' | 'tank';
|
|
||||||
|
|
||||||
async function render(
|
|
||||||
{ region, id }: ResolvedPlayer,
|
|
||||||
{ start, end, name }: ResolvedPeriod,
|
|
||||||
type: 'player' | 'tank',
|
|
||||||
tankId: number | null,
|
|
||||||
locale: Locale,
|
|
||||||
) {
|
|
||||||
const accountInfo = await getAccountInfo(region, id);
|
|
||||||
const clan = (await getClanAccountInfo(region, id, ['clan']))?.clan;
|
|
||||||
const logo = clan ? emblemURL(clan.emblem_set_id) : undefined;
|
|
||||||
const histories = await (type === 'player'
|
|
||||||
? getPlayerHistories(region, id, {
|
|
||||||
start,
|
|
||||||
end,
|
|
||||||
includeLatestHistories: true,
|
|
||||||
includePreviousHistories: true,
|
|
||||||
})
|
|
||||||
: getTankHistories(region, id, locale, {
|
|
||||||
tankId: tankId!,
|
|
||||||
start,
|
|
||||||
end,
|
|
||||||
includeLatestHistories: true,
|
|
||||||
includePreviousHistories: true,
|
|
||||||
}));
|
|
||||||
const plot = histories.map(
|
|
||||||
(history) =>
|
|
||||||
[
|
|
||||||
history.all.battles,
|
|
||||||
(history.all.wins / history.all.battles) * 100,
|
|
||||||
] as Graph.PlotItem,
|
|
||||||
);
|
|
||||||
const times = histories.map((history) => history.last_battle_time);
|
|
||||||
const minTime = Math.min(...times);
|
|
||||||
const maxTime = Math.max(...times);
|
|
||||||
const ys = plot.map(([, y]) => y);
|
|
||||||
const xs = plot.map(([x]) => x);
|
|
||||||
const maxY = Math.max(...ys);
|
|
||||||
const minY = Math.min(...ys);
|
|
||||||
const maxX = Math.max(...xs);
|
|
||||||
const minX = Math.min(...xs);
|
|
||||||
|
|
||||||
return (
|
|
||||||
<CommandWrapper>
|
|
||||||
<TitleBar title={accountInfo.nickname} image={logo} description={name} />
|
|
||||||
|
|
||||||
{plot.length > 0 && (
|
|
||||||
<Graph.Root
|
|
||||||
verticalMargin={{
|
|
||||||
min: minY,
|
|
||||||
max: maxY,
|
|
||||||
suffix: '%',
|
|
||||||
precision: 2,
|
|
||||||
}}
|
|
||||||
horizontalMargin={{
|
|
||||||
min: minX,
|
|
||||||
max: maxX,
|
|
||||||
precision: 0,
|
|
||||||
}}
|
|
||||||
xMinLabel={new Date(minTime * 1000).toLocaleDateString(locale)}
|
|
||||||
xMaxLabel={new Date(maxTime * 1000).toLocaleDateString(locale)}
|
|
||||||
>
|
|
||||||
{Graph.Line({
|
|
||||||
color: LineColor.Red,
|
|
||||||
plot: plot,
|
|
||||||
minY,
|
|
||||||
maxY,
|
|
||||||
})}
|
|
||||||
</Graph.Root>
|
|
||||||
)}
|
|
||||||
|
|
||||||
{plot.length === 0 && <NoData type="battles_in_period" locale={locale} />}
|
|
||||||
</CommandWrapper>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
export const evolutionCommand = new Promise<CommandRegistry>(
|
|
||||||
async (resolve) => {
|
|
||||||
resolve({
|
|
||||||
command: createLocalizedCommand('evolution', [
|
|
||||||
{
|
|
||||||
group: 'player',
|
|
||||||
modify(option: SlashCommandSubcommandGroupBuilder) {
|
|
||||||
addPeriodSubCommands(option, (option) =>
|
|
||||||
option.addStringOption(addUsernameChoices),
|
|
||||||
);
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
|
||||||
group: 'tank',
|
|
||||||
modify(option: SlashCommandSubcommandGroupBuilder) {
|
|
||||||
addPeriodSubCommands(option, (option) =>
|
|
||||||
option
|
|
||||||
.addStringOption(addTankChoices)
|
|
||||||
.addStringOption(addUsernameChoices),
|
|
||||||
);
|
|
||||||
},
|
|
||||||
},
|
|
||||||
]),
|
|
||||||
|
|
||||||
async handler(interaction) {
|
|
||||||
const commandGroup =
|
|
||||||
interaction.options.getSubcommandGroup() as EvolutionStatType;
|
|
||||||
const player = await resolvePlayerFromCommand(interaction);
|
|
||||||
const period = resolvePeriodFromCommand(player.region, interaction);
|
|
||||||
const tankIdRaw = interaction.options.getString('tank')!;
|
|
||||||
const tankId =
|
|
||||||
commandGroup === 'tank'
|
|
||||||
? await resolveTankId(tankIdRaw, interaction.locale)
|
|
||||||
: null;
|
|
||||||
const path = commandToURL(interaction, {
|
|
||||||
...player,
|
|
||||||
...getCustomPeriodParams(interaction),
|
|
||||||
tankId,
|
|
||||||
});
|
|
||||||
|
|
||||||
return [
|
|
||||||
await render(
|
|
||||||
player,
|
|
||||||
period,
|
|
||||||
commandGroup,
|
|
||||||
tankId,
|
|
||||||
interaction.locale,
|
|
||||||
),
|
|
||||||
buttonRefresh(interaction, path),
|
|
||||||
await getBlitzStarsLinkButton(
|
|
||||||
player.region,
|
|
||||||
player.id,
|
|
||||||
tankId ?? undefined,
|
|
||||||
),
|
|
||||||
];
|
|
||||||
},
|
|
||||||
|
|
||||||
autocomplete: (interaction) => {
|
|
||||||
autocompleteUsername(interaction);
|
|
||||||
autocompleteTanks(interaction);
|
|
||||||
},
|
|
||||||
|
|
||||||
async button(interaction) {
|
|
||||||
const url = new URL(`https://example.com/${interaction.customId}`);
|
|
||||||
const path = url.pathname.split('/');
|
|
||||||
const commandGroup = path[2] as EvolutionStatType;
|
|
||||||
const player = await resolvePlayerFromButton(interaction);
|
|
||||||
const period = resolvePeriodFromButton(player.region, interaction);
|
|
||||||
|
|
||||||
return await render(
|
|
||||||
player,
|
|
||||||
period,
|
|
||||||
commandGroup,
|
|
||||||
parseInt(url.searchParams.get('tankId') ?? '0') || null,
|
|
||||||
interaction.locale,
|
|
||||||
);
|
|
||||||
},
|
|
||||||
});
|
|
||||||
},
|
|
||||||
);
|
|
||||||
@@ -1,124 +0,0 @@
|
|||||||
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 { 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 { buttonRefresh } from '../core/discord/buttonRefresh';
|
|
||||||
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 {
|
|
||||||
ResolvedPeriod,
|
|
||||||
resolvePeriodFromCommand,
|
|
||||||
} from '../core/discord/resolvePeriodFromCommand';
|
|
||||||
import { resolvePlayerFromButton } from '../core/discord/resolvePlayerFromButton';
|
|
||||||
import {
|
|
||||||
ResolvedPlayer,
|
|
||||||
resolvePlayerFromCommand,
|
|
||||||
} from '../core/discord/resolvePlayerFromCommand';
|
|
||||||
import { CommandRegistry } from '../events/interactionCreate';
|
|
||||||
|
|
||||||
async function render(
|
|
||||||
{ region, id }: ResolvedPlayer,
|
|
||||||
{ start, end, name }: ResolvedPeriod,
|
|
||||||
filters: StatFilters,
|
|
||||||
locale: Locale,
|
|
||||||
) {
|
|
||||||
const { nickname } = await getAccountInfo(region, id);
|
|
||||||
const clan = (await getClanAccountInfo(region, id, ['clan']))?.clan;
|
|
||||||
const clanImage = clan ? emblemURL(clan.emblem_set_id) : undefined;
|
|
||||||
const diffedTankStats = await getStatsInPeriod(
|
|
||||||
region,
|
|
||||||
id,
|
|
||||||
start,
|
|
||||||
end,
|
|
||||||
locale,
|
|
||||||
);
|
|
||||||
const { stats, supplementary, filteredOrder } = await filterStats(
|
|
||||||
diffedTankStats,
|
|
||||||
filters,
|
|
||||||
);
|
|
||||||
const filterDescriptions = await filtersToDescription(filters, locale);
|
|
||||||
const tierWeights = await getTierWeights(diffedTankStats.diff, filteredOrder);
|
|
||||||
|
|
||||||
return (
|
|
||||||
<CommandWrapper>
|
|
||||||
<TitleBar
|
|
||||||
title={nickname}
|
|
||||||
image={clanImage}
|
|
||||||
description={`${name} • ${filterDescriptions}`}
|
|
||||||
/>
|
|
||||||
|
|
||||||
{stats.battles === 0 && (
|
|
||||||
<NoData type="battles_in_period" locale={locale} />
|
|
||||||
)}
|
|
||||||
{stats.battles > 0 && <TierWeights weights={tierWeights!} />}
|
|
||||||
{stats.battles > 0 && (
|
|
||||||
<GenericAllStats
|
|
||||||
stats={stats}
|
|
||||||
supplementaryStats={supplementary}
|
|
||||||
locale={locale}
|
|
||||||
/>
|
|
||||||
)}
|
|
||||||
</CommandWrapper>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
export const fullStatsCommand = new Promise<CommandRegistry>(
|
|
||||||
async (resolve) => {
|
|
||||||
resolve({
|
|
||||||
command: await addPeriodicFilterOptions(
|
|
||||||
createLocalizedCommand('full-stats'),
|
|
||||||
(option) => option.addStringOption(addUsernameChoices),
|
|
||||||
),
|
|
||||||
|
|
||||||
async handler(interaction) {
|
|
||||||
const player = await resolvePlayerFromCommand(interaction);
|
|
||||||
const period = resolvePeriodFromCommand(player.region, interaction);
|
|
||||||
const filters = await getFiltersFromCommand(interaction);
|
|
||||||
const path = commandToURL(interaction, {
|
|
||||||
...player,
|
|
||||||
...getCustomPeriodParams(interaction),
|
|
||||||
...filters,
|
|
||||||
});
|
|
||||||
|
|
||||||
return Promise.all([
|
|
||||||
render(player, period, filters, interaction.locale),
|
|
||||||
buttonRefresh(interaction, path),
|
|
||||||
getBlitzStarsLinkButton(player.region, player.id),
|
|
||||||
]);
|
|
||||||
},
|
|
||||||
|
|
||||||
autocomplete: (interaction) => {
|
|
||||||
autocompleteUsername(interaction);
|
|
||||||
autocompleteTanks(interaction);
|
|
||||||
},
|
|
||||||
|
|
||||||
async button(interaction) {
|
|
||||||
const player = await resolvePlayerFromButton(interaction);
|
|
||||||
const period = resolvePeriodFromButton(player.region, interaction);
|
|
||||||
const filters = getFiltersFromButton(interaction);
|
|
||||||
|
|
||||||
return await render(player, period, filters, interaction.locale);
|
|
||||||
},
|
|
||||||
});
|
|
||||||
},
|
|
||||||
);
|
|
||||||
@@ -1,96 +0,0 @@
|
|||||||
import { getAccountInfo, getClanInfo } from '@blitzkit/core';
|
|
||||||
import { literals } from '@blitzkit/i18n';
|
|
||||||
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 { 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 { translator } from '../core/localization/translator';
|
|
||||||
import { CommandRegistry } from '../events/interactionCreate';
|
|
||||||
|
|
||||||
const DEFAULT_THRESHOLD = 7;
|
|
||||||
|
|
||||||
export const inactiveCommand = new Promise<CommandRegistry>((resolve) => {
|
|
||||||
resolve({
|
|
||||||
command: createLocalizedCommand('inactive')
|
|
||||||
.addStringOption(addClanChoices)
|
|
||||||
.addNumberOption((option) => {
|
|
||||||
const { strings } = translator(Locale.EnglishUS);
|
|
||||||
|
|
||||||
return option
|
|
||||||
.setName('threshold')
|
|
||||||
.setNameLocalizations(
|
|
||||||
localizationObject(
|
|
||||||
(strings) => strings.bot.commands.inactive.options.threshold.name,
|
|
||||||
undefined,
|
|
||||||
true,
|
|
||||||
),
|
|
||||||
)
|
|
||||||
.setDescription(
|
|
||||||
strings.bot.commands.inactive.options.threshold.description,
|
|
||||||
)
|
|
||||||
.setDescriptionLocalizations(
|
|
||||||
localizationObject(
|
|
||||||
(strings) =>
|
|
||||||
strings.bot.commands.inactive.options.threshold.description,
|
|
||||||
),
|
|
||||||
)
|
|
||||||
.setMinValue(0);
|
|
||||||
}),
|
|
||||||
|
|
||||||
async handler(interaction) {
|
|
||||||
const { strings } = translator(interaction.locale);
|
|
||||||
const { region, id } = await resolveClanFromCommand(interaction);
|
|
||||||
const threshold =
|
|
||||||
interaction.options.getNumber('threshold')! ?? DEFAULT_THRESHOLD;
|
|
||||||
const time = new Date().getTime() / 1000;
|
|
||||||
const clanInfo = await getClanInfo(region, id);
|
|
||||||
const accountInfo = await getAccountInfo(region, clanInfo.members_ids);
|
|
||||||
const inactive = accountInfo
|
|
||||||
.map(
|
|
||||||
(account) =>
|
|
||||||
[
|
|
||||||
account.nickname,
|
|
||||||
(time - account.last_battle_time) / 60 / 60 / 24,
|
|
||||||
] as [string, number],
|
|
||||||
)
|
|
||||||
.filter(([, inactiveDays]) => inactiveDays >= threshold)
|
|
||||||
.sort((a, b) => b[1] - a[1])
|
|
||||||
.map(
|
|
||||||
([name, days]) =>
|
|
||||||
[
|
|
||||||
name,
|
|
||||||
literals(strings.bot.commands.inactive.body.listing, [
|
|
||||||
days.toFixed(0),
|
|
||||||
]),
|
|
||||||
] as [string, string],
|
|
||||||
);
|
|
||||||
const hasInactiveMembers = inactive.length > 0;
|
|
||||||
|
|
||||||
return (
|
|
||||||
<CommandWrapper>
|
|
||||||
<TitleBar
|
|
||||||
title={clanInfo.name}
|
|
||||||
image={`https://wotblitz-gc.gcdn.co/icons/clanEmblems1x/clan-icon-v2-${clanInfo.emblem_set_id}.png`}
|
|
||||||
description={`${literals(
|
|
||||||
strings.bot.commands.inactive.body.subtitle,
|
|
||||||
[`${threshold}`],
|
|
||||||
)} • ${new Date().toLocaleDateString(interaction.locale)}`}
|
|
||||||
/>
|
|
||||||
|
|
||||||
{!hasInactiveMembers && (
|
|
||||||
<NoData type="players_in_period" locale={interaction.locale} />
|
|
||||||
)}
|
|
||||||
{hasInactiveMembers && <GenericStats stats={inactive} />}
|
|
||||||
</CommandWrapper>
|
|
||||||
);
|
|
||||||
},
|
|
||||||
|
|
||||||
autocomplete: autocompleteClan,
|
|
||||||
});
|
|
||||||
});
|
|
||||||
@@ -1,193 +0,0 @@
|
|||||||
import { getAccountInfo, getClanAccountInfo } from '@blitzkit/core';
|
|
||||||
import { teal } from '@radix-ui/colors';
|
|
||||||
import { Glow } from '../components/AllStatsOverview/components/HeroStat/components/Glow';
|
|
||||||
import { CommandWrapper } from '../components/CommandWrapper';
|
|
||||||
import { linkBlitzAndDiscord } from '../core/db/linkBlitzAndDiscord';
|
|
||||||
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 { 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({
|
|
||||||
command: createLocalizedCommand('link').addStringOption((option) =>
|
|
||||||
addUsernameChoices(option).setRequired(true),
|
|
||||||
),
|
|
||||||
|
|
||||||
async handler(interaction) {
|
|
||||||
const { strings } = translator(interaction.locale);
|
|
||||||
const { id, region } = await resolvePlayerFromCommand(interaction);
|
|
||||||
const discordId = BigInt(interaction.user.id);
|
|
||||||
const accountInfo = await getAccountInfo(region, id);
|
|
||||||
const clanAccountInfo = await getClanAccountInfo(region, id, ['clan']);
|
|
||||||
|
|
||||||
await linkBlitzAndDiscord(discordId, id);
|
|
||||||
|
|
||||||
return [
|
|
||||||
<CommandWrapper fat>
|
|
||||||
<div
|
|
||||||
style={{
|
|
||||||
display: 'flex',
|
|
||||||
alignItems: 'center',
|
|
||||||
justifyContent: 'space-between',
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
<Glow color={teal.teal9} rotation={90} />
|
|
||||||
|
|
||||||
<div
|
|
||||||
style={{
|
|
||||||
display: 'flex',
|
|
||||||
flexDirection: 'column',
|
|
||||||
alignItems: 'center',
|
|
||||||
justifyContent: 'center',
|
|
||||||
gap: 16,
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
<div
|
|
||||||
style={{
|
|
||||||
display: 'flex',
|
|
||||||
gap: 8,
|
|
||||||
alignItems: 'center',
|
|
||||||
justifyContent: 'center',
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
<img
|
|
||||||
alt="avatar"
|
|
||||||
src={
|
|
||||||
interaction.user.avatarURL({ extension: 'png' }) ??
|
|
||||||
'https://i.stack.imgur.com/l60Hf.png'
|
|
||||||
}
|
|
||||||
style={{
|
|
||||||
width: 64,
|
|
||||||
height: 64,
|
|
||||||
borderRadius: 32,
|
|
||||||
objectFit: 'cover',
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
|
|
||||||
<div
|
|
||||||
style={{
|
|
||||||
display: 'flex',
|
|
||||||
flexDirection: 'column',
|
|
||||||
gap: 4,
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
<span
|
|
||||||
style={{
|
|
||||||
fontSize: 32,
|
|
||||||
color: theme.colors.textHighContrast,
|
|
||||||
fontWeight: 900,
|
|
||||||
maxWidth: 240,
|
|
||||||
overflow: 'hidden',
|
|
||||||
textOverflow: 'ellipsis',
|
|
||||||
whiteSpace: 'nowrap',
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
{interaction.user.displayName}
|
|
||||||
</span>
|
|
||||||
<span
|
|
||||||
style={{
|
|
||||||
fontSize: 16,
|
|
||||||
color: theme.colors.textLowContrast,
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
@{interaction.user.username}
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div
|
|
||||||
style={{
|
|
||||||
display: 'flex',
|
|
||||||
alignItems: 'center',
|
|
||||||
justifyContent: 'center',
|
|
||||||
gap: 4,
|
|
||||||
color: theme.colors.textLowContrast_teal,
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
<img
|
|
||||||
alt="accounts linked"
|
|
||||||
src="https://i.imgur.com/jIcRgog.png"
|
|
||||||
style={{
|
|
||||||
width: 16,
|
|
||||||
height: 16,
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
<span style={{ fontSize: 16 }}>
|
|
||||||
{strings.bot.commands.link.body.accounts_linked}
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div
|
|
||||||
style={{
|
|
||||||
display: 'flex',
|
|
||||||
gap: 8,
|
|
||||||
alignItems: 'center',
|
|
||||||
justifyContent: 'center',
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
{clanAccountInfo?.clan ? (
|
|
||||||
<img
|
|
||||||
alt="clan emblem"
|
|
||||||
style={{
|
|
||||||
width: 64,
|
|
||||||
height: 64,
|
|
||||||
borderRadius: 32,
|
|
||||||
objectFit: 'cover',
|
|
||||||
}}
|
|
||||||
src={`https://wotblitz-gc.gcdn.co/icons/clanEmblems1x/clan-icon-v2-${clanAccountInfo?.clan?.emblem_set_id}.png`}
|
|
||||||
/>
|
|
||||||
) : null}
|
|
||||||
<div
|
|
||||||
style={{
|
|
||||||
display: 'flex',
|
|
||||||
flexDirection: 'column',
|
|
||||||
gap: 4,
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
<span
|
|
||||||
style={{
|
|
||||||
fontSize: 32,
|
|
||||||
color: theme.colors.textHighContrast,
|
|
||||||
fontWeight: 900,
|
|
||||||
maxWidth: 240,
|
|
||||||
overflow: 'hidden',
|
|
||||||
textOverflow: 'ellipsis',
|
|
||||||
whiteSpace: 'nowrap',
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
{accountInfo.nickname}
|
|
||||||
</span>
|
|
||||||
<span
|
|
||||||
style={{
|
|
||||||
fontSize: 16,
|
|
||||||
color: theme.colors.textLowContrast,
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
{clanAccountInfo?.clan
|
|
||||||
? `[${clanAccountInfo?.clan?.tag}] • `
|
|
||||||
: ''}
|
|
||||||
{strings.common.regions.normal[region]}
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<Glow color={teal.teal9} rotation={-90} />
|
|
||||||
</div>
|
|
||||||
</CommandWrapper>,
|
|
||||||
|
|
||||||
embedInfo(
|
|
||||||
strings.bot.commands.link.embed.title,
|
|
||||||
strings.bot.commands.link.embed.description,
|
|
||||||
),
|
|
||||||
];
|
|
||||||
},
|
|
||||||
|
|
||||||
autocomplete: autocompleteUsername,
|
|
||||||
});
|
|
||||||
});
|
|
||||||
@@ -1,90 +0,0 @@
|
|||||||
import {
|
|
||||||
TANK_CLASSES,
|
|
||||||
TIER_ROMAN_NUMERALS,
|
|
||||||
TankDefinition,
|
|
||||||
flags,
|
|
||||||
getAccountInfo,
|
|
||||||
getTankStats,
|
|
||||||
} from '@blitzkit/core';
|
|
||||||
import { literals } from '@blitzkit/i18n';
|
|
||||||
import markdownEscape from 'markdown-escape';
|
|
||||||
import {
|
|
||||||
gameDefinitions,
|
|
||||||
tankDefinitions,
|
|
||||||
} 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 { translator } from '../core/localization/translator';
|
|
||||||
import { CommandRegistry } from '../events/interactionCreate';
|
|
||||||
|
|
||||||
export const ownedTanksCommand = new Promise<CommandRegistry>((resolve) => {
|
|
||||||
resolve({
|
|
||||||
command: createLocalizedCommand('owned-tanks')
|
|
||||||
.addStringOption(addTierChoices)
|
|
||||||
.addStringOption(addUsernameChoices),
|
|
||||||
|
|
||||||
async handler(interaction) {
|
|
||||||
const { strings, unwrap } = translator(interaction.locale);
|
|
||||||
const tier = Number(interaction.options.getString('tier'));
|
|
||||||
const { id, region } = await resolvePlayerFromCommand(interaction);
|
|
||||||
const accountInfo = await getAccountInfo(region, id);
|
|
||||||
const tankStats = await getTankStats(region, id);
|
|
||||||
|
|
||||||
if (tankStats === null) {
|
|
||||||
return strings.bot.common.errors.no_tank_stats;
|
|
||||||
}
|
|
||||||
|
|
||||||
const filteredTanks = (
|
|
||||||
await Promise.all(
|
|
||||||
tankStats.map(async (tankData) => ({
|
|
||||||
tankDefinitions: (await tankDefinitions).tanks[tankData.tank_id]!,
|
|
||||||
id: tankData.tank_id,
|
|
||||||
})),
|
|
||||||
)
|
|
||||||
).filter((tank) => tank.tankDefinitions?.tier === tier);
|
|
||||||
const groupedTanks: Record<string, TankDefinition[]> = {};
|
|
||||||
const nations: string[] = [];
|
|
||||||
|
|
||||||
filteredTanks.forEach((tank) => {
|
|
||||||
if (groupedTanks[tank.tankDefinitions.nation] === undefined) {
|
|
||||||
groupedTanks[tank.tankDefinitions.nation] = [tank.tankDefinitions];
|
|
||||||
nations.push(tank.tankDefinitions.nation);
|
|
||||||
} else {
|
|
||||||
groupedTanks[tank.tankDefinitions.nation].push(tank.tankDefinitions);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
const awaitedTankDefinitions = await tankDefinitions;
|
|
||||||
const awaitedGameDefinitions = await gameDefinitions;
|
|
||||||
const title = literals(strings.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) =>
|
|
||||||
TANK_CLASSES.indexOf(a.class) - TANK_CLASSES.indexOf(b.class),
|
|
||||||
)
|
|
||||||
.sort(
|
|
||||||
(a, b) =>
|
|
||||||
awaitedGameDefinitions.nations.indexOf(a.nation) -
|
|
||||||
awaitedGameDefinitions.nations.indexOf(b.nation),
|
|
||||||
)
|
|
||||||
.map(
|
|
||||||
(tank) =>
|
|
||||||
`[${flags[tank.nation]} ${markdownEscape(unwrap(tank.name))}](<https://blitzkit.app/tanks/${tank.slug}>)`,
|
|
||||||
);
|
|
||||||
const lines = [title, ...tankList];
|
|
||||||
|
|
||||||
return chunkLines(lines);
|
|
||||||
},
|
|
||||||
|
|
||||||
autocomplete: autocompleteUsername,
|
|
||||||
});
|
|
||||||
});
|
|
||||||
Loaded 100 of 1121 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user