Commit Graph

77 Commits

Author SHA1 Message Date
nicfreeman1209 5937209b35
Merge branch 'develop' into on_block 2021-05-09 21:18:41 +01:00
Steffen ed8bcb6b30
Merge branch 'develop' into 164_fix_voting 2021-05-09 22:01:51 +02:00
Steffen c6209a2510
Merge branch 'develop' into main 2021-05-09 21:58:31 +02:00
nicfreeman1209 4d2afadc01 requested change
record marked player id in session
2021-05-08 11:01:23 +01:00
Steffen 71234f3ef9
fix players being moved or removed during a nomination (closes #164)
add vue linter
2021-05-06 21:48:41 +02:00
nicfreeman1209 19ad2adc17 requested changes 2021-05-05 20:06:23 +01:00
nicfreeman1209 205bd0ba79 on block -> marked 2021-05-05 15:20:37 +01:00
nicfreeman1209 5aba663403 minor fix to previous 2021-05-05 15:08:49 +01:00
nicfreeman1209 8dacfea0cb move block/night logic from socket to menu 2021-05-05 11:54:48 +01:00
nicfreeman1209 b9b9e59b53 requested changes 2021-05-05 07:58:13 +01:00
nicfreeman1209 e762e89485 nlc: toggle within session.js 2021-05-03 17:55:11 +01:00
nicfreeman1209 f0619bdaeb empty block at night 2021-05-03 16:53:46 +01:00
nicfreeman1209 943d228e98 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
2021-05-02 22:52:20 +01:00
nicfreeman1209 230507a67f socket part of toggle recordVoteHistory
analogous to isNight
2021-04-18 17:26:24 +01:00
Steffen a7852115fe
add support for custom fabled (closes #110) 2021-04-15 21:05:00 +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