Commit graph

1526 commits

Author SHA1 Message Date
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
Oleg Agafonov
de323a3577 fixed tests 2024-06-07 13:34:49 +04:00
Oleg Agafonov
e9f0539a40 server: fixed that rollback request can hide some active dialogs of other priority player (yes/no, play priority, targets, attackers, etc) 2024-06-07 12:42:08 +04:00
Oleg Agafonov
6d392bcdcf server: improved fix command logs 2024-06-07 08:10:09 +04:00
Oleg Agafonov
6768218038 dev: added actual default settings for client/server run scripts 2024-06-03 11:44:48 +04:00
xenohedron
51546e7c78 adjust max tourney limit ratio
better alignment for small servers focusing on limited play
2024-05-21 00:40:38 -04:00
Oleg Agafonov
199345db07 server: improved tourney threads naming, added max tourneys limit (max games / 10); 2024-05-20 03:15:05 +04:00
Oleg Agafonov
48c1bbdc01 server: fixed that rollback requests do nothing in some use cases (related to #11285); 2024-05-20 02:11:35 +04:00
Oleg Agafonov
9d2f5fbadd cheats: added more examples for init.txt usage 2024-05-14 09:13:18 +04:00
Oleg Agafonov
d1cca988c4 refactor, ai: removed outdated and unused code (suggest actions for AI simulations); 2024-05-05 20:47:54 +04:00
Oleg Agafonov
92b722d3ca server: fixed bloated logs about table owner's invalid deck 2024-04-17 12:27:41 +04:00
Oleg Agafonov
a9372e93ff server: improved game stability on player's concede (related to #11460) 2024-04-17 12:21:11 +04:00
Oleg Agafonov
e8e2f23284 server: improved server stability (#11285) and reworked triggers/playable logic (#8426):
* game: now all playable calculations done in game simulation, outside real game (no more freeze and ruined games by wrong Nyxbloom Ancient and other cards with wrong replacement dialog);
* game: fixed multiple problems with triggers (wrong order, duplicated calls or "too many mana" bugs, see #8426, #12087);
* tests: added data integrity checks for game's triggers (3 enabled and 3 disabled due current game engine logic);
2024-04-16 23:10:18 +04:00
Oleg Agafonov
6e0ef77f96 server: removed useless info message about disconnect stats, improved games/tourney stats; 2024-04-10 22:20:21 +04:00
Oleg Agafonov
7817a5cac6 deck improves:
* gui: removed public deck hash info;
* gui: improved xmage dck-file - now it correctly load a card's amount (related to files from third party services);
* server: fixed wrong cheating warning on deck construction (closes #11877);
* refactor: removed outdated hash code and calculations;
* other: added docs, added multiple deck hash tests;
2024-04-10 22:18:07 +04:00
Oleg Agafonov
7285f13da2 server: fixed that new users can't connect to long living server (if it works too long without restarts, #11285); 2024-04-07 22:35:19 +04:00