Compare commits

...

109 Commits

Author SHA1 Message Date
bra1n d9c2b17dc9 updated build script 2023-11-06 13:10:43 +01:00
bra1n fb40d98fd6 2.16.2 2023-11-06 13:06:21 +01:00
bra1n b87307193f 2.16.1 2023-11-06 13:06:15 +01:00
bra1n ece11dfcde script tool compatibility 2023-11-06 13:06:11 +01:00
bra1n 1c52b232c0 fix deploy 2023-04-21 15:32:11 +02:00
bra1n 55ea934304 package-lock update 2023-04-21 15:28:09 +02:00
Steffen d7e9647bf5
removed Deus ex Fiasco 2023-04-21 15:20:35 +02:00
Steffen 723974b3d3
Update README.md 2023-03-14 11:10:55 +01:00
Steffen beabcb14a4
Merge pull request #277 from ratteler50/patch-2
Updated night order for all roles
2022-10-21 09:45:08 +02:00
Dae Lorant 48cb4942a2
Removed otherNight order for pixie
It seems like pixie having an entry for otherNight was a bug in the script tool that will be fixed separately.  Removed pixie from night order and shifted all other roles back down one.
2022-10-20 11:21:09 -07:00
Dae Lorant a9724778a6
Updated changelog
Apparently changelog update is required for a pull request, so here is one :)
2022-10-12 21:21:15 -07:00
Dae Lorant 974bbb1a0f
Updated night order for all roles
Updated night order for all roles to match the order at https://script.bloodontheclocktower.com/data/nightsheet.json

Some noticeable changes:
- Legion was moved much earlier in the order of demons (relevant if a another demon is made in a legion game, you can keep it around and kill it with legion before it kills on a subsequent night)
- Amnesiac was moved much later in night order (a more reasonable place for the most common type of amni abilities)
- Magician was given a night order for N1
- Pixie was given a night order for other nights
2022-10-12 03:04:48 -07:00
Steffen 4c529472b8
Merge pull request #273 from Skateside/develop
Missing Jinxes
2022-09-25 22:27:50 +02:00
James Long 28cd156baa
Merge pull request #1 from Skateside/fix/missing-heretic-jinxes
Add missing jinxes
2022-09-22 14:52:06 +01:00
James Long 3a2ae90849
Add missing jinxes
There were 2 missing jinxes for the Heretic: Baron and Lleech - this adds them both in.
2022-09-22 14:51:07 +01:00
Steffen ea5b3c523f
philosopher updated 2022-09-14 15:43:22 +02:00
Steffen 54e224bba3
reverted moonchild 2022-08-30 10:16:47 +02:00
Steffen 5ca891e752
reverted some icons 2022-08-10 10:48:56 +02:00
Steffen f98b43e304
2.16.0 2022-06-14 14:56:50 +02:00
Steffen 2a66dfff4b
changelog 2022-06-14 14:56:44 +02:00
Steffen c77dd47397
Merge pull request #262 from alexanderfletcher/dev-3
Add ability to use json from clipboard to upload script
2022-06-14 14:47:52 +02:00
Alexander Fletcher 729869df51 Add ability to use json from clipboard to upload script 2022-05-30 19:40:40 +08:00
Steffen d0a117297c
beggar updated 2022-05-05 21:46:13 +02:00
Steffen 75dd02c6a3
added redirect to Chinese version 2022-04-08 11:02:13 +02:00
Steffen 4bd7ecbe03
Update README.md 2022-04-04 20:33:22 +02:00
Steffen 99f6b68fd7
2.15.4 2022-04-04 11:28:01 +02:00
Steffen 1c4ad9634a
changelog & npm audit 2022-04-04 11:27:55 +02:00
Steffen afd593d632
Merge pull request #253 from nathansferguson/reminder-flicker-153
Add static hover target to prevent add reminder token flickering (fix #153)
2022-04-04 11:25:41 +02:00
Nathan Ferguson 84f6cab2d8 Add static hover target to prevent reminder token flickering #153 2022-04-03 22:35:18 +12:00
Steffen 5af776bfbf
Merge pull request #252 from ratteler50/patch-1
Updated the Snitch/Marionette jinx
2022-04-01 09:21:39 +02:00
David Lorant dbb4c1a1ef
Updated the Snitch/Marionette jinx
This change was announced in Expansion-Chat on 03/18/2022

https://discord.com/channels/569683781800296501/696695228496871436/954305424096636948
2022-03-31 21:35:05 -07:00
Steffen 2b41f3145e
Update deploy.yml 2022-02-20 20:24:16 +01:00
Steffen 9575a8eca3
npm audit 2022-02-20 20:09:08 +01:00
Steffen 0bd590c80e
2.15.3 2022-02-20 20:06:28 +01:00
Steffen b9ae60c652
gamestate bug fixed and nightwatchman deploy 2022-02-20 20:05:01 +01:00
Steffen 4cbab79bae
script tool url fixed 2022-02-08 20:15:38 +01:00
Steffen d567335499
Delete codeql-analysis.yml 2022-02-05 23:17:43 +01:00
Steffen 1c63ee6208
Merge pull request #242 from eddgabriel/develop
Nightwatchman
2022-02-05 23:07:21 +01:00
eddgabriel 2a0f025b0c
Merge branch 'bra1n:develop' into develop 2022-02-05 21:18:27 +00:00
eddgabriel 11e1e99a94 Nightwatchman 2022-02-05 21:15:55 +00:00
Steffen a9eb07ad14
script tool url fixed 2022-01-30 12:12:51 +01:00
Steffen 350d2a5a18
fixed local server (closes #240) 2022-01-25 12:25:48 +01:00
Steffen 0ca33f0d53
Merge pull request #235 from eddgabriel/develop
Atheist
2021-12-07 14:02:18 +01:00
eddgabriel bf393bbc71 Update icons 2021-12-07 12:12:42 +00:00
eddgabriel a73d6ce73c Update roles.json 2021-12-07 10:17:17 +00:00
eddgabriel 31265aa4fd Atheist 2021-12-07 10:15:40 +00:00
Steffen a3cb8570f6
Merge pull request #233 from eddgabriel/develop
Psychopath
2021-11-19 20:42:25 +01:00
eddgabriel 8649aa4eec Psychopath 2021-11-18 22:11:35 +00:00
Steffen 9e6ff3e69e
fix jinx 2021-11-05 22:36:16 +01:00
Steffen ffe69a8dcb
Merge pull request #229 from eddgabriel/develop
Riot
2021-11-05 21:51:02 +01:00
eddgabriel 6a3fdfa384 Riot
Look at the number of those jinxes... Just look at 'em...
2021-11-04 22:14:44 +00:00
Steffen 83889b21dd
Merge pull request #227 from eddgabriel/develop
Engineer
2021-10-22 21:00:44 +02:00
eddgabriel c93b50df42 Engineer 2021-10-21 22:35:11 +01:00
Steffen 8a6da3d7ab
Update README.md 2021-10-19 10:46:15 +02:00
Steffen 7ebf296cfc
Merge pull request #224 from eddgabriel/develop
Alchemist!
2021-10-15 10:38:09 +02:00
eddgabriel 772c94a6c6 Alchemist! 2021-10-14 13:36:43 +01:00
Steffen 45dfb124f7
Merge pull request #221 from eddgabriel/develop
Puzzlemaster
2021-09-28 14:03:07 +02:00
eddgabriel 401312ab09 Puzzlemaster 2021-09-28 11:43:10 +01:00
Steffen c00b89824c
Merge pull request #216 from eddgabriel/develop
Fearmonger
2021-09-11 17:54:54 +02:00
eddgabriel 59c39773aa Update fearmonger.png 2021-09-11 15:40:39 +01:00
eddgabriel fa1feb3c0b Fearmonger 2021-09-10 00:07:12 +01:00
Steffen e1ba442af7
Merge pull request #214 from eddgabriel/develop
Golem
2021-08-31 20:08:42 +02:00
eddgabriel 5780c155d3 Merge branch 'develop' of https://github.com/eddgabriel/townsquare into develop 2021-08-31 10:22:47 +01:00
eddgabriel 9517a3e262 Golem 2021-08-31 10:20:33 +01:00
Steffen 18746ab642
npm audit 2021-08-19 20:54:55 +02:00
Steffen 29357ecf54
Merge pull request #210 from eddgabriel/develop
Al-Hadikhia
2021-08-13 13:02:50 +02:00
eddgabriel f664bdf024 Update roles.json 2021-08-13 11:56:59 +01:00
eddgabriel 9fff5541bb Al-Hadikhia 2021-08-12 23:21:28 +01:00
Steffen 0199108e2f
Merge pull request #204 from eddgabriel/develop
Noble
2021-08-02 11:46:52 +02:00
eddgabriel a35c6f3c14 Noble 2021-08-02 10:28:59 +01:00
Steffen 9bafcc2c61
Merge pull request #202 from eddgabriel/develop
Huntsman/Damsel
2021-07-21 12:34:13 +02:00
eddgabriel fb2e81c299 Huntsman/Damsel 2021-07-20 20:27:02 +01:00
Steffen af2587295d
2.15.2 2021-07-14 14:00:11 +02:00
Steffen 97121e81e7
changelog 2021-07-14 14:00:10 +02:00
Steffen 3d696c85de
fix negative nightOrder numbers causing a mess (fixes #193) 2021-07-14 14:00:10 +02:00
Steffen ff217761ff
revert role modal tab when closing (fixes #194) 2021-07-14 14:00:10 +02:00
Steffen 30aa5cdf8a
show leaves on tokens with global reminders 2021-07-14 14:00:10 +02:00
Steffen fe51d60839
added mobile web app capabilities 2021-07-14 14:00:10 +02:00
Steffen 282291e6ec
Merge pull request #198 from eddgabriel/develop
Futureproofing
2021-07-14 12:47:05 +02:00
eddgabriel 2a751b7fc2 Update CHANGELOG.md 2021-07-08 22:34:40 +01:00
eddgabriel 6fd7a0f0ee Futureproofing
So that when the name changes in the script tool, we're ready :)
2021-07-08 22:31:12 +01:00
Steffen ef0ab81e3c 2.15.1 2021-07-08 19:55:52 +02:00
Steffen dc4b2d5de8 npm audit 2021-07-08 19:55:50 +02:00
Steffen 358d5c156d
Merge pull request #195 from eddgabriel/develop
Tick... Tick... Tick...
2021-07-08 19:51:27 +02:00
eddgabriel 073494974e Tick... Tick... Tick... 2021-07-01 22:15:06 +01:00
Steffen 24134324de
Merge pull request #189 from JulGvoz/develop
Revert Mezepheles to Mephit
2021-06-20 23:39:10 +02:00
Jul Gvoz 233d972e33 Revert Mezepheles to Mephit 2021-06-21 00:25:10 +03:00
Steffen 3795b3ee2b
Merge pull request #187 from bra1n/develop
v2.15.0
2021-06-19 20:20:16 +02:00
Steffen b02b47cc2c
2.15.0 2021-06-19 20:19:02 +02:00
Steffen ab2ceb0139
changelog 2021-06-19 20:18:48 +02:00
Steffen fc9209d51f
Merge pull request #186 from eddgabriel/develop
Llooks llike a llovelly new character!
2021-06-17 23:42:32 +02:00
eddgabriel b57c81aa13 Llooks llike a llovelly new character!
Maybe it's Wellsh?
2021-06-17 22:10:15 +01:00
Steffen 7d212cb689
Merge pull request #180 from bra1n/develop
release Magician
2021-06-08 22:55:50 +02:00
Steffen a1e1b627db
Merge pull request #179 from eddgabriel/develop
Abracadabra!
2021-06-04 08:54:37 +02:00
eddgabriel 4f4031dcc4 Abracadabra! 2021-06-03 22:22:40 +01:00
Steffen 804b77546e
Merge pull request #178 from JulGvoz/develop
Automatically clean icons (fixes #176)
2021-06-01 20:20:52 +02:00
JulGvoz bf2cec0ec5
Update CHANGELOG.md 2021-05-31 17:18:06 +03:00
Jul Gvoz 2e503eba7f Automatically clean icons (fixes #176) 2021-05-31 15:01:27 +03:00
Steffen 661aac9bcb
Merge pull request #177 from bra1n/dependabot/npm_and_yarn/ws-7.4.6
Bump ws from 7.4.4 to 7.4.6
2021-05-30 10:03:56 +02:00
dependabot[bot] 4d373d313f
Bump ws from 7.4.4 to 7.4.6
Bumps [ws](https://github.com/websockets/ws) from 7.4.4 to 7.4.6.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.4.4...7.4.6)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-30 06:27:50 +00:00
Steffen 4d862a9bd2
Merge pull request #175 from bra1n/develop
v2.14.0
2021-05-25 19:54:11 +02:00
Steffen 26c5ec6741
2.14.0 2021-05-25 19:45:59 +02:00
Steffen 6b38a352ad
Merge remote-tracking branch 'origin/develop' into develop
# Conflicts:
#	CHANGELOG.md
2021-05-25 19:41:34 +02:00
Steffen 1afec12478
farmer 2021-05-25 19:41:08 +02:00
Steffen 1f4871b3b0
Merge branch 'main' into develop
# Conflicts:
#	CHANGELOG.md
#	src/store/index.js
2021-05-25 19:40:20 +02:00
Steffen 965001f065
Merge branch 'main' into develop 2021-05-25 12:06:13 +02:00
eddgabriel 5804f67cac
Farmer (#172)
Farmer
2021-05-20 23:54:49 +02:00
Steffen 300395de08
v2.13.0 (#168)
* add support for custom fabled (closes #110)

* 2.13.0

* show custom fabled first

* add recordVoteHistory & clearVoteHistory to session menu

* Update CHANGELOG.md

* socket part of toggle recordVoteHistory

analogous to isNight

* remove accidental

* Add files via upload

* add custom fabled

* Add option to reduce night animations to save power.

* add fallback icon for fabled

* changelog

* disable all animations now

* linter

* add 'on the block' indicator

- after vote, ST chooses to put onto block / empty block / no change to block
- player menu has add / remove from block
- players are automatically removed from the block when (i) they die (ii) another player is put onto block
- fixed crash on add/remove/etc player mid vote

* hide rounded corners on maximized modals

(barely visible anyway)

* ST always sees vote history

i.e. toggle affects only players

* empty block at night

* avoid clashing with seat icon

* nlc: toggle within session.js

* lint

* minor

* Use proper "Exile" terminology for exile

* Add info about "Banishment"->"Exile" to CHANGELOG

* requested changes

* remove direct ST control of block

* player menu order

* move block/night logic from socket to menu

* minor fix to previous

* on block -> marked

* requested changes

* requested change

Co-authored-by: Steffen <steffen@baumgart.biz>

* fix players being moved or removed during a nomination (closes #164)
add vue linter

* let's try adding a lint error

* linter adjusted

* it's working!

* requested change

record marked player id in session

* feedback implemented
npm audit

* prepare develop branch

* adjust linter config

* revert version bump

* fixes & visuals

* Update CHANGELOG.md

* restore old lint command (fixes #170)

* minor fix default

* show jinxed interactions on character reference modal

* 2.13.0

* changelog

Co-authored-by: nicfreeman1209 <nicfreeman1209@gmail.com>
Co-authored-by: nicfreeman1209 <14160941+nicfreeman1209@users.noreply.github.com>
Co-authored-by: Adrian Irving-Beer <wisq@wisq.net>
Co-authored-by: Andrew Conant <emptierset@gmail.com>
2021-05-15 20:07:54 +02:00
Steffen f45601b8a7 changelog 2021-05-14 22:17:21 +02:00
176 changed files with 5699 additions and 17980 deletions

View File

@ -9,6 +9,8 @@ module.exports = {
},
rules: {
"no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off"
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
"vue/multi-word-component-names": "off",
"vue/no-reserved-component-names": "off",
}
};

View File

@ -1,67 +0,0 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"
on:
push:
branches: [ main, develop ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ main, develop ]
schedule:
- cron: '27 22 * * 1'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
# Learn more:
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
steps:
- name: Checkout repository
uses: actions/checkout@v2
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1
# Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language
#- run: |
# make bootstrap
# make release
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1

View File

@ -5,19 +5,23 @@ on:
- main
jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Checkout 🛎️
uses: actions/checkout@v2
- name: Build
run: |
npm install
npm run-script build
- uses: actions/setup-node@v2
with:
node-version: '18'
- name: Deploy
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: dist
- name: Install and Build 🔧
run: |
npm ci
npm run build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4.2.5
with:
branch: gh-pages
folder: dist

View File

@ -1,5 +1,59 @@
# Release Notes
### Version 2.16.2
- fixed custom script format to support new script tool JSON
- updated packages to be compatible with Node >= 18 again
---
### Version 2.16.1
- Updated character night order to be consistent with script tool
---
### Version 2.16.0
- Add ability to use json from clipboard to upload script (by @alexanderfletcher)
---
### Version 2.15.4
- fixed flickering of add reminder token
- added redirect to Chinese version
---
### Version 2.15.3
- add Huntsman/Damsel, Noble, Al-Hadikhia, Golem, Fearmonger, Puzzlemaster, Alchemist, Engineer, Riot, Psychopath, Atheist, Nightwatchman to list of available characters
- fixed game state JSON not handling custom Fabled correctly
---
### Version 2.15.2
- added mobile web application support
- show correct number of leaves on roles with global reminders
- fixed a bug with traveler list showing up when assigning demon bluffs
- fixed a bug with homebrew scripts that contained negative night order positions
---
### Version 2.15.1
- fix Mephit not showing up on scripts, futureproof Mephit name change
- add Boomdandy to list of available characters
---
### Version 2.15.0
- clean up transparent portions of icons
- add Magician & LLeech to list of available characters
---
### Version 2.14.0
- added Farmer to list of available characters
---
### Version 2.13.0
- fix players being moved or removed during nomination
- add vue linter
- use "Exile" rather than "Banishment" for exiles

View File

@ -1,5 +1,7 @@
# Blood on the Clocktower Grimoire & Town Square
> :warning: **This project is no longer actively maintained** and will only receive critical bug fixes. :warning:
![social](https://user-images.githubusercontent.com/325521/102897760-d1147b00-4468-11eb-9d7b-63a204bc9fc1.png)
This is an unofficial online tool to run Blood on the Clocktower games through Discord or other digital means.
@ -27,7 +29,7 @@ If you want to learn more about how to use the app as a player, [JayBotC](https:
### Custom Script Support
Any custom script generated by the official [Script Tool](https://bloodontheclocktower.com/script) is supported out of
Any custom script generated by the official [Script Tool](https://script.bloodontheclocktower.com/) is supported out of
the box and you only need to upload it to get the selected set of characters into your grimoire. If you want to customize
your script further, there is an additional `"_meta"` object that you can add to the script like you would add a normal
character:
@ -90,7 +92,8 @@ For base game characters, it is sufficient to only provide the ID, similar to wh
_Note_: custom images will only be visible after enabling them in the Grimoire menu!
- **edition**: the ID of the edition for this character. can be left blank or "custom"
- **firstNight** / **otherNight**: the position that this character acts on the first / other nights, compared to all
other characters
other characters<br>
_Note_: must be a positive number or zero, with zero being treated as "does not act during the night"
- **firstNightReminder** / **otherNightReminder**: reminder text for first / other nights
- **reminders**: reminder tokens, should be an empty array `[]` if none
- **remindersGlobal**: global reminder tokens that will always be available, no matter if the character is assigned to a player or not
@ -109,7 +112,7 @@ For base game characters, it is sufficient to only provide the ID, similar to wh
* [Blood on the Clocktower](https://bloodontheclocktower.com/) is a trademark of Steven Medway and [The Pandemonium Institute](https://www.thepandemoniuminstitute.com/)
* Night reminders and other auxiliary text written by [Ben Finney](http://bignose.whitetree.org/projects/botc/diy/)
* Iconography by [Font Awesome](https://fontawesome.com/)
* Background image by [Ryan Maloney](https://www.artstation.com/maloney94)
* Background image copyright and permission granted by [Ryan Maloney](https://www.artstation.com/maloney94)
* Webfonts by [Google Fonts](https://fonts.google.com/) and [Online Web Fonts](https://www.onlinewebfonts.com/)
* All other images and icons are copyright to their respective owners

22287
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{
"name": "townsquare",
"version": "2.13.0",
"version": "2.16.2",
"description": "Blood on the Clocktower Town Square",
"author": "Steffen Baumgart",
"scripts": {
@ -15,22 +15,22 @@
"@fortawesome/free-brands-svg-icons": "^5.15.1",
"@fortawesome/free-solid-svg-icons": "^5.15.1",
"@fortawesome/vue-fontawesome": "^0.1.10",
"@vue/cli-service": "^4.5.9",
"@vue/cli-service": "^5.0.8",
"prom-client": "^13.0.0",
"sass": "^1.30.0",
"sass-loader": "^8.0.2",
"vue": "^2.6.12",
"vue-template-compiler": "^2.6.12",
"vue-template-compiler": "^2.7.15",
"vuex": "^3.6.0",
"ws": "^7.4.1"
"ws": "^7.4.6"
},
"devDependencies": {
"@vue/cli-plugin-eslint": "^4.5.9",
"@vue/eslint-config-prettier": "^6.0.0",
"eslint": "^6.7.2",
"eslint-plugin-prettier": "^3.2.0",
"eslint-plugin-vue": "^6.2.2",
"prettier": "^1.19.1"
"@vue/cli-plugin-eslint": "^5.0.8",
"@vue/eslint-config-prettier": "^8.0.0",
"eslint": "^8.53.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-vue": "^9.18.1",
"prettier": "^3.0.3"
},
"keywords": [
"botc",

View File

@ -5,6 +5,8 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>Blood on the Clocktower Town Square</title>
<link rel="apple-touch-icon" sizes="57x57" href="static/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="static/apple-icon-60x60.png">

View File

@ -12,10 +12,14 @@ register.setDefaultLabels({
const PING_INTERVAL = 30000; // 30 seconds
const server = https.createServer({
cert: fs.readFileSync("cert.pem"),
key: fs.readFileSync("key.pem")
});
const options = {};
if (process.env.NODE_ENV !== "development") {
options.cert = fs.readFileSync("cert.pem");
options.key = fs.readFileSync("key.pem");
}
const server = https.createServer(options);
const wss = new WebSocket.Server({
...(process.env.NODE_ENV === "development" ? { port: 8081 } : { server }),
verifyClient: info =>
@ -234,7 +238,7 @@ const interval = setInterval(function ping() {
ws.readyState === WebSocket.CONNECTING)
)
) {
metrics.channels_list.remove([channel]);
metrics.channels_list.remove({ name: channel });
delete channels[channel];
}
}

BIN
src/assets/gstone.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 131 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 95 KiB

After

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 98 KiB

After

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 107 KiB

After

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 79 KiB

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 77 KiB

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 181 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 114 KiB

After

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 62 KiB

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 110 KiB

After

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 128 KiB

After

Width:  |  Height:  |  Size: 113 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 163 KiB

After

Width:  |  Height:  |  Size: 158 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 95 KiB

After

Width:  |  Height:  |  Size: 86 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 118 KiB

After

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 112 KiB

After

Width:  |  Height:  |  Size: 123 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 174 KiB

After

Width:  |  Height:  |  Size: 155 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 120 KiB

After

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 93 KiB

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 89 KiB

After

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 182 KiB

After

Width:  |  Height:  |  Size: 156 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 191 KiB

After

Width:  |  Height:  |  Size: 183 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 72 KiB

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 90 KiB

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 104 KiB

After

Width:  |  Height:  |  Size: 104 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 131 KiB

After

Width:  |  Height:  |  Size: 114 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 156 KiB

After

Width:  |  Height:  |  Size: 142 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 138 KiB

After

Width:  |  Height:  |  Size: 110 KiB

BIN
src/assets/icons/damsel.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 132 KiB

After

Width:  |  Height:  |  Size: 112 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 120 KiB

After

Width:  |  Height:  |  Size: 103 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 103 KiB

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 180 KiB

After

Width:  |  Height:  |  Size: 161 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 86 KiB

After

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 127 KiB

After

Width:  |  Height:  |  Size: 116 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 88 KiB

After

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 203 KiB

After

Width:  |  Height:  |  Size: 185 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 88 KiB

After

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 899 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 113 KiB

After

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 178 KiB

After

Width:  |  Height:  |  Size: 156 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 125 KiB

After

Width:  |  Height:  |  Size: 122 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 136 KiB

After

Width:  |  Height:  |  Size: 109 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 117 KiB

After

Width:  |  Height:  |  Size: 105 KiB

BIN
src/assets/icons/farmer.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 111 KiB

After

Width:  |  Height:  |  Size: 97 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 136 KiB

After

Width:  |  Height:  |  Size: 111 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 134 KiB

After

Width:  |  Height:  |  Size: 129 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 108 KiB

After

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 125 KiB

After

Width:  |  Height:  |  Size: 123 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 116 KiB

After

Width:  |  Height:  |  Size: 110 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 130 KiB

After

Width:  |  Height:  |  Size: 130 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 90 KiB

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 131 KiB

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 39 KiB

BIN
src/assets/icons/golem.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 168 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 136 KiB

After

Width:  |  Height:  |  Size: 111 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 76 KiB

After

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 72 KiB

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 118 KiB

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 108 KiB

After

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 160 KiB

After

Width:  |  Height:  |  Size: 147 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 854 KiB

After

Width:  |  Height:  |  Size: 124 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 102 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 97 KiB

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 85 KiB

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 68 KiB

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 KiB

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 88 KiB

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 125 KiB

After

Width:  |  Height:  |  Size: 125 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 111 KiB

After

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 139 KiB

After

Width:  |  Height:  |  Size: 148 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 155 KiB

After

Width:  |  Height:  |  Size: 143 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 116 KiB

After

Width:  |  Height:  |  Size: 110 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 114 KiB

After

Width:  |  Height:  |  Size: 91 KiB

BIN
src/assets/icons/lleech.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 121 KiB

After

Width:  |  Height:  |  Size: 120 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 86 KiB

After

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 121 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 68 KiB

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 128 KiB

After

Width:  |  Height:  |  Size: 108 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 123 KiB

After

Width:  |  Height:  |  Size: 114 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 92 KiB

After

Width:  |  Height:  |  Size: 83 KiB

Some files were not shown because too many files have changed in this diff Show More