50 room number skip issue -- new rooms + shop regen and item sweeps

Discussion on running your own board and editing MajorMUD.
Post Reply
User avatar
syntax
Site Admin
Posts: 553
Joined: Tue Jun 02, 2009 10:02 am

50 room number skip issue -- new rooms + shop regen and item sweeps

Post by syntax »

some info i've found ...

if you've created new rooms using high record numbers (which you should be) shops that are assigned to those rooms won't regen. also, offline item sweeps wont hit those rooms. the only way i've found to fix it is to insert "buffer" rooms (blank rooms) for all the missing record numbers up until your room numbers.

so say our rooms are 9000+ and the last built in room is 2350 ... create rooms 2351 to room 8999 and your shops will work and your rooms can be sweeped. you can tell if your shops are regenning or not by typing "sys stat" in the room. it should show you regen info at the bottom of the output.

the problem i've found is mud stops scanning rooms after 50 room numbers have been skipped. i've created a feature to do this in NMR (fill in buffer rooms on a given map), but until i get a new release you could do it now by creating one and then just holding down enter for a long period of time

the loophole is shops will work if they've been assigned to rooms that have been scanned already (remember even you you assign a shop to two rooms, it's still only one stock of items and therefor only one entry in memory for regen). so if you only have 3 shops you could just make 3 unused rooms that have your shops assigned to them after the last built in number (rooms 2531, 2532, and 2533 in my example above). this won't help room sweeping but the shops would regen without inserting an ass-load of rooms.

i don't know what other aspects of the game this may affect, but it's the only things i've found so far.

-syn

edits:
Quote:
Originally Posted by syntax53
new info on shop regen with v1.11n ... any shop higher then record number 200 wont regen items. the infamous dll file needs another hack to get around this. the issue first described in this thread is also still an issue, so there are now two issues when it comes to shop regen on new shops and rooms.

Quote:
Originally Posted by syntax53
make that three issues. dating as far back to at least v1.11m(?) there is an issue where only about 250 shops total would regen. usually, but not always, it's the last 250 shops that loaded. currently only "v1.11p-beta8 FIX2" (and later) addresses this issue.

https://web.archive.org/web/20061021145 ... php?t=4752
Attachments
Untitled.png
Untitled.png (71.94 KiB) Viewed 3365 times


Post Reply