Traits/Personalized

Posted by Arturo on Mon 27 Sep 2004 09:56 PM — 4 posts, 18,233 views.

#0
ok, Ive been trying to add charracter traits.
Hair color, eye color, wiehgt hieght. All that good stuff.
Ive tried frou of five diffrent snippets for it, but for each one that did go in sucesfully its acts all sorts of messed up.
When a charracter gets disconnected, or logs out. A Abort (core dump) occurs. And I can't for the life of me, figure out why. Any ideas ou there?
USA #1
Debug the core, whats the backtrace? Need that to start.
Canada #2
Sounds to me that if its crashing when someone disconnects, that you may be incorrectly freeing an allocated string during free_char. The strings may have been STRALLOC'ed and then DISPOSE'ed, or str_dup'ed and then STRFREE. Check where the strings are allocated, and make sure your matching STRALLOC with STRFREE and str_dup with DISPOSE.
#3
Groovy. I got it.