Thread: Show players online via Website

Page 1 of 3 123 LastLast
Results 1 to 10 of 26
  1. #1 Show players online via Website 
    Donator
    Tox Ow's Avatar
    Join Date
    Nov 2008
    Posts
    201
    Thanks given
    3
    Thanks received
    0
    Rep Power
    6
    i've seen a tutorial somewhere, but it seems that i can't find it..
    can anyone help me ?
    Reply With Quote  
     

  2. #2  
    Donator

    Join Date
    Oct 2007
    Posts
    817
    Thanks given
    47
    Thanks received
    52
    Rep Power
    184
    Reply With Quote  
     

  3. #3  
    Donator
    Tox Ow's Avatar
    Join Date
    Nov 2008
    Posts
    201
    Thanks given
    3
    Thanks received
    0
    Rep Power
    6
    didn't get it working, anything else ?
    Reply With Quote  
     

  4. #4  
    Donator

    Join Date
    Oct 2007
    Posts
    817
    Thanks given
    47
    Thanks received
    52
    Rep Power
    184
    it works perfect kid, i used that 2 months long.
    try again & again & again till it works
    Reply With Quote  
     

  5. #5  
    Donator
    Tox Ow's Avatar
    Join Date
    Nov 2008
    Posts
    201
    Thanks given
    3
    Thanks received
    0
    Rep Power
    6
    Im using Emolution and it is shooting me some nerdy errors, trying again.....
    Reply With Quote  
     

  6. #6  
    Registered Member

    Join Date
    Feb 2009
    Age
    27
    Posts
    2,861
    Thanks given
    127
    Thanks received
    226
    Rep Power
    700
    What're the errors?
    Reply With Quote  
     

  7. #7  
    Donator

    Join Date
    Oct 2007
    Posts
    817
    Thanks given
    47
    Thanks received
    52
    Rep Power
    184
    post the errors
    edit: lol ^
    Reply With Quote  
     

  8. #8  
    Donator
    Tox Ow's Avatar
    Join Date
    Nov 2008
    Posts
    201
    Thanks given
    3
    Thanks received
    0
    Rep Power
    6
    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 . . .
    Reply With Quote  
     

  9. #9  
    Registered Member

    Join Date
    Feb 2009
    Age
    27
    Posts
    2,861
    Thanks given
    127
    Thanks received
    226
    Rep Power
    700
    on
    Code:
    public static boolean online(client c) {
    replace that with
    Code:
    public static boolean online(Client c) {
    And import PlayersOnline.
    Reply With Quote  
     

  10. #10  
    Donator
    Tox Ow's Avatar
    Join Date
    Nov 2008
    Posts
    201
    Thanks given
    3
    Thanks received
    0
    Rep Power
    6
    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 . . .
    Reply With Quote  
     

Page 1 of 3 123 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •