sendou.ink/scripts
Kalle ecd5a2a2f7
TO Tools (#1077)
* Add DB tables

* Toggle TO Tools in new calendar event page

* TO tools page initial

* Add counter pick map pool UI

* Save tie breaker map pool

* Save team name

* Layout initial

* Load users own team

* Make team name input required

* Rename team

* Divide to sections

* Submit team map pool

* New style for counter pick map pool section expand

* Fix tiebreaker map pool not saved when new event made

* Split to many forms

* According for team name

* Small UI consistency tweaks

* Add explanation to tie breaker maps

* Remove redundant prop

* Fix new calendar event todos

* Use required hidden input component in new build page

* Fix to tools page showing even when toToolsEnabled = 0

* Delete team

* Map list generation tests initial

* Add tournament map list generation tests

* First version of map list generation

* Add seeded RNG

* Rearrange files

* Generation with strats initial

* Default map pool + allow one team not to have any maps

* Implement map generation via backtracking

* Make order of stages irrelevant

* Add one more TODO

* Seed

* Fixes

* Tournament map list generator initial

* More functional maplist

* Fix any

* Persist in search params initial

* Add date to calendar seed

* Revert "Persist in search params initial"

This reverts commit f01a9e6982.

* Allow admin to start tournament

* Rate maplist instead of optimal / suboptimal

* Add fallback if map list generation errors out

* Hide TO Tools if not admin

* Submit team roster and delete members

* Teams page

* Give roster s p a c e

* Clear user combobox on sent + layout tweaks

* Gracefully handle updating after tournament has started

* Add title

* Persist map list in search params

* Add i18n
2022-11-13 14:41:13 +02:00
..
dicts create-weapon-json.ts script initial 2022-09-03 18:14:53 +03:00
output create-weapon-json.ts script initial 2022-09-03 18:14:53 +03:00
add-badge.ts add-badge script 2022-07-23 01:40:21 +03:00
check-translation-jsons.ts TO Tools (#1077) 2022-11-13 14:41:13 +02:00
create-analyzer-json.ts Add American Spanish language 2022-11-03 22:10:24 +02:00
create-gear-json.ts Add American Spanish language 2022-11-03 22:10:24 +02:00
create-misc-json.ts Add American Spanish language 2022-11-03 22:10:24 +02:00
create-object-dmg-json.ts Object damage calculator page initial 2022-10-18 01:12:52 +03:00
delete-db-files.mjs User page initial with SQLite3 (#822) 2022-05-16 17:52:54 +03:00
README.md Gear ids and translations 2022-09-03 18:14:53 +03:00
remove-bad-custom-urls.ts Fix more bad custom urls 2022-10-24 19:17:29 +03:00
rename-badge.ts Add rename badge script 2022-10-03 21:01:25 +03:00
replace-img-names.ts Update replace img names script 2022-09-14 13:43:08 +03:00
utils.ts Add American Spanish language 2022-11-03 22:10:24 +02:00

This folder has scripts that can be used run time for admin only actions or to prepare some data.

create-weapon-json.ts & create-gear-json.ts

Before using this script you need to copy some files from another repository.

  1. Copy all .json files from https://github.com/Leanny/leanny.github.io/tree/master/splat3/data/language to /scripts/dicts/langs
  2. Move WeaponInfoMain.json, GearInfoClothes.json, GearInfoShoes.json & GearInfoHead.json from https://github.com/Leanny/leanny.github.io/blob/master/splat3/data/mush/099 to /scripts/dicts

(note: the path is likely to change to .../mush/latest in future)