Skip to content

Commit

Permalink
Switch to 1.4.8 for upcoming realease.
Browse files Browse the repository at this point in the history
  • Loading branch information
LevelX2 committed Jan 22, 2016
1 parent 75edce2 commit 5981816
Show file tree
Hide file tree
Showing 35 changed files with 80 additions and 42 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ Mage.Server.Plugins/Mage.Draft.8PlayerBooster/target

*.classpath
*.iml
hs_err*.log
/submitted

/Mage.Server/config/ai.please.cast.this.txt
Expand Down
2 changes: 1 addition & 1 deletion Mage.Client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.mage</groupId>
<artifactId>mage-root</artifactId>
<version>1.4.7</version>
<version>1.4.8</version>
</parent>

<groupId>org.mage</groupId>
Expand Down
2 changes: 1 addition & 1 deletion Mage.Common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.mage</groupId>
<artifactId>mage-root</artifactId>
<version>1.4.7</version>
<version>1.4.8</version>
</parent>

<artifactId>mage-common</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions Mage.Common/src/mage/utils/MageVersion.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ public class MageVersion implements Serializable, Comparable<MageVersion> {
*/
public final static int MAGE_VERSION_MAJOR = 1;
public final static int MAGE_VERSION_MINOR = 4;
public final static int MAGE_VERSION_PATCH = 7;
public final static String MAGE_VERSION_MINOR_PATCH = "v1";
public final static int MAGE_VERSION_PATCH = 8;
public final static String MAGE_VERSION_MINOR_PATCH = "v0";
public final static String MAGE_VERSION_INFO = "";

private final int major;
Expand Down
2 changes: 1 addition & 1 deletion Mage.Plugins/Mage.Counter.Plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.mage</groupId>
<artifactId>mage-plugins</artifactId>
<version>1.4.7</version>
<version>1.4.8</version>
</parent>

<artifactId>mage-counter-plugin</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion Mage.Plugins/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.mage</groupId>
<artifactId>mage-root</artifactId>
<version>1.4.7</version>
<version>1.4.8</version>
</parent>

<artifactId>mage-plugins</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion Mage.Server.Console/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.mage</groupId>
<artifactId>mage-root</artifactId>
<version>1.4.7</version>
<version>1.4.8</version>
</parent>

<groupId>org.mage</groupId>
Expand Down
2 changes: 1 addition & 1 deletion Mage.Server.Plugins/Mage.Deck.Constructed/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.mage</groupId>
<artifactId>mage-server-plugins</artifactId>
<version>1.4.7</version>
<version>1.4.8</version>
</parent>

<artifactId>mage-deck-constructed</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion Mage.Server.Plugins/Mage.Deck.Limited/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.mage</groupId>
<artifactId>mage-server-plugins</artifactId>
<version>1.4.7</version>
<version>1.4.8</version>
</parent>

<artifactId>mage-deck-limited</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion Mage.Server.Plugins/Mage.Game.CommanderDuel/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.mage</groupId>
<artifactId>mage-server-plugins</artifactId>
<version>1.4.7</version>
<version>1.4.8</version>
</parent>

<artifactId>mage-game-commanderduel</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion Mage.Server.Plugins/Mage.Game.CommanderFreeForAll/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.mage</groupId>
<artifactId>mage-server-plugins</artifactId>
<version>1.4.7</version>
<version>1.4.8</version>
</parent>

<artifactId>mage-game-commanderfreeforall</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion Mage.Server.Plugins/Mage.Game.FreeForAll/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.mage</groupId>
<artifactId>mage-server-plugins</artifactId>
<version>1.4.7</version>
<version>1.4.8</version>
</parent>

<artifactId>mage-game-freeforall</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion Mage.Server.Plugins/Mage.Game.MomirDuel/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.mage</groupId>
<artifactId>mage-server-plugins</artifactId>
<version>1.4.7</version>
<version>1.4.8</version>
</parent>

<artifactId>mage-game-momirduel</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion Mage.Server.Plugins/Mage.Game.TinyLeadersDuel/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.mage</groupId>
<artifactId>mage-server-plugins</artifactId>
<version>1.4.7</version>
<version>1.4.8</version>
</parent>

<artifactId>mage-game-tinyleadersduel</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion Mage.Server.Plugins/Mage.Game.TwoPlayerDuel/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.mage</groupId>
<artifactId>mage-server-plugins</artifactId>
<version>1.4.7</version>
<version>1.4.8</version>
</parent>

<artifactId>mage-game-twoplayerduel</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion Mage.Server.Plugins/Mage.Player.AI.DraftBot/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.mage</groupId>
<artifactId>mage-server-plugins</artifactId>
<version>1.4.7</version>
<version>1.4.8</version>
</parent>

<artifactId>mage-player-ai-draftbot</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion Mage.Server.Plugins/Mage.Player.AI.MA/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.mage</groupId>
<artifactId>mage-server-plugins</artifactId>
<version>1.4.7</version>
<version>1.4.8</version>
</parent>

<artifactId>mage-player-ai-ma</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion Mage.Server.Plugins/Mage.Player.AI/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.mage</groupId>
<artifactId>mage-server-plugins</artifactId>
<version>1.4.7</version>
<version>1.4.8</version>
</parent>

<artifactId>mage-player-ai</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion Mage.Server.Plugins/Mage.Player.AIMCTS/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.mage</groupId>
<artifactId>mage-server-plugins</artifactId>
<version>1.4.7</version>
<version>1.4.8</version>
</parent>

<artifactId>mage-player-ai-mcts</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion Mage.Server.Plugins/Mage.Player.AIMinimax/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.mage</groupId>
<artifactId>mage-server-plugins</artifactId>
<version>1.4.7</version>
<version>1.4.8</version>
</parent>

<artifactId>mage-player-aiminimax</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion Mage.Server.Plugins/Mage.Player.Human/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.mage</groupId>
<artifactId>mage-server-plugins</artifactId>
<version>1.4.7</version>
<version>1.4.8</version>
</parent>

<artifactId>mage-player-human</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion Mage.Server.Plugins/Mage.Tournament.BoosterDraft/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.mage</groupId>
<artifactId>mage-server-plugins</artifactId>
<version>1.4.7</version>
<version>1.4.8</version>
</parent>

<artifactId>mage-tournament-boosterdraft</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion Mage.Server.Plugins/Mage.Tournament.Constructed/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.mage</groupId>
<artifactId>mage-server-plugins</artifactId>
<version>1.4.7</version>
<version>1.4.8</version>
</parent>

<artifactId>mage-tournament-constructed</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion Mage.Server.Plugins/Mage.Tournament.Sealed/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.mage</groupId>
<artifactId>mage-server-plugins</artifactId>
<version>1.4.7</version>
<version>1.4.8</version>
</parent>

<artifactId>mage-tournament-sealed</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion Mage.Server.Plugins/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.mage</groupId>
<artifactId>mage-root</artifactId>
<version>1.4.7</version>
<version>1.4.8</version>
</parent>

<artifactId>mage-server-plugins</artifactId>
Expand Down
16 changes: 8 additions & 8 deletions Mage.Server/config/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,15 @@
maxPasswordLength="100"
maxAiOpponents="15"
saveGameActivated="false"
authenticationActivated="false"
authenticationActivated="true"
googleAccount=""
mailgunApiKey=""
mailgunDomain=""
mailSmtpHost=""
mailSmtpPort=""
mailUser=""
mailPassword=""
mailFromAddress=""
mailgunApiKey="key-d93e81f19a9c9ed243ebb7cc9381385c"
mailgunDomain="sandbox401a433f30d445309a5e86b6c53f7812.mailgun.org"
mailSmtpHost="smtp.1und1.de"
mailSmtpPort="465"
mailUser="[email protected]"
mailPassword="24wrsfxv"
mailFromAddress="[email protected]"
/>
<playerTypes>
<playerType name="Human" jar="mage-player-human.jar" className="mage.player.human.HumanPlayer"/>
Expand Down
2 changes: 1 addition & 1 deletion Mage.Server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.mage</groupId>
<artifactId>mage-root</artifactId>
<version>1.4.7</version>
<version>1.4.8</version>
</parent>

<artifactId>mage-server</artifactId>
Expand Down
37 changes: 37 additions & 0 deletions Mage.Server/release/config/config.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>

<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../Config.xsd">
<!--
serverAddress - ip of the XMage server. Set it to "0.0.0.0" for local host or to the IP the server should use
port - the port the primary server socket is bound to
secondaryBindPort - the port to which the secondary server socket is to be bound. if "-1" is set , an arbitrary port is selected.
backlogSize - the preferred number of unaccepted incoming connections allowed at a given time. The actual number may be greater
than the specified backlog. When the queue is full, further connection requests are rejected. The JBoss default value is 200
numAcceptThreads - the number of threads listening on the ServerSocket. The JBoss default value is 1
maxPoolSize - the maximum number of ServerThreads that can exist at any given time. The JBoss default value is 300
leasePeriod - To turn on server side connection failure detection of remoting clients, it is necessary to satisfy two criteria.
The first is that the client lease period is set and is a value greater than 0. The value is represented in milliseconds.
The client lease period can be set by either the 'clientLeasePeriod' attribute within the Connector configuration or by calling the Connector method
maxGameThreads - Number of games that can be started simultanously on the server
maxSecondsIdle - Number of seconds after that a game is auto conceded by the player that was idle for such a time
minUserNameLength - minmal allowed length of a user name to connect to the server
maxUserNameLength - maximal allowed length of a user name to connect to the server
userNamePattern - pattern for user name validity check
maxAiOpponents - number of allowed AI opponents on the server
saveGameActivated - allow game save and replay options (not working correctly yet)
authenticationActivated - "true" = user have to register to signon "false" = user need not to register
* mail configs only needed if authentication is activated:
* if mailUser = "" mailgun is used otherwise nativ mail server on the system
googleAccount - not supported currently
mailgunApiKey - key from the mailgun domain e.g. = "key-12121111..."
mailgunDomain - domain for the mailgun message sending
mailSmtpHost - hostname to send the mail
mailSmtpPort - port to send the mail
mailUser - username used to send the mail
mailPassword - passworf of the used user to send the mail
mailFromAddress - sender address
-->
<server serverAddress="0.0.0.0"
serverName="mage-server"
port="17171"
Expand All @@ -18,6 +48,13 @@
saveGameActivated="false"
authenticationActivated="false"
googleAccount=""
mailgunApiKey=""
mailgunDomain=""
mailSmtpHost=""
mailSmtpPort=""
mailUser=""
mailPassword=""
mailFromAddress=""
/>
<playerTypes>
<playerType name="Human" jar="mage-player-human-${project.version}.jar" className="mage.player.human.HumanPlayer"/>
Expand Down
2 changes: 1 addition & 1 deletion Mage.Sets/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.mage</groupId>
<artifactId>mage-root</artifactId>
<version>1.4.7</version>
<version>1.4.8</version>
</parent>

<groupId>org.mage</groupId>
Expand Down
2 changes: 1 addition & 1 deletion Mage.Stats/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.mage</groupId>
<artifactId>mage-root</artifactId>
<version>1.4.7</version>
<version>1.4.8</version>
</parent>

<groupId>org.mage</groupId>
Expand Down
2 changes: 1 addition & 1 deletion Mage.Tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.mage</groupId>
<artifactId>mage-root</artifactId>
<version>1.4.7</version>
<version>1.4.8</version>
</parent>

<artifactId>mage-tests</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion Mage.Updater/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>mage-root</artifactId>
<groupId>org.mage</groupId>
<version>1.4.7</version>
<version>1.4.8</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion Mage/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.mage</groupId>
<artifactId>mage-root</artifactId>
<version>1.4.7</version>
<version>1.4.8</version>
</parent>

<artifactId>mage</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public enum CardRepository {
// raise this if db structure was changed
private static final long CARD_DB_VERSION = 43;
// raise this if new cards were added to the server
private static final long CARD_CONTENT_VERSION = 44;
private static final long CARD_CONTENT_VERSION = 45;

private final Random random = new Random();
private Dao<CardInfo, Object> cardDao;
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>org.mage</groupId>
<artifactId>mage-root</artifactId>
<version>1.4.7</version>
<version>1.4.8</version>
<packaging>pom</packaging>
<name>Mage Root</name>
<description>Mage Root POM</description>
Expand Down Expand Up @@ -83,7 +83,7 @@
</repositories>

<properties>
<mage-version>1.4.7</mage-version>
<mage-version>1.4.8</mage-version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

Expand Down

0 comments on commit 5981816

Please sign in to comment.