Commit Graph

65 Commits

Author SHA1 Message Date
Cody Evans de29b3845f Renamed travelers to travellers
This change is to make it so all instances have the same spelling, spelling was chosen based off of https://wiki.bloodontheclocktower.com/Main_Page
2023-09-04 19:28:42 -07:00
Steffen 350d2a5a18
fixed local server (closes #240) 2022-01-25 12:25:48 +01: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 5171996b39
bugfixes and improved session joining 2021-03-30 21:34:09 +02:00
Steffen da3a13518b
fix shifting player bug on delete (fixes #135) 2021-03-19 20:09:13 +01:00
Dave 8b4f09a2c4 correcting fromSockets property to be isFromSockets 2021-03-16 19:46:52 +00:00
Dave 6ad1df5a35 updated the send and update sockets methods for player pronouns to pass through a flag when the pronoun is updated from the sockets to stop the update being broadcast again and causing infinite loops of sockets messages being sent. This also simplifys from the previous loop prevention functionality. 2021-03-16 15:14:51 +00:00
Steffen a90ca50f7a
a big bunch of other bugfixes 2021-03-14 20:42:39 +01:00
Dave 992841a45b cleaning up methods added for sending and receiveing changed pronouns in sockets.js 2021-03-02 19:16:46 +00:00
Dave 6ad516588c updated sockets send and recieve logic for pronouns to allow ST to update players pronouns and block infinite loops between a seated player and ST updates 2021-02-28 16:08:31 +00:00
Dave ecb205e027 cleaning up vueX code to reuse existing player update methods, and add form flow logic to block infinite loops 2021-02-28 13:17:40 +00:00
Dave 769c891a67 correcting pronoun to pronouns in all occurances 2021-02-28 11:23:16 +00:00
Dave 0ffde84188 adding code doc comments to the sendPlayerPronoun method 2021-02-28 11:00:41 +00:00
Dave 2e930e6606 Merge branch 'main' of https://github.com/davotronic5000/townsquare into #43_gender_pronouns 2021-02-28 10:30:44 +00:00
Steffen fac108d12c fix missing role alert 2021-02-18 17:22:46 +01:00
Steffen d409186ff1 re-enabled custom role support 2021-02-03 22:12:38 +01:00
Steffen 4d33e7dda9 optimized ping and gamestate messages 2021-01-29 21:54:27 +01:00
Steffen ea0e6d2d72 ping changed to direct message 2021-01-27 22:05:32 +01:00
Dave 60fab2efe0 adding code to transmit changes to player pronoun 2021-01-27 20:33:38 +00:00
Dave d74a9f2d76 Merge branch 'main' of https://github.com/davotronic5000/townsquare into #43_gender_pronouns 2021-01-25 22:22:23 +00:00
Steffen 83726b1435 fix setting player roles to one that is not on the current script (fixes #95) 2021-01-22 22:05:16 +01:00
Dave 48eab1fa8c getting player pronouns to be synced over sockets layer 2021-01-18 14:02:03 +00:00
Steffen 6d8409d0f0 another fix for host session spam 2020-12-25 14:09:05 +01:00
Steffen 284f9054ba 2 session related fixes 2020-12-24 20:09:56 +01:00
Steffen 0090b33e94 server / sesison fixes 2020-12-24 15:38:28 +01:00
Steffen 984c02980c close session when missing custom roles 2020-12-23 21:07:35 +01:00
Steffen e2d7fa64f2 added more metrics 2020-12-23 20:49:52 +01:00
Steffen 125d5a9510 clearing vote history as ST clears it for everyone
fixed role distribution bug
2020-12-22 11:32:00 +01:00
Steffen 297181ebe8 added changelog and updated socket endpoint 2020-12-21 21:26:36 +01:00
Steffen bbb95a6373 finished custom script meta info 2020-12-20 22:01:56 +01:00
Steffen 398fe89bb7 refactored edition handling to support custom script metadata 2020-12-19 22:15:42 +01:00
Steffen f7eef3f8ea add player role distribution through live session for ST 2020-12-15 22:31:50 +01:00
Steffen 53d608288d only empty seats can be claimed by players and ST can clear seats now 2020-12-15 15:59:43 +01:00
Steffen 7c0f31584c simplify session URLs 2020-12-14 21:49:40 +01:00
Steffen c31d264c7f finished gamestate export & import (closes #58) 2020-12-13 21:50:44 +01:00
Steffen 200c7f9b7d custom roles are no longer synced in live games due to traffic and security concerns (closes #60) 2020-12-10 22:30:34 +01:00
Steffen faf378dca3 only sync player data when changing player related things 2020-12-07 21:41:56 +01:00
Steffen 15ced66b42 add vote history 2020-12-06 22:27:52 +01:00
Steffen dcff59a183 added vote countdown & alert 2020-12-05 22:24:55 +01:00
Steffen a37add61d9 added night phase switch 2020-12-02 20:39:12 +01:00
Steffen f915a1a7f8 added fabled to session gamestate object 2020-12-01 22:42:21 +01:00
Steffen 02d7002e34 moved fabled to player store
cleaned up some things around fabled night reminders
added fabled to night sheet
2020-11-29 22:17:02 +01:00
Steffen b047fafda1 fix small issue with latency calculation 2020-09-22 09:10:35 +02:00
Steffen 0b5d9c5865 moved latency calculation server-side
made host per channel exclusive
added auto-reconnection
2020-09-21 11:24:36 +02:00
Steffen 1409bea1f3 fixed voting race condition
added session ping
cleaned up vote text
2020-09-16 11:39:36 +02:00
Steffen a8a87a1e38
adjusted custom scripts with fabled support
added session handling for fabled
2020-08-09 22:02:02 +02:00
Steffen af1717134c
added support for custom roles in live sessions 2020-07-23 12:25:51 +02:00
Steffen fd75b1771f
fixed jumpy clock hands when someone joins in the middle of a vote (fixes #49) 2020-07-23 10:40:26 +02:00
Steffen e19aa7a6fe
fix swapping and moving players in live sessions (fixes #46) 2020-07-19 21:11:23 +02:00
Steffen b47b45ceb2
unbreak custom role script 2020-07-03 21:28:42 +02:00