Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ VBscript ➜ Auto-Questing for godwars.

Auto-Questing for godwars.

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by LutherVictus   (2 posts)  Bio
Date Tue 27 Jun 2006 11:14 AM (UTC)
Message
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.
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #1 on Tue 27 Jun 2006 01:07 PM (UTC)
Message
Seems to be somewhat against the intention of the system, to me.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by LutherVictus   (2 posts)  Bio
Date Reply #2 on Tue 27 Jun 2006 02:00 PM (UTC)
Message
Well the mud owner himself suggested I come here looking for a script, so I dont think he would mind if I used it.
Top

Posted by NeoFryBoy   USA  (42 posts)  Bio
Date Reply #3 on Sun 02 Jul 2006 02:36 AM (UTC)
Message
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.
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


15,758 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.