Skip to content
This repository was archived by the owner on Oct 8, 2024. It is now read-only.

Commit dfd997d

Browse files
author
Yucong Sun
committed
Origin: lima_v1_fluffos.zip
0 parents  commit dfd997d

File tree

2,402 files changed

+238095
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,402 files changed

+238095
-0
lines changed

INSTALL

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
If at any point you have problems with these directions, post the
2+
exact problem and errors on http://lpmuds.net/forum
3+
4+
How to install Lima:
5+
6+
1) Compile the driver for your machine:
7+
a) cd to the driver directory
8+
b) Type: ./configure lima
9+
c) When it is done running, type: make install
10+
d) When this is finished, you should have a driver and an
11+
addr_server in ../bin
12+
13+
2) You must edit the mudlib configuration file.
14+
a) cd ../bin
15+
b) edit the file config.lima
16+
c) follow the directions in the file
17+
d) at a minimum you MUST change the mud name, the bin directory, and the lib directory
18+
19+
3) Start your address server if one isn't running already (type this while
20+
you're in the "etc" directory):
21+
./addr_server 9990 &
22+
23+
Change the port number above as needed, ensuring that the config.lima
24+
file matches the command line used to start the address server.
25+
26+
4) Start the driver with the command (type this while in the "etc"
27+
directory):
28+
./driver ./config.lima &
29+
30+
Your mud should now be starting up. When it says:
31+
Accepting connections on port NNNN.
32+
33+
Then your mud is up.
34+
35+
5) Log in to your mud. Make sure you're the first person to do so --
36+
whoever is first will become an admin! After that, new users will
37+
just be guest wizards (by default).
38+
39+
Connect to the mud, type a name, password, etc. Once you are logged
40+
in, you should be a full admin. To verify this, type:
41+
checkpriv 1
42+
43+
It should come back with:
44+
Verified. You have privilege '1'
45+
46+
In order to access all the admin commands, you will need to type:
47+
resetpath
48+
49+
6) Creating new admins;
50+
51+
You can convert other wizards after they log in into admins by adding
52+
them into the "admin" domain. Use the "admtool" command for this.
53+
54+
7) Mudlib configuration:
55+
56+
Change any options you feel appropriate in /include/config.h.
57+
58+
When you're done with any configuration changes, then shut down the
59+
mud with the shutdown command. Restart it, as described above, to
60+
make those changes happen.
61+
62+
8) You're done! Share your experiences on the Lima area of http://lpmuds.net/forum
63+
64+
9) If your machine has /bin/bash, you can modify LIMADIR in
65+
/etc/backup and /etc/startmud, and follow the usage instructions in
66+
those scripts, if you think you'll find them useful.
67+
68+
10) Intermud channel rules - please comply with the rules for the main
69+
intermud channels, icode and igossip, which are at
70+
http://lpmuds.net/intermud.html
71+
72+
To join:
73+
chan imud_imud_gossip /on
74+
igossip foo
75+
chan imud_imud_code /on
76+
icode bar

INSTALL-windows.txt

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
If at any point you have problems with these directions, post the
2+
exact problem and errors on http://lpmuds.net/forum
3+
4+
How to install Lima for windows:
5+
6+
1) Uncompress this package and move/rename the folder so that the folders like bin and lib
7+
are in c:\lima
8+
9+
2) Use wordpad to edit c:\lima\bin\config.lima.win32 and change the mudname
10+
11+
3) Double-click on c:\lima\win32\mud.bat
12+
13+
4) telnet to localhost 7878
14+
15+
5) Log in to your mud. Make sure you're the first person to do so --
16+
whoever is first will become an admin! After that, new users will
17+
just be guest wizards (by default).
18+
19+
Connect to the mud, type a name, password, etc. Once you are logged
20+
in, you should be a full admin. To verify this, type:
21+
checkpriv 1
22+
23+
It should come back with:
24+
Verified. You have privilege '1'
25+
26+
In order to access all the admin commands, you will need to type:
27+
resetpath
28+
29+
6) Creating new admins;
30+
31+
You can convert other wizards after they log in into admins by adding
32+
them into the "admin" domain. Use the "admtool" command for this.
33+
34+
7) Mudlib configuration:
35+
36+
Change any options you feel appropriate in /include/config.h.
37+
38+
When you're done with any configuration changes, then shut down the
39+
mud with the shutdown command. Restart it, as described above, to
40+
make those changes happen.
41+
42+
8) You're done! Share your experiences on the Lima area of http://lpmuds.net/forum
43+
44+
9) Intermud channel rules - please comply with the rules for the main
45+
intermud channels, icode and igossip, which are at
46+
http://lpmuds.net/intermud.html
47+
48+
To join:
49+
chan imud_imud_gossip /on
50+
igossip foo
51+
chan imud_imud_code /on
52+
icode bar

bin/backup

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
#!/bin/bash
2+
#
3+
# standard backup script by Rust@TMI-2 (rust@virginia.edu) Jul 7, 1994
4+
# reworked for more flexibility by Deatblade@Quendor (gstein@svpal.org)
5+
# on Mar 31, 1995
6+
# Rust added an exec to a new expect script that automatically ftp's
7+
# the backup to a remote host.
8+
# - Deathblade took it back out and installed another cron
9+
# entry. It made it a bit difficult to do a backup without
10+
# a mirror being done. :-)
11+
# Jun 7, 1995: Deatbhlade altered for distinct daily backups with a running
12+
# monthly longterm backup.
13+
#
14+
# If you add the following entry to your crontab:
15+
# 36 4 * * * ~/bin/backup (assuming this is installed in ~/bin/backup)
16+
# then this script will back up your lib daily into different files.
17+
# The monthly will be hard link (therefore taking no extra disk space),
18+
# but the link is "broken" at the turn of the month; essentially, it
19+
# will drop off a copy each month. This system provides for restoring
20+
# from up to a few days and for long term archival.
21+
#
22+
#
23+
# CONFIGURABLE STUFF
24+
#
25+
limadir=/home/David/lima-1.0b5
26+
backupdir=$limadir/backups
27+
targetdir=$limadir/lib
28+
COMPRESSCMD=gzip
29+
#
30+
# END
31+
#
32+
33+
34+
35+
base=$(basename $targetdir)
36+
log=$backupdir/$base.log
37+
38+
echo Backup begun: $(date) >> $log
39+
40+
cd $targetdir/..
41+
42+
if [ -f ./$base/core ]; then
43+
mv ./$base/core ./core.$base.$(date +%y%m%d)
44+
fi
45+
46+
tar -cf $backupdir/$base.tar ./$base
47+
$COMPRESSCMD $backupdir/$base.tar
48+
49+
weekday=$(date +%w)
50+
month=$(date +%m)
51+
rm -f $backupdir/$base.$weekday.tar.gz
52+
rm -f $backupdir/$base.$month.tar.gz
53+
mv $backupdir/$base.tar.gz $backupdir/$base.day$weekday.tar.gz
54+
ln $backupdir/$base.day$weekday.tar.gz $backupdir/$base.$month.tar.gz
55+
56+
echo " Files: $base.day$weekday.tar.gz $base.$month.tar.gz" >> $log
57+
echo Backup finished: $(date) >> $log
58+

0 commit comments

Comments
 (0)