11package util ;
22
33public final class Constants {
4-
4+
55 public static final byte PLATFORM_INTEL = 0x01 ;
66 public static final byte PLATFORM_POWERPC = 0x02 ;
77 public static final byte PLATFORM_MACOSX = 0x03 ;
@@ -17,27 +17,29 @@ public final class Constants{
1717 public static final byte PRODUCT_DIABLO = 0x09 ;
1818 public static final byte PRODUCT_DIABLOSHAREWARE = 0x0A ;
1919 public static final byte PRODUCT_STARCRAFTSHAREWARE = 0x0B ;
20- public static String [] prods = {"STAR" , "SEXP" , "W2BN" , "D2DV" , "D2XP" , "JSTR" , "WAR3" , "W3XP" , "DRTL" , "DSHR" , "SSHR" };
20+ public static final byte PRODUCT_WAR3DEMO = 0x0C ;
21+ public static String [] prods = {"STAR" , "SEXP" , "W2BN" , "D2DV" , "D2XP" , "JSTR" , "WAR3" , "W3XP" , "DRTL" , "DSHR" , "SSHR" , "W3DM" };
2122 public static String [][] IX86files = {
22- {"IX86/STAR/" , "StarCraft.exe" , "Storm.dll" , "NULL" , "STAR.bin" },
23- {"IX86/STAR/" , "StarCraft.exe" , "Storm.dll" , "NULL" , "STAR.bin" },
24- {"IX86/W2BN/" , "Warcraft II BNE.exe" , "Storm.dll" , "Battle.snp" , "W2BN.bin" },
25- {"IX86/D2DV/" , "Game.exe" , "NULL" , "NULL" , "D2DV.bin" },
26- {"IX86/D2XP/" , "Game.exe" , "NULL" , "NULL" , "D2XP.bin" },
27- {"IX86/JSTR/" , "StarcraftJ.exe" , "Storm.dll" , "Battle.snp" , "JSTR.bin" },
28- {"IX86/WAR3/" , "Warcraft III.exe" , "NULL" , "NULL" , "WAR3.bin" },
29- {"IX86/WAR3/" , "Warcraft III.exe" , "NULL" , "NULL" , "WAR3.bin" },
30- {"IX86/DRTL/" , "Diablo.exe" , "Storm.dll" , "Battle.snp" , "DRTL.bin" },
31- {"IX86/DSHR/" , "Diablo_s.exe" , "Storm.dll" , "Battle.snp" , "DSHR.bin" },
32- {"IX86/SSHR/" , "Starcraft.exe" , "Storm.dll" , "Battle.snp" , "SSHR.bin" }
23+ {"IX86/STAR/" , "StarCraft.exe" , "Storm.dll" , "NULL" , "STAR.bin" },
24+ {"IX86/STAR/" , "StarCraft.exe" , "Storm.dll" , "NULL" , "STAR.bin" },
25+ {"IX86/W2BN/" , "Warcraft II BNE.exe" , "Storm.dll" , "Battle.snp" , "W2BN.bin" },
26+ {"IX86/D2DV/" , "Game.exe" , "NULL" , "NULL" , "D2DV.bin" },
27+ {"IX86/D2XP/" , "Game.exe" , "NULL" , "NULL" , "D2XP.bin" },
28+ {"IX86/JSTR/" , "StarcraftJ.exe" , "Storm.dll" , "Battle.snp" , "JSTR.bin" },
29+ {"IX86/WAR3/" , "Warcraft III.exe" , "NULL" , "NULL" , "WAR3.bin" },
30+ {"IX86/WAR3/" , "Warcraft III.exe" , "NULL" , "NULL" , "WAR3.bin" },
31+ {"IX86/DRTL/" , "Diablo.exe" , "Storm.dll" , "Battle.snp" , "DRTL.bin" },
32+ {"IX86/DSHR/" , "Diablo_s.exe" , "Storm.dll" , "Battle.snp" , "DSHR.bin" },
33+ {"IX86/SSHR/" , "Starcraft.exe" , "Storm.dll" , "Battle.snp" , "SSHR.bin" },
34+ {"IX86/W3DM/" , "War3Demo.exe" , "Storm.dll" , "Game.dll" , "W3DM.bin" }
3335 };
34- public static int [] IX86verbytes = {0xD3 , 0xD3 , 0x4f , 0x0e , 0x0e , 0xa9 , 0x1E , 0x1E , 0x2a , 0x2a , 0xa5 };
36+ public static int [] IX86verbytes = {0xD3 , 0xD3 , 0x4f , 0x0e , 0x0e , 0xa9 , 0x1E , 0x1E , 0x2a , 0x2a , 0xa5 , 0x01 };
3537 public static String [] IX86versions = {"" , "" , "2.0.2.1" , "1.14.3.71" , "1.14.3.71" , "" , "" , "" , "2001, 5, 18, 1" , "" , "" };
3638 public static String [] IX86certs = {"" , "" , "" , "" , "" , "" , "" , "" , "" , "" , "" };
37-
39+
3840 public static String ArchivePath = "DLLs/" ;
3941 public static String LogFilePath = "./Logs/" ;
40-
42+
4143 public static String build ="Build V3.1 Bug Fixes, SQL Stats tracking. (10-14-07)" ;
4244 //public static String build="Build V3.0 BotNet Admin, Lockdown, Legacy Clients.(07-07-07)";
4345 //public static String build="Build V2.9 Remote admin, extended admin commands w/ JSTR support.(01/18/06)";
@@ -60,7 +62,7 @@ public final class Constants{
6062 public static String BotNetUsername = "" ;
6163 public static String BotNetPassword = "" ;
6264 public static String BotNetServer = "www.valhallalegends.com" ;
63-
65+
6466 public static boolean LogStats = false ;
6567 public static String StatsUsername = "" ;
6668 public static String StatsPassword = "" ;
@@ -72,12 +74,12 @@ public final class Constants{
7274 public static boolean StatsLogBotIDs = true ;
7375 public static boolean StatsLogConns = true ;
7476 public static boolean StatsCheckSchema = true ;
75-
77+
7678 public static String DownloadPath = "./" ;
77-
79+
7880 public static boolean RunHTTP = true ;
7981 public static int HTTPPort = 81 ;
80-
82+
8183 public static int lngServerVer =0x01 ;
8284 public static int numOfNews =0 ;
8385 public static String [] strNews ={"" , "" , "" , "" , "" };
0 commit comments