mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-05 00:31:57 +00:00
Cmd linux server support
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user