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
➜ Running the server
➜ Saving problems...
It is now over 60 days since the last post. This thread is closed.
Refresh page
Pages: 1
2 3
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #15 on Mon 01 Oct 2001 11:48 PM (UTC) |
| Message
| I just tried using the precompiled exe in file "smaug1.4a.zip" from my Downloads page.
I created a new character "Nick" which I then saved successfully, logged off and reconnected. I changed rooms, saved, logged off, reconnected and I was in the new room.
It certainly seems to work for me, at least for "Nick" character.
Is there anything funny in the character names you are using? (eg. an asterisk). |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Dragon
(8 posts) Bio
|
| Date
| Reply #16 on Wed 05 Dec 2001 11:56 PM (UTC) |
| Message
| | Hello I am also new to using a MUD server, however I am having the same problems as KH16 and have tried all the same solutions. I have a player dir with all the folders a, b, etc and a backup folder inside of the player dir with the same folders. I am also running Win2000 and all the permissions are set correctly. Any ideas of why my characters including my 65 Immortal cannot save their progress? | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #17 on Thu 06 Dec 2001 02:58 AM (UTC) |
| Message
| Make sure you have a "gods" directory as well.
See if there is a file around called "charsave.tmp" - it initially writes the player file to that and then renames it. Maybe that procedure is not working. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Dragon
(8 posts) Bio
|
| Date
| Reply #18 on Thu 06 Dec 2001 03:37 AM (UTC) |
| Message
| Yes the God's Dir does exist, the char that I made to be immortal was already put in there by the program. Yes there is a charsave.tmp file however it doesn't appear to be renaming the file to the characters. If I look at the charsave.tmp file it shows all current info but the file in \players\* does not appear to be updating. How can I correct this?
Thanks for the help | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #19 on Thu 06 Dec 2001 04:08 AM (UTC) |
| Message
| In my source I changed the write to charsave.tmp followed by the rename, to just writing the correct file in the first place. It seems strange that your copy doesn't do that.
Also, as I said above, it seems to work fine for me.
What you could try is installing Cygwin and compiling the source under that. At least then, if something is wrong, you can change the source to correct it, then recompile.
When I first did the precompiled version Cygwin was pretty dodgy, but nowadays seems to give a pretty good result, so the need for the precompiled version is not as great. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Dragon
(8 posts) Bio
|
| Date
| Reply #20 on Thu 06 Dec 2001 04:48 AM (UTC) Amended on Thu 06 Dec 2001 04:56 AM (UTC) by Dragon
|
| Message
| | Ok I cannot do that without a lot of help :) I know almost nothing of programing unfortunatly, otherwise I would be using Linux instead of Windows :) Also I noticed that the directories that you specify are not the same that are set up when I use the .zip version. Could that be creating a problem? | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #21 on Thu 06 Dec 2001 09:53 PM (UTC) |
| Message
|
The .zip version does not create empty directories, this is a "feature" of WinZip. However the rest should be the same. Can you specify which ones you found different.
As for Cygwin, there isn't much to it, just install Cygwin, download the source archive, extract, and type "make".
This process is described in some detail in the web page How to make changes, including compiling |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Dragon
(8 posts) Bio
|
| Date
| Reply #22 on Fri 07 Dec 2001 05:03 AM (UTC) |
| Message
| The only thing I really found different with the folder names upon installation was that in the Windows distribution, the folders came out as \smaug\(subfolders) ... however, in the documentation that came with it, it states that it should have been under \dist\src. I was just wondering if that may be the cause of the problem. I still cannot get any of the characters to save - upon initial character creation, the character's file is created in the appropriate folder, but is not updated after the initial creation. When a character "saves", the file charsave.tmp is created - but the file is not renamed and transferred to the individual player files. This has to be done manually to complete a save.
Thanks again for all the help, I really appreciate it. | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #23 on Fri 07 Dec 2001 06:08 AM (UTC) |
| Message
| Did you use the precompiled version "smaug1.4a.zip" mentioned on the top of this page? Unless I am going crazy (a possibility I suppose) then that version should have the "rename" concept replaced by writing the file directly, as that is what the source I have here does.
Also, I tested it and it works fine here. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Dragon
(8 posts) Bio
|
| Date
| Reply #24 on Fri 07 Dec 2001 08:03 AM (UTC) |
| Message
| | Can you tell me where I can get the copy of smaug1.4a.zip and cygwin that you are using please? | | Top |
|
| Posted by
| Dragon
(8 posts) Bio
|
| Date
| Reply #25 on Fri 07 Dec 2001 08:31 AM (UTC) |
| Message
| | I am really sorry to say this, but I downloaded the version from your site and everything works perfect. Thank you for all your time and help anyways :) | | Top |
|
| Posted by
| Chris L
USA (57 posts) Bio
|
| Date
| Reply #26 on Wed 01 May 2002 11:03 PM (UTC) |
| Message
| I compiled smaug using borland, had same problem i think
even with all the backup and a-z directories. When the first save for a char is made it works fine but afterwards saving doesnt work and the pfile from 1st save remains. using windows 98 and not sure what to do | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #27 on Wed 01 May 2002 11:22 PM (UTC) |
| Message
| Sounds like rename or something isn't working. Saving is actually done under a temporary name which is then renamed once the save completes (so you don't get a half-saved character).
Thus the first will work. Check out the rename part in the source. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Chris L
USA (57 posts) Bio
|
| Date
| Reply #28 on Wed 01 May 2002 11:48 PM (UTC) |
| Message
| Only diff from stock smaug and what im compiling in save.c is the patch you put for compiling with the free borland compiler
236c236
< fchmod(fileno(fp), S_IRUSR|S_IWUSR | S_IRGRP|S_IWGRP | S_IROTH|S_IWOTH);
---
> // fchmod(fileno(fp), S_IRUSR|S_IWUSR | S_IRGRP|S_IWGRP | S_IROTH|S_IWOTH);
other then that i cant think of anything and as for that line im at a loss | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #29 on Thu 02 May 2002 05:58 AM (UTC) |
| Message
| | Try downloading Cygwin and compiling with that. It's free too. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | 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.
96,810 views.
This is page 2, subject is 3 pages long:
1
2 3
It is now over 60 days since the last post. This thread is closed.
Refresh page
top