Re: Question about save_char() in Crash_load()

From: Peter Ajamian (
Date: 03/17/01

Kras Kresh wrote:
> I am using bpl17 circlemud.
> In objsave.c in the function Crash_load()
> where save_char() is called
> would it be damaging or would it change anything if i moved that down to
> right before the mudlog that checks for hoarders?

Why do you want to do this?  If we understand why then perhaps someone
can give you better advice on how to accomplish what you want.

I can't say for sure exactly why the save_char() is where it is, but it
appears to be there to prevent the possibility that a game crash after
that point would allow the player to have free rent (note that the
save_char() happens immediately after the lines that subtract the rent
from the player's gold).  I would say it's probably best to leave it, but
if you want to add an additional save_char() later on it shouldn't hurt.
Just make sure you test out your changes in case it ends up doing
something unexpected.

> I also have the mud with bpl15.
> Would the same thing apply to this?

Yes, the save_char() part of the function happens at the same place in
bpl15 (for the same reason).

Regards, Peter

   | FAQ: |
   | Archives: |

This archive was generated by hypermail 2b30 : 12/04/01 PST