Campaign Script?

Posted by Wolfturn on Thu 15 Jan 2009 03:04 PM — 6 posts, 18,682 views.

#0
I've been looking for a Script that will take me to the exact room of the mob of my choice. I know that this has to be out there somewhere, even though everyone tells me its a Big project. Is there anyone who either has this or would make it?

Example of what i want to be able to do

Type into MUD: @Runto (mobname) in (general area)

Then, it runs me to the exact room that the mobname is in, in that general area.

I type Kill (mobname), and then i'm done :P

Is this even possible with MUSH? i hear that MUSH can't do this, and that only Zmud can do it. If that is so, should i switch to Z?

Wolf
Netherlands #1
Yes, it can be done.

No, it probably is not simple. You'd have to go through a fair bit of effort.

You'll either have to write your own mapper (to keep track of your location) and put a map into it, or find some premade solution. Maybe MUSHclient can interface with zMapper from Zmuds creator, but it never really interested me so I wouldn't know.
Australia Forum Administrator #2
MUSHclient can do it, however it may take work. If someone has written a zMUD script, no doubt it can be adapted to MUSHclient, however it may be a big job.

Basically you need to ask yourself "how would I do it without a special client?".

In other words, given the mob name, how do you find it anyway? Do you type "locate <mob>"? If so, does it tell you exactly where it is (eg. 3n 4e s) or, "the mob is west of you"? Or does it give a room name?

Depending on the answer to that, your script would need to automate whatever you would normally do manually.
#3
Oooh, ok cool. I just have one more problem.

When i ask for the campaign (this is Aardwolf btw)
it gives me a list of mobs like this


Mob#1(area)
Mob#2(area)

So is there a way to auto-run to area, then locate the actual mob and run to it all in 1 shot?
#4
Oh, and 1 more thing, does anyone know how to make it possible for MUSHclient to work with Zmapper? With a database that Zmapper has, you could easily locate every mob that you need to. Or would i have to make my own Database, and if so, how the heck would i start making that lol.
Australia Forum Administrator #5
I have never attempted to interface with zMapper. I believe it uses a database, I don't know the format. Maybe someone else does.

It is hard to totally automate all of that. In Aardwolf there is already a "runto <area>" command built in, so that part is easy enough. Then you have to find the room, and fight your way there. Some automated system will probably fail as you will get into a battle half-way along, so it would need to handle that and then recover afterwards.

Also, this is starting to sound like a bot, which could get you banned, so I would be careful if you try to use it.