Jump to content
MakeWebGames

-Matt-

Members
  • Posts

    1,011
  • Joined

  • Last visited

Everything posted by -Matt-

  1. Trying to fix me cron's having afew problem's Error: Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/amazonba/public_html/cron_fivemins.php on line 26 Code: <?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']; } //brave update $query="UPDATE users SET brave=brave+((maxbrave/10)+0.5) WHERE brave<maxbrave "; $query2="UPDATE users SET brave=maxbrave WHERE brave>maxbrave"; $query3="UPDATE users SET hp=hp+(maxhp/3) WHERE hp<maxhp"; $query4="UPDATE users SET hp=maxhp WHERE hp>maxhp"; $query6"UPDATE users SET dexterity=dexterity+5 WHERE dexterity < max_dexterity"; $query7"UPDATE users SET dexterity=max_dexterity WHERE dexterity > max_dexterity"; $db->query($query); $db->query($query2); $db->query($query3); $db->query($query4); //enerwill update $query="UPDATE users SET energy=energy+(maxenergy/(12.5)) WHERE energy<maxenergy AND donatordays=0"; $query5="UPDATE users SET energy=energy+(maxenergy/(6)) WHERE energy<maxenergy AND donatordays>0"; $query2="UPDATE users SET energy=maxenergy WHERE energy>maxenergy"; $query3="UPDATE users SET will=will+10 WHERE will<maxwill"; $query4="UPDATE users SET will=maxwill WHERE will>maxwill"; $db->query($query6,$c) or die("\nError Executing Query 6 for updating users $i to $next\n$query6\n".$db->error()."\nError Code:".$db->errno()); $db->query($query7,$c) or die("\nError Executing Query 7 for updating users $i to $next\n$query7\n".$db->error()."\nError Code:".$db->errno()); $db->query($query); $db->query($query5); $db->query($query2); $db->query($query3); $db->query($query4); if($set['validate_period'] == 5 && $set['validate_on']) { $db->query("UPDATE users SET verified=0"); } if($set['validate_period'] == 15 && $set['validate_on'] && in_array(date('i'),array("00", "15", "30", "45"))) { $db->query("UPDATE users SET verified=0"); } ?>   Please try and help . . .
  2. Re: Ranger Den [$25] Nice Mod Edited :-D
  3. Re: Counting (nr game) 1838
  4. Re: [v2]Forum Credits w/ exchange[v2] Yea but still get spam :-o But nice addition.
  5. Re: [v2]Forum Credits w/ exchange[v2] Still you have 1,000 member's active they all want forum point's 1000 topic's/post's per day of rubish :p
  6. Re: [v2]Forum Credits w/ exchange[v2] Just give's you spam in your forum's really :oops:
  7. Re: Count Backwards :D 4997
  8. Re: Guess the next poster Yea :) Ghetto
  9. Re: Energy Orb [$5]   When i bought your's it don't really work all you get is 150% Energy, Then when you attack someone it cost 75% energy and the gym also has problem's.
  10. Re: Illegal downloading Viruses HAHA then they would be in million's pounds of damage.
  11. Re: Counting (nr game) 1826
  12. Re: Counting (nr game) 1823
  13. Re: FREE V2 NEW GAME STATS PAGE End of the code is messed up.
  14. Re: FREE V2 NEW GAME STATS PAGE V1 Anyone i messed my conversion up :(
  15. Re: Counting (nr game) 1815
  16. Re: $10 Discount for CE Members Tell me when the update is done :D
  17. Re: Mccodes Version 1 Or 2 Why didn't you just make a poll :\
  18. Re: Money on my game Go on the file and edit $ to £ :P or use CTRL + H
  19. Re: Money on my game Do it the old fashion way :p
  20. Re: Money on my game Lol i would do that just go on a page click CTRL + H and then edit it.
  21. Re: [mccode] Jail Key No thats v2, this is v1.
  22. Re: [Free] MySQL Control Panel So it don't really matter, +1 shows a sign of respects, -1 doesn't :D
  23. Re: Multi accounts, less proxys. Learn to stop it here Only down to this is alot of people use proxys 60% of my users use proxy in work,school ect, i suggest using proxy in cash tranfer, markets so it allow's people using proxys to play the game but not on the exstent of not letting them play.
  24. Re: Guess the next poster Correct :D YoungGold
  25. Re: [Free] MySQL Control Panel Yea great adition, to the game i notice that mafia script comes with that also its nice peace of work.
×
×
  • Create New...