Login
User Name:

Password:



Register

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
Development
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
CommonCrawl

Members: 0
Guests: 0
Stats
Files
Topics
Posts
Members
Newest Member
482
3,748
19,405
583
Monserrate

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

Xerves Samson 1.0 374 5.87 KB Jul 30, 2011

Description
Free vnums 1.0 By Xerves (Released November 10, 1999)
Xerves is the admin/owner of Rafermand

Well, but another snippet. Freevnums is a really handy command that should
fit nicely with checkvnums and vassign. What it does, is you type a string
like this in the mud

freevnums 200 1000

And it will list all the freevnums in a 50 vnum chunk. At Rafermand, we typically
use 50 and 100 blocks for vnums, so I thought that would be a good size. If
you want to decreate it, you can change some of the code around.

A few notes about the below code.
1. It cuts off the last digit (the ones digit) so 201 is treated like 200.
If you want to remove that, look in the code for a comment about it.
2. The code is oriented toward the 32600 vnums instead of the 2 billion
vnums. If you have 2 billion vnums, you will have to change a bit of
the code around. Please do not email me asking how to do it.
3. I am pretty sure the code isn't buggy, but always double check the code
against checkvnum
4. It only checks rooms. So if you have 3000 as the end room, and 3001 as
the end obj, you might have problems. That is why I suggest using checkvnum
to countercheck the work.

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