Browse Source

Version info pulled from config.

master
MagicBot 3 years ago
parent
commit
ad4678ab3c
  1. 10
      src/engine/server/MBServerStatics.java
  2. 4
      src/engine/server/login/LoginServer.java

10
src/engine/server/MBServerStatics.java

@ -124,16 +124,6 @@ public class MBServerStatics { @@ -124,16 +124,6 @@ public class MBServerStatics {
public static final int CHM_THREAD_MED = 2;
public static final int CHM_THREAD_LOW = 1;
/*
* LoginServer related
*/
public static final String PCMajorVer = "1.2.25.5";
public static final String PCMinorVer = "5.25.5";
public static final String MACMajorVer = "1.2.24.3";
public static final String MACMinorVer = "5.24.3";
/*
* LoginErrorMsg related
*/

4
src/engine/server/login/LoginServer.java

@ -169,8 +169,8 @@ public class LoginServer { @@ -169,8 +169,8 @@ public class LoginServer {
// Configure the VersionInfoMsgs:
this.versionInfoMessage = new VersionInfoMsg(MBServerStatics.PCMajorVer,
MBServerStatics.PCMinorVer);
this.versionInfoMessage = new VersionInfoMsg(ConfigManager.MB_MAJOR_VER.getValue(),
ConfigManager.MB_MINOR_VER.getValue());
Logger.info("Initializing Database Pool");
initDatabasePool();

Loading…
Cancel
Save