Nicholas Posted August 6, 2009 Posted August 6, 2009 hi, im wondering does anyone know why my Mining Power isnt refilling at all? my energy, will, brave, and etc are refilling and decreasing in time. but my Mining Power Isnt going up. any ideas why? Quote
wolfe Posted August 6, 2009 Posted August 6, 2009 Re: why isnt it refilling? do you have it refilling in the 5 min cron? i think the field name is mine_power. Quote
Nicholas Posted August 6, 2009 Author Posted August 6, 2009 Re: why isnt it refilling? not of what i know of, do u know what query information i need to put in cron_fivemins.php? Quote
wolfe Posted August 6, 2009 Posted August 6, 2009 Re: why isnt it refilling? ... you need to take some time and learn the code you are working with. If you want field x to refill so much per 5 mins, then you need to include the query that adds that amount to that field every 5 mins. Kind of like the energy query you have in your 5 min cron. Quote
Goku Posted August 7, 2009 Posted August 7, 2009 Re: why isnt it refilling? Really should learn before you do attempt, you wont succeed unless your very lucky :wink: like me, J.K :evil: Quote
Dave Posted August 8, 2009 Posted August 8, 2009 Re: why isnt it refilling? Like this kind of but you'll need to change it around to suit and work for this mod.... $db->query("UPDATE users SET mine_power=mine_power+5 WHERE mine_power<max_mine_power"); Quote
Nicholas Posted August 8, 2009 Author Posted August 8, 2009 Re: why isnt it refilling? got it to work, thx. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.