Commit graph

408 commits

Author SHA1 Message Date
BetaSteward
19481bf961 fixed issue 94 2011-08-28 22:10:05 -04:00
North
766a412e67 Added missed branch code for issue 224 2011-08-29 01:30:58 +03:00
North
24c4b3d6c8 Fixes Issue 224 2011-08-28 23:55:32 +03:00
magenoxx
3aa947c14b Sending options for another variant of target method - to replace Cancel by Done 2011-08-28 20:26:02 +04:00
magenoxx
03f1ce92b1 Removed session destroying on ClientDisconnectedException. 2011-08-28 18:58:24 +04:00
magenoxx
a00701c756 game.endTurn 2011-08-28 12:00:40 +04:00
magenoxx
b7d11c723c Playing top card. 2011-08-27 16:30:39 +04:00
BetaSteward
4a653d55cd show completed matches - view replays 2011-08-26 10:41:28 -04:00
BetaSteward
b09de12f23 Merge 2011-08-25 07:47:08 -04:00
BetaSteward
5023d13525 fixed some NPEs 2011-08-24 21:42:06 -04:00
BetaSteward
48d7afa375 catch spell and activated ability errors and rollback state - show error dialog on client 2011-08-24 12:59:51 -04:00
BetaSteward
aecdbe0778 added SimpleCardView - will reduce the amount of data passed between client and server 2011-08-22 13:54:55 -04:00
North
8fbc9da473 Changed logging level from debug to info (Server). 2011-08-22 16:25:31 +03:00
magenoxx
3a88168bdd Added logging to file for server instance being run in IDE. 2011-08-22 14:57:03 +04:00
BetaSteward
2e0662e295 cleanup 2011-08-19 22:19:09 -04:00
BetaSteward
2ad50b2983 show Table Waiting dialog on reconnect 2011-08-18 22:47:12 -04:00
magenoxx
3f4ed0a919 Fixed choosing replacement effects for similar effects (didn't ask to choose); 2011-08-18 18:54:52 +04:00
magenoxx
6e911e88fe Updated weight for card rating using by ai. 2011-08-17 08:22:00 +04:00
magenoxx
5d19c9cfee Displaying "Done" button instead of "Cancel" for "target up to" effects 2011-08-12 17:39:36 +04:00
BetaSteward
3d2e77954f prevent multiple servers from running 2011-08-11 09:11:49 -04:00
magenoxx
6c144b5fc2 Message of the Day. 2011-08-11 12:45:59 +04:00
magenoxx
a60fe86fbb Fixed filter for "Target ANOTHER permanent" not working. Now sourceId is passed to match method. Updated sever plugins (game freezes otherwise). 2011-08-10 12:28:57 +04:00
magenoxx
4cafa3fc52 Allow only actions for current priority. 2011-08-05 19:46:41 +04:00
magenoxx
a6c3e03885 Fixed in setting priority. 2011-08-05 19:46:02 +04:00
magenoxx
7690899fab forgot to commit a class 2011-08-05 19:03:01 +04:00
magenoxx
9223fe63ad Control turn implementation fix. 2011-08-05 17:23:09 +04:00
magenoxx
b562f57a5c Fixed in controlling the turn. Mindslaver works now. 2011-08-05 16:49:13 +04:00
magenoxx
98d99d01c6 splitter. still in progress. 2011-08-05 01:52:51 +04:00
magenoxx
f3334c6e92 Possibility to view other player's hands in UI. 2011-08-04 21:51:00 +04:00
magenoxx
d33bf20bf0 Attackers sorting, Blocking groups - rule 509.3. Fixed Issue 195. 2011-08-02 21:32:05 +04:00
magenoxx
830664b834 Fixed Issue 193 2011-08-02 11:34:10 +04:00
BetaSteward
0f097beb17 Merge 2011-07-24 15:05:02 -04:00
BetaSteward
84b9cbb16b this is a big one - fixed modal targetting and refactored getText() 2011-07-21 22:04:08 -04:00
BetaSteward
14d863a8f2 added modal abilities + Slagstorm 2011-07-20 13:42:27 -04:00
BetaSteward
9ddea9d9c5 Merge with version 0.8 2011-07-17 15:49:38 -04:00
BetaSteward
7f312ed453 reconnect to drafts and tournaments 2011-07-12 23:13:50 -04:00
BetaSteward
bf2f4e3078 remove stale users after 10 minutes 2011-07-06 22:50:01 -04:00
magenoxx
1091fc3cbe removed debug logging 2011-07-06 08:56:29 +04:00
magenoxx
e8b228af1f Fixed Issue 122. Also fixes issue with searching cards with no actual option. 2011-07-06 08:55:32 +04:00
BetaSteward
b4b02d0f68 reconnect to games when client reconnects 2011-07-04 15:15:05 -04:00
BetaSteward
1a43757ed0 Replaced Session with User - needed for reconnect 2011-07-03 22:55:14 -04:00
North
f2f46ae9a9 Refactored cards to use BoostEnchantedEffect (with dynamic value)
Added SigilOfTheNayanGods card
2011-07-01 21:07:59 +03:00
BetaSteward
3d540160a8 missed some files 2011-06-27 21:50:53 -04:00
BetaSteward
bdd8a2a28e separated User from Session - will be need for reconnecting 2011-06-27 21:50:35 -04:00
magenoxx
370d042858 Fixed MasterOfTheWildHunt, now target controller gets custom message while selecting targets to response. 2011-06-26 15:32:02 +04:00
BetaSteward
526f0c09bc fixed client ip address 2011-06-26 00:45:25 -04:00
BetaSteward
ade836c08a added connection leasing + cleanup 2011-06-25 14:34:39 -04:00
BetaSteward
b1408507cb added ping + code cleanup 2011-06-23 22:58:11 -04:00
BetaSteward
73939bd72c fixes for localhost ip 2011-06-22 23:18:43 -04:00
BetaSteward
05be0a14ed integrated jboss remoting 2011-06-22 22:37:50 -04:00
BetaSteward
34cd3bbcdc fixed version 2011-06-22 22:32:33 -04:00
BetaSteward
a8b8d36637 updated pom files 2011-06-22 22:12:14 -04:00
magenoxx
cfa779661d Fixed thread pool leak and work queue growing. 2011-06-22 20:36:48 +04:00
magenoxx
c7ae032d5a Fixed possible NPE between callbacks (as client and server are not synchronized between calls) 2011-06-22 20:35:16 +04:00
magenoxx
2977afea2d fixed socket leak. 2011-06-22 18:40:29 +04:00
BetaSteward
4dc0c33819 fixed issue 142 - damage assignment order now works with tokens 2011-06-17 23:41:32 -04:00
BetaSteward
82654f10d5 fixed issue 103 - this should catch most card logic errors, log the error on the server and trigger a message on the client 2011-06-17 22:42:04 -04:00
BetaSteward
a0192c0e47 fixed issue 160 2011-06-17 10:29:50 -04:00
BetaSteward
f1558a255a implemented Damage Assignment Order 2011-06-16 23:02:24 -04:00
magenoxx
97eea533f3 updated version (from 0.7.3 to 0.7.4) in all pom files 2011-06-16 11:39:20 +04:00
magenoxx
8230775e0c Updated version to 0.7.4 beta-2 2011-06-16 11:35:19 +04:00
BetaSteward
952b46bc1f fixed tournament not starting error 2011-06-15 23:24:36 -04:00
BetaSteward
c4a3a496aa moved Session to Mage.Common 2011-06-15 23:24:03 -04:00
BetaSteward
c38804af5f rolled back changes since 0.7.3 R2 - going to switch client/server architecture 2011-06-14 23:09:18 -04:00
magenoxx
2a7b412a8c [client] new chat 2011-06-14 21:08:38 +04:00
maurer.it
f5b08fcaed Modified the <fileVersion> and <productVersion> to be dynamic based on the project.version. Modified the <originalFilename> to be mage-server.exe. 2011-06-11 21:52:33 -04:00
magenoxx
18a416d184 Change Mage version to 0.7.4-beta 2011-06-09 20:20:28 +04:00
BetaSteward
6cbd5369c3 Merge 2011-06-05 09:50:31 -04:00
BetaSteward
14891b1b77 added deck validation feedback to client + queue all RMI messages 2011-05-31 00:10:44 -04:00
BetaSteward
b676e59001 more client server improvements 2011-05-29 23:52:02 -04:00
BetaSteward
a03c084015 updated release config.xml 2011-05-29 23:49:46 -04:00
magenoxx
84b79000ff Phyrexian mana support. NPH: Mutagenic Growth, Dismember. 2011-05-29 23:12:21 +04:00
BetaSteward
3115ee3c5c Added deck types 2011-05-27 23:04:48 -04:00
BetaSteward
892f7cce1b client/server overhaul - tested on localhost, remote testing pending 2011-05-24 23:52:26 -04:00
magenoxx
8afc9a1023 Forgot to change version in Server. 2011-05-20 01:17:56 +04:00
magenoxx
74c7feb470 Moved version to 0.7.3 in pom files. 2011-05-19 23:49:43 +04:00
magenoxx
cbeab91889 Minor fixes in table manager and matchImpl. 2011-05-19 23:49:15 +04:00
magenoxx
4133a13120 Non modal tablewaiting dialog (allows to chat, to create several games). Pressing "Join" causes all your games appear on top. Updated logging. Fixed removing table not working (but not fully, as game ending still doesn't work). 2011-05-19 20:07:34 +04:00
BetaSteward
94c5a0cdfb client + server improvements 2011-05-17 21:55:20 -04:00
magenoxx
d056c8d05e Updated mage-player-human plugin (wasn't updated after npe issue fix). 2011-05-17 01:14:41 +04:00
BetaSteward
0e66c5e030 retrying without jars 2011-05-14 23:39:41 -04:00
BetaSteward
a4c3deb7ac Backed out changeset: 83cb579a3761 2011-05-14 23:32:22 -04:00
BetaSteward
473f6bcad9 fixed client/server ping + added server console 2011-05-14 23:28:07 -04:00
BetaSteward
55f3842464 fixed Issue 100 2011-05-13 23:11:06 -04:00
magenoxx
54adc043ec Getting information about connected players in Mage Client (without gui part at the moment, only logging to console). 2011-05-13 20:25:46 +04:00
BetaSteward
04120e4ee3 log to console and log file 2011-05-12 21:12:29 -04:00
magenoxx
90c54aad24 Backed out changeset: 0fd3c45486e4 2011-05-12 19:32:28 +04:00
magenoxx
a9a2fbd1c2 fixed log4j.properties - wrong parameters for file 2011-05-12 19:29:33 +04:00
magenoxx
5502098e65 Merge with backout 2011-05-12 09:20:32 +04:00
magenoxx
92d42c16b5 Backed out changeset: b5d9cea65b73 2011-05-12 09:20:19 +04:00
BetaSteward
301d16128b now need mage-player-ai.jar in lib folder + set default logging to console 2011-05-11 23:14:11 -04:00
BetaSteward
ab599dd335 added client/server ping + remove inactive connections from server 2011-05-11 22:08:11 -04:00
magenoxx
1ea69ee6c8 Fixed NPE in SessionManager. 2011-05-11 21:50:31 +04:00
magenoxx
7c18f9c6a8 Fixed NPE in SessionManager. 2011-05-11 21:50:11 +04:00
magenoxx
f78b4017bf Added support for looking at cards (Jace, The Mind Sculptor 2nd ability). Fixed Issue 50. 2011-05-11 21:24:17 +04:00
BetaSteward
b9eac322d2 added additional logging + keep session alive for most connection errors 2011-05-10 23:57:47 -04:00
BetaSteward
346e6d3e8f removed old AI's from config 2011-05-10 19:14:22 -04:00
Loki
28a5151131 update Launch4j 2011-05-10 18:25:22 +03:00
BetaSteward
017b2b4339 remove games from list when finished + added name and owner to tables 2011-05-09 23:02:54 -04:00
Loki
337eb9926e Mosquito Guard, update server plugins 2011-05-09 01:34:22 +03:00
BetaSteward
a326bcda92 use different method for determining server IP 2011-05-07 23:16:38 -04:00
BetaSteward
c87328d08e skill setting is now used by AIs 2011-05-07 23:16:00 -04:00
BetaSteward
b1ab23df37 missed file 2011-05-04 23:20:02 -04:00
BetaSteward
b81938210a changes for public server 2011-05-04 23:18:13 -04:00
Loki
1fdc50570f add initial Launch4j support and one card 2011-04-29 23:54:16 +03:00
magenoxx
be2fdd6487 Challenge Mode. In progress. 2011-04-29 20:32:22 +04:00
BetaSteward
86f708b17a detect client version + client changes for AI skill level 2011-04-28 22:52:52 -04:00
BetaSteward
74bdfb9ea7 updated to version 0.7.1 2011-04-02 23:10:02 -04:00
BetaSteward
84c6ab76e0 update to version 0.7 2011-04-01 21:05:43 -04:00
BetaSteward
b1fdc03c4e updated jars 2011-03-31 23:43:11 -04:00
BetaSteward
8287364f77 more optimizations 2011-03-24 00:09:07 -04:00
BetaSteward
35f0767f1b fixed replay + some other fixes 2011-03-18 18:27:01 -04:00
BetaSteward
0668548f4f more AI fixes - dont use x=0 for activated abilities 2011-03-10 22:07:13 -05:00
BetaSteward
42509dd4f8 optimizations + leave game fix 2011-03-10 22:05:15 -05:00
magenoxx
99735b368b New testing frameworks for cards. BurntheImpure test. 2011-03-10 15:27:15 +03:00
BetaSteward
6982608043 more AI fixes 2011-03-07 22:59:55 -05:00
BetaSteward
4f06f78621 UI fixes - can now play simultaneous games 2011-03-04 22:46:56 -05:00
BetaSteward
7e00b5cc25 AI fix - better time out support 2011-03-04 21:54:45 -05:00
magenoxx
734c2fbc2d Updated plugin jars (nullpointerexception still was there) 2011-03-01 09:33:02 +03:00
BetaSteward
a81e6da37c a few more AI tweaks 2011-02-26 00:16:04 -05:00
BetaSteward
bc3acccf2c fixed first turn draw skip 2011-02-26 00:15:15 -05:00
magenoxx
e9c2decd3c Merged X value changes. Some UI fixes. 2011-02-25 20:54:54 +03:00
BetaSteward
51a9c03ed1 additional fixes + some missed files 2011-02-24 22:02:32 -05:00
BetaSteward
1945538041 added X cost options to AI 2011-02-24 22:01:04 -05:00
magenoxx
f1472d1fa4 Merge 2011-02-23 10:59:30 +03:00
BetaSteward
17f87daf5a fixed issue with default AI playing unplayable spells 2011-02-22 21:40:25 -05:00
BetaSteward
47e1a7dd87 fixed issue with X costs 2011-02-22 21:39:24 -05:00
BetaSteward
85e1f68554 another AI fix 2011-02-21 00:20:36 -05:00
magenoxx
9bd5e95bda Test scenario for Earthquake. 2011-02-20 02:10:04 +03:00
magenoxx
98ee9ff0c2 [mad ai] Critical AI fixes. Sync with Steward recent changes. New test command for lifes. New test scenarios. 2011-02-19 16:52:13 +03:00
BetaSteward
659f790325 AI fixes and deck construction 2011-02-18 23:22:31 -05:00
magenoxx
d579248266 updated another plugin (caused classcastexception because of recent targetimpl updates) 2011-02-18 00:32:13 +03:00
magenoxx
c1bf73c4de updated server plugin. 2011-02-18 00:18:38 +03:00
BetaSteward
0c5261ce88 fixed canTarget error and started to convert logging to log4j 2011-02-14 14:41:29 -05:00
BetaSteward
fabcc28e46 more draft/sealed fixes 2011-02-13 08:20:14 -05:00
BetaSteward
d217d332b6 added sorting and counts to deck editor 2011-02-11 22:57:22 -05:00
BetaSteward
f7ffbb4773 added Sealed tournaments 2011-02-10 22:00:47 -05:00
magenoxx
3521b7d89f Added "AI vs AI" test. Removed clientside tests. 2011-02-10 18:38:44 +03:00
BetaSteward
e2fd0299c7 fixed multi-human drafting 2011-02-08 11:34:28 -05:00
magenoxx
f377eee8e0 added jar. 2011-02-07 21:15:53 +03:00
magenoxx
bda75873de Started working on new ai. 2011-02-07 21:14:50 +03:00
BetaSteward
ffc7b5bfd8 added tournaments - drafts are now a variant of tournament 2011-02-06 11:09:25 -05:00
magenoxx
5f4454c1e4 Change version to 0.6.1 2011-02-05 01:34:38 +03:00
BetaSteward
8952c96e1e fixed Swing deadlock 2011-02-04 14:36:30 -05:00
magenoxx
f6b812bce1 Updated to version 0.6. Fixed and updated rate plugin. 2011-01-30 10:42:35 +03:00
magenoxx
76b1d94977 Reuploaded server plugins (caused targeting issue after previous commit). Enhanced Proliferate (now "Done" button is displayed instead of default "Cancel") 2011-01-28 00:30:05 +03:00
magenoxx
a1b2127962 Added options to gameclient target message. 2011-01-27 18:27:41 +03:00
BetaSteward
cb73d4a25d added draft timing 2011-01-12 23:44:04 -05:00
magenoxx
982ee064a6 [draft] now computer chooses 2 or 3 card colors to draft starting from 3d pick. 2011-01-12 09:34:11 +03:00
maurer.it
0f514cc564 Fixes for release bundling. 2011-01-11 22:11:45 -05:00
BetaSteward
f74df18cc9 still more Deck Editor changes 2011-01-11 15:51:57 -05:00
maurer.it
01ef894fa2 merge 2011-01-11 13:49:42 -05:00
maurer.it
0a349e88dd Release configuration for current draft stuff. 2011-01-11 13:49:27 -05:00
magenoxx
41e2342540 [draft] AI picks based on card ratings. Added debug logging for a while. 2011-01-11 20:49:36 +03:00
magenoxx
42f045a7ff init.txt.example back 2011-01-11 02:23:13 +03:00
Loki
acfe8d1804 SOM and misc fixes 2011-01-11 00:02:23 +02:00
BetaSteward
c79758f0e5 added deck construction to draft 2011-01-09 23:33:22 -05:00
BetaSteward
03e3be90d6 draft stuff 2011-01-08 23:54:32 -05:00
BetaSteward
98d8a428a7 some more drafting stuff 2011-01-07 15:41:09 -05:00
BetaSteward
c67122b605 more draft stuff 2011-01-05 15:17:02 -05:00
BetaSteward
7bea472fff initial drafting stuff 2011-01-03 23:52:28 -05:00
magenoxx
40701fca4c init.txt renamed to init.txt.example (to avoid "uncommited changes" mercurial message). Mage still uses "init.txt", now it's just not in source control 2010-12-30 09:16:32 +03:00
maurer.it
ce8477bf2e Fixed config for release assmebly. 2010-12-29 15:35:15 -05:00
maurer.it
88627d5606 merge 2010-12-29 15:14:47 -05:00
BetaSteward
e460b9af20 fixed some match problems 2010-12-29 15:00:18 -05:00
maurer.it
4653a53078 Merge 2010-12-29 13:40:36 -05:00
BetaSteward
4b26727d71 changes to support multi-duel matches and sideboarding 2010-12-28 23:34:06 -05:00
maurer.it
f929d79b24 Fixes issue 19. 2010-12-26 14:06:25 -05:00
BetaSteward
6ae4ac3c5e changes to support matches 2010-12-26 00:34:34 -05:00
magenoxx
d1a8bf399b [core] Conditional effect. Condition interface. Metalcraft condition instance. Refactored SnapsailGlider. 2010-12-24 14:37:13 +03:00
BetaSteward
04ab3e11b6 fixes and new files 2010-12-21 23:26:51 -05:00
BetaSteward
66d3ad1b15 updated poms with new version 2010-12-21 23:25:54 -05:00
magenoxx
85c24cd66b Changed version from 0.5 to 0.5.1 (for release) 2010-12-21 22:34:47 +03:00
magenoxx
2e27a676ed [mage-tests] Added synchronization between steps. Updated bdd classes for step state handling. 2010-12-20 15:01:41 +03:00
magenoxx
1b6722f9b2 Added Mage.Tests project. Update server for test operations. Implemented bdd classes. 2010-12-20 01:03:12 +03:00
magenoxx
ddf1866d6e Removed using bdd tests because of weird behaeve framework. 2010-12-20 00:59:11 +03:00
magenoxx
a3086fb2c4 [tests] Land story for testing playing lands. 2010-12-17 20:17:49 +03:00
magenoxx
7695b92eb1 [tests] Added bdd embedder, steps configure and runner. Added poc for starting games. 2010-12-17 20:17:18 +03:00
magenoxx
2244fc45fe Merge 2010-12-13 09:54:47 +03:00
BetaSteward
d6c30e3734 fixed AI - will now attack if opponent has no defenders 2010-12-13 00:01:35 -05:00
Loki
6ce81d6ed9 Seaside Citadel 2010-12-12 11:09:25 +02:00
BetaSteward
7507a97712 check for server property 2010-12-10 10:49:56 -05:00
BetaSteward
681a030b8e use server ip address as default 2010-12-10 10:12:57 -05:00
BetaSteward
b2d9c3b344 fixes 2010-12-09 04:55:01 +00:00
BetaSteward
139faeb7a5 fixes + adjusted minimax AI 2010-12-07 05:03:35 +00:00
BetaSteward
ba937e4771 fixed issue 47 2010-12-06 04:48:06 +00:00
BetaSteward
4ad22c676d fixed RMI timing issues + other fixes 2010-12-06 04:33:17 +00:00
BetaSteward
2044b00a99 fixed issue 46 2010-12-05 23:55:54 +00:00
BetaSteward
63d1710cb7 fixed issue 36 2010-12-05 03:36:59 +00:00
BetaSteward
632775c617 fixed issue 39 2010-12-05 02:40:13 +00:00
BetaSteward
5d8b5e47f3 updated server plugins 2010-12-04 03:23:12 +00:00
BetaSteward
fad4cc6906 added limited deck validator - will add source code later 2010-12-03 18:17:45 +00:00
Loki
13e7826239 fix double included plugins 2010-12-03 13:06:18 +00:00
BetaSteward
b21e3e9a05 keep server window open if there is an error 2010-12-03 04:40:33 +00:00
BetaSteward
d97286b5d8 fixes 2010-12-03 04:37:09 +00:00
BetaSteward
81c080fe5f changed startup scripts to match artifact ids 2010-12-02 16:47:42 +00:00
Loki
592ba955f0 cleaning pom.xml, version bump to 0.5 2010-12-02 09:14:18 +00:00
BetaSteward
53d7e5623b send list of targets to client 2010-12-02 04:39:18 +00:00
BetaSteward
3ca748e16d fixed issue 25 - server waits for all clients to confirm initialization before starting game 2010-11-30 04:35:26 +00:00
BetaSteward
9c3ff863e8 fix for issue 22 + fix for planeswalker damage redirection 2010-11-28 04:31:48 +00:00