Re: [Circle] save_char (fwd)

From: Yoink! (xombi@accessus.net)
Date: 11/12/96


On Sat, 9 Nov 1996, M.A.Clubine wrote:

> Ok, this is a question that I have gone over quit a few times and I can't 
> seem to figure out.  In my mud when you type quit it takes you to the 
> menu.  If you type 0 it disconnects you.  If you then reconnect and login 
> it will load you where you left.  If you type 1 instead of 0, it will 
> take you to where you last loaded, instead of where you quit.

> I am calling save_char in do_quit before it closes the connection, so I 
> dug through the do_quit quit code and tried to add a 

> after save_char, but shouldn't it be doing that in save_char anyways?
> This is what I was able to dig out of the save_char function.

[code snipped]

> I dont understand why it works if you close the connection all together, 
> but not if you relogin.  Anyone have any suggestions on this one?
>  GET_LOADROOM(ch) = ((ch)->in_room);

This is indeed a problem, and it's not a modification to the mud you've
made like auto-eq and stuff.  As a matter of fact, you get the errors
on a stock circle30bpl11.  When i get this figured out I'll pass the
solution along.

BTW, is this a problem for Linux boxes only? Can somebody recreate this
problem under Win95?

 __      __ 
 \ \\   / //                "If I were a dinosaur, I'd be a licalottapus!"
  \ \\ / //  _____  __       __ ______  ___       -Jonathan "Jax" Armsterd
   \ \/ //  //   \\ |\\     /|| ||   \\ | ||   
    >  <<  ||     ||||\\   //|| |----<< | ||         Hard to believe,
   / /\ \\ ||     |||| \\ // || ||    \\| ||        Harder to killfile!
  / // \ \\ \\___//_||  \//  ||_||____//|_||
 /_//   \_\\       In God We Trust. All others pay cash.

+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+



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