Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
JerleMin
Novice


Joined: 17 Oct 2000
Posts: 38

PostPosted: Sat Aug 31, 2002 2:07 am   

Asking for design assistance
 
Hello all.. Atm I am working on building a quest bot on a MUD I play. Right now I'm still in the design stage, but I've got a basic idea of how I want to do it. First off a lil bit of background

The Quest system on LoC(the mud I play) is fairly simple. You gain the quest from the questmaster, and are assigned a task to kill 5 mobs and locate 1 item. The item can either be locateable(via a spell) down to the room it's in(room name anyways), or it can be only traceable to a general area. Also, there are a number of mobs that share the same short-string, the only differences being in ansi colourcoding. Players in this mud are able to teleport themselves around at will, given that they're teleporting to a mob. Certain mobs are flagged "noteleport", in that we cannot travel directly to them.

Basically I'm planning on making entries into a db for each mob, a one time thing. From there I need to setup triggers to pull the appropriate record, and get the correct way to move to the mob and kill it. Also I will establish set search paths through each area, to comb through the area and find the item) All fine and dandy, but I face two problems:

1) How can I deal with multiple mobs of the same short-string, such as WILD BOAR(purple) and WILD BOAR(red/orange)
2) How can I establish a given way to select the appropriate search path for a given item?

Sample Output:


You may find the Wand of the Sun God, Mephisto within the whereabouts of the area: Hell
You have been charged by Volcano Questmaster to complete the following quest
* Find and return the Wand of the Sun God, Mephisto.
* Find and slay Wild Boar.
* Find and slay a Forest Drake.
* Find and slay a Fungal Bloom.
* Find and slay An evil owl.
* Find and slay Drow Guard.


Jerle Minara,
zMUD 6.34
Win 2k Advanced Server
Reply with quote
Apollyon
Wanderer


Joined: 02 Oct 2001
Posts: 76
Location: USA

PostPosted: Sat Aug 31, 2002 3:58 am   
 
if the mobs and items come up often, like if you quest ALOT why not just make a quest class in your triggers that do off what you get from the guy so when you see:
* Find and slay Wild Boar.
your trigger would be like
#trigger {^ * Find and slay Wild Boar.} {dirs/actions to get the the board;kill boar} {quest}
there is a way to trigger off different colors, i have sen it in alot of posts, but i dont remember how to do it, i know that Kjata or LightBulb knows, they seem to know everything, and hopefully theyll see this...and help us out

--------------------------------------------------

"They tell Soze they want his territory - all his business. Soze looks over the faces of his family... Then he showed these men of will what will really was."
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net