mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
disabled SSL - not necessary - nice to have but makes debugging more difficult
This commit is contained in:
parent
368858cc95
commit
0007099eb3
5 changed files with 5 additions and 5 deletions
|
|
@ -831,7 +831,7 @@ public class MageFrame extends javax.swing.JFrame implements MageClient {
|
|||
connection.setUsername(userName);
|
||||
connection.setHost(server);
|
||||
connection.setPort(port);
|
||||
connection.setSSL(true);
|
||||
connection.setSSL(false);
|
||||
connection.setProxyType(proxyType);
|
||||
connection.setProxyHost(proxyServer);
|
||||
connection.setProxyPort(proxyPort);
|
||||
|
|
|
|||
|
|
@ -327,7 +327,7 @@ public class ConnectDialog extends MageDialog {
|
|||
connection = new Connection();
|
||||
connection.setHost(this.txtServer.getText().trim());
|
||||
connection.setPort(Integer.valueOf(this.txtPort.getText().trim()));
|
||||
connection.setSSL(true);
|
||||
connection.setSSL(false);
|
||||
connection.setUsername(this.txtUserName.getText().trim());
|
||||
connection.setForceDBComparison(this.chkForceUpdateDB.isSelected());
|
||||
MageFrame.getPreferences().put(KEY_CONNECT_FLAG, ((CountryItemEditor)cbFlag.getEditor()).getImageItem());
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ public class TestClient implements MageClient {
|
|||
Connection connection = new Connection();
|
||||
connection.setHost("localhost");
|
||||
connection.setPort(17171);
|
||||
connection.setSSL(true);
|
||||
connection.setSSL(false);
|
||||
connection.setUsername(userName);
|
||||
connection.setForceDBComparison(false);
|
||||
connection.setUserData(new UserData(UserGroup.PLAYER, 10, false, false, false, new UserSkipPrioritySteps(), "world", false, false, false, false, false, false));
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
userNamePattern="[^a-z0-9_]"
|
||||
maxAiOpponents="15"
|
||||
saveGameActivated="false"
|
||||
useSSL="true"
|
||||
useSSL="false"
|
||||
/>
|
||||
<playerTypes>
|
||||
<playerType name="Human" jar="mage-player-human.jar" className="mage.player.human.HumanPlayer"/>
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
userNamePattern="[^a-z0-9_]"
|
||||
maxAiOpponents="15"
|
||||
saveGameActivated="false"
|
||||
useSSL="true"
|
||||
useSSL="false"
|
||||
/>
|
||||
<playerTypes>
|
||||
<playerType name="Human" jar="mage-player-human-${project.version}.jar" className="mage.player.human.HumanPlayer"/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue