I'm crashing everytime I type slist all, it's the only command that
crashs..... And GDB isn't making much sence to me. Maybe it makes sence to
one of you guys so here it is tell me if you see anything:
(gdb) break do_slist
Breakpoint 1 at 0x809a72e: file act_wiz.cc, line 12006.
(gdb) continue
Continuing.
Breakpoint 1, do_slist (ch=0x40ef6d2c, argument=0x40ecfe7b "all")
at act_wiz.cc:12006
12006 bool spfound = FALSE, skfound = FALSE;
(gdb) n
Program received signal SIGSEGV, Segmentation fault.
do_slist (ch=0x40ef6d2c, argument=0x40ecfe7b "all") at act_wiz.cc:12006
12006 bool spfound = FALSE, skfound = FALSE;
(gdb) list
12001 char sk_list[MAX_LEVEL+1][MAX_STRING_LENGTH*2];
12002 char sp_list[MAX_LEVEL+1][MAX_STRING_LENGTH*2];
12003 char skill_columns[MAX_LEVEL+1];
12004 char spell_columns[MAX_LEVEL+1];
12005 int sn,lev,Class;
12006 bool spfound = FALSE, skfound = FALSE;
12007 char output[4*MAX_STRING_LENGTH];
12008 char buf[MAX_STRING_LENGTH];
12009 char arg[MAX_INPUT_LENGTH];
12010 int search = 3; // all
(gdb) quit
That make any sence to anyone else? Thats the top of the function where it's
setting up the varaibles (if you were guessing)