Commit graph

1541 commits

Author SHA1 Message Date
Oleg Agafonov
d861f67232 server: fixed that's server can't start on some wrong config settings (part 2) 2025-06-05 03:03:25 +04:00
Susucre
9de731b522 fix release config 2025-06-04 23:04:32 +02:00
Oleg Agafonov
17cefacea7 serve: fixed that's server can't start on some wrong config settings 2025-06-05 00:17:28 +04:00
Oleg Agafonov
5e71e3da51 deck: imrpoved draft cubes order in config and choose dialog (part of #13705) 2025-06-01 00:20:20 +04:00
Oleg Agafonov
1065e5f7dd deck: fixed miss tourney Booster Draft Swiss (Rich Man) 2025-06-01 00:18:49 +04:00
Oleg Agafonov
b8a8d92b14 deck: updated The Paper Cube, fixed legacy/vintage (part of #13705) 2025-06-01 00:06:18 +04:00
Oleg Agafonov
eba4d0276d deck: updated Legacy Cube to latest version, removed outdated cubes, improved last update info (part of #13705) 2025-05-31 23:11:44 +04:00
Oleg Agafonov
3d45a24959
Draft Cubes rework (better cube from deck, dynamic data, better errors processing, actual MTGO Vintage Cube) (#13705)
- GUI, table: added dynamic data support for Cube Types (no more depends on server's config names, part of #12050);
- server: replace multiple MTGO Vintage Cubes by single cube, updated to April 2025 (part of #12050);
- server: fixed table freeze on starting error (related to #11285);
- GUI, table: added better support of Cube From Deck (client/server side errors, additional info about loaded cards, etc);
2025-05-31 20:15:31 +04:00
Oleg Agafonov
2e7e78d1e5 GUI, table: allow unlimited draft bots amount, fixed computer names in 10+ tables (part of #13701) 2025-05-31 13:10:03 +04:00
Oleg Agafonov
f2826cc676
GUI, table: added drafts with single multiplayer and multiple 1vs1 games support (#13701)
- new tourney's single game mode allow to play tourneys/drafts with all players in one game without multiple rounds;
- it's allow to setup classic drafts with 1 vs 1 games and multiple rounds
- added AI opponents supported including draft bots from a public servers;
2025-05-31 10:39:23 +04:00
Oleg Agafonov
e270d1c450 server: fixed that it doesn't allow to use 3 characters names despite config settings 2025-05-29 06:46:06 +04:00
Oleg Agafonov
f3ba897536 gui, deck: reworked edh power level (close #5361, close #11732, related to #13341):
* added power level info in deck validation panel;
* added detail calculation info (hint with cards and their power levels);
* fixed that deck's edh power level ignore individual card's levels and used only commanders;
* removed outdated deck restrictions by commander colors;
* now players can really limit allowed decks by edh power level;
2025-05-24 19:53:37 +04:00
Oleg Agafonov
c89f1c0d39 merge fix 2025-04-18 10:00:25 +04:00
Oleg Agafonov
30d44ce869 Improved server's reconnection and drafts stability:
* draft: fixed miss or empty draft panels on reconnect;
* draft: fixed tourney freezes for richman drafts on disconnects;
* draft: fixed tourney freezes on rare use cases with bad connection;
2025-04-18 09:38:52 +04:00
Oleg Agafonov
571605e224 server: now it disable draft's clicks protection timeout in test mode; 2025-04-17 21:05:53 +04:00
Oleg Agafonov
33fb660dc8 server: improved logs for can't create table errors (instead No message) 2025-04-17 20:09:54 +04:00
Oleg Agafonov
b61bd22c85 server: fixed rare error on player reconnection with tournament; 2025-04-17 19:59:43 +04:00
Oleg Agafonov
b819545744 bump version 2025-04-11 17:50:12 +04:00
Oleg Agafonov
13a832ae00 tests: removed outdated commands from init.txt example 2025-04-08 22:14:05 +04:00
ssk97
cdebbe151b
Fix for disconnect causing instant loss (#13390) 2025-04-05 14:11:55 -04:00
PurpleCrowbar
411100e442 Minor grammar and text fixes 2025-02-25 02:23:37 +00:00
Oleg Agafonov
85b92a5c3b server: removed outdated settings with MaxPermSize (#13314) 2025-02-08 18:47:32 +04:00
Oleg Agafonov
690bc36023 tests: improved load tests (better logs) 2025-02-04 14:23:15 +04:00
Oleg Agafonov
3405b51aaf tests: improved load tests (improved progress bar, added effects stats) 2025-02-04 11:41:42 +04:00
Oleg Agafonov
fc159728c7 version bump 2025-02-01 20:16:27 +04:00
Oleg Agafonov
0505f5159e Turn under control reworked:
- game: added support when a human is take control over a computer player (related to #12878);
 - game: fixed game freezes while controlling player leaves/disconnect on active priority/choose of another player;
2025-01-10 20:20:11 +04:00
Oleg Agafonov
c076f4925f Turn under control reworked:
- game: added support for human games (cards like Emrakul, the Promised End, #12878);
 - game: added support of 720.1. to reset control in the turn beginning instead cleanup step (related to #12115);
 - game: added game logs for priorities in cleanup step;
 - game: fixed game freezes and wrong skip settings usages (related to #12878);
 - gui: added playable and choose-able marks for controlling player's cards and permanents, including switched hands;
 - gui: added controlling player name in all choice dialogs;
 - info: control of computer players is it not yet supported;
2025-01-07 12:38:01 +04:00
Oleg Agafonov
b1f914bbf4 version bump 2024-11-30 22:42:47 +04:00
Oleg Agafonov
b51fdae550 refactor: fixed potential game freeze in some infinite cycles, disconnects and top library's card usage (related to #11285); 2024-10-24 13:19:05 +04:00
Oleg Agafonov
8d6ba84556 dev: added support of client code debugging without disconnection (no more connection/pings validation in server's test mode);
server: improved disconnection logs, fixed some race conditional bugs;
2024-10-09 16:03:38 +04:00
Oleg Agafonov
7d1ab71092 server: now idle response timeout will be disabled in local games with 1 human player 2024-09-21 14:45:48 +04:00
Oleg Agafonov
8064b7b372 server: improved fix command to support idle response timeout, enabled idle timeout for games with AI (related to #4590); 2024-09-09 10:40:43 +04:00
Oleg Agafonov
278bda4c36 version bump 2024-09-08 22:13:45 +04:00
xenohedron
54874a59b0
refactor: rename "remixed" to "reshuffled" (#12755) 2024-09-01 01:08:26 -04:00
Oleg Agafonov
de5de0e103 version bump 2024-08-16 19:35:42 +04:00
Oleg Agafonov
e386210b91 other: fixed rare errors on images download opening, fixed wrong code in chats and preferences store; 2024-08-16 17:42:33 +04:00
Oleg Agafonov
7916af0e52 server, refactor: added client side info about current table and parent table (tourney's sub-tables with matches); 2024-08-11 19:29:42 +04:00
Oleg Agafonov
c31763a2d8 db: fixed wrong commands 2024-08-05 00:03:58 +04:00
Oleg Agafonov
0a55e37c8c download: reworked scryfall images support:
- download: fixed unmount zip errors on cancel download in some use cases (closes #12536);
- download: significant download speed improvements (now it depends on user's network speed, not api limitations);
- download: added additional error dialogs on bad use cases;
- scryfall: added cards and bulk data api support;
- scryfall: added bulk data download (updates once per week, contains all scryfall cards and store in images\downloading folder, 2 GB size);
- scryfall: added optimized images download without api usage (use direct images links from bulk data, closes #11576);
- scryfall: improved image source searching for some use cases (miss or wrong images problems, closes #12511);
- scryfall: tokens don't use bulk data;
- scryfall: 75k small images downloads 40 minutes and takes 1 GB and 2100 api calls (most of it from tokens);
- scryfall: how-to disable bulk data, e.g. for api testing: -Dxmage.scryfallEnableBulkData=false
2024-08-03 19:41:14 +04:00
Oleg Agafonov
e1cffbde40 download: reworked connection:
- added shareable code with default proxy, headers and other settings for download tasks like images, symbols, mtgjson, etc;
- use XmageURLConnection.downloadText for text resources
- use XmageURLConnection.downloadBinary for any file resources
- added user agent with app version for all requests;
- added http logs and improved error messages;
2024-07-31 21:25:56 +04:00
Oleg Agafonov
bf3f26ccc1 server: database improves:
- fixed broken database in some use cases (example: AI and choose name dialog, related to #11285);
- added docs and debug tools for sql queries, caches and memory analyse (see DebugUtil);
- refactor code to use shared settings;
- deleted outdated and un-used code (db logs, stats, etc);
2024-07-18 21:22:10 +04:00
Oleg Agafonov
7d675de876 server: fixed server app freeze on another instance already running, improved threads usage (related to #11285); 2024-06-23 15:58:25 +04:00
Oleg Agafonov
55e8cac66a server: added server address and port in startup logs 2024-06-23 15:49:22 +04:00
Oleg Agafonov
ba243c6512 server: added max users online in news panel with server stats; 2024-06-17 00:15:08 +04:00
Oleg Agafonov
161835fd76 server: added logs with a max users online stats 2024-06-16 23:43:32 +04:00
Oleg Agafonov
ce8ae6ff4c server: fixed non-started tourney freeze in some use cases (related to #11285); 2024-06-13 06:51:46 +04:00
Oleg Agafonov
4f0691ad08 server: fixed game errors in rare use cases for big games (related to #11285); 2024-06-12 23:40:59 +04:00
xenohedron
b85d2883e3 style: remove some static imports 2024-06-11 23:47:48 -04:00
Oleg Agafonov
e2b1d980b6 other: added java version in app's starting logs 2024-06-12 06:33:04 +04:00
Oleg Agafonov
e209ce1c97 server: fixed wrong cheater detection in some tourney sideboardings (closes #11877) 2024-06-11 00:30:00 +04:00