mb.PlayerSave

Add a customizable startup screen to your MUD with a saving/loading system as well.
This library is used to create a start screen for your MUD as well as create a player saving system. Players will be saved when they logout or whenever mob.mb_Save() is called. You can use mb_Save() to save and mb_Load() to load. The startup screen is stored in MOTD.txt, so just edit that to change the startup. If you want other stuff to happen after the user logs in, override this proc: mob.mb_loggedin() After a player first creates his character, mob.mb_createcharacter() is called. Override this proc with your character creation code.

Version 3:
Fixed a bug which cause the program to go into a loop when a player responded "no" to "Is that really your character's name?"
Added mob.mb_checkname(), which allows you to prevent players from using certain names.

Version 3

  • Login to open project files
  • Forum
  • Date Added: 07/14/02

Advertisement