MUD-Dev
mailing list archive
[ Other Periods
| Other mailing lists
| Search
]
Date:
[ Previous
| Next
]
Thread:
[ Previous
| Next
]
Index:
[ Author
| Date
| Thread
]
Re: [MUD-Dev] Autogenerating maps from muds using cardinal directions for exits?
J C Lawrence wrote:
>
> In a long prior life I hacked a tool to build maps from telnet game
> logs. The algorithm was simple:
>
> 1) Pull out all command lines which contain a directional command
> (U/D/N/NE/E/SE/S/SW/W/NW) and the next line of output (the room
> desciption of the room moved to).
>
> 2) Trim out all error/"You can't do that" entries.
I will be working from my world database, and so can make complex, and
arbitrarily correct assumptions about the exits et al. I can also
do things like stop at zone boundaries and so on...
> 4) Build a graph of nodes representing thr trimmed log (just walk
> down the log, adding nodes as new locations are found).
Care to elaborate on that part?
> 5) In the case that a reverse direction not being symmetric,
> branch (I then fixed such by hand later).
Yep, I'll probably be able to read in some kind of script that has commands
for specific rooms/exits that I want to behave in non-standard ways....
>
> 5) Print.
Was this ASCII, or something more advanced? I know very little about
graphics programming, could it be programatically similar to writing to
a Canvas provided by normal GUI libraries??
> --
> J C Lawrence Home: claw#kanga,nu
> ---------(*) Linux/IA64 - Work: claw#varesearch,com
--
Ben Greear (greear#cyberhighway,net) http://www.primenet.com/~greear
Author of ScryMUD: mud.primenet.com 4444 (Released under GPL)
http://www.primenet.com/~greear/ScryMUD/scry.html
_______________________________________________
MUD-Dev maillist - MUD-Dev#kanga,nu
http://www.kanga.nu/lists/listinfo/mud-dev
- Thread context:
- [MUD-Dev] Autogenerating maps from muds using cardinal directions for exits?,
Ben Greear greear#cyberhighway,net, Sat 08 May 1999, 05:07 GMT
- [MUD-Dev] Discussion of large server IO handling desing,
J C Lawrence claw#varesearch,com, Sat 08 May 1999, 04:25 GMT
- [MUD-Dev] Virtual Property,
J C Lawrence claw#varesearch,com, Thu 06 May 1999, 15:24 GMT
[ Other Periods
| Other mailing lists
| Search
]