I did this recently. In purgeplay i just have it reassign the idnums from scratch. esp because the IMP will always be the first record read. The affects houses and mail. I just got rid of the id num in these files and used name strings. Oh, boards use idnum too. This change takes a LOT of work. --Angus ______________________________ Reply Separator _________________________________ Subject: purgeplay.c Author: INTERNET:CIRCLE@POST.QUEENSU.CA at CSERVE Date: 6/12/98 6:59 AM My pfile has gotten awfully big, 20 megs, 2000 people, and since i've just shut the mud down for maintanance most of them need to be deleted. Well purgeplay worked great for me except one thing, I want to have it move idnums of people down if there's a space avaliable. For example: Bob's idnum is 514 John's idnum is 515 Ann's idnum is 516 John got deleted Ann's idnum should become 515. So there are no idnums without characters. Any ideas how I would go about doing this? (I'll have to wipe the mail file too but thats no problem) I'm guessing putting a check if one's idnum - 1 is used by anyone but then it would move it down one but not down 100 (this is happening a lot since when I shutdown pretty much only the begining 10 and the ending 4000 idnums are used. everything in the middle deleted) Thanks, Pheonix Shadowflame +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST