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 ➜ Any takers to review my Snippet?

Any takers to review my Snippet?

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


Pages: 1  2 

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #15 on Thu 18 Oct 2007 04:51 AM (UTC)

Amended on Thu 18 Oct 2007 05:00 AM (UTC) by Zeno

Message
biyg.org port 1801

Sign on and check out help map for the legend.

Actually, ours handles paths as well like you said. I just gave you a huge overview. Players can narrow down the map to whatever diameter they want, and also have it auto-show when walking around.

I believe this is the snippet I used:
http://www.mudmagic.com/codes/dl/1339/map.txt

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Nargsbrood   (54 posts)  Bio
Date Reply #16 on Thu 18 Oct 2007 05:14 AM (UTC)
Message
yours does it on the fly also? was that what you meant by it handles paths like i said?

How do you handle rooms that dont logically make sense? like going east north west and then south. logically you should be in the same room again. I havent set up any routines to handle that sort of confusion. Does yours have any checks in place for correction of that kind of setup?

I am able to plot exit types also by reading exflags. for instance the Door. The plotter can also go through a window and keep plotting but will show that there is no path to get to the other side.

here is a partial key for mine:
Rooms:
O  room
Õ  room with up exit
Q  room with down exit
©  room with another player/npc in it
Terrain:
-  grass
¥  tree
¬  indoor
~  water, lava, swamp / colors differ
¶  exit out of current area
A  mountain
n  hill

exits are self explanatory except that an exit with a brown background means there is a door there.


Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #17 on Thu 18 Oct 2007 05:20 AM (UTC)
Message
Yeah, it's done on the fly. It can be used to move around instead of looking at room names or exit directions.

Our areas are made to make sure they all work logically. There are no rooms that you go north->west->south->east and end up in a different room.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #18 on Thu 18 Oct 2007 07:10 AM (UTC)
Message
Ouch, looks like the code you posted got a lot of italics but in by accident. (It does that when you have something like array[i].)

Is there a way you could upload the code you posted to a single file somewhere so that I can download it more easily in one piece?

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

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

Posted by Nargsbrood   (54 posts)  Bio
Date Reply #19 on Thu 18 Oct 2007 08:03 AM (UTC)
Message
sure-

standard text file found at
http://ss-pb.com/RecMap.txt
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.


60,632 views.

This is page 2, subject is 2 pages long:  [Previous page]  1  2 

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.