Page 1 of 1

how shop regen is initiated

Posted: Sat Jul 12, 2003 3:22 pm
by syntax53
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.





# 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 (http://www.forumshq.com/showthread.php?t=4752) 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.

Re: how shop regen is initiated

Posted: Sat Jul 12, 2003 3:27 pm
by Demonic
no wonder our tower is always half friggin empty. thanks for the info syntax



but on a legit board, they cant change regen times can they?

Re: how shop regen is initiated

Posted: Sat Jul 12, 2003 3:29 pm
by BlackHaze
You know, Syntax you never cease to amaze me, hehe. This information would have been very helpful to me a couple weeks ago before i quit running a board :) I had major shop regen issues man, everything was depleting from shops and not regening. I give you props.. I hope this will help anyone who has the same problems i had.

Re: how shop regen is initiated

Posted: Sat Jul 12, 2003 3:31 pm
by syntax53
Originally posted by Demonic

no wonder our tower is always half friggin empty. thanks for the info syntax



but on a legit board, they cant change regen times can they?



nod before i figured all this out we were probably regenning nothing on morbid since we do 3 shutdowns a day (including cleanup). none of the items in that list above probably would have regenned since they are set to 8 hours and thats the interval we shutdown at. what i did for that was lowered regen times 30% and raised regen %'s 30% (using the universal modifier in NMR).

Re: how shop regen is initiated

Posted: Sun Jul 13, 2003 9:44 pm
by syntax53
btw, the correct way to do this to your realm would be two universal modifier operations (with NMR):



#1)

shops --> all regen % --> % --> 130

limit to all regen time --> % --> 70



--this would make all regen times 30% less since 70% of a number is 30% less. you'd think you would want to do a "limit result to >= 1" but then things that started at 0 would be set to 1. anything that should regen is going to have a time of at least 5 minutes so recuding by 30% shouldn't make anything 0.