Thread: Dialogue error [Project Insanity]

Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1 Dialogue error [Project Insanity] 
    Registered Member
    Shoutbox's Avatar
    Join Date
    Sep 2013
    Posts
    1,758
    Thanks given
    581
    Thanks received
    353
    Rep Power
    676
    Hello members of Rune-Server, I was adding some dialogue (Tutorial) and i got this error. Could someone please help me?

    Code:
     src\server\game\players\DialogueHandler.java:596: error: method sendNpcChat3 in
    class DialogueHandler cannot be applied to given types;
                            sendNpcChat3("Thats not Important at the moment!", "Impe
    rfection is a world based on econemy & player killing.", c.npcType, "Rashiliyia"
    );
                            ^
      required: String,String,String,int,String
      found: String,String,int,String
      reason: actual and formal argument lists differ in length
    src\server\game\players\DialogueHandler.java:604: error: no suitable method foun
    d for sendNpcChat2(String,String,String,int,String)
                            sendNpcChat2("Before, you must know that", "This server
    relies on supply and demand. For example,", "food is highly priced but has a low
     stock,", c.npcType, "Rashiliyia");
                            ^
        method DialogueHandler.sendNpcChat2(String,String,int) is not applicable
          (actual and formal argument lists differ in length)
        method DialogueHandler.sendNpcChat2(String,String,int,String) is not applica
    ble
          (actual and formal argument lists differ in length)
    src\server\game\players\DialogueHandler.java:620: error: no suitable method foun
    d for sendNpcChat2(String,String,String,int,String)
                            sendNpcChat2("Another important feature here in Imperfec
    tion, is combat,", "You can kill other players for there items in the wilderness
    .","You can also kill monsters for there items!", c.npcType, "Rashiliyia");
                            ^
        method DialogueHandler.sendNpcChat2(String,String,int) is not applicable
          (actual and formal argument lists differ in length)
        method DialogueHandler.sendNpcChat2(String,String,int,String) is not applica
    ble
          (actual and formal argument lists differ in length)
    3 errors
    Press any key to continue . . .
    Thank you,
    Imperfection.
    Reply With Quote  
     

  2. #2  
    Banned
    Join Date
    Jan 2012
    Posts
    265
    Thanks given
    6
    Thanks received
    14
    Rep Power
    0
    sendNpcChat3("Thats not Important at the moment!", "Impe
    rfection is a world based on econemy & player killing.", c.npcType, "Rashiliyia"
    );
    That is only 2 statements not 3 so change NpcChat3 to NpcChat2. Fix the rest by your self now.
    Reply With Quote  
     

  3. #3  
    Registered Member
    Shoutbox's Avatar
    Join Date
    Sep 2013
    Posts
    1,758
    Thanks given
    581
    Thanks received
    353
    Rep Power
    676
    Thanks.
    S A D B O Y S

    私は自分自身を殺すために待つことができない
    Reply With Quote  
     

  4. #4  
    Registered Member
    Shoutbox's Avatar
    Join Date
    Sep 2013
    Posts
    1,758
    Thanks given
    581
    Thanks received
    353
    Rep Power
    676
    One to go and i cant quite figure it out.
    Code:
    src\server\game\players\DialogueHandler.java:604: error: no suitable method foun
    d for sendNpcChat2(String,String,String,int,String)
                            sendNpcChat2("Before, you must know that", "This server
    relies on supply and demand. For example,", "food is highly priced but has a low
     stock,", c.npcType, "Rashiliyia");
                            ^
        method DialogueHandler.sendNpcChat2(String,String,int) is not applicable
          (actual and formal argument lists differ in length)
        method DialogueHandler.sendNpcChat2(String,String,int,String) is not applica
    ble
          (actual and formal argument lists differ in length)
    1 error
    Press any key to continue . . .
    Thanks,
    Imperfection.
    S A D B O Y S

    私は自分自身を殺すために待つことができない
    Reply With Quote  
     

  5. #5  
    Registered Member The Dark Wizard's Avatar
    Join Date
    Aug 2013
    Posts
    67
    Thanks given
    2
    Thanks received
    0
    Rep Power
    9
    You have all the methods and they're in the right place right?

    If there's hundreds of tutorials about this on google, I sure as heck haven't found any.
    Reply With Quote  
     

  6. #6  
    Registered Member
    Shoutbox's Avatar
    Join Date
    Sep 2013
    Posts
    1,758
    Thanks given
    581
    Thanks received
    353
    Rep Power
    676
    Im pretty sure. Could you check for me? Im at school a right now.
    S A D B O Y S

    私は自分自身を殺すために待つことができない
    Reply With Quote  
     

  7. #7  
    Registered Member
    Shoutbox's Avatar
    Join Date
    Sep 2013
    Posts
    1,758
    Thanks given
    581
    Thanks received
    353
    Rep Power
    676
    Bump
    S A D B O Y S

    私は自分自身を殺すために待つことができない
    Reply With Quote  
     

  8. #8  
    Registered Member
    Shoutbox's Avatar
    Join Date
    Sep 2013
    Posts
    1,758
    Thanks given
    581
    Thanks received
    353
    Rep Power
    676
    Code:
    src\server\game\players\DialogueHandler.java:604: error: no suitable method foun
    d for sendNpcChat2(String,String,String,int,String)
                            sendNpcChat2("Before, you must know that", "This server
    relies on supply and demand. For example,", "food is highly priced but has a low
     stock,", c.npcType, "Rashiliyia");
                            ^
        method DialogueHandler.sendNpcChat2(String,String,int) is not applicable
          (actual and formal argument lists differ in length)
        method DialogueHandler.sendNpcChat2(String,String,int,String) is not applica
    ble
          (actual and formal argument lists differ in length)
    1 error
    Press any key to continue . . .
    Really need this fixed!

    Thanks,
    Imperfection
    S A D B O Y S

    私は自分自身を殺すために待つことができない
    Reply With Quote  
     

  9. #9  
    Registered Member
    Shoutbox's Avatar
    Join Date
    Sep 2013
    Posts
    1,758
    Thanks given
    581
    Thanks received
    353
    Rep Power
    676
    Quote Originally Posted by Giovanni View Post
    Code:
        method DialogueHandler.sendNpcChat2(String,String,int) is not applicable (actual and formal argument lists differ in length) method DialogueHandler.sendNpcChat2(String,String,int,String) is not applica
    ble (actual and formal argument lists differ in length)
    read the fukin cmd before you post
    ****ing* If you're going to flame at least do it properly. Also i posted because i don't understand it? I understand it like 60%... Not enough for me to know what is wrong.
    S A D B O Y S

    私は自分自身を殺すために待つことができない
    Reply With Quote  
     

  10. #10  
    Registered Member
    Shoutbox's Avatar
    Join Date
    Sep 2013
    Posts
    1,758
    Thanks given
    581
    Thanks received
    353
    Rep Power
    676
    Quote Originally Posted by Giovanni View Post
    it tells you exactly whats wrong. and i say fukin because with the c is not loud >=D
    I know what is wrong but not how to fix it 100%, you live life to its fullest
    S A D B O Y S

    私は自分自身を殺すために待つことができない
    Reply With Quote  
     

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

Similar Threads

  1. Replies: 0
    Last Post: 12-27-2012, 08:59 PM
  2. client error project insanity
    By oblivion-rs in forum Help
    Replies: 8
    Last Post: 11-03-2010, 09:42 PM
  3. Project Insanity - Doors.cfg Error
    By jameskmonger in forum Help
    Replies: 4
    Last Post: 07-23-2010, 01:33 AM
  4. Replies: 1
    Last Post: 06-04-2010, 05:09 AM
  5. project insanity webclient error
    By 2O15 in forum Help
    Replies: 8
    Last Post: 05-02-2010, 03:54 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •