Only one copyover per mud start

Posted by Baelzebub on Thu 01 Apr 2004 05:28 AM — 2 posts, 11,623 views.

Vanuatu #0
Hello all.
For some reason wmy mud will only let me do 1 copyover per mud start.

cygwin/smaugfuss

When i do ../src/smaug.exe and log on and do copyover it works fine everyhing does what it's supposed too but wheni try to do copyover again i get:

Copyover file not writeable, aborted.
Log: Could not write to copyover file: ../system/copyover.dat

in the client window and


Could not write to copyover file: ../system/copyover.dat
do_copyover:fopen: permission denied

in my cygwin window

So i shut mud down and restart it and i can do 1 only again

void do_copyover (CHAR_DATA *ch, char * argument)
{
FILE *fp;
DESCRIPTOR_DATA *d, *d_next;
char buf [100], buf2[100], buf3[100], buf4[100], buf5[100];
fp = fopen (COPYOVER_FILE, "w");

if (!fp)
{
send_to_char ("Copyover file not writeable, aborted.\n\r",ch);
log_printf ("Could not write to copyover file: %s", COPYOVER_FILE);
perror ("do_copyover:fopen");
return;
}
Can't see why it won't work and i installed it before and it did.

Any ideas would be appreciated
Vanuatu #1
nm got it.