Thread: Npc dialogues

Results 1 to 5 of 5
  1. #1 Npc dialogues 
    Registered Member

    Join Date
    Jun 2016
    Posts
    454
    Thanks given
    186
    Thanks received
    132
    Rep Power
    231
    This is a list of npc dialogues dumped with a OpenOSRS plugin written by Cjay has a majority of major cities apart from various locations locked behind quests/skills (I'll be updating this thread as I go) I skipped various npcs such as men/women and bankers as they share the same dialogues

    Spoiler for How it works:
    Code:
    the way that the dumper works is it makes a tree structure
    and you iterate it with bfs, collecting the option's "parent" node
    and then you lay them all flat, and that's how you get cyclic dialogues
    you pick out the best dialogues (the ones with most children) if they're non unique
    I chose bfs because most options are like
    
    "Hi"-> {How are you, What are you doing, I hate cake}
    
    and it could execute this way for example when you click on the "How are you option":
    
    "How are you" -> "I am good" -> {What are you doing, I hate cake}
    
    so now you have those two from the top of the BFS graph
    and once you go through them, you can prune anything that doesn't have the highest number of children


    Spoiler for Example:
    Code:
    {
      "npc": 1633,
      "animation": -1,
      "name": "Banker",
      "neighbors": [
        {
          "npc": 1633,
          "animation": 554,
          "text": "Good day, how may I help you?",
          "name": "Banker"
        },
        {
          "text": "Select an Option",
          "neighbors": [
            {
              "animation": 554,
              "text": "What is this place?"
            },
            {
              "npc": 1633,
              "animation": 568,
              "text": "This is a branch of the Bank of Gielinor. We have branches in many towns.",
              "name": "Banker"
            },
            {
              "animation": 554,
              "text": "And what do you do?"
            },
            {
              "npc": 1633,
              "animation": 569,
              "text": "We will look after your items and money for you. Leave your valuables with us if you want to keep them safe.",
              "name": "Banker"
            }
          ],
          "options": [
            {
              "child": {},
              "message": "I'd like to access my bank account, please."
            },
            {
              "child": {},
              "message": "I'd like to check my PIN settings."
            },
            {
              "child": {},
              "message": "I'd like to collect items."
            },
            {
              "child": {},
              "message": "What is this place?"
            }
          ]
        }
      ]
    }


    [Only registered and activated users can see links. ]

    Spoiler for Plugin:
    To use the plugin you will need to use the OpenOSRS client and place the .jar file C;/users/you/.runelite/externalmanager
    [Only registered and activated users can see links. ]



    Spoiler for Credits:
    Cjay for the plugin
    Reply With Quote  
     

  2. Thankful users:


  3. #2  
    Registered Member React's Avatar
    Join Date
    Jun 2012
    Age
    28
    Posts
    3
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Awesome tool
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  4. #3  
    Super Donator

    Chivvon's Avatar
    Join Date
    May 2016
    Posts
    455
    Thanks given
    58
    Thanks received
    111
    Rep Power
    174
    Thanks for the release, keep it up
    Reply With Quote  
     

  5. #4  
    Ⱨ₳Ɽ₳₥ ₳₴ ₣Ʉ₵₭

    A Furry's Avatar
    Join Date
    Sep 2014
    Age
    23
    Posts
    2,766
    Thanks given
    2,070
    Thanks received
    1,913
    Rep Power
    5000
    Pretty cool




    Spoiler for Not a furry:


    ayy lmao

    Reply With Quote  
     

  6. #5  
    WVWVWVWVWVWVWVW

    _jordan's Avatar
    Join Date
    Nov 2012
    Age
    23
    Posts
    2,837
    Thanks given
    57
    Thanks received
    1,485
    Rep Power
    5000
    Keep it up

    Spoiler for signature:
    When your vision is crystal clear, they say it's razor-sharp
    A focused mind is said to be like a knife, but the scalpel is wisdom
    All one can do is accept that life is a double-edged sword
    Stay on the edge

    -



    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. NPC dialogues
    By Laxika in forum Configuration
    Replies: 6
    Last Post: 06-23-2010, 03:02 PM
  2. Npc dialogue + features
    By delta11 in forum Tutorials
    Replies: 22
    Last Post: 06-05-2008, 08:34 AM
  3. NPC dialogue (my way)
    By Zahhak in forum Tutorials
    Replies: 0
    Last Post: 04-01-2008, 03:16 PM
  4. Replies: 1
    Last Post: 03-05-2008, 12:47 AM
  5. NPC Dialogue emotes
    By Scu11 in forum Configuration
    Replies: 11
    Last Post: 02-17-2008, 01:31 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
  •