编译好的MudOS 必须配合配置文件才能启动MudLIB。打开MudOS 源代码目录下的config.example,做以下修改。
# name of this mud
name : *** (修改为你的Mud的名字)
# port number to accept users on
port number : 5555 (Mud连接的端口号)
address server ip : localhost
address server port : 8888 (修改为你准备添加的服务器端口号)
# absolute pathname of mudlib
mudlib directory : ../mud (此目录为你存放你MudLIB的目录)
# absolute pathname of driver/config dir
binary directory : ../bin (此目录为你存放你MudOS的目录)
根据你的MudLIB,以下几项也需要做相应的修改。
# the file which defines the master object
master file : /single/master
# the file where all global simulated efuns are defined.
simulated efun file : /single/simul_efun
# file to swap out objects; not used if time to swap is 0
swap file : /single/swapfile
# alternate debug.log file name (assumed to be in specified 'log directory')
d