Re: [SMAUG] readding grub.c problems
Re: [SMAUG] readding grub.c problems
There would be a few ways to disable the pfile cleanup. In the
read_pfile function near the end at about line 184, there is an if that
looks like this:
if ( (r.level < 3 && tdiff > 7)
|| (r.level < 4 && tdiff > 14)
|| (r.level < 5 && tdiff > 21)
|| (tdiff > 93) )
{
if ( unlink(fname) == -1 )
perror( "Unlink" );
else
{
++deleted;
return;
}
}
You can just comment that out.
----------
> From: Conner Destron <conner_destron@comcast.net>
>
> Ok, I found a copy of grux.c in a fresh download of smaug1.4.tgz and,
after
> editing it to reflect my directories and clans/orders, I compiled it to
grux
> and ran it using your script below, but it wants to delete half my player
> base, any idea which part of grux.c is doing this? I want to compile the
> info for grub, but I don't want to delete my pfiles.
> -=Conner=-