Commit graph

473 commits

Author SHA1 Message Date
BetaSteward
c902998fa0 fixed monte carlo NPE's 2011-11-22 13:56:00 -05:00
BetaSteward
ec297c243c fixed shuffle event 2011-11-22 10:59:53 -05:00
magenoxx
58b959ff65 Fixes in MAD ai. 2011-11-16 10:44:55 +04:00
magenoxx
d89131e63c Updated server messages. 2011-11-15 16:01:43 +04:00
magenoxx
38e5ae1f03 Fixed init.txt not working for hand zone. 2011-11-05 12:38:54 +03:00
magenoxx
0a300cf610 fixed wrong artifactIds used in pom.xml 2011-11-05 11:42:28 +03:00
BetaSteward
c508f07910 added monte carlo AI - still needs some work 2011-11-04 23:02:32 -04:00
BetaSteward
a1f1ed44c0 adjustment to GameState.getValue 2011-11-04 22:57:50 -04:00
BetaSteward
7c69bc6f30 fixes + optimizations + allow games to be paused and resumed 2011-11-02 21:39:03 -04:00
BetaSteward
8fd03a5bb5 disable timeout if game contains any non-human players 2011-11-02 21:18:25 -04:00
Loki
a004ced17d artifactId to lowercase 2011-10-28 15:42:54 +04:00
magenoxx
416e8cd30b added memory settings to scripts. fixed .command script for server. 2011-10-28 14:38:25 +04:00
magenoxx
490b95bcc6 added additional scripts for Win 7 and MacOs. added "how to start" instructions. 2011-10-28 11:40:39 +04:00
magenoxx
e302a12f5d Updated component's version from 0.8 to 0.8.1
manually
2011-10-28 11:36:42 +04:00
BetaSteward
7ab5649132 some server optimizations 2011-10-27 11:20:10 -04:00
magenoxx
e97d655bd1 Fixed Issue 339. 2011-10-27 12:28:36 +04:00
BetaSteward
517a0cae26 optimizations + some fixes - mostly for monte carlo simulations 2011-10-25 15:17:42 -04:00
magenoxx
8983a26e5b Some server NPE fixes 2011-10-24 20:48:58 +04:00
maurer.it
53d47c3228 Doh, don't need this test.dck in here. 2011-10-21 08:08:42 -04:00
maurer.it
d652ad2417 Puts the fixed ai built jar into the server's plugin path for local testing. 2011-10-21 08:08:01 -04:00
BetaSteward
ca6e1556f0 fixed several NPEs on server 2011-10-20 12:49:31 -04:00
maurer.it
5750f757ce [REF] references 291 - Thanks for the contribution, always nice to know non-windows OS's are used. 2011-10-19 21:08:07 -04:00
magenoxx
6933c5a9f3 Added the possibility to force AI to play cards in cheat mode. 2011-10-19 19:13:51 +04:00
Loki
778b0dc15f fix libs path for launch4j 2011-10-16 22:34:37 +03:00
magenoxx
cbfc696c6b fixed version in launch4j 2011-10-16 21:18:20 +04:00
magenoxx
3350c3e829 Updated components' version from 0.7.6 to 0.8 2011-10-16 21:02:04 +04:00
magenoxx
8a668c4880 server message fix 2011-10-16 18:05:41 +04:00
magenoxx
538dd696ad Server statistics - server uptime in hours, games played count. 2011-10-13 17:50:29 +04:00
magenoxx
a81dde0cdb Some more fixed in choosing targets. 2011-10-12 20:03:34 +04:00
magenoxx
3cadbeb68b Some fixes for targeting (this bug caused game freezes). 2011-10-12 19:39:58 +04:00
BetaSteward
f2c44688d0 fixed issue 93 2011-10-09 14:27:38 -04:00
magenoxx
82dcb53cb9 Target refactoring. Fixed Issue 273. 2011-10-08 12:46:34 +04:00
magenoxx
b3ac9c2f87 Fixed Issue 271 2011-10-05 00:56:11 +04:00
Loki
ab3a09181c fix running client and server from bat files 2011-09-26 19:30:22 +03:00
magenoxx
fc275e7e5e updated message for picking triggered abilities 2011-09-22 19:31:30 +04:00
magenoxx
9e7f3ad787 new custom avatars for me 2011-09-22 19:31:11 +04:00
BetaSteward
bbb4f8a346 fixed issue 255 2011-09-21 23:21:40 -04:00
North
3ff462e20b Modified ExaltedAbility to use fixed target 2011-09-21 23:11:31 +03:00
magenoxx
5978d57298 Custom avatar for "Rahan" 2011-09-21 13:46:04 +04:00
BetaSteward
16aa9ad3da Merge 2011-09-19 15:03:51 -04:00
BetaSteward
4b8d7b2649 NPH - Praetors Grasp 2011-09-19 14:51:10 -04:00
Loki
19f0a6b7b0 move Mage-Server and Mage-Client jars to lib 2011-09-19 20:58:03 +03:00
magenoxx
0d30981443 removed debug messages 2011-09-18 14:06:22 +04:00
magenoxx
2d8948b8f6 Changed version from 0.7.5 to 0.7.6 2011-09-18 13:57:43 +04:00
magenoxx
abdff12e15 Fixed MOD. 2011-09-18 13:50:13 +04:00
BetaSteward
8c011aeb36 fixed invalid deck messages + added some banned/restricted cards 2011-09-12 22:10:59 -04:00
BetaSteward
798eb7813b fixed issue 247 2011-09-12 21:20:18 -04:00
BetaSteward
ad4b4e82c2 fixed various NPEs 2011-09-12 21:15:54 -04:00
BetaSteward
2c5463d5eb fixed client not disconnected if error occurred during callback 2011-09-11 22:19:26 -04:00
magenoxx
444341dee9 custom avatar for "Alive" 2011-09-10 11:17:18 +04:00
magenoxx
8e9b6ac821 avatar for "loki" 2011-09-08 13:50:59 +04:00
magenoxx
33be6bd828 UserDataView. More custom avatars. 2011-09-08 10:41:52 +04:00
magenoxx
bf1a49dd0b Sending user data. Sending avatar to server on connect. 2011-09-07 21:18:58 +04:00
BetaSteward
f5c3494723 improved replays - can now skip forward 10 moves or let the client play through the moves 2011-09-05 22:12:36 -04:00
BetaSteward
fe79ee97a9 update deck every 5 seconds while constructing or sideboarding 2011-09-04 13:23:16 -04:00
BetaSteward
ea44fc973f added timeout on sideboard + show construct and/or sideboard on reconnect 2011-09-03 21:44:05 -04:00
magenoxx
c9a3f112b7 Fixed Issue 239. 2011-09-03 11:47:33 +04:00
magenoxx
75c04f49d1 Forgot to change version in the code. 2011-09-02 08:44:03 +04:00
magenoxx
2f58949ff7 Updated server.msg.txt 2011-09-02 08:19:06 +04:00
magenoxx
0fbc805492 Lowered version from 0.8 to 0.7.5 for release. 2011-09-02 08:18:49 +04:00
BetaSteward
f67aaf80cf add stack trace to error dialog 2011-08-31 22:30:18 -04:00
BetaSteward
50a2edf80c added MageVersionException - needed for automatic client download 2011-08-31 11:32:59 -04:00
BetaSteward
12d3b974d0 fixed issue 219 2011-08-30 09:01:18 -04:00
BetaSteward
b838fe36b8 cache tables and matches - refresh every 2 seconds 2011-08-29 15:52:36 -04:00
BetaSteward
7926fc5004 fixed issue 228 2011-08-29 13:06:25 -04:00
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