User Name:


Forgot your password?
Vote for Us!
adding a new stat to OSET
Yesterday, 6:02 pm
By joeyfogas
alias snippet fix-like hack
Mar 17, 2018, 6:14 pm
By Vladaar
help with debug?
Mar 17, 2018, 5:52 pm
By joeyfogas
features of a good MUD
Mar 17, 2018, 1:06 am
By GatewaySysop
All skills to a class?
Mar 15, 2018, 11:43 pm
By joeyfogas
6Dragons ogg Soundpack
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.4
Author: Vladaar
Submitted by: Vladaar
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
LOP Heroes Edition
Author: Vladaar
Submitted by: Vladaar
Users Online
CommonCrawl, Google, Yandex

Members: 0
Guests: 6
Newest Member
Today's Birthdays
Gatz (33)
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

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?

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

The Null Value
GroupAFKMud Team
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 >>