Cmd linux server support

This commit is contained in:
dginovker
2019-06-19 10:44:11 -04:00
parent c2559bf62f
commit ceb524e63f
2139 changed files with 1041 additions and 12 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ public class Constants {
printobjectId = false, EXPERIMENTS = false;
public static int[] SIDEBARS = { 2423, 3917, 638, 3213, 1644, 5608, 1151,
18128, 5065, 5715, 2449, 904, 147, 962 };
public static boolean TUTORIAL_ISLAND = true, HOLIDAYS = true,
public static boolean TUTORIAL_ISLAND = false, HOLIDAYS = true,
MEMBERS_ONLY = false, sendServerPackets = false, HALLOWEEN = false;
public final static int HAT = 0, CAPE = 1, AMULET = 2, WEAPON = 3,
@@ -39,8 +39,8 @@ public class NpcHandler {
for (int i = 0; i < maxListedNPCs; i++) {
NpcList[i] = null;
}
loadNPCList("./data/CFG/npc.cfg");
loadAutoSpawn("./data/CFG/spawn-config.cfg");
loadNPCList("./data/cfg/npc.cfg");
loadAutoSpawn("./data/cfg/spawn-config.cfg");
}
public static boolean isUndead(int index) {
@@ -114,7 +114,7 @@ public class ShopHandler {
boolean EndOfFile = false;
BufferedReader characterfile = null;
try {
characterfile = new BufferedReader(new FileReader("./data/CFG/" + FileName));
characterfile = new BufferedReader(new FileReader("./data/cfg/" + FileName));
} catch (FileNotFoundException fileex) {
Misc.println(FileName + ": file not found.");
return false;