Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ SMAUG ➜ SMAUG coding ➜ Only one copyover per mud start

Only one copyover per mud start

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Baelzebub   Vanuatu  (10 posts)  Bio
Date Thu 01 Apr 2004 05:28 AM (UTC)
Message
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

Do What Thou Wilt Shall Be The Whole Of The Law.
Top

Posted by Baelzebub   Vanuatu  (10 posts)  Bio
Date Reply #1 on Thu 08 Apr 2004 02:38 AM (UTC)
Message
nm got it.

Do What Thou Wilt Shall Be The Whole Of The Law.
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


11,172 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.