Commit Graph

9194 Commits

Author SHA1 Message Date
jakub.salavec
46f98fd144 Performance - reduced number of db queries if draft with the same id starts again (ie. after server restart if one was in progress) 2025-04-17 12:35:08 +02:00
jakub.salavec
50f8af651f Performance - reduced number of active tournament db queries 2025-04-17 12:05:51 +02:00
Christian 'ketura' McCarty
fc24e05caa hotfix for the tournament name spam 2025-04-16 17:30:49 -05:00
Christian 'ketura' McCarty
8b872bd835 Merge remote-tracking branch 'nabond251/bugfix/454-crashing-mountains' 2025-04-16 07:42:43 -05:00
Christian McCarty
848c29d22c Merge pull request #624 from SalavecJ/draft-fix
Draft fix - partial
2025-04-16 07:40:06 -05:00
jakub.salavec
507bb84e0a Fixed - limited tournament games now contribute to casual statistics instead of competitive (renamed queues to start with 'Casual') 2025-04-15 15:36:54 +02:00
jakub.salavec
ef60286a6b Fixed - nicer names not allowing tournaments to finish 2025-04-15 15:03:50 +02:00
jakub.salavec
ac452034de Added - nicer names for tournament games instead of 'casual - tournament' 2025-04-15 13:55:38 +02:00
jakub.salavec
62b8705172 Fix - old draft chat rooms are now destroyed automatically by chat server during cleanup instead of manually by tournament 2025-04-15 13:03:53 +02:00
jakub.salavec
49f774f283 Added - checkmark is displayed in limited tournament player list next to players that have already registered their decks 2025-04-15 11:11:30 +02:00
jakub.salavec
35a514da81 Temp fix - draft games start when all players submit a deck 2025-04-15 10:38:51 +02:00
jakub.salavec
88fe7cdd95 Added - timers for deck-building stage, registration stage and pairing delay in playing stage 2025-04-14 16:49:20 +02:00
jakub.salavec
5dbd81dfc3 Modified - non-wc tournaments with no prizes and no cost can be spectated and the chat room is not locked (before only spectate 1v1 tournaments) 2025-04-14 15:35:02 +02:00
jakub.salavec
3e5c46a9ff Added - tournaments get finished when last player drops 2025-04-14 14:51:49 +02:00
jakub.salavec
3c5fe5d7ce Added tournaments being visible in 'Playing Tables' section to all players 2025-04-14 14:05:17 +02:00
jakub.salavec
62334bb638 Fixed players being able to join 1v1 limited games after they start to force more rounds 2025-04-14 13:32:46 +02:00
jakub.salavec
c2bb9eead0 Fixed 'Active Tournaments' hall tab visibility not being saved to cookie 2025-04-14 12:32:33 +02:00
jakub.salavec
c0b73ab1f8 Fixed draft games collections showing up for people not part of said games 2025-04-14 12:24:59 +02:00
Nathaniel Bond
27b69e0be0 Demonstrate normal behavior 2025-04-13 21:50:06 -04:00
Christian McCarty
d6136062fd Merge pull request #597 from PlayersCouncil/bug/march-bugs
A Fistful of Bugs
2025-04-12 23:42:55 -05:00
Christian McCarty
f9a3d1fb3e Merge pull request #589 from SalavecJ/better_limited
Live drafts
2025-04-12 23:42:39 -05:00
Christian 'ketura' McCarty
c6dd2f129e Fixed Theoden, Tall and Proud having its trigger resolved by a random player. 2025-04-12 23:34:03 -05:00
Christian 'ketura' McCarty
5be83cfb4d V2 test cases + upgrades to the test case rig
- Finally added support to some of the simpler test functions like FreepsChooseCard and FreepsChooseAny, so that the tester doesn't have to remember the nuances between things like choosing active cards and choosing BP ids from hidden zones.
2025-04-12 23:08:38 -05:00
Christian 'ketura' McCarty
467994709c Fixed Gamling, Dutiful Marshal not enforcing item class restrictions on transfer 2025-04-11 19:56:18 -05:00
Christian 'ketura' McCarty
b94d4efd5c test cases for saruman's staff 2025-04-10 23:00:39 -05:00
Christian 'ketura' McCarty
d67ec1161c More V2 test cases (all isengard) 2025-04-10 22:28:49 -05:00
Christian 'ketura' McCarty
7ced1b0f35 Altered the way that multi-wound actionss (such as "wound all minions") works to ensure that prevention effects do not struggle to distinguish their target from a group of cards. 2025-04-10 22:27:49 -05:00
Christian 'ketura' McCarty
0a106a67b5 Fixed Safe Paths never being playable 2025-04-10 17:31:59 -05:00
Christian 'ketura' McCarty
5fbe0aabd2 Fixed Catapult crashing the game when the opponent has 0 cards in deck. 2025-04-10 17:28:10 -05:00
Christian 'ketura' McCarty
acf73f4383 Fixed His First Serious Check failing to discard the card after paying the twilight 2025-04-10 10:25:53 -05:00
Christian 'ketura' McCarty
7937ee914a more V2 tests 2025-04-09 22:11:06 -05:00
Christian 'ketura' McCarty
fc9f1b1f70 Adding a null check to a section of the game animation code that causes a bizarre visual crash out when reloading at the wrong time 2025-04-09 20:26:59 -05:00
Christian 'ketura' McCarty
a965c106c4 Unfolding more cards from unnecessary (I hope) CostToEffect wrappers 2025-04-09 20:14:08 -05:00
Christian 'ketura' McCarty
a21ff70b21 Fixing a bad tengwar detection causing Towers packs (with the capital T) to show up as an error image. 2025-04-09 19:22:30 -05:00
Christian 'ketura' McCarty
75bd836c62 Optional effect type overhaul
- So it turns out that Optional is frequently used to wrap a CostToEffect, but because of how that's set up the Optional does not ensure the "Cost" part is actually enforced.  Thus someone can choose "yes" and it will always treat both halves of a CostToEffect as optional.
- Added the standard "requires" and "cost" fields to Optional
- Refactored about 30 cards to no longer use CostToEffect nested within an Optional, instead opting to use the cost field of Optional itself
2025-04-08 23:21:40 -05:00
Christian 'ketura' McCarty
2fd2958fab Fixing Beyond All Darkness (and other "put cards from hand on the bottom of the deck" cards) revealing the cards to the wrong player 2025-04-08 17:06:58 -05:00
Christian 'ketura' McCarty
204010b7e5 added test cases for all Elven cards from V2 2025-04-07 22:33:53 -05:00
Christian 'ketura' McCarty
ba273f06f8 Added unit tests for all V2 Dunland cards; cleaned up the tests for the V2 Maps. 2025-04-07 19:50:48 -05:00
Christian 'ketura' McCarty
8f56866ad0 Fixed V2 An End Worthy of Remembrance never being playable 2025-04-07 18:23:33 -05:00
Christian 'ketura' McCarty
aa961a6b8e Merge branch 'master' into bug/march-bugs 2025-04-07 13:07:13 -05:00
Christian 'ketura' McCarty
941201af9f Fixed V2 Breaching Shot being playable if there aren't enough tokens on machines to assign an uruk, and also fixed it crashing the game if not enough tokens were removed to assign an uruk. 2025-04-07 13:05:08 -05:00
Christian 'ketura' McCarty
dc41cdb0cf Missing test function 2025-04-06 23:18:17 -05:00
Christian McCarty
e05c6bac3a Merge pull request #593 from PlayersCouncil/bug/march-bugs
Yet Even More Bugs Once Again
2025-04-06 23:02:51 -05:00
Christian 'ketura' McCarty
a90842b1bf Fixed V2 Saruman not preventing all sources of damage bonuses. 2025-04-06 21:41:23 -05:00
Christian 'ketura' McCarty
bdc1da9c42 Fixed V2 Isengard Grunt not increasing the overwhelm multiplier. 2025-04-06 20:49:09 -05:00
Christian 'ketura' McCarty
3d39aa8309 Fixed salve for really real this time. 2025-04-06 20:23:16 -05:00
Christian 'ketura' McCarty
c1e02b8fa5 Fixing a login issue with password reset 2025-04-06 17:50:02 -05:00
Christian 'ketura' McCarty
ac22e0644d Fixed Into the Caves, for realsies this time. 2025-04-06 17:07:55 -05:00
Christian 'ketura' McCarty
91024f1f29 Adjusting Writhiing Tentacle to not permit itself to be chosen (which may happen if it is played at a non-marsh) 2025-04-06 13:34:01 -05:00
Christian 'ketura' McCarty
bb22a51a4f Fixing Hill Clan granting damage +1 instead of damage +2. 2025-04-06 12:20:27 -05:00