Thread: some errors with adding texthandler

Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1 some errors with adding texthandler 
    Donator


    Join Date
    Nov 2008
    Posts
    1,017
    Thanks given
    21
    Thanks received
    32
    Rep Power
    161
    i got these errors when i was adding a text handler in devolution source

    here the errors please help


    Code:
    process.java:27: cannot find symbol
    symbol  : variable playerId
    location: class process
                                    server.textHandler.process(playerId);
                                                               ^
    Note: Some input files use or override a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    1 error
    Finished!
    Press any key to continue . . .
    reply for help
     

  2. #2  
    Donator


    Join Date
    Mar 2008
    Posts
    1,945
    Thanks given
    118
    Thanks received
    201
    Rep Power
    2104
    ummm did you declare text handler in the server.java?
     

  3. #3  
    Donator


    Join Date
    Nov 2008
    Posts
    1,017
    Thanks given
    21
    Thanks received
    32
    Rep Power
    161
    Quote Originally Posted by lmctruck30 View Post
    ummm did you declare text handler in the server.java?
    Yea I Did
     

  4. #4  
    Registered Member Dart Zamaki's Avatar
    Join Date
    Oct 2008
    Posts
    78
    Thanks given
    0
    Thanks received
    0
    Rep Power
    42
    server.textHandler.process(playerId);

    Caps in the name, make sure you got the variable in capsed in the correct parts.
     

  5. #5  
    Donator


    Join Date
    Nov 2008
    Posts
    1,017
    Thanks given
    21
    Thanks received
    32
    Rep Power
    161
    Quote Originally Posted by Dart Zamaki View Post
    server.textHandler.process(playerId);

    Caps in the name, make sure you got the variable in capsed in the correct parts.
    I Made Sure And Still The Same Error

    Can Some One Help?
     

  6. #6  
    Registered Member Dart Zamaki's Avatar
    Join Date
    Oct 2008
    Posts
    78
    Thanks given
    0
    Thanks received
    0
    Rep Power
    42
    Well, look in your texthandler.

    look in your client.java...

    ctrl+F

    "texthandler"

    And and see if it matches with the right name your placing in.

    Try... Texthandler other than texthandler
     

  7. #7  
    Previously Hyperion


    Join Date
    Jan 2009
    Posts
    1,254
    Thanks given
    3
    Thanks received
    18
    Rep Power
    138
    isnt it supposed to be playerID or playerName in devo?
     

  8. #8  
    Registered Member Dart Zamaki's Avatar
    Join Date
    Oct 2008
    Posts
    78
    Thanks given
    0
    Thanks received
    0
    Rep Power
    42
    um... the script file you have added this to... is it in client.java?

    Well, test around man, you will get it. Just don't doubt yourself yet.
    Just give it more tries before asking here.
     

  9. #9  
    atrum
    Guest
    if you have a process in your texthandler add it to the process in server class.
     

  10. #10  
    Donator


    Join Date
    Nov 2008
    Posts
    1,017
    Thanks given
    21
    Thanks received
    32
    Rep Power
    161
    Quote Originally Posted by Dart Zamaki View Post
    um... the script file you have added this to... is it in client.java?

    Well, test around man, you will get it. Just don't doubt yourself yet.
    Just give it more tries before asking here.
    i Added The Process To Process.Java
    There Is All My Other Process

    Here What I mean

    Code:
    				server.npcHandler.process();
                                                                    server.textHandler.process(playerId);
    		 		server.itemHandler.process();
    				server.shopHandler.process();
    This Code Is All in my process.java file
     

Page 1 of 2 12 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
  •