Re: Surname Question

From: Sean Daley (sdaley@BBNPLANET.COM)
Date: 08/17/98

Ok, don't have too much to go on here, but do you actually
store the persons surname anywhere?  That is, modified the
store_to_char and char_to_store functions in db.c to handle
the new addition?  Plus on the subject of the null crap, if
they don't get a surname, what do you store as their surname?
If you set it to null then well that's where the null is coming
from.  You'd gave to put a check in your who code or something
to see if it's null and not print it out if it is.  Given that
there's no code here though, this is all just a guess.


At 08:53 PM 08/17/1998 -0500, you wrote:
>Ok, this is strange, I've added a last name selection to my mud, a player
>will be asked after chosing their name if they want a last name or not, if
>they chose no, then they skip that part, but if they chose yes then they
>go on to select a surname.  Once that personal has created and they enter
>the game it comes up like this [1 War - Dem][The Triad] tester bester
>                                ^ ^     ^        ^       ^      ^
>                              lvl class race    clan     name   surname
>but when someones saves and quits out, and comes back in it becomes
>[1 War - Dem][The Triad] tester (null)
>and it also does the null crap if they didn't chose a surname, any ideas why
>1. its not saving when they quit out
>2. it shows up as (null) if they don't chose one.

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | |

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