>
> On Sun, 28 Sep 1997, Aaron Miller wrote:
>
> -+I've been re doing score, and I would like it to display the current vnum
> -+the character is in. So, I've been trying to find the variable that holds
> -+this. I've looked through the few places it might be mentioned in the
> -+code, (olc, mainly) and greped for vnum and found nothing useful.. Does
> -+anyone know what this variable would be? Something like ch->room...
>
> ch->in_room is the *real* number of the room the person is in. The
> virtual number can be got using world[ch->in_room].number. Most of
> the structures concerning such things (and defines) are in structs.h.
> Also, a lot of world stuff is in db.c, and spread throughout the
> act.xxx.c files. To make a suggestion, think, "Where else have I
> seen the virtual number displayed?" Of course, if you turned on
> roomflags as an immortal, you'd see virtual numbers there. So, the
> look code (act.informative.c) might be a good place to look. Or,
> perhaps the stat command. Or even the exits command.
>
Thank you
> Although, it's rather questionable if you really want your players
> to see parts of the game's underlying mechanics like that. Though,
> I suppose it's up to you.
>
Actually, this was displayed to immortals instead of Experience to
level and Gold on Hand
>
> --
> Daniel Koepke -:- dkoepke@california.com -:- [Shadowlord/Nether]
> Think.
>
>
> +------------------------------------------------------------+
> | Ensure that you have read the CircleMUD Mailing List FAQ: |
> | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
> +------------------------------------------------------------+
>
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/08/00 PST