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 ➜ General ➜ Campaign Script?

Campaign Script?

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


Posted by Wolfturn   (3 posts)  Bio
Date Thu 15 Jan 2009 03:04 PM (UTC)
Message
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
Top

Posted by Worstje   Netherlands  (899 posts)  Bio
Date Reply #1 on Thu 15 Jan 2009 09:45 PM (UTC)
Message
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.
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #2 on Fri 16 Jan 2009 04:20 AM (UTC)
Message
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.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Wolfturn   (3 posts)  Bio
Date Reply #3 on Fri 16 Jan 2009 01:31 PM (UTC)
Message
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?
Top

Posted by Wolfturn   (3 posts)  Bio
Date Reply #4 on Fri 16 Jan 2009 01:33 PM (UTC)
Message
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.
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #5 on Sat 17 Jan 2009 08:27 PM (UTC)
Message
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.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
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.


13,761 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.