ok, kinda newbie here, so go easy on me..
I implemented Erwin's online Social edit snippet. Managed to go through step
one
with no problems. Added step two, and... won't compile. shows a problem in
social-edit.c
The error it gives is: incompatible types in assignment
and shows that on 4 lines. so I disabled those lines, everything compiles, runs
ok, but won't save socials and shows there are none available.
The 4 lines are:
social->name = fread_string(fp); in void load_social
social_table[maxSocial].name = str_dup(""); /* empty */ in void
load_social_table
social_table[maxSocial-1].name = str_dup (social);
and
social_table[maxSocial].name = str_dup ("");
both in void do_sedit
It always seems to be the line with 'name' in it. Any suggestions? Cuz I'm sure
I did everything how it said in the help file. I checked 4 times.
Oh, and I'm running the latest official QuickMUD based on ROM 24b6
Thanks in advance