Thread: Compiler Problem.. Please help me, im new to this :(

Results 1 to 5 of 5
  1. #1 Compiler Problem.. Please help me, im new to this :( 
    Banned
    Join Date
    Nov 2011
    Posts
    305
    Thanks given
    56
    Thanks received
    30
    Rep Power
    0
    Base: Project Insanity 317
    Problem: Compiler


    Code:
    src\server\model\players\DialogueHandler.java:117: cannot find symbol
    symbol  : method sendNpcChat2(java.lang.String,java.lang.String,int,java.lang.St
    ring)
    location: class server.model.players.DialogueHandler
            sendNpcChat2("Thank you for getting them back!","Here is your reward", c
    .talkingNpc, "Santa");
            ^
    Note: Some input files use unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    1 error
    Press any key to continue . . .
    How do i fix this? please help me. I know its in DialogueHandler.java line 117..

    But i dont know whats wrong with it.

    Here is the section that has the problem:

    Code:
    case 101:
    	sendNpcChat2("Thank you for getting them back!","Here is your reward", c.talkingNpc, "Santa");
    	c.getItems().addItem(1038, 1);
    	c.getItems().addItem(1050, 1);
    	c.santaPrize = 3;
    	c.nextChat = 0;
    break;
    Reply With Quote  
     

  2. #2  
    Banned
    Join Date
    Nov 2011
    Posts
    305
    Thanks given
    56
    Thanks received
    30
    Rep Power
    0
    Please someone
    Reply With Quote  
     

  3. #3  
    Banned
    Join Date
    Oct 2011
    Posts
    182
    Thanks given
    34
    Thanks received
    6
    Rep Power
    0
    Quote Originally Posted by MasterPkz View Post
    Base: Project Insanity 317
    Problem: Compiler


    Code:
    src\server\model\players\DialogueHandler.java:117: cannot find symbol
    symbol  : method sendNpcChat2(java.lang.String,java.lang.String,int,java.lang.St
    ring)
    location: class server.model.players.DialogueHandler
            sendNpcChat2("Thank you for getting them back!","Here is your reward", c
    .talkingNpc, "Santa");
            ^
    Note: Some input files use unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    1 error
    Press any key to continue . . .
    How do i fix this? please help me. I know its in DialogueHandler.java line 117..

    But i dont know whats wrong with it.

    Here is the section that has the problem:

    Code:
    case 101:
    	sendNpcChat2("Thank you for getting them back!","Here is your reward", c.talkingNpc, "Santa");
    	c.getItems().addItem(1038, 1);
    	c.getItems().addItem(1050, 1);
    	c.santaPrize = 3;
    	c.nextChat = 0;
    break;
    Wouldn't you put

    Code:
    case 101:
    	C.sendNpcChat2("Thank you for getting them back!","Here is your reward", c.talkingNpc, "Santa");
    	c.getItems().addItem(1038, 1);
    	c.getItems().addItem(1050, 1);
    	c.santaPrize = 3;
    	c.nextChat = 0;
    break;
    Reply With Quote  
     

  4. #4  
    Banned
    Join Date
    Nov 2011
    Posts
    305
    Thanks given
    56
    Thanks received
    30
    Rep Power
    0
    Quote Originally Posted by ZeroReality View Post
    Wouldn't you put
    no because look at if you talk to Duradel (Slayer Task guy)

    Its the same:
    Code:
    		case 3:
    			sendNpcChat4("Hello!", "My name is Duradel and I am a master of the slayer skill.", "I can assign you a slayer task suitable to your combat level.", 
    			"Would you like a slayer task?", c.talkingNpc, "Duradel");
    			c.nextChat = 4;
    		break;
    There is no
    Code:
    c.
    Reply With Quote  
     

  5. #5  
    Banned
    Join Date
    Nov 2011
    Posts
    305
    Thanks given
    56
    Thanks received
    30
    Rep Power
    0
    Nevermind, fixed it
    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. Compiler problem
    By CuDiiz in forum Help
    Replies: 8
    Last Post: 07-07-2011, 08:52 AM
  2. Compiler problem
    By jordan641 in forum Help
    Replies: 0
    Last Post: 08-26-2010, 09:51 PM
  3. Compiler Problem
    By I Trey I in forum Help
    Replies: 3
    Last Post: 11-20-2009, 10:10 PM
  4. Compiler problem.
    By Supa Ownage in forum Help
    Replies: 3
    Last Post: 10-30-2008, 06:35 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
  •