Remove rent code and cost per day

This commit is contained in:
kinther 2025-12-24 08:38:38 -08:00
parent 0bb44d02b5
commit 9d894e208d
41 changed files with 366 additions and 564 deletions

View file

@ -67,9 +67,9 @@ Table of Contents
connection refused'' when the MUD boots, and then dies. Why?
4.7 When I run tbaMUD under Windows, it tells me ``Winsock error
#10047'' when the MUD boots, and then dies. Why?
4.8 When I run tbaMUD under Windows, players can't rent---their
equipment is just dropped on the ground, syslogs don't work, so what
is the problem?
4.8 When I run tbaMUD under Windows, players can't save their items on
logout - their equipment is just dropped on the ground, syslogs don't
work, so what is the problem?
4.9 When someone logs on to my Windows MUD, the console screen gives:
``gethostbyaddr: No such file or directory''
4.10 My MUD crashed and my connection got closed. What can I do?
@ -631,9 +631,9 @@ select ``Add Protocol'', and under the vendor ``Microsoft'', choose
``TCP/IP''. It may ask you to insert the Windows CDROM in order to copy
the drivers onto your hard drive.
4.8. When I run tbaMUD under Windows, players can't rent---their
equipment is just dropped on the ground, syslogs don't work, so what
is the problem?
4.8. When I run tbaMUD under Windows, players can't save their items on
logout - their equipment is just dropped on the ground, syslogs don't
work, so what is the problem?
The reason that objects aren't saved when your players quit is that certain
unzip programs are buggy and don't completely recreate the MUD's directory

View file

@ -433,7 +433,7 @@ file called “syslog”. During tbaMUDs boot sequence, the system log keeps
record of everything the MUD is doing to initialize itself; this can be useful
to determine what the problem is if the MUD dies while it is booting. Once the
game is up and running, the syslog contains player information, recording when
players connect, disconnect, rent, unrent, quit, die, hit death traps, etc. The
players connect, disconnect, save on logout, quit, die, hit death traps, etc. The
game also records status information about itself, falling generally into two
categories: usage information and errors.
@ -469,20 +469,15 @@ syslogs presence in the collective psyche of your players.
Back to the point. When someone claims that theyve been wronged by the evil
system, always check the logs. The logs give you power to say things like “What
do you mean your items disappeared in rent? It says right here in the logs
Rasmussen has quit the game. You did not rent at all, you just quit!”
do you mean your items disappeared on logout? It says right here in the logs
Rasmussen has quit the game. You did not lose items, you just quit!”
To diffuse disputes such as, “The game dumped my stuff, but I had enough
money!!” or “I logged in and my stuff was gone, there must be a bug!!”, two
types of log entries are written. First, every time a character rents, the log
records the characters per diem rent rate as well as the total amount of money
on hand and in the bank. Second, the log records makes a record of all
characters equipment dumped due to insufficient funds.
types of log entries are written. First, every time a character saves on logout,
the log records a summary along with total money on hand and in the bank.
Second, the log records all characters equipment dumped due to object limits.
Remember, rent is specified as a daily rate but is amortized on a per-second
basis! In other words, if you rent at the rate of 100 coins per day and come
back 36 hours later, youll be charged 150 coins. Or you can be nice and leave
rent disabled.
The autorunscript saves 6 levels of raw system logs. In addition, it greps the
logs for certain pieces of extra-juicy information to save indefinitely.

View file

@ -145,7 +145,7 @@ An areas balance should be an integral part of the design process, not
something to be tacked on as an afterthought. Too often, an area will be
designed with outrageously good weapons and armor which throws off the balance
of the game. Naturally, after such zone is added, players complain bitterly if
it is ever removed or toned down. Also, because the rent system saves hitrolls,
it is ever removed or toned down. Also, because the save system stores hitrolls,
damrolls, and ac-applys, veteran players will be able to hold on to their old,
spectacular equipment unless it is explicitly taken from them, even after the
area has been changed. This does nothing but generate bad feelings on all
@ -944,7 +944,7 @@ StrAdd The mobiles strength addition, which can range from 1 to 99.
<action description>~
<type flag> <extra (affects) bitvector> <wear bitvector>
<value 0> <value 1> <value 2> <value 3>
<weight> <cost> <rent per day>
<weight> <cost> <unused>
{Zero or more Extra Descriptions and/or Affect Fields}
There can be an unlimited number of Extra Descriptions and up to 3 Affect
@ -1026,7 +1026,7 @@ but has no substantive effect otherwise. The flags have the following values:
1) GLOW Item is glowing (cosmetic).
2) HUM Item is humming (cosmetic).
3) NORENT Item cannot be rented.
3) UNUSED Reserved (unused).
4) NODONATE Item cannot be donated.
5) NOINVIS Item cannot be made invisible.
6) INVISIBLE Item is invisible.
@ -1075,7 +1075,7 @@ other containers become full.
Cost The value of the object in gold coins; used by shopkeepers.
Rent Per Day The cost per day to rent the object in the Reception.
Cost Per Day A legacy value that the game ignores.
5.2 Object Value Definitions
The meaning of an objects four values (value 0 through value 3) vary depending
@ -1281,7 +1281,7 @@ A
This object is virtual number 901, is a Type 9 object (armor), cannot be
donated, has a magical aura, and cannot be dropped. It can be picked up and
worn as a shield. It has an AC-apply of 12, weighs 15 pounds, is valued at
5000 coins and costs 1350 coins per day to rent. Its Affect fields indicate
5000 coins and includes a legacy cost-per-day value of 1350 (ignored). Its Affect fields indicate
that this object affects breath weapon saving throws by -4 and increases Wisdom
by 2.

View file

@ -420,7 +420,7 @@ unworthy to connect to the MUD. Invalid name rejection loads a list of substring
that must not appear in any characters name that is being created. The invalid name
list can be found at lib/misc/xnames.
After deleting any expired rent files, the house code loads up any abodes defined.
After deleting any expired legacy save files, the house code loads up any abodes defined.
It must make sure the rooms still exist and the owner is still in the game before
setting up the house, atrium, and guest list. Houses are not loaded in mini-MUD
mode since most of the rooms will likely not exist.

View file

@ -29,7 +29,7 @@ misc/ - Miscellaneous database files such as fight messages, invalid names,
and socials.
plrfiles/ - ASCII files which combined the player, alias, and variable files.
plrobjs/ - The hierarchy containing player object files (i.e. crash files,
rent files, cryo-rent files, etc.) and utility scripts.
legacy save files, cryo files, etc.) and utility scripts.
text/ - Files meant to be directly read by players such as MOTD (message of
the day), help files, and the immortal handbook. You can change
these files while the game is running, and then have the mud reload
@ -121,7 +121,6 @@ help - All help queries that are not found.
levels - Records of all levels gained by all players.
newplayers - Records of the creation of new players.
olc - OLC log messages.
rentgone - Players who have lost their items in rent.
restarts - List of times at which the MUD rebooted.
rip - Player deaths.
trigger - Trigedit log messages.

View file

@ -109,15 +109,15 @@ to new immortals constantly asking you when they will be added
to the immlist!
--"config.c" file allows you to change aspects of the game such
as playerkilling/playerthieving legality, max number of objects
rentable, and nameserver usage --WITHOUT recompiling the
saveable, and nameserver usage --WITHOUT recompiling the
entire MUD!
--All text (help, mortal/immort MOTDs, etc.) is rebootable at
run-time with the "reboot" command
--All players are given a unique serial number --no more messy,
time consuming str_cmp()s when you are trying to identify people!
--Fully integrated and robust rent/crash system --allows normal
renting, cryo-renting, crash protection, and forced rent
(at an increased price) after an hour of idling
--Fully integrated and robust save/crash system --allows normal
saving, cryo-saving, crash protection, and forced saves
after an hour of idling
--All the standard wizard stuff you are used to: level-sensitive
invisibility, settable poofin/poofouts, wizline
--Advanced "set" command which allows you to set dozens of aspects

View file

@ -112,8 +112,8 @@ the text to be displayed and will take in all text until ended by an EOF marker
3 Informational Utilities
3.1 listrent
This utility allows you to view player rent files offline. It displays the type
of rent; Rent, Crash, Cryo, or lost link (TimedOut). It also displays the
This utility allows you to view player save files offline. It displays the type
of save; Legacy, Crash, Cryo, or lost link (TimedOut). It also displays the
object vnum and first keyword.
The command line syntax for listrent is as follows:
@ -123,7 +123,7 @@ listrent <objfile1> [<objfile2> .. <objfilen>]
where <objfile1>
is the first object file to view, <objfile2> the second, and so forth.
This utility must be recompiled if you make any changes to the rent file
This utility must be recompiled if you make any changes to the save file
structure.