On Mon, 28 Jul 1997, Stephen Arnold wrote:
> Greetings All.
>
> I am trying to get Save_Rooms in my MUD (am getting so sick of
> that quit/recall thing). Anyways, How do I get the virtual number of the
> room? ch->in_room returns the rnum of the room the player is in, but
> char_to_room and load_room all use vnums, How do I convert? And has
> anybody made roomsaving, and done it easily? Right now I got some crazy
> stuff and I think I may be doing more work then what should be done. Can
> anyone send a template for how they did it? Appreciated.
> Nitelite
I haven't done it yet, but to get the room number char is standing in do:
world[ch->in_room].number
=--=--=--=--=--=--=--=--=--=--=
I have done so much,
with so little, James C. Thomas Jr.
for so long, Rasdan
That I can do anything Head Coder of Finality!
with nothing.
=--=--=--=--=--=--=--=--=--=--=
Finality is based upon CircleMUD 3.0, check us out:
finality.mudservices.com 5555
+------------------------------------------------------------+
| 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