Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
auth_update crash
Dec 23, 2017, 10:15 pm
By Remcon
check_tumble
Dec 18, 2017, 7:21 pm
By Remcon
parse description bug
Dec 15, 2017, 10:08 pm
By Remcon
Couple bugs
Dec 12, 2017, 5:42 pm
By Remcon
Bug in disarm( )
Nov 12, 2017, 6:54 pm
By GatewaySysop
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
LOP Heroes Edition
Author: Vladaar
Submitted by: Vladaar
Heroes sound extras
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.3
Author: Vladaar
Submitted by: Vladaar
Users Online
CommonCrawl, Yandex, DotBot, Yahoo!

Members: 0
Guests: 3
Stats
Files
Topics
Posts
Members
Newest Member
478
3,708
19,242
612
Jacki72H
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » General » Coding » dbsc: Questions about saving...
Forum Rules | Mark all | Recent Posts

dbsc: Questions about saving and pfiles.
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Sep 19, 2009, 12:16 am
Go to the top of the page
Go to the bottom of the page

Chaumont
Fledgling
GroupMembers
Posts6
JoinedSep 17, 2009

I've just learned to compile and run the dbsc 2.5.2 using cygwin and logged in via mud client, but now I'm having some password and saving issues. There is one player file, Admin, that comes with the codebase, but even when I use the password given in the dbsc/player/a directory, it still says the password is incorrect on login. I then tried to simply make a character, meet the powerlevel req for save so I could simply edit that, but when I save I can't seem to find any evidence of anything being saved. The player does not exist if I disconnect and reconnect. Any advice?
       
Post is unread #2 Sep 19, 2009, 6:17 am
Go to the top of the page
Go to the bottom of the page

Chaumont
Fledgling
GroupMembers
Posts6
JoinedSep 17, 2009

This is crossposted on Mudbytes here.
       
Post is unread #3 Sep 19, 2009, 6:48 am
Go to the top of the page
Go to the bottom of the page

Remcon
Geomancer
GroupAdministrators
Posts1,868
JoinedJul 26, 2005

Typically if they have an Admin pfile the password you use to log on as Admin is admin.
Normally the password is encrypted in the pfile so entering what the pfile shows would do no good.

If it didn't save then you probably weren't high enough to actually save a pfile yet.
It will only save authorized players that have a power level of 4000 and higher.
If you get this message when you type save
You must have a power level greater than 4,000 to be allowed
to save with out having your name authorized.

Then once you get to 4000 power level you will no longer get that message, but it still will not actually save your pfile until your name is authorized. Guess you could consider that a bug lol.

if you want it to work like that message says
open save.c
in function save_char_obj
find
    if ( IS_NPC(ch) || NOT_AUTHED(ch) )
	return;

change that to
    if ( IS_NPC(ch) || ( NOT_AUTHED(ch) && ch->exp < 4000 ) )
	return;

Then when it says it should be saving it will.
       
Post is unread #4 Sep 19, 2009, 7:11 am
Go to the top of the page
Go to the bottom of the page

Chaumont
Fledgling
GroupMembers
Posts6
JoinedSep 17, 2009

Thank you, Remcon. That's exactly what I was needing to know.
       
Post is unread #5 Sep 19, 2009, 1:21 pm
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,639
JoinedJan 1, 2002

Just as an FYI - it's considered somewhat off-putting to have issues cross-posted to more than one site like that. It often leads to scattering a solution and thus making it harder for future members to track it all down.
       
Post is unread #6 Sep 21, 2009, 6:07 am
Go to the top of the page
Go to the bottom of the page

David Haley
Sorcerer
GroupMembers
Posts903
JoinedJan 29, 2007

I think that if the cross-post is noted, and notifications are placed on other sites if a solution was found, it's not too bad. Remcon for instance posts here but not really on MB, even though MB has more posters in general, so posting at these two places can make some sense. (Just as long as it's noted etc.)
       
Pages:<< prev 1 next >>