Top Mud Sites Forum Return to TopMudSites.com
Go Back   Top Mud Sites Forum > Mud Development and Administration > Advanced MUD Concepts
Click here to Register

Reply
 
Thread Tools
Old 11-01-2012, 10:27 PM   #21
Achon
Member
 
Join Date: Oct 2011
Posts: 40
Achon is on a distinguished road
Re: Advanced AI in MUDs

GW2: That's very interesting.

Some of the most impressive (if impractical) "AI" implementations I've ever
witnessed, aside from the highly inaccessible IBM technologies, was from some
of those chat-type bots. I'm not sure if anything similar has ever been
implemented in a MUD before. Maybe something like this could be useful for
NPCs that assign quests or give out information, answer help questions, etc.

Though, even the better chat bots seem to occasionally respond with something
unusual or downright bizarre, perhaps they've improved some. Or maybe
responses could be fine tuned to be a bit more relevant and useful.
Achon is offline   Reply With Quote
Old 11-02-2012, 07:23 AM   #22
SlothMUD
New Member
 
Join Date: Mar 2006
Posts: 14
SlothMUD is on a distinguished road
Re: Advanced AI in MUDs

We added something similar to a chat-box a few years ago. There are still some odd conflicts it has with other mob procs, as can be seen from Kavir's response in the following thread but here is a breakdown of it:




We are extremely excited to officially announce phase one of our talking mob code. This code will make mobs respond to players using say, tell, and ask to make statements and questions in plain English. It works like this:

1. A player says something aloud in presence of a mob
usually in the form of a greeting, such as "Hi <mobname>" or "Hey <mobname"
2. The mob decides if it's being addressed
3. If yes, the mob translates what the player says to one of a long list of possible things a player might say, like "how are you?" or "where is <person>?".
4. Custom code generates the best response . Each question has many logical responses, such as "East", "Never heard of him" or "That's you."
5. Grammar generator creates a unique phrasing, so the mob might actually say "I think he lives to the east of here." or "I heard he was off to the east." It's quite possible to ask the very same question ten times in a row and get ten different answers.


We have put in some careful checking so that the mob can decide whether you are talking to it or to someone else, so it shouldn't butt into conversations between players.


The greatest aspect of this code is that the majority of the information that can be garnered from talking to mobs can be directly used inside of SlothMUD. Currently, new players to our game will get the most out of this feature but we are busy adding information that our veteran players will be able to use as well. We believe a few shining examples of the usefulness of this can be found in everyday questions that our players hear on gossip, such as “where can I get some water?”, or “can I get some food around here?”, or "where can I rent?". These questions can now be asked to creatures throughout the game and they will helpfully point the way, sometimes even giving you exact directions to the very location you need to travel! **** off the wrong creatures with meaningless gibberish and you are likely to be killed!


This feature has been tied to our history database which tracks every mob and player’s movement throughout the game so questions such as “Have you seen Splork?” could possibly generate responses such as “He left a few minutes ago.” Or “He was just here a second ago.”

All said in done, this code can probably answer in the upwards of one thousand game related questions currently and we are expanding it every few weeks. One nice aspect of the code is that when speaking with a mob, a player can verse a question or statement in a variety of ways and the creature will normally gather the correct information and help direct the player correctly. An example of this would be a player mentioning that they are hungry or asking where they can buy food, the creature will get the basic idea of the question and direct the player accordingly.

This project has been in the works for nearly four years, with the initial emails regarding the topic originating on May 9th, 2006. Kjartan spearheaded the idea behind and developed the engine for which it runs on. The project consists of two separate but equally important parts: the code and the grammar files the code calls upon. This project involved a great deal of Immortal involvement but most notably besides Kjartan were Clink and Juggleblood on grammar, and Splork and Isabo with the code.



We have thoroughly tested this feature and it has been on the live machine for nearly three months now, though not widely announced. However, with any project of this magnitude, we do realize there will be some kinks to iron out. Please add any bugs that you may find to the bugs list and we will address them as quickly as possible. Hopefully, you will find this feature as interesting as we do.

An example of a brief conversation:
You say 'hi mayor'

The mayor of Lyme says 'It is a joy to see you.'

You say 'how are you today?'

The mayor of Lyme says 'I feel tired and all used up.'

You say 'im sorry to hear that'
You say 'do you know where the mage guild is?'

The mayor of Lyme says 'From here you walk south til you come to Statue.'
The mayor of Lyme says 'After that you go due east until you reach Entrance to Pleasure Gardens.'
The mayor of Lyme says 'And then go a short way north to High Street.'
The mayor of Lyme says 'Then head a smidge east to Guild of Mages.'

You say 'thank you'

The mayor of Lyme says 'Glad to help.'

You say 'im hungry'

The mayor of Lyme says 'You may obtain food nearby.'
The mayor of Lyme says 'First you go south til you come to Statue.'
The mayor of Lyme says 'After that you go east until you get to Entrance to Pleasure Gardens.'
The mayor of Lyme says 'Go north til High Street.'
The mayor of Lyme says 'That's the second such place.'
The mayor of Lyme says 'Finally, head a short distance west to Provisioner.'

You say 'bye mayor'

The mayor of Lyme says 'May the gods smile upon you.'

Enjoy,
Splork





The project was a huge undertaking and took the majority of our staff to help in one aspect or another. Here is phase 1 website which shows the basic path we chose to accomplish it from 2006, we have since moved the project to our Immortal website and have hundreds of questions coded, of course they can sit there and chat regarding nothing also:



Each question has a responding grammar file and a custom coded function. Some functions, such as those which require directions could be used to answer more than one question, such as " where can I find the warrior guild?" or "where can I find water?".

It is not perfect buts something we have never seen before on a MUD, especially since it can be used for specific things inside our our game.
SlothMUD is offline   Reply With Quote
Old 11-02-2012, 08:19 AM   #23
Will
Member
 
Join Date: Aug 2007
Posts: 90
Will is on a distinguished road
Re: Advanced AI in MUDs

That sounds extremely cool, especially from a developer's perspective.
Will is offline   Reply With Quote
Old 11-03-2012, 05:55 AM   #24
jeremystratton
New Member
 
Join Date: Jul 2012
Posts: 7
jeremystratton is on a distinguished road
Re: Advanced AI in MUDs

Good lord and butter, this sounds amazing! Amazing!!!

Is this a closely guarded secret? It sounds like you poured a lot of sweat and tears over many years on this. I couldn't blame you for. I just have to ask, though; Would you be willing to offer/talk/help me implement something like this?

I'm trying to develop a highly literary MUD. Right now, I've been solidifying plans. One aspect is that I'll be making heavy use of dynamic room-descriptions. Anything that that makes the world feel more organic is a plus in my book.
jeremystratton is offline   Reply With Quote
Old 11-18-2012, 03:49 PM   #25
koteko
New Member
 
Join Date: Mar 2012
Posts: 20
koteko is on a distinguished road
Re: Advanced AI in MUDs

I have mixed feelings about this. On one hand, I'd love to put some serious AI into my MUD. My studies are about bio-inspired artificial intelligence which could be funnily applicable in an open-ended MUD like I would like to implement. On the other hand, I'm doubtful on how much this would add to the game experience of the players who want to have fun, not to live in a world simulations, most of the time.

I'll go with one example. One of the few active MUDs in Italy is, actually, a sort of big medieval/low-fantasy life simulations with well written background and tons of complex quests but, also, a quite realistic "life" (combat included) mechanics (just to say that doing the doctor is a very challenging (and remunerative) profession). No, you don't need to pee nor do mobs, but you need to drink and eat properly to not become obese and you need to provide food for your horses and dogs, if you managed to domesticate one, when you close them in a room. Otherwise they will die.

One of the things that I love there is about the popping of mobs. Let's imagine that a certain, just-invented forest, called The Forest of Wolves, is full of very dangerous wolves. The people that go there very rarely come back alive.

At a certain point, the boss of the Hunters Guild decides to go with all of his hunters, make tents and with traps and many, many days of killing, wants to eradicate the wolves for good. The mobs do not exist as fixed entities but "pop" as in normal MUDs, just that they pop according to a certain probability.

Continued, consistent killing of a particular type of mob can reduce its probability to pop, eventually simulating an extinction (probability 0). This can also happen by consuming natural resources, like gold mines or flowers for potions or particular trees.

Now, that's a very smart system that allows the players to shape the world according to their own actions (a zone that is never "conquered" continuously may see the increasing probabilities of very dangerous mobs, thus making it an even less safe place).

What I would like to do instead is something even more "crazy", and in a certain sense even simpler: give the different kind of Mobs a (somewhat) complex AI and a simplified genetic system and let them organize freely, to see how the mobs end up shaping themselves upon the "pressures" of the players.

Now what I'm really asking myself is: is this really needed? Would any player find pleasure in this? In the italian MUD I was talking about, nobody seemed to care about that (the "probability" one) amazing feature. Much like the Half-life example silvarilon wrote about.

I think, to go back to the OP question, that many MUD owners just don't care; many, also, end up answering to the question I'm asking myself with "No, it is not really needed" and they discard that complex system. Some, eventually, decide to try. Let's see if I'll be one of them ^^

Last edited by koteko : 11-21-2012 at 03:45 AM.
koteko is offline   Reply With Quote
Old 11-20-2012, 10:37 AM   #26
Newworlds
Legend
 
Join Date: Aug 2007
Name: NewWorlds
Home MUD: New Worlds
Posts: 1,425
Newworlds will become famous soon enoughNewworlds will become famous soon enough
Re: Advanced AI in MUDs

I like your ideas of bio-inspired AI, but I'll go back to my original post. Spend your time on things that would enhance the player experience globally not just with a few super AI's. Find out what your player base wants. For Ateraan it is player interaction and things that can assist in that. With 100's of players, I want good roleplayers that will always be far better than the most defined and robust NPC.
Newworlds is offline   Reply With Quote
Reply


Thread Tools


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

All times are GMT -4. The time now is 04:40 AM.


Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Style based on a design by Essilor
Copyright Top Mud Sites.com 2022