Commit graph

675 commits

Author SHA1 Message Date
spjspj
51843474f0 spjspj - Add Set Active to server console 2017-01-14 16:46:27 +11:00
spjspj
6d3324378f spjspj - Add Set Active to server console 2017-01-14 15:29:15 +11:00
vraskulin
46d369c8ed Big refactoring (server)
I used Intellij IDEA to automatically refactor code to achive 3 goals.
1) get rid of anonymouse classes, and replace the with lamba to get more readeable and clean code (like in TableWaitingDialog).
2) make effectively final  variables actually final to avoid inadvertent changes on it in further releases and keep objects as immutable, as possible.
3)  Get rid of unused imports (most of the changes) in whole project classes.
2017-01-09 19:47:03 +03:00
spjspj
4a5dc3c67d Chat Manager - Add [Card Name] for colour highlighting of implemented cards 2017-01-08 17:05:51 +11:00
spjspj
0de89ca5b7 Some Chat Manager updates 2017-01-08 11:57:16 +11:00
vraskulin
b4546a2ecb Renamed method
According java naming convention methods should start from lowercase letter.
2016-12-29 14:13:23 +03:00
LevelX2
233096dc1b Merge pull request #2715 from bhickey/bowdlerize
Censor the word "penis"
2016-12-25 10:57:36 +01:00
Brendan Hickey
3294e51d29 Censor the word "penis"
mage is censoring the word "vagina", so it should also censor "penis"
2016-12-24 11:36:04 -05:00
vraskulin
e22951c68e Repository objects refactoring
SQL query is limited by 1, so there will be two cases - whether collection is empty or not. We should user convenient shortcut for checking emptiness of collection
2016-12-19 11:30:32 +03:00
vraskulin
3be7598ee1 SQL query perfomance improvements
There will be always 0 or 1 distinct result. If we don't limit this query it will find an item, and still will go through the whole table trying another one, which is unneccesary and have performance impact.
2016-12-16 17:27:19 +03:00
spjspj
7fd2eeedcf Add 'EDH power level' rating to Commander tables 2016-11-20 23:13:16 +11:00
spjspj
d7b1ae68ed spjspj - Sorcery count was double 2016-11-18 00:14:59 +11:00
spjspj
a2b3d8825e Add 'xmage.de', 'woogerworks', 'localhost' buttons to connection dialog to fill in appropriate password/username 2016-11-13 22:59:32 +11:00
spjspj
af725f8a6e Fix spam filter on a per-user basis and implement rudimentary swear guard. 2016-11-12 22:39:18 +11:00
spjspj
08ffbb7d3c Fix spam filter on a per-user basis and implement rudimentary swear guard. 2016-11-12 22:37:18 +11:00
spjspj
8a8ca87c8d spjspj - Make test mode of server not care about password 2016-11-12 18:13:28 +11:00
LevelX2
c98671282f * Cursed Rack - Fixed that the hand size modification was applied to the controller of the cursed rack instead of the chosen opponent. 2016-11-01 23:36:42 +01:00
LevelX2
1791b809db Added some more info to some logger and game messages. Removed unused method. 2016-11-01 23:02:11 +01:00
LevelX2
88af59697e * Removed the LogServices (H2 DB file that logs actions). 2016-10-28 23:46:55 +02:00
LevelX2
e1ca3b5cc5 * Removed the LogServices (H2 DB file that logs actions). 2016-10-28 18:39:17 +02:00
LevelX2
450d850ab4 * Some minor changes. 2016-10-26 07:50:32 +02:00
LevelX2
c6826d19d4 * Some rework of ChatSession. 2016-10-24 23:55:50 +02:00
LevelX2
8b62eece68 XMage 1.4.17V0 2016-10-23 10:03:01 +02:00
LevelX2
fae1cb8cce Added chat mute and user (de)activation actions to the Mage server console. 2016-10-06 01:09:53 +02:00
LevelX2
c46f75ac28 Added chat mute and user (de)activation actions to the Mage server console. 2016-10-05 00:59:51 +02:00
LevelX2
db31264538 Some changes to the server console. 2016-10-04 17:40:37 +02:00
LevelX2
9a00dd20ca Fixed some problems with constructed formats definition and custom sets. 2016-10-03 20:25:08 +02:00
LevelX2
31e92fbfcb Fixed that preventing identical chat messages is not active for game log (fixes #2274). 2016-10-02 23:46:32 +02:00
LevelX2
5d94ed8dd0 Some clean up changes. 2016-10-02 17:27:05 +02:00
LevelX2
ca39289a3a Fixed a possible null pointer exception. 2016-09-29 16:20:29 +02:00
Lymia Aluysia
48e14a1765
Rename stuff. Names are hard. 2016-09-25 14:45:06 -05:00
Lymia Aluysia
2fec14f8fa
Minor error message fix. 2016-09-25 12:36:59 -05:00
Lymia Aluysia
51b9d5ba38
Improved debug output slightly. 2016-09-24 17:34:30 -05:00
Lymia Aluysia
d678fc1a59
Add custom set loader code. 2016-09-24 15:16:20 -05:00
spjspj
16bb17e5bb spjspj - Add option of 'Number of Seats'. This is for Tournaments so that you can draft say a 4 way draft and then have a 4 way game at the end of it. 2016-09-25 00:46:16 +10:00
LevelX2
c82d6b5566 * Fixed some possible null pointer exceptions. 2016-09-20 23:40:25 +02:00
LevelX2
d3d1402fbb [KLD] Added 9 white cards. 2016-09-17 00:45:33 +02:00
LevelX2
d7dd635bca Revert "introduced StringUtil class with .isEmpty(String input) and .isNotEmp…" 2016-09-16 23:55:54 +02:00
ingmargoudt
f1cf9e7adb introduced StringUtil class with .isEmpty(String input) and .isNotEmpty(String input), to replace str != null && str.length()>0 statements 2016-09-16 21:23:31 +02:00
Samuel Sandeen
377a0edec9 Fix a bug in the cheat system for manual testing. 2016-09-15 19:20:04 -04:00
ingmargoudt
3128bd2b4b replace [list].size() == 0 and [string].length() == 0 to use .isEmpty() instead 2016-09-14 15:27:31 +02:00
Samuel Sandeen
d53f751711 Update the cheat testing code
The new Zone change code is more strict so the cheat code needs to
trick it.
2016-09-08 19:56:40 -04:00
ingmargoudt
e2a479255a refactor : removed all instances of new Random() and replaced with RandomUtil for a ThreadLocal randomizer 2016-09-05 15:03:47 +02:00
fwannmacher
a052830628 - Removed "CARD ZONE" from tooltip when it is not necessary 2016-08-08 18:30:42 -03:00
Will Hall
e2fdcb8aa3 Use "his or her" rather than "his" 2016-08-05 22:34:46 -07:00
spjspj
883b63a01d spjspj - Update to push deck List across from Client to Server for Custom Cube 2016-07-25 22:44:21 +10:00
spjspj
5e6836a8f6 spjspj - Prevent some types of spam in the main chat 2016-07-24 01:56:05 +10:00
Quercitron
cba91dc1d1 Add \me chat command. 2016-07-14 02:35:21 +03:00
spjspj
26d38f0773 spjspj - Add the option of having a .dck file as a cube 2016-07-04 00:20:31 +10:00
LevelX2
663c6fe1e9 Try to fix "Comparison method violates its general contract" error. 2016-06-18 12:55:54 +02:00