Talking Mobs!

Use this forum for general discussions

Talking Mobs!

Postby *Splork* » Wed Feb 03, 2010 12:28 am

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?” 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!


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.”



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.

Enjoy,
Splork
Last edited by *Splork* on Wed Feb 03, 2010 10:05 am, edited 1 time in total.
User avatar
*Splork*
Site Admin
 
Posts: 1135
Joined: Tue Apr 29, 2003 8:50 pm
Status: Offline

Postby Tuck » Wed Feb 03, 2010 8:00 am

You tell Elena, Keeper of the Gardens 'who is toxis?'
Elena, Keeper of the Gardens says 'Its an Immortal.'

lol
Tuck
Triple 40 Poster
 
Posts: 323
Joined: Mon Jun 22, 2009 12:06 pm
Location: Planet Earth
Status: Offline

Postby Vixn » Thu Feb 04, 2010 3:43 pm

You gave them the ability to speak,
They vote for Toxis being an immortal!!


P.S. Do you think they could pass Turing test?
Vixn
Triple 40 Poster
 
Posts: 449
Joined: Fri Jan 21, 2005 2:02 am
Status: Offline

Postby Clink » Fri Feb 05, 2010 12:30 am

Pretty sure I wouldn't pass a Turing test.
User avatar
Clink
Greater God
 
Posts: 140
Joined: Fri May 21, 2004 3:29 pm
Status: Offline

Postby *Splork* » Mon Feb 08, 2010 1:10 am

Fixed a couple smaller bugs regarding this topic.

On a side note, this code allows our mobs to answer probably upwards of 1000+ sloth related questions.

For instance, the question "where is" can be used to find a player, creature, room name, guilds, etc.

Anyways, hope you guys are enjoying it and pushing it on the newbies.

Splork
User avatar
*Splork*
Site Admin
 
Posts: 1135
Joined: Tue Apr 29, 2003 8:50 pm
Status: Offline


Return to General Chat (Registered)

Who is online

Users browsing this forum: No registered users and 21 guests