I've been trying to install a wedding snippet and I can't figure out what i'm doing wrong. it came in a .txt format but I think I have to change it to wedding.c and and in the makefile wedding.o and wedding.c but that didn't make it work.
Here's the steps I followed according to the file.
Add this file to Makefile
*
* In mud.h pc_data stuff add ...
* char * spouse;
*
* In save.c in the fwrite_char function, under ..
* fprintf( fp, "Armor %d\n", ch->armor );
* add ...
* if ( ch->pcdata->spouse )
* fprintf( fp, "Spouse %s~\n", ch->pcdata->spouse );
*
* In the fread_char function under ...
* KEY( "Susceptible", ch->susceptible, fread_number( fp ) );
* add ...
* KEY( "Spouse", ch->pcdata->spouse, fread_string( fp ) );
*
* In act_info.c in the do_who find the line that looks like ...
* sprintf( buf, "%*s%-15s %s%s%s%s%s%s%s%s%s.%s%s%s%s\n\r",
* and add one more %s in there somewhere, then add ...
* (wch->pcdata->spouse) ? "&W[&RWED&W]" : "",
Now. I'm sure I did all of this but it doesn't work.. Anyone know what i'm doing incorrect?
Here's the steps I followed according to the file.
Add this file to Makefile
*
* In mud.h pc_data stuff add ...
* char * spouse;
*
* In save.c in the fwrite_char function, under ..
* fprintf( fp, "Armor %d\n", ch->armor );
* add ...
* if ( ch->pcdata->spouse )
* fprintf( fp, "Spouse %s~\n", ch->pcdata->spouse );
*
* In the fread_char function under ...
* KEY( "Susceptible", ch->susceptible, fread_number( fp ) );
* add ...
* KEY( "Spouse", ch->pcdata->spouse, fread_string( fp ) );
*
* In act_info.c in the do_who find the line that looks like ...
* sprintf( buf, "%*s%-15s %s%s%s%s%s%s%s%s%s.%s%s%s%s\n\r",
* and add one more %s in there somewhere, then add ...
* (wch->pcdata->spouse) ? "&W[&RWED&W]" : "",
Now. I'm sure I did all of this but it doesn't work.. Anyone know what i'm doing incorrect?