Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
Bug in disarm( )
Nov 12, 2017, 6:54 pm
By GatewaySysop
Bug in will_fall( )
Oct 23, 2017, 1:35 am
By GatewaySysop
Bug in do_zap( ), do_brandish( )
Oct 18, 2017, 1:52 pm
By GatewaySysop
Bug in get_exp_worth( )
Oct 10, 2017, 1:26 am
By GatewaySysop
Bug in do_drag( )
Oct 8, 2017, 12:40 am
By GatewaySysop
LOP Heroes Edition
Author: Vladaar
Submitted by: Vladaar
Heroes sound extras
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.3
Author: Vladaar
Submitted by: Vladaar
Memwatch
Author: Johan Lindh
Submitted by: Vladaar
Beastmaster 6D sound files
Author: Vladaar
Submitted by: Vladaar
Users Online
CommonCrawl, DotBot, Sogou, Yahoo!

Members: 0
Guests: 19
Stats
Files
Topics
Posts
Members
Newest Member
476
3,704
19,231
608
LAntorcha
Today's Birthdays
There are no member birthdays today.
Related Links
Files
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 142 5.78 KB Jul 30, 2011

Description
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)