Some further bug fixes.
This commit is contained in:
parent
20a57d4167
commit
5100a0561f
5 changed files with 48 additions and 18 deletions
|
|
@ -967,7 +967,7 @@ class CmdIC(MuxCommandOOC):
|
|||
if new_character.sessid == sessid:
|
||||
self.msg("{RYou already act as {c%s{n." % new_character.name)
|
||||
return
|
||||
elif new_character.player == caller:
|
||||
elif new_character.sessid and new_character.player == caller:
|
||||
self.msg("{RYou already act as {c%s{n in another session." % new_character.name)
|
||||
return
|
||||
elif not caller.get_character(character=new_character):
|
||||
|
|
@ -990,7 +990,7 @@ class CmdIC(MuxCommandOOC):
|
|||
new_character.location.at_object_receive(new_character, new_character.location)
|
||||
new_character.execute_cmd("look")
|
||||
else:
|
||||
msg.msg("{rYou cannot become {C%s{n." % new_character.name)
|
||||
self.msg("{rYou cannot become {C%s{n." % new_character.name)
|
||||
|
||||
class CmdOOC(MuxCommandOOC):
|
||||
"""
|
||||
|
|
|
|||
|
|
@ -130,6 +130,9 @@ class CmdPy(MuxCommand):
|
|||
ev : the evennia API
|
||||
inherits_from(obj, parent) : check object inheritance
|
||||
|
||||
You can explore The evennia API from inside the game by calling
|
||||
ev.help(), ev.managers.help() etc.
|
||||
|
||||
{rNote: In the wrong hands this command is a severe security risk.
|
||||
It should only be accessible by trusted server admins/superusers.{n
|
||||
|
||||
|
|
|
|||
|
|
@ -198,8 +198,6 @@ class CmdUnconnectedCreate(MuxCommand):
|
|||
# If no description is set, set a default description
|
||||
if not new_character.db.desc:
|
||||
new_character.db.desc = "This is a Player."
|
||||
# set flag for triggering first-time login hook
|
||||
new_character.db._first_login = True
|
||||
|
||||
# tell the caller everything went well.
|
||||
string = "A new account '%s' was created. Welcome!"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue