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 ➜ Running the server ➜ Saving problems...

Saving problems...

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


Pages: 1 2  3  

Posted by Scythe   (6 posts)  Bio
Date Wed 08 Aug 2001 03:41 AM (UTC)
Message
Yeah, I'm new to Smaug and I was wondering why it seems not to save correctly? I have already made sure that the folders are in the players dir (a-z folders, all there...)

Might anyone know any other causes to this saving problem?
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #1 on Wed 08 Aug 2001 05:15 AM (UTC)
Message
Which version are you using? The precompiled .exe file, or are you using Cygwin and compiling it yourself?

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Scythe   (6 posts)  Bio
Date Reply #2 on Wed 08 Aug 2001 09:24 AM (UTC)
Message
I'm using the precompiled exe, why?
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #3 on Wed 08 Aug 2001 09:57 PM (UTC)
Message
It helps when problem solving to know which version you are using. :)

If you have the player directory and one directory for each letter of the alphabet inside it, then it should work.

Is there an error message on the console output when the character is saved?

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Scythe   (6 posts)  Bio
Date Reply #4 on Wed 08 Aug 2001 10:44 PM (UTC)
Message
No error messages, the directorys go smaug\player\a and so on, which should work, but it just doesn't =/
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #5 on Thu 09 Aug 2001 03:26 AM (UTC)
Message
This is a guess, but try this ...

Make another directory "backup" at the same level as the player directory, and put the directories "a" to "z" in that as well.

I think your "save" flags ("Saveflags" in system.dat) indicate that a backup is to be made, and that is in the backup directory.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Scythe   (6 posts)  Bio
Date Reply #6 on Fri 10 Aug 2001 05:26 AM (UTC)
Message
Wow, it worked, thanks! Saving is fixed...
Top

Posted by Scythe   (6 posts)  Bio
Date Reply #7 on Fri 10 Aug 2001 05:47 AM (UTC)
Message
Nevermind, I started it up and it seemed to work, cept now it doesn't save...again, all the folders are there, all the backup folders are there too, I just don't see whats wrong..
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #8 on Fri 10 Aug 2001 09:10 PM (UTC)
Message
What happened between working and not working? Must have been something? Are you using NT 4/2000 is it a permissions problem?

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Scythe   (6 posts)  Bio
Date Reply #9 on Sat 11 Aug 2001 12:16 AM (UTC)
Message
Well, as far as I can tell this is what happens to be the problem...

I can save, it works perfectly for me now (before it didn't though..)...some other people can save, but not many, which is kind of odd, I made sure all the letters were there in both player and backup dirs, so I'm not sure what it is.

(I'm running Windows 98)
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #10 on Sun 12 Aug 2001 05:14 AM (UTC)
Message
All I can suggest is download Cygwin, and compile it under that (Cygwin is free). Then, if the problem persists, which it probably won't, use the debugger to find out why.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Kh16   (5 posts)  Bio
Date Reply #11 on Mon 24 Sep 2001 02:09 PM (UTC)
Message
I would just like to say that I am having the same, or a similar problem with the mud. I will try to explain what occurs.

I make a character, then save and quit out so I can change him to 65 and be the Imm account.

Then after I edit the pfile and I log on and go kill something, change skills, pickup items, etc. after I log off and come back I am reset again back to the Default lvl 65 with default skills, hp etc. that is in the pfile

It doesn’t seem to save anything I do. I even tried to make a new char and ‘Advance’ him with the first one. But after I quit and come back he isn’t 65 anymore. I don’t think my mud is actually writing to the pfiles at all. What could be the problem do you think?

Top

Posted by Kh16   (5 posts)  Bio
Date Reply #12 on Mon 24 Sep 2001 08:00 PM (UTC)
Message
As an update. I read previous posts in relation to this.

I do have a backup folder with all the letters of the alphabet and I am not missing any letters..

I have done some testing and Nothing is ever saved into the backup folders as of yet.

BTW> what is the god file that is in the Player folder?

-Kevin
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #13 on Mon 24 Sep 2001 10:00 PM (UTC)
Message
When I look at the recent source I see this:


#define PLAYER_DIR "../player/" /* Player files */
#define BACKUP_DIR "../player/backup/" /* Backup Player files */
#define GOD_DIR "../gods/" /* God Info Dir */
#define BOARD_DIR "../boards/" /* Board data dir */
#define CLAN_DIR "../clans/" /* Clan data dir */
#define COUNCIL_DIR "../councils/" /* Council data dir */
#define DEITY_DIR "../deity/" /* Deity data dir */
#define BUILD_DIR "../building/" /* Online building save dir */
#define SYSTEM_DIR "../system/" /* Main system files */
#define PROG_DIR "mudprogs/" /* MUDProg files */
#define CORPSE_DIR "../corpses/" /* Corpses */


This suggests to me (2nd line from top) that the backup directory should be *under* the player directory. Try that.


- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Kh16   (5 posts)  Bio
Date Reply #14 on Mon 24 Sep 2001 10:15 PM (UTC)
Message
Already is... plus i made a copy of the backup folder containing all the letters and put it in the main directory as well, just in case.

Did some more testing. no chars are ever saved past the point where you enter the game and they are automatically made as lvl 2.

-Kevin

Using windows 2000. And all the files have 'Everybody' full access on them. So i dont know if its permissions.
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.


75,186 views.

This is page 1, subject is 3 pages long: 1 2  3  [Next page]

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.