As of this moment, I haven't touched any of the circlemud player equipment saving code. The concept of MUD item rental is kind of foreign to me. All I want my MUD to do is allow players to log in with their equipment and inventory exactly the way it was when they logged out without having to have them "rent" or do anything.
I've looked at the functions in objsave.c and I'm trying to see what I can use for my purposes. Where should I begin?
check your do_quit function that should be in act.other.c. There should be something along the lines of.. if (free_rent) Crash_rentsave(ch, 0); You should be able to follow it from there through objsave.c to see whats going on.
I would personally recommend the latest tbaMUD release instead of circleMUD-3.1. tbaMUD is essentially the continuation of circleMUD, is more stable and is actively developed. You can get it from here.
Strange. Even if I call Crash_save() unconditionally on a character, it won't save anything. I'm having trouble understanding just how the rent system saves a PC's stuff then loads it back. Anyone have a hint to give before I have to read all of objsave.c? :(