how shop regen is initiated

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

how shop regen is initiated

Post by syntax »

shop regen time isn't like monsters where they regen in a set time from when they last regenned. shop regen is initiated from when the board first comes up. it checks to see if it MIGHT regen in on the intervals set by each item's stock regen time. that time is in minutes. so for a particular stocked item, if the regen time is 60 and then regen % is 5 and the regen # is 1, that means that every 60 minutes from when the board comes up it has a 5% of regenning 1 item.

now if you do 2 shutdowns a day, 1 for cleanup and 1 just for regen, then a lot of items will never regen. if we look at the shop below (which is one of the shops in the blue tower) than 4 of these items may never regen.

Code: Select all

#      Name                          Max    Time   Rgn%   Rgn#   Cost   
743    spiked plate corselet         5      720    2      1      250 Gold
733    spiked gauntlets              5      720    2      1      50 Gold
851    crystal platemail             3      720    3      1      2000 Gold
856    adamantite platemail tunic    3      720    2      1      100 Platinum
521    silvery plate corselet        5      480    5      1      500 Gold
522    silvery crested shield        5      480    5      1      700 Gold
448    mirrored shield               1      480    5      1      2500 Gold
402    eagle helm                    3      480    5      1      3000 Gold
405    crested war helm              1      480    2      1      1100 Gold
443    black plate leggings          5      480    3      1      600 Gold
1842   black plate gauntlets         5      480    5      1      450 Gold
1841   black plate boots             5      480    5      1      360 Gold
those items set to 720 minutes (12 hours) may never see the light of day on a board that shuts down every 12 hours. not only do they only have a 2% chance at regenning, they might not ever even check to see IF they regen since the board shuts down and regen is initiated over again.

you can check a shop to see how the regen is working. if you type "sys stat" in a shop room it should list all the items that are set to regen and the time that they will next check to see if they regen. if you don't see the shop regen information and a thing at the bottom saying "I2R: #" then check this thread to fix new edited shops.

i would recommend all boards (even legit ones) to lower regen times if they shutdown until a regen fix is released. otherwise your shops may never regen some items.

https://web.archive.org/web/20061021145 ... php?t=4990
Attachments
Untitled.png
Untitled.png (70.64 KiB) Viewed 2800 times


Post Reply