Re: [Circle] All 25's stats

From: Daniel Koepke (dkoepke@california.com)
Date: 11/28/96


On Thu, 28 Nov 1996, Brian Guilbault wrote:

> Hi All-
> 
> Currently if a player disconnects before rolling stats in my mud, then 
> reconnects, they have all 25's. I tried setting them all to 1 right after 
> the password is confirmed, but that didn't fix it. Anyone else have this 
> problem and/or any ideas on fixes? 

The init_char() function does this. Your reroll code should call
init_char() first, then do the reroll, and then call save_char().
In that manner, if they disconnect before they choose stats, they
aren't saved. Also make sure you remove the 'do_start()' in CON_MENU
case '1', otherwise the player's stats will differ from what they
roll.


--
Daniel Koepke
dkoepke@california.com
Forgive me father, for I am sin.


+-----------------------------------------------------------+
| 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