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, Yahoo!, Bing

Members: 0
Guests: 10
Stats
Files
Topics
Posts
Members
Newest Member
478
3,708
19,242
612
Jacki72H
Today's Birthdays
Evoru (32)
Related Links
» SmaugMuds.org » General » Coding » Guest Account
Forum Rules | Mark all | Recent Posts

Guest Account
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Jun 10, 2003, 3:37 pm
Go to the top of the page
Go to the bottom of the page

kilroy
Magician
GroupMembers
Posts122
JoinedMay 1, 2002

Howdy folks, I am trying to install a guest user on my mud, but I want this guy to always start at level 2 with clean stats and base exp.

The reasons should be obvious - I think that it would certainly limit the amount of noobie accounts that get setup just to look around.

How do I go about this?

Thanks
Kilroy
       
Post is unread #2 Jun 11, 2003, 6:25 am
Go to the top of the page
Go to the bottom of the page

Xorith
The Null Value
GroupAFKMud Team
Posts254
JoinedFeb 23, 2003

I'm at a loss here. I know how it could be done, but it seems like a bit much for something that can be fixed by modifying how a character is saved. You could just make a flag set on new players (like unauthed for example), that so long as the flag is on them they are not saved. Warn them about this, then if they're ready to be a part of the game, they can remove the flag.

If you're trying to make it so that the guest is a pre-made user, that's a bit different. It also may be difficult as you'd have to more than likely handle saves in a weird way. You could copy nanny's character creation though and make a 'create_guest()' function that's triggered should the player type in 'guest'. You may want to allow them to specify a name to go by, or just some how keep a log of how many guests you've had and possibly append numbers to the word 'Guest', like TinyMUSH does. Not sure if numbers are valid in names though.

-- X
       
Pages:<< prev 1 next >>