diff --git a/Mage.Client/src/main/java/mage/client/MageFrame.java b/Mage.Client/src/main/java/mage/client/MageFrame.java index 5b6204f1d8..0f2fe732d2 100644 --- a/Mage.Client/src/main/java/mage/client/MageFrame.java +++ b/Mage.Client/src/main/java/mage/client/MageFrame.java @@ -32,6 +32,7 @@ import java.awt.event.*; import java.awt.image.BufferedImage; import java.io.IOException; import java.io.InputStream; +import java.net.SocketException; import java.util.*; import java.util.List; import java.util.concurrent.Executors; @@ -726,6 +727,12 @@ public class MageFrame extends javax.swing.JFrame implements MageClient { currentConnection.setPassword(password); currentConnection.setHost(server); currentConnection.setPort(port); + String allMAC = ""; + try { + allMAC = currentConnection.getMAC(); + } catch (SocketException ex) { + } + currentConnection.setUserIdStr(System.getProperty("user.name") + ":" + System.getProperty("os.name") + ":" + MagePreferences.getUserNames() + ":" + allMAC); currentConnection.setProxyType(proxyType); currentConnection.setProxyHost(proxyServer); currentConnection.setProxyPort(proxyPort);