I'm implementing tracking code to my ROM2.4b6 MUD, from scratch (not installing someone else's). What I am going to be doing is having a TRACK_DATA struct to keep track of the age of the tracks, the direction tracks go to/come from, and 2 other fields, depending on what ends up being most efficient. Anyway, my question IS about efficiency. Would it be better to hold a TRACK_DATA struct in each CHAR_DATA, in each EXIT_DATA (my original plan), or in each ROOM_INDEX_DATA? If I did it in the EXIT_DATA, there'd be an awful lot of memory usage. Would it be best to have each individual player store his/her own tracks?

In case you're unsure of what "tracking" is, it's simple (in theory). A player walks around, and leaves tracks on the ground. Skilled players may locate these tracks to manually follow a player. This would mainly be used to hunt down people you want to kill, harass, or whatever.

Any suggestions?
Thanks in advance!

--Daniel, the not-quite-so-l33t-coder-who-really-does-try-though.


Reply via email to