Galahad Posted March 7, 2011 Share Posted March 7, 2011 This module allows your users to get a free energy refill everyday. This could be easily changed into a free item every day. Please report any bugs. Install - 1) Run this query -> ALTER TABLE `players` ADD `daily` INT NOT NULL 2)Upload cronhour.php to root and set a 1 day cron on it. 3)Upload the other files 4)Place this link anywhere -> [url="index.php?mod=freeenergy"]Free Energy Refill[/url] or place this in home.tpl underneath {/if} {if $player->daily == 0} [url="index.php?mod=freeenergy"]You have a free energy refill![/url] {/if} 5)Enjoy NOTE: The cron is not secure, people could run this from there browser. Quote Link to comment Share on other sites More sharing options...
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.