User Name:


Forgot your password?
Vote for Us!
Nov 28, 2018, 10:10 am
By Keirath
First Immortal
Oct 12, 2018, 12:02 pm
By GatewaySysop
Bug in do_climb( )
Jun 5, 2018, 5:31 pm
By joeyfogas
question on overland code
May 31, 2018, 10:03 am
By joeyfogas
KaVir's Protocol Snip
May 15, 2018, 7:57 pm
By joeyfogas
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
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
Users Online
CommonCrawl, Bing

Members: 0
Guests: 13
Newest Member
Today's Birthdays
There are no member birthdays today.
Related Links
Upload Rules File Index | Search | Recent Uploads
» Root » Rafermand Collection
Login History
Author Submitted by Version D/L File Size Date Added

Xerves Samson 1.0 194 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)

Rating: | Download | Comments(0)
User Comments For: Login History