Oleg Agafonov
cdce5c2c82
Server: ignore connection problem logs if user don't have game sessions;
2020-01-16 21:26:39 +04:00
Oleg Agafonov
4eacadb9f1
Server: added fix command call result to logs;
2020-01-15 07:22:36 +04:00
Oleg Agafonov
85ac603070
Merge pull request #6160 from phulin/rejoin2
...
Send message to client to force rejoin [don't merge]
2020-01-14 01:48:24 +01:00
LevelX2
1f7a7a10b0
* Panopticon Plane - Fixed draw card abilities.
2020-01-11 01:25:26 +01:00
Patrick Hulin
1c9cd592bd
Send message to client instead of forcing rejoin if player is still connected.
2020-01-09 23:33:38 -05:00
Oleg Agafonov
ab1475d7e0
Little fixes
2020-01-09 08:52:25 +04:00
Oleg Agafonov
85e65c8f44
Code cleanup
2020-01-08 05:19:52 +04:00
Oleg Agafonov
6ce1e973f3
Additional improves to #6150
2020-01-07 12:01:34 +04:00
Oleg Agafonov
339c419d4b
* UI: multiple improves for adventure/split cards:
...
* Split cards shows left and right mana cost (in deck editor, hand, etc);
* Adventure cards shows adventure and normal cost (in deck editor, hand, etc);
* Adventure cards shows adventure spell name in deck editor's list;
* Fixed missing loading cursor in deck editor searching;
2020-01-07 11:49:55 +04:00
Patrick Hulin
dda8c904b6
Force-join players to a game if they haven't joined after 5 seconds.
...
This check has always occurred for disconnected players; expand it to all players.
2020-01-06 17:39:34 -05:00
Oleg Agafonov
d6f2b52f1e
Merge fix
2020-01-03 19:06:21 +04:00
Oleg Agafonov
cc0679b6d3
Server: added logs about fix command usage;
2020-01-03 18:59:10 +04:00
Oleg Agafonov
0faecb2fb6
Server: fixed missing data compress for some server's responses;
2019-12-31 04:11:23 +04:00
Oleg Agafonov
335f046357
Server improves:
...
* improved /fix command to support disconnected/freezed players;
* added chat messages about connection problem with opponents (checks players status every minute);
* reduced timeout before remove disconnected player from waiting game dialog (from 4 to 2 minutes);
* reduced timeout between client's pings (from 60 secs to 20 secs);
2019-12-31 03:23:10 +04:00
LevelX2
1dc8f37d20
* Expropriate - Fixed a strange problem that the prompt text of the select permanent selection to get the control of the permanent was not shown. Still not clear what the exact reason was but using a player list to save the voters seemed to cause the problem.
2019-12-27 23:22:32 +01:00
Oleg Agafonov
5b9f0c970c
Removed bloated logs
2019-12-24 21:12:20 +04:00
Oleg Agafonov
8af784e8e6
Test framework: added commands to put cards in sideboard, outside and exiled zones;
2019-12-24 02:03:51 +04:00
ssouders412
50bd6cbc32
More pronoun fixes
2019-12-06 15:17:44 -05:00
ssouders412
2d3247d732
Updated pronouns to reflect current rules and oracle text
...
Replaced all instances of "her or she", "him or her", and "his or her", with "they", "them", and "their", or sometimes "that player". Updated verbs where appropriate.
2019-12-06 14:29:36 -05:00
Ingmar Goudt
178da75e4d
Sonar fixes
2019-07-09 21:57:55 +02:00
Oleg Agafonov
f6123037ec
* UI: added playable/activatable cards highlight in all zone and windows (mana abilities, commander, graveyard, revealed, etc);
2019-06-28 03:30:57 +04:00
Ingmar Goudt
1cf6d99515
fix couple of sonar issues
2019-06-23 23:22:21 +02:00
Oleg Agafonov
9a9b304fd5
* UI: improved hand request dialog (users can ask your hand once per game, reset it by re-activate button);
2019-05-28 13:46:29 +04:00
Oleg Agafonov
07cf5201ba
* Added new game mode: Oathbreaker ( #5678 );
2019-05-27 16:17:15 +04:00
Oleg Agafonov
8448afc709
Test framework: added commander games support (quick start button, "commander" command to put card as commander);
2019-05-13 13:20:41 +04:00
Oleg Agafonov
c6d32bd33d
[WAR] added tokens images
2019-04-23 23:32:09 +04:00
Oleg Agafonov
6206616af4
Added some comments and timeouts info
2019-04-22 15:58:32 +04:00
Oleg Agafonov
de4befb9c2
* Sideboarding: fixed that it possible to auto-submit 40 cards deck instead 60 in constructed formats ( #5579 );
...
Sideboarding: fixed that cheated deck with sideboard can be used instead lose the game;
2019-04-01 07:34:46 +04:00
Oleg Agafonov
2a750457d5
Fixed that antispam blocks system messages in diff chat rooms;
2019-03-14 05:32:04 +04:00
Oleg Agafonov
1ccd1c2f2d
Fixed NPE error on "/FIX" chat command;
2019-03-11 20:34:22 +04:00
Ingmar Goudt
45f665eb1d
Sonar cleanups 03032019
2019-03-04 10:43:20 +01:00
Oleg Agafonov
48a36c6fc4
Added server logs
2019-03-04 06:31:40 +04:00
Oleg Agafonov
f64dac5e1b
Added server logs about exp/cards downloads;
2019-03-01 19:06:07 +04:00
Ingmar Goudt
3359c1f3f1
sonar 220219, criticals
2019-02-22 12:06:11 +01:00
Ingmar Goudt
056226d83c
Sonar fixes 19022019
2019-02-19 21:51:45 +01:00
Oleg Agafonov
8cf681dff2
Updated libraries to latest versions and code compatibility fixes;
2019-02-17 16:12:57 +04:00
Oleg Agafonov
971a98061d
Fixed SQL errors on non escaped symbols in usernames/emails/passwords;
2019-02-17 16:09:00 +04:00
Ingmar Goudt
39fc9fbc59
remove duplicate logger in UserManager
2019-02-15 11:05:01 +01:00
Oleg Agafonov
c29b68f030
Disabled cards rating and classes preloading on startup (lags problem);
2019-02-09 16:09:07 +04:00
Ingmar Goudt
2cd9e25229
better use of the CardsImpl constructor
2019-02-03 21:08:31 +01:00
Oleg Agafonov
7eba755666
Refactor card ratings, fixed rare error exception "comparison method violates its general contract" (different ratings in same card);
2019-02-01 17:41:29 +04:00
Oleg Agafonov
f1ba813518
Cheats: added amount supports in stack command;
2019-01-26 14:32:32 +04:00
Oleg Agafonov
8ef30e4cde
Cheats: added command to add any card/spell to stack without cost (only simple cast supports, without targets and modes);
2019-01-26 14:16:44 +04:00
Oleg Agafonov
855baff877
Fixed rare infinite loops on user session disconnects;
2019-01-24 21:42:47 +04:00
Oleg Agafonov
91a3328907
* UI: added cell hints to player's list in lobby, fixed header hints;
2019-01-21 01:10:01 +04:00
Ingmar Goudt
50f28a2bf7
add some Java8 magic to the server
2019-01-19 09:31:50 +01:00
Ingmar Goudt
7c2f55eda0
couple of sonar fixes
2019-01-17 12:03:22 +01:00
Oleg Agafonov
b2d4d1eba8
Cheats: added command to add loyalty points to card
2019-01-15 20:45:08 +04:00
Oleg Agafonov
063be44523
Fixed NPE errors for some cards ( #5471 )
2019-01-08 07:15:39 +04:00
Oleg Agafonov
f01b3d3ca3
Improved new version cleanup and more:
...
* fixed db cleanup on new version (sets + cards);
* fixed empty sets list after update;
* fixed NPE errors in sets list on new install/version;
* added joke sets filter to deckeditor.
2019-01-06 15:41:30 +04:00
John Hitchings
7e621ee8af
Make draft logs compatible with MTGO format #5450 - https://github.com/magefree/mage/issues/5450
2018-12-19 19:41:44 -08:00
Oleg Agafonov
452b889fe7
Fixed some exceptions on slow servers;
2018-12-15 18:45:00 +04:00
Oleg Agafonov
0a2f312da7
Added build time to version info, cleanup manifest files;
2018-12-15 18:29:10 +04:00
LevelX2
e7d129a074
Merge branch 'master' into add-minimum-rating-option
2018-11-26 17:18:35 +01:00
Oleg Agafonov
a806e79abd
* Improved chat help about ignore command (it's not only chat, but game joins too);
2018-11-05 09:06:31 +04:00
Aaron Miller
5cd57199c7
Merge branch 'master' into add-minimum-rating-option
2018-09-29 19:15:46 -07:00
Aaron Miller
81c2a62250
Add "minimum rating" option to matches and tournaments
2018-09-29 19:14:39 -07:00
Ingmar Goudt
7b4acbe386
clean up some null checks
2018-09-27 22:16:32 +02:00
Ingmar Goudt
188a09b8fb
change keyset to entryset
2018-09-27 22:16:00 +02:00
Ingmar Goudt
a603c5e62c
fix return of Optional
2018-09-27 22:15:14 +02:00
Ingmar Goudt
eeaf2284cd
fix a nullcheck of an Optional..
2018-09-27 11:05:23 +02:00
Ingmar Goudt
f04d7c9b03
remove redundant null checks before instanceof
2018-09-17 21:09:42 +02:00
spjspj
589a542cbc
Update Penny Dreadful
2018-08-08 00:09:03 +10:00
spjspj
f21543ff8d
Merge pull request #5146 from spjspj/master
...
Hopefully fix the /fix command ..
2018-07-13 01:01:57 +10:00
spjspj
ec1dc44327
Hopefully fix the /fix command ..
2018-07-13 00:02:26 +10:00
igoudt
ca1ebeb55e
add method Game.isActivePlayer(UUID playerId)
2018-06-29 14:59:11 +02:00
GrayedFox
3953f3dbdd
remove all MIT copyright notices from files
2018-06-02 17:59:49 +02:00
LevelX2
fcc6174e5e
Some null exceptions checking and fixed some other minor problems.
2018-05-26 01:22:28 +02:00
Oleg Agafonov
1a4e892f04
Cheat engine:
...
+ added commands to show my hand and library (@show my hand, @show my library);
+ added params to show color identity ("color commander") and card's color ("color cost");
2018-05-06 01:05:04 +04:00
spjspj
5746a40ad2
pennydreadful update
2018-04-24 23:03:32 +10:00
spjspj
b45a409939
Continuing implementation of Planechase.
2018-04-15 19:40:15 +10:00
spjspj
a828050ae1
Continuing implementation of Planechase.
2018-04-14 23:09:37 +10:00
spjspj
c8b741f0bf
Continuing implementation of Planechase.
2018-04-12 00:07:24 +10:00
spjspj
471d49892f
Attempt to allow players to fix the game if the active/choosing/person with priority has left or has run down the clock
2018-04-02 19:31:05 +10:00
Marc Zwart
fed2f31789
set lock calls back to original place as per request
2018-03-29 13:56:10 +02:00
Oleg Agafonov
645fbf6da1
* Cheat engine: added optional set code in card's command (example: battlefield:Human:Island:HOU:1);
2018-03-24 18:44:02 +04:00
igoudt
00f91391e9
Homarid Drake, reprints, and rewriting his or her to their
2018-03-22 16:52:26 +01:00
spjspj
4382a4f247
Merge pull request #4649 from spjspj/master
...
Song of Blood (VIS)
2018-03-23 00:26:29 +11:00
ArcadeMode
5ac975c52e
Blocker and Critical level bugfixes throughout the project ( #4648 )
...
* fixed https://sonarcloud.io/project/issues?id=org.xmage%3Amage-root&issues=AWIlv32RgrzAwlaaQ7rP&open=AWIlv32RgrzAwlaaQ7rP
* ensure closing of scanner if it was opened
* Refactored method in EmpyrialArchAngel to not always return same value.
* Refactored method in FalkenrathAristocrat to not always return same value.
* Refactored method in GilderBairn to not always return the same value.
* fixed left open resources, ensured quiet closing of the streams
* Refactored method in IceCave to not always return same value.
* Refactored method in KjeldoranRoyalGuard to not always return same value.
* Refactored method in LegionsInitiative to not always return same value.
* Refactored method in NaturesWill to not always return same value.
* added quiet closing method in new streamutils class, used to clean up the connectdialog
* Fix small typo
* added quiet closing to saveobjectutil
* closed resources in savegame method of gamecontroller
* properly close resources in loadGame method of GameReplay class
* further proper resource closing in ServerMessagesUtil
* fixed unclosed resources in copy method in mage framework Copier
* closed unclosed resources in copyCompressed method in Copier
* ensure closing of filewriter in manasymbols
* ensure proper closing of Stream in arcane UI
* ensure closing of datagram socket in arcane Util
* ensure resource closing in deckimport from clipboard
* ensure closing of plugin classloader
* ensured closing of zipinputstream resource
* ensure closing of fileoutputstream in ScryfallSymbolsSource
* ensure closing resources after finishing/canceling download of pictures
* remove commented code
* move locks to try block to ensure unlocking along all execution paths
* remove dangerous instance of double-checked locking
* removed dangerous instance of double checked locking in settingsmanager
* Removed dangerous instance of double-checked locking in ThemePluginImpl
* close resource which did not happen certainly
* close another stream
* ensure closing of inputstream
2018-03-22 08:13:13 -05:00
spjspj
6e15835232
New M15 Rendering for Unstable lands
...
(Way to default to 'UST' for the cheat button.
2018-03-20 16:15:08 +11:00
LevelX2
b073ce1c42
* Added to all toUpperCase/toLowerCase calls the Locale.ENGLISH to prevent problems with some languages (e.g. Turkish). Removed some unused import statements. ( #4634 ).
2018-03-18 18:18:54 +01:00
spjspj
f1967de231
This allows hidden information out from the game state.
2018-03-14 01:41:46 +11:00
LevelX2
7e5f4f580d
* Fixed wrong user active check for table health.
2018-02-25 12:33:57 +01:00
LevelX2
89b6aeacd6
* Added a test related to #4539 .
2018-02-20 16:16:26 +01:00
spjspj
bb512faa98
Add option to get debug information from game state in chat
2018-02-19 12:12:18 +11:00
LevelX2
1ef84278c2
Merge pull request #4419 from rsypen/master
...
Fixed local server time in client's chat messages
2018-02-15 15:16:52 +01:00
LevelX2
ac81c5bbd4
Changed callbackException handling.
2018-02-03 10:49:57 +01:00
LevelX2
7afc157ba0
xmage 1.4.27V2
2018-01-31 00:08:05 +01:00
LevelX2
5d7532dff2
Reverted changes on Session locking.
2018-01-28 23:25:16 +01:00
LevelX2
7f17011bf0
Added logic to suppress failing callbacks to users that lost connection.
2018-01-28 18:05:43 +01:00
LevelX2
34a884546a
Readded message if user lost connection.
2018-01-28 18:03:37 +01:00
LevelX2
2f016c8ea6
Fixed some more exception and/or logging problems.
2018-01-27 13:19:20 +01:00
LevelX2
6b90c1fd7f
Fixed some exception problems.
2018-01-27 11:42:43 +01:00
Oleg Agafonov
74f988ce1d
Cheats: added 2 new special commands, see #4334 :
...
* show opponent hand
* show opponent library
* added params to special commands to show more or less info:
- pt;
- color;
- abilities count;
- abilities list.
2018-01-26 06:42:23 +04:00
rsypen
ccd121277a
Fixed local server time in client's chat messages
2018-01-15 09:17:35 +01:00
Oleg Agafonov
eae85e71bc
UI: added new cheat engine for manual testing (see #4334 )
2018-01-04 01:35:33 +04:00
LevelX2
bda8736b9e
Some minot fixes /changes.
2017-10-03 17:06:46 +02:00
LevelX2
8221a68efe
Minor fix for user handling.
2017-09-05 17:53:03 +02:00
LevelX2
d5284ae226
Fixed that some user data was not cleared as a user was disconnected.
2017-09-05 16:58:06 +02:00
LevelX2
cd9827300d
Some minor changes.
2017-09-05 12:00:42 +02:00