Browse Source

Version info pulled from config.

pull/13/head
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 {
public static final int CHM_THREAD_MED = 2; public static final int CHM_THREAD_MED = 2;
public static final int CHM_THREAD_LOW = 1; 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 * LoginErrorMsg related
*/ */

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

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

Loading…
Cancel
Save