Auto-Questing for godwars.

Posted by LutherVictus on Tue 27 Jun 2006 11:14 AM — 4 posts, 19,731 views.

#0
The quest system works like this: You use a spell to create a quest card. you type: complete card

complete card
You still need to find the following:
the sword Excalibur.
a coil of rope.
a morris staff.
a golden harp.

It shows you random items that you need to aquire. I would like to do this automatically. I have a list already put out for all of the items.

You then complete card rope to finish off that item:

complete card rope
You touch a coil of rope to a quest card, and a coil of rope vanishes!
A quest card now requires three more objects!

It tells you how many more you need, and the process starts over. Once you finish off all of the items:

complete card harp
You touch a golden harp to a quest card, and a golden harp vanishes!
A quest card has been completed!

You go to the quest machine, and recharge it, thus recieving your reward:

The Dark Crypt
[Exits: up]
You are standing within a small dark crypt.
A small machine sits on the floor.

recharge card machine
You place a quest card into a small slot in the quest-making machine.
The quest-making machine makes a few clicks and returns a quest card.
You take a 300 point quest token from the quest-making machine.

At that point the process starts over.

If someone could make a script that automatically does this, through a number of triggers that contain the directions to the objects, itd be great.
USA #1
Seems to be somewhat against the intention of the system, to me.
#2
Well the mud owner himself suggested I come here looking for a script, so I dont think he would mind if I used it.
USA #3
Well, the person would need to see exact lines as they're sent to the user. Since you posted it in VBscript I'm assuming you have some knowledge of the language. It wouldn't be hard to say setup an alias to start the process, then activate a trigger which captures the items you need, and send them through a script that searches through the file you have set aside, which is setup to look something like:

sword Excalibur,run 5w;kill mob
coil of rope,run 23d;kill mob
morris staff,run 5wudn;kill mob
golden harp,run 5w;kill mob

and pulls each line out then checks the beginning part (split function would separate the commas nicely) with the second part and wraps it all into a variable.

world.setvariable "ItemList", "run 5w;kill mob|
run 23d;kill mob|run 5wudn;kill mob"

world.setvariable "ItemName", "sword Excalibur|coil of rope|morris staff"

Then everytime you type the second alias comq it sends it all to the mud.
world.send ItemList(0)
world.send "complete card " & ItemName(0)


It wouldn't be hard to setup, just take time to put together.