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 ➜ SMAUG ➜ SMAUG coding ➜ back from the dead - looking for a fast travel code

back from the dead - looking for a fast travel code

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


Posted by Joeyfogas   (41 posts)  Bio
Date Mon 12 Mar 2018 06:27 PM (UTC)
Message
years ago I played on a MUD that had a feature called "runewalk"

In the city squares were pillars... and you could type "rw add" and it would add that destination to your fast travel options.

You could see your list by typing "rw list"

(displayed as such)

1. Arabel Square
2. The Mountain Square

and you could travel to these locations by typing "rw touch #"


Has anyone seen this code? or a codebase that has it so that I may rip it?
Top

Posted by Kursh   (10 posts)  Bio
Date Reply #1 on Wed 14 Mar 2018 09:30 PM (UTC)
Message
I have nothing like this sorry..

The program logic could be:
- Create a Flag for the room or the pillar you want to touch (in order to mark that you can rw add that thing)
- Manage in the do_rw_add action a procedure to write in your pfile the vnums that you have added
- Add a do_rw_list command that reads the pfiles and outputs a list
- Add a do_rw_touch args command in order to transfer your character to a vnum if you have that vnum in your pfile.

Sorry but I don't have time to write the code right now, but I hope that this helped.
Top

Posted by Joeyfogas   (41 posts)  Bio
Date Reply #2 on Sat 17 Mar 2018 08:30 PM (UTC)
Message
thank you :)

I should be able to come up with something using that logic :)
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.


12,493 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.