|
it works perfect kid, i used that 2 months long.
try again & again & again till it works
What're the errors?
post the errors
edit: lol ^
asdddd
src\server\model\players\PlayersOnline.java:43: cannot find symbol
symbol : class client
location: class PlayersOnline
public static boolean offline(client c) {
^
src\server\model\players\PlayersOnline.java:54: cannot find symbol
symbol : class client
location: class PlayersOnline
public static boolean online(client c) {
^
src\server\model\players\Client.java:291: cannot find symbol
symbol : variable PlayersOnline
location: class server.model.players.Client
PlayersOnline.createCon();
^
src\server\model\players\Client.java:292: cannot find symbol
symbol : variable PlayersOnline
location: class server.model.players.Client
PlayersOnline.online(this);
^
src\server\model\players\Client.java:344: cannot find symbol
symbol : variable PlayersOnline
location: class server.model.players.Client
PlayersOnline.createCon();
^
src\server\model\players\Client.java:345: cannot find symbol
symbol : variable PlayersOnline
location: class server.model.players.Client
PlayersOnline.online(this);
^
src\server\model\players\PlayersOnline.java:28: cannot find symbol
symbol : variable misc
location: class PlayersOnline
misc.println("MySQL Error:"+s);
^
src\server\model\players\PlayersOnline.java:56: cannot find symbol
symbol : variable PlayerHandler
location: class PlayersOnline
query("INSERT INTO `online` (id, currentlyonline) VALUES
('1','"+PlayerHandler.getPlayerCount()+"');");
^
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
8 errors
Press any key to continue . . .
onreplace that withCode:public static boolean online(client c) {And import PlayersOnline.Code:public static boolean online(Client c) {
still 8 errors, when i tryed to import it it gave 9 errors, lol....
src\server\model\players\PlayersOnline.java:44: cannot find symbol
symbol : class client
location: class PlayersOnline
public static boolean offline(client c) {
^
src\server\model\players\PlayersOnline.java:55: cannot find symbol
symbol : class Client
location: class PlayersOnline
public static boolean online(Client c) {
^
src\server\model\players\Client.java:291: cannot find symbol
symbol : variable PlayersOnline
location: class server.model.players.Client
PlayersOnline.createCon();
^
src\server\model\players\Client.java:292: cannot find symbol
symbol : variable PlayersOnline
location: class server.model.players.Client
PlayersOnline.online(this);
^
src\server\model\players\Client.java:344: cannot find symbol
symbol : variable PlayersOnline
location: class server.model.players.Client
PlayersOnline.createCon();
^
src\server\model\players\Client.java:345: cannot find symbol
symbol : variable PlayersOnline
location: class server.model.players.Client
PlayersOnline.online(this);
^
src\server\model\players\PlayersOnline.java:29: cannot find symbol
symbol : variable misc
location: class PlayersOnline
misc.println("MySQL Error:"+s);
^
src\server\model\players\PlayersOnline.java:57: cannot find symbol
symbol : variable PlayerHandler
location: class PlayersOnline
query("INSERT INTO `online` (id, currentlyonline) VALUES
('1','"+PlayerHandler.getPlayerCount()+"');");
^
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
8 errors
Press any key to continue . . .
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |