Thread: chatlogs error

Results 1 to 4 of 4
  1. #1 chatlogs error 
    Banned
    Join Date
    May 2011
    Posts
    205
    Thanks given
    39
    Thanks received
    3
    Rep Power
    0
    ok i got an error with a chat log tut heres the link below
    [SPOIL]http://www.rune-server.org/runescape-development/rs2-server/snippets/275007-pi-chatlogs.html[/SPOIL]

    heres the error i got

    [SPOIL]
    Code:
    src\server\model\players\packets\chat.java:22: error: cannot find symbol
                    c.getPA().writeChatLog(Misc.textUnpack(c.getChatText(), packetSi
    ze-2));
    
      symbol:   variable Misc
      location: class Chat
    Note: Some input files use unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    1 error
    Press any key to continue . . .
    [/SPOIL]

    i cant seem to fix it any one know whats wrong?
    Reply With Quote  
     

  2. #2  
    q.q


    Join Date
    Dec 2010
    Posts
    6,519
    Thanks given
    1,072
    Thanks received
    3,535
    Rep Power
    4752
    Import the Misc class

    If you use an ide it will solve this problem for you.
    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    Banned
    Join Date
    May 2011
    Posts
    205
    Thanks given
    39
    Thanks received
    3
    Rep Power
    0
    Quote Originally Posted by Harlan View Post
    Import the Misc class

    If you use an ide it will solve this problem for you.
    dont get it
    Reply With Quote  
     

  5. #4  
    Registered Member
    Join Date
    Jun 2011
    Posts
    476
    Thanks given
    57
    Thanks received
    43
    Rep Power
    17
    Add this:

    Code:
    import server.util.Misc;
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

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


User Tag List

Similar Threads

  1. [PI] Chatlogs
    By Alexander in forum Snippets
    Replies: 49
    Last Post: 11-21-2015, 09:00 AM
  2. chatlogs [pi]
    By Right man in forum Requests
    Replies: 2
    Last Post: 08-10-2011, 12:29 PM
  3. pm chatlogs
    By mike623030 in forum Help
    Replies: 0
    Last Post: 10-10-2009, 12:44 PM
  4. Pm Chatlogs?
    By SilentZPrO in forum Help
    Replies: 3
    Last Post: 05-08-2009, 03:01 AM
  5. [508]ChatLogs
    By steth60 in forum Tutorials
    Replies: 18
    Last Post: 11-19-2008, 08:01 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •