Thread: Dialogue is supposed to work but errors -.-

Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1 Dialogue is supposed to work but errors -.- 
    IGFXS!
    Join Date
    Apr 2011
    Posts
    403
    Thanks given
    82
    Thanks received
    34
    Rep Power
    22
    Observe...
    Code:
    	    case 20:
                sendNpcChat1("Hello. What are you doing here?", c.talkingNpc, "Hans");
                c.nextChat = 21;
            break;
    	    case 21:
                sendPlayerChat1("I have come to kill everyone in the castle!");
                c.nextChat = 22;
            break;
    	    case 22:
                sendNpcChat1("Help! Help!", c.talkingNpc, "Hans");
                c.nextChat = -1;
            break;
    Looks like a perfectly working dialogue conversation amirite?
    But look at what happens when you compile.


    I have no idea what to do.
    Anyone else have any clue?
    I specialize in logos, send me a PM if you would like to give your company a more professional feel.
    Reply With Quote  
     

  2. #2  
    Extreme Donator


    Join Date
    Feb 2009
    Posts
    361
    Thanks given
    53
    Thanks received
    85
    Rep Power
    177
    Quote Originally Posted by Keat View Post
    Observe...
    Code:
    	    case 20:
                sendNpcChat1("Hello. What are you doing here?", c.talkingNpc, "Hans");
                c.nextChat = 21;
            break;
    	    case 21:
                sendPlayerChat1("I have come to kill everyone in the castle!");
                c.nextChat = 22;
            break;
    	    case 22:
                sendNpcChat1("Help! Help!", c.talkingNpc, "Hans");
                c.nextChat = -1;
            break;
    Looks like a perfectly working dialogue conversation amirite?
    But look at what happens when you compile.


    I have no idea what to do.
    Anyone else have any clue?
    Change the highlighted text into 2 or 3.
    Reply With Quote  
     

  3. #3  
    IGFXS!
    Join Date
    Apr 2011
    Posts
    403
    Thanks given
    82
    Thanks received
    34
    Rep Power
    22
    I do that and....



    Quote Originally Posted by Fucking Asshole View Post
    Your compiler is broke get a new one and something new so you can wipe your ass with.
    Hey welcome to the help section, now gtfo. :3
    I specialize in logos, send me a PM if you would like to give your company a more professional feel.
    Reply With Quote  
     

  4. #4  
    Registered Member Aintaro.'s Avatar
    Join Date
    Sep 2010
    Posts
    998
    Thanks given
    188
    Thanks received
    213
    Rep Power
    37
    sendNpcChat2 method is not declared in DialogueHandler.java
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Aug 2011
    Posts
    45
    Thanks given
    0
    Thanks received
    0
    Rep Power
    19
    you have to add "", after the convo if it is 2 and another one if it is 3
    e.g.

    sendNpcChat2("Hello. What are you doing here?", "", c.talkingNpc, "Hans");
    or
    sendNpcChat3("Hello. What are you doing here?", "", "", c.talkingNpc, "Hans");
    Spoiler for Respected List:
    Connor, .Mint

    -------------------------------------------------------------------------
    Spoiler for DisRespected List:
    *You Must Be On My Friends List To View This Page.*
    Reply With Quote  
     

  6. #6  
    Banned

    Join Date
    Mar 2011
    Posts
    4,062
    Thanks given
    194
    Thanks received
    689
    Rep Power
    0
    no its because sendNpcChat2 is supposed to have TWO quotes not one
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Aug 2011
    Posts
    45
    Thanks given
    0
    Thanks received
    0
    Rep Power
    19
    way to just say exactly what i said..
    Spoiler for Respected List:
    Connor, .Mint

    -------------------------------------------------------------------------
    Spoiler for DisRespected List:
    *You Must Be On My Friends List To View This Page.*
    Reply With Quote  
     

  8. #8  
    Banned

    Join Date
    Mar 2011
    Posts
    4,062
    Thanks given
    194
    Thanks received
    689
    Rep Power
    0
    Quote Originally Posted by .p123x View Post
    way to just say exactly what i said..
    way to make a dumb ass of yourself cause i posted it like 10 secs after you posted yours...

    and you act like its some hard ass shit to figure out...
    Reply With Quote  
     

  9. #9  
    Registered Member
    Join Date
    Aug 2011
    Posts
    45
    Thanks given
    0
    Thanks received
    0
    Rep Power
    19
    Well obviously for the kid it was.
    don't act all cool bruh
    Spoiler for Respected List:
    Connor, .Mint

    -------------------------------------------------------------------------
    Spoiler for DisRespected List:
    *You Must Be On My Friends List To View This Page.*
    Reply With Quote  
     

  10. #10  
    Community Veteran


    Arch337's Avatar
    Join Date
    Sep 2008
    Posts
    2,950
    Thanks given
    210
    Thanks received
    349
    Rep Power
    1376
    It tell you the error.......
    It can't read the int and the last string.

    You'll have to remove those so it look like:

    Code:
    	    case 20:
                sendNpcChat1("Hello. What are you doing here?");
                c.nextChat = 21;
            break;
    	    case 21:
                sendPlayerChat1("I have come to kill everyone in the castle!");
                c.nextChat = 22;
            break;
    	    case 22:
                sendNpcChat1("Help! Help!");
                c.nextChat = -1;
            break;


    "A fail act is something you do regular, but a dumb act is something you can learn from"
    Spoiler for Problem?:
    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. Dialogue Errors
    By Anonymous in forum Help
    Replies: 1
    Last Post: 06-14-2011, 08:37 AM
  2. Replies: 1
    Last Post: 05-04-2011, 11:26 PM
  3. Why doesn't this dialogue work?
    By cwg452003 in forum Help
    Replies: 0
    Last Post: 09-17-2009, 05:25 PM
  4. [508]npc dialogue 2 errors[508]
    By ghostrevan in forum Help
    Replies: 2
    Last Post: 08-10-2009, 02:13 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
  •