Use code tags rofl
|
|
hello,
wel i was going to add pm system to my servr
base:Espeon.
Pm system TuT Espeon.
wel i added Pm system
and i gotta compile well here are my errors
hope samone know what they mean or how to fix.
i got like 72 errors.
Compiling all files....
.\net\com\espeon\io\FileManager.java:103: class, interface, or enum expected
} else if(line.startsWith("friend")) {
^
.\net\com\espeon\io\FileManager.java:105: class, interface, or enum expected
p.friends.add(friendName);
^
.\net\com\espeon\io\FileManager.java:106: class, interface, or enum expected
} else if(line.startsWith("ignore")) {
^
.\net\com\espeon\io\FileManager.java:108: class, interface, or enum expected
p.ignores.add(ignoreName);
^
.\net\com\espeon\io\FileManager.java:109: class, interface, or enum expected
}
^
.\net\com\espeon\io\FileManager.java:115: class, interface, or enum expected
public void loadCharacter(Player p) {
^
.\net\com\espeon\io\FileManager.java:117: class, interface, or enum expected
try {
^
.\net\com\espeon\io\FileManager.java:119: class, interface, or enum expected
in.read(stream.inBuffer);
^
.\net\com\espeon\io\FileManager.java:120: class, interface, or enum expected
in.close();
^
.\net\com\espeon\io\FileManager.java:121: class, interface, or enum expected
in = null;
^
.\net\com\espeon\io\FileManager.java:122: class, interface, or enum expected
} catch (Exception e) {
^
.\net\com\espeon\io\FileManager.java:124: class, interface, or enum expected
}
^
.\net\com\espeon\io\FileManager.java:126: class, interface, or enum expected
try {
^
.\net\com\espeon\io\FileManager.java:130: class, interface, or enum expected
else if (line.startsWith("rights:"))
^
.\net\com\espeon\io\FileManager.java:132: class, interface, or enum expected
else if (line.startsWith("absx:"))
^
.\net\com\espeon\io\FileManager.java:134: class, interface, or enum expected
else if (line.startsWith("absy:"))
^
.\net\com\espeon\io\FileManager.java:136: class, interface, or enum expected
else if (line.startsWith("height:"))
^
.\net\com\espeon\io\FileManager.java:138: class, interface, or enum expected
else if (line.startsWith("getstarted:"))
^
.\net\com\espeon\io\FileManager.java:140: class, interface, or enum expected
else if (line.startsWith("runenergy:"))
^
.\net\com\espeon\io\FileManager.java:142: class, interface, or enum expected
else if (line.startsWith("gender:"))
^
.\net\com\espeon\io\FileManager.java:144: class, interface, or enum expected
else if (line.startsWith("look"))
^
.\net\com\espeon\io\FileManager.java:146: class, interface, or enum expected
else if (line.startsWith("color"))
^
.\net\com\espeon\io\FileManager.java:148: class, interface, or enum expected
else if (line.startsWith("skill")) {
^
.\net\com\espeon\io\FileManager.java:151: class, interface, or enum expected
p.skillXP[Integer.parseInt(line.substring(5, line.indexOf(":
")))] = Integer.parseInt(line.substring(line.indexOf(",") + 1));
^
.\net\com\espeon\io\FileManager.java:152: class, interface, or enum expected
} else if (line.startsWith("equipment")) {
^
.\net\com\espeon\io\FileManager.java:155: class, interface, or enum expected
p.equipmentN[Integer.parseInt(line.substring(9, line.indexOf
(":")))] = Integer.parseInt(line.substring(line.indexOf(",") + 1));
^
.\net\com\espeon\io\FileManager.java:156: class, interface, or enum expected
} else if (line.startsWith("item")) {
^
.\net\com\espeon\io\FileManager.java:159: class, interface, or enum expected
p.itemsN[Integer.parseInt(line.substring(4, line.indexOf(":"
)))] = Integer.parseInt(line.substring(line.indexOf(",") + 1));
^
.\net\com\espeon\io\FileManager.java:160: class, interface, or enum expected
} else if (line.startsWith("muted:")) {
^
.\net\com\espeon\io\FileManager.java:163: class, interface, or enum expected
} else if (line.startsWith("muteTimer:")) {
^
.\net\com\espeon\io\FileManager.java:166: class, interface, or enum expected
} else if (line.startsWith("titanMini:")) {
^
.\net\com\espeon\io\FileManager.java:169: class, interface, or enum expected
} else if (line.startsWith("foundLava:")) {
^
.\net\com\espeon\io\FileManager.java:172: class, interface, or enum expected
} else if (line.startsWith("foundGeyser:")) {
^
.\net\com\espeon\io\FileManager.java:175: class, interface, or enum expected
} else if (line.startsWith("Members:")) {
^
.\net\com\espeon\io\FileManager.java:178: class, interface, or enum expected
} else if (line.startsWith("foundSwamp:")) {
^
.\net\com\espeon\io\FileManager.java:181: class, interface, or enum expected
} else if (line.startsWith("playerRep:")) {
^
.\net\com\espeon\io\FileManager.java:184: class, interface, or enum expected
} else if (line.startsWith("givenRep:")) {
^
.\net\com\espeon\io\FileManager.java:187: class, interface, or enum expected
} else if (line.startsWith("repTimer:")) {
^
.\net\com\espeon\io\FileManager.java:190: class, interface, or enum expected
} else if (line.startsWith("clan:")) {
^
.\net\com\espeon\io\FileManager.java:193: class, interface, or enum expected
} else if (line.startsWith("specAmount:")) {
^
.\net\com\espeon\io\FileManager.java:196: class, interface, or enum expected
} else if (line.startsWith("fleeTimer:")) {
^
.\net\com\espeon\io\FileManager.java:199: class, interface, or enum expected
} else if (line.startsWith("cannotAttack:")) {
^
.\net\com\espeon\io\FileManager.java:202: class, interface, or enum expected
} else if (line.startsWith("bankitem")) {
^
.\net\com\espeon\io\FileManager.java:205: class, interface, or enum expected
p.bankItemsN[Integer.parseInt(line.substring(8, line.indexOf
(":")))] = Integer.parseInt(line.substring(line.indexOf(",") + 1));
^
.\net\com\espeon\io\FileManager.java:206: class, interface, or enum expected
}
^
.\net\com\espeon\io\FileManager.java:209: class, interface, or enum expected
else if (line.startsWith("Xlog:"))
^
.\net\com\espeon\io\FileManager.java:211: class, interface, or enum expected
else if(line.startsWith("quests:"))
^
.\net\com\espeon\io\FileManager.java:213: class, interface, or enum expected
else if (line.startsWith("godWars")) {
^
.\net\com\espeon\io\FileManager.java:216: class, interface, or enum expected
}
^
.\net\com\espeon\io\FileManager.java:222: class, interface, or enum expected
public void appendData(String file, String text) {
^
.\net\com\espeon\io\FileManager.java:224: class, interface, or enum expected
try {
^
.\net\com\espeon\io\FileManager.java:226: class, interface, or enum expected
bw = new BufferedWriter(fileWriter);
^
.\net\com\espeon\io\FileManager.java:227: class, interface, or enum expected
bw.write(text);
^
.\net\com\espeon\io\FileManager.java:228: class, interface, or enum expected
bw.newLine();
^
.\net\com\espeon\io\FileManager.java:229: class, interface, or enum expected
bw.flush();
^
.\net\com\espeon\io\FileManager.java:230: class, interface, or enum expected
bw.close();
^
.\net\com\espeon\io\FileManager.java:231: class, interface, or enum expected
fileWriter = null;
^
.\net\com\espeon\io\FileManager.java:232: class, interface, or enum expected
bw = null;
^
.\net\com\espeon\io\FileManager.java:233: class, interface, or enum expected
} catch (Exception exception) {
^
.\net\com\espeon\io\FileManager.java:235: class, interface, or enum expected
}
^
.\net\com\espeon\net\SocketListener.java:90: cannot find symbol
symbol : method appendData(java.lang.String,java.lang.String)
location: class net.com.espeon.io.FileManager
Engine.fileManager.appendData("connections/" + host + ".txt", "[" + Misc
.getDate() + "] " + host + ": connection recieved.");
^
.\net\com\espeon\net\codec\RS2LoginProtocol.java:1 41: cannot find symbol
symbol : method loadCharacter(net.com.espeon.model.Player)
location: class net.com.espeon.io.FileManager
Engine.fileManager.loadCharacter;
^
.\net\com\espeon\net\codec\RS2LoginProtocol.java:1 47: cannot find symbol
symbol : method loadCharacter(net.com.espeon.model.Player)
location: class net.com.espeon.io.FileManager
Engine.fileManager.loadCharacter;
^
.\net\com\espeon\net\codec\RS2LoginProtocol.java:1 55: cannot find symbol
symbol : method loadCharacter(net.com.espeon.model.Player)
location: class net.com.espeon.io.FileManager
Engine.fileManager.loadCharacter;
^
.\net\com\espeon\net\codec\RS2LoginProtocol.java:1 63: cannot find symbol
symbol : method loadCharacter(net.com.espeon.model.Player)
location: class net.com.espeon.io.FileManager
Engine.fileManager.loadCharacter;
^
.\net\com\espeon\net\codec\RS2LoginProtocol.java:1 71: cannot find symbol
symbol : method loadCharacter(net.com.espeon.model.Player)
location: class net.com.espeon.io.FileManager
Engine.fileManager.loadCharacter;
^
.\net\com\espeon\net\codec\RS2LoginProtocol.java:1 79: cannot find symbol
symbol : method loadCharacter(net.com.espeon.model.Player)
location: class net.com.espeon.io.FileManager
Engine.fileManager.loadCharacter;
^
.\net\com\espeon\net\codec\RS2LoginProtocol.java:1 87: cannot find symbol
symbol : method loadCharacter(net.com.espeon.model.Player)
location: class net.com.espeon.io.FileManager
Engine.fileManager.loadCharacter;
^
.\net\com\espeon\net\codec\RS2LoginProtocol.java:1 95: cannot find symbol
symbol : method loadCharacter(net.com.espeon.model.Player)
location: class net.com.espeon.io.FileManager
Engine.fileManager.loadCharacter;
^
.\net\com\espeon\net\codec\RS2LoginProtocol.java:2 03: cannot find symbol
symbol : method loadCharacter(net.com.espeon.model.Player)
location: class net.com.espeon.io.FileManager
Engine.fileManager.loadCharacter;
^
.\net\com\espeon\net\codec\RS2LoginProtocol.java:2 52: cannot find symbol
symbol : method appendData(java.lang.String,java.lang.String)
location: class net.com.espeon.io.FileManager
Engine.fileManager.appendData("characters/ips/" + p.username + "
.txt", "[" + Server.socketListener.getAddress(p.socket.socket) + "]: failed logi
n.");
^
.\net\com\espeon\net\codec\RS2LoginProtocol.java:2 55: cannot find symbol
symbol : method appendData(java.lang.String,java.lang.String)
location: class net.com.espeon.io.FileManager
Server.engine.fileManager.appendData("characters/ips/" + p.username
+ ".txt", "[" + Server.socketListener.getAddress(p.socket.socket) + "]: successf
ul login.");
^
Note: .\net\com\espeon\net\SocketListener.java uses unchecked or unsafe operatio
ns.
Note: Recompile with -Xlint:unchecked for details.
72 errors
Druk op een toets om door te gaan. . .
Use code tags rofl

ive gotten same erorr no idea

Use code tags itll be easier.
| « Help Hosting.. | (508) NPC random Walk, repping++++ » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |