Re: Coding: Char's VNUM

From: Erik & Tanya Niese-Petersen (Tenp@CRIS.COM)
Date: 09/28/97


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...

world[ch->in_room].number

Try look in db.c and see how the world files are loaded. Helps alot to
understand it.

Help it helps fellow cris.com member :)

Erik Niese-Petersen
AKA Quint the Typo Dane
StrangeMUD Coder: strangemud.org 9332


     +------------------------------------------------------------+
     | 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