User Name:



Forgot your password?
Dusting off the old code...
Jul 15, 2019 10:53 pm
By InfiniteAxis
Forum Search/User Post History
May 13, 2019 12:43 pm
By Keirath
AFKMud 2.2.2
Mar 3, 2019 5:35 pm
By Samson
Nov 28, 2018 12:10 pm
By Keirath
First Immortal
Oct 12, 2018 2:02 pm
By GatewaySysop
SmaugFUSS 1.9.3
Author: Various
Submitted by: Samson
AFKMud 2.2.2
Author: AFKMud Team
Submitted by: Samson
tintin++ ogg sound player script for linux
Author: Robert Smith
Submitted by: Vladaar
6Dragons ogg Soundpack
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.4
Author: Vladaar
Submitted by: Vladaar
Users Online

Members: 0
Guests: 0
Newest Member

Today's Birthdays
There are no member birthdays today.
Upload Rules | File Index | Search | Recent Uploads
» Root » Rafermand Collection
Login History
Author Submitted by Version D/L File Size Date Added Last Updated

Xerves Samson 1.0 218 5.78 KB Jul 30, 2011

Login History v1.0 by Xerves (November 29 2001)
Xerves is the admin/owner of Rafermand

Was always curious why there was no history list of people who have logged
in easily available from the mud to view. It is nice to see how logged in
and at what time (so I thought atleast). So here is some code that you
can add to the last command to make this work nice

TIPS: Make sure you can read/write/delete in your /system directory because it will
try to do so to a file or two in there. There is all a defined number in
mud.h for file size (#Define LAST_FILE_SIZE 500). This defines the maximum
amount of entries that can be in the file. If you wish to make this larger just
increase this number, or decrease it to make it smaller. It is a good idea to
limit the size because the file is read directly from the HD each time it is looked
at and put into memory, then removed from memory. It can cause a bit of system
performance degrade if you have people looking at thousands and thousands of lines.

Suggested help file addition....

Syntax: last <# of entries OR \'-1\' for all entries OR \'today\' for all of today's entries>

Can be used to see the most recent people who have logged in. This feature has 3 arguments.
- Can supply the maximum amount to show (last 20)
- Can type -1 to show all connections in the file (last -1)
- Can type today to show all of today's connections (last today)

Revisions: 0
Rating: | Download | Comments(0)