-CrAzY- Posted August 9, 2007 Share Posted August 9, 2007 currently it goes up 1/15 per five mins i want it to goe up 1/15 per minute, i was thinking making a file called cron_onemin then putting only the line in cron_fivemins that says about the brave then setting the cron up and instead of: */5 * * * * curl http://ma game name/cron_fivemins.php?code=87df313a5958a1f9bcef0f5197f95a02 it would be: */1 * * * * curl http://ma game name/cron_onemin.php?code=and a code here so could someone please tell me what i have ot take out of cron_fivemins to put into cron_onemin wot to put the cron for ( */1 * * * *??) and what code to put on end , wich is highlighted in red above Thanks! Quote Link to comment Share on other sites More sharing options...
Guest Anonymous Posted August 10, 2007 Share Posted August 10, 2007 Re: IS THERE ANY WAY I CAN MAKE THE BRAVE GO UP 1/15 A MINUTE? Just set the Minute Hour Day Month Weekday ***** Quote Link to comment Share on other sites More sharing options...
-CrAzY- Posted August 10, 2007 Author Share Posted August 10, 2007 Re: IS THERE ANY WAY I CAN MAKE THE BRAVE GO UP 1/15 A MINUTE? but that means brave goes up per minute :lol: but so does other stuff like energy, how do i do it just brave :| Quote Link to comment Share on other sites More sharing options...
Guest Anonymous Posted August 10, 2007 Share Posted August 10, 2007 Re: IS THERE ANY WAY I CAN MAKE THE BRAVE GO UP 1/15 A MINUTE? oh :oops: :oops: :oops: Quote Link to comment Share on other sites More sharing options...
Guest Anonymous Posted August 10, 2007 Share Posted August 10, 2007 Re: IS THERE ANY WAY I CAN MAKE THE BRAVE GO UP 1/15 A MINUTE? What about <?php include "config.php"; global $_CONFIG; if($_GET['code'] != $_CONFIG['code']) { die(""); } define("MONO_ON", 1); require "class/class_db_{$_CONFIG['driver']}.php"; $db=new database; $db->configure($_CONFIG['hostname'], $_CONFIG['username'], $_CONFIG['password'], $_CONFIG['database'], $_CONFIG['persistent']); $db->connect(); $c=$db->connection_id; $set=array(); $settq=$db->query("SELECT * FROM settings"); while($r=$db->fetch_row($settq)) { $set[$r['conf_name']]=$r['conf_value']; } $query="UPDATE users SET brave=brave+((maxbrave/10)+0.5) WHERE brave<maxbrave "; $query2="UPDATE users SET brave=maxbrave WHERE brave>maxbrave"; } ?> Quote Link to comment Share on other sites More sharing options...
-CrAzY- Posted August 10, 2007 Author Share Posted August 10, 2007 Re: IS THERE ANY WAY I CAN MAKE THE BRAVE GO UP 1/15 A MINUTE? where do i put tht Quote Link to comment Share on other sites More sharing options...
Guest Anonymous Posted August 10, 2007 Share Posted August 10, 2007 Re: IS THERE ANY WAY I CAN MAKE THE BRAVE GO UP 1/15 A MINUTE? it,s just the single file for brave update and set the cron as ***** Quote Link to comment Share on other sites More sharing options...
-CrAzY- Posted August 10, 2007 Author Share Posted August 10, 2007 Re: IS THERE ANY WAY I CAN MAKE THE BRAVE GO UP 1/15 A MINUTE? so make a file called, cron_onemin add that to it then run cron * * * * * curl http://magamename/cron_onemin.php but dont i need a code on the end likie this: * * * * * * curl http://magamename/cron_onemin.php?code= ... 5197f95a02 Quote Link to comment Share on other sites More sharing options...
Guest Anonymous Posted August 10, 2007 Share Posted August 10, 2007 Re: IS THERE ANY WAY I CAN MAKE THE BRAVE GO UP 1/15 A MINUTE? * * * * * * curl http://magamename/cron_onemin.php?code= ... 5197f95a02 i think but am not a huderd % shoure it will work :wink: Quote Link to comment Share on other sites More sharing options...
-CrAzY- Posted August 10, 2007 Author Share Posted August 10, 2007 Re: IS THERE ANY WAY I CAN MAKE THE BRAVE GO UP 1/15 A MINUTE? well i made that file, n it said parse error again, how can i stop this? 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.