Load Rooms.

From: Michael A. Clubine (maclubin@adala.smith.cis.syr.edu)
Date: 05/02/96


Two questions about this. (Which was posted a while back.)

1.  Can you do a quick check in there, something like 
    if GET_LEVEL(ch) <= 20
    set the saved room to 3001 by default?

2.  How would this affect loadrooms for people with for example houses?

Thanx for your help, this should be an easy one to answer.

Monroe


   ._ o  
  /  //\.  Michael A. Clubine   (maclubin@syr.edu)
 '  \>> |    E t e r n a l     (smith.syr.edu 4000)
     \\ ' http://web.syr.edu/~maclubin/eternal.html

---------- Forwarded message ----------
Date: Wed, 10 Apr 1996 18:42:07 -0400
From: BryanRoach@aol.com
To: CSOSBE@iukspock.iuk.indiana.edu, circle@pvv.unit.no
Subject: Re: Stumped

Chris, 

This is for bpl9 and bpl10. Brian - I'm emailing you directly about fixing
this in bpl8.,

If you want players to save their localtion when they quit, you need to
change the 4
save_char(ch, NOWHERE) calls in nanny() (Interpreter.c) to...

save_char(ch, real_room(GET_LOADROOM(ch)));

then in do_quit (act.other.c) you need to add the line 
save_char(ch, save_room);
Right after extract_char is called (Yes, it does say the character is saved
in extract_char there... and it is, except it's saved in location NOWHERE)

This will work for bpl9 and bpl10. 

- Brian



This archive was generated by hypermail 2b30 : 12/18/00 PST