Jump to content
MakeWebGames

DidNotCompute

Members
  • Posts

    47
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

DidNotCompute's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. I've got some free time, so let me know the concept of what you're after...
  2. Do you have a valid ClassiPress license?
  3. Really? Which major hosting company does not allow crons?
  4. He's using Foundation. [MENTION=70342]wrux[/MENTION] Good luck with the game, looks really cool. :)
  5. FYI, here are some sites that allow incentives (and so send HTTP requests): http://www.top100arena.com http://www.gamingbytes.com http://www.topwebgames.com http://www.mpogr.com http://www.hotrpgames.com http://www.mgpoll.com http://www.hotbrowsergames.net http://www.browsergametoplist.com http://www.browsergamelist.net
  6. Your question isn't very clear? Do you mean players can gain voting rewards (e.g. money or credits) without actually voting? If so, some voting sites offer the option of having HTTP requests sent which you can use to verify that the user has actually voted.
  7. What for? That would be a waste of my time. However, I'm sure anyone else with knowledge of HTML or CSS would say the same as I have. Also, I'm just giving my opinion on your work; others may disagree.
  8. Really? $55 for a few boxes and a generic brick background? :confused: Also, nearly everything there could be created, relatively simply, with CSS and HTML.
  9. What you have described here is registering...
  10. Why are you using INT here? Are the colours assigned to integer values?
  11. For your first error, the query probably failed (for any number of reasons). Division by zero means your dividing by 0 i.e. NULL.
  12. I'm not sure exactly what you're looking for as your post is a little unclear. But give this a go...   $maximum_move_difference = $maximum_moves_for_current_level - $minimum_moves_for_current_level; $your_move_difference = $maximum_moves_for_current_level - $your_moves; $maximum_to_multiply_by = 4; $minimum_to_multiply_by = 1; $each_move_difference_increment = ($maximum_to_multiply_by - $minimum_to_multiply_by) / $maximum_move_difference; $multiply_value = ($your_move_difference*$each_move_difference_increment) + $minimum_to_multiply_by; $award = $minimum_reward_for_current_level*$multiply_value;
  13. I don't get the point of this? If you already own the .com game why don't you just improve that rather than creating the .co.uk one?
  14. Paste all of this into your daily cron file and delete the competition_cron.php file.   if ($set['competition'] == "Active") { if ($set['competition_type'] == "Crimes") { $type = "crimes"; } elseif ($set['competition_type'] == "Jail Busts") { $type = "jail_busts"; } $get_top3 = $db->query("SELECT userid, $type, competition_starting FROM users WHERE competition='1' ORDER BY $type-competition_starting DESC LIMIT 3"); $n = 1; while ($top3 = mysql_fetch_object($get_top3)) { switch ($n) { case 1: $prize = $set['competition_prize_1']; break; case 2: $prize = $set['competition_prize_2']; break; case 3: $prize = $set['competition_prize_3']; break; } $db->query("UPDATE users SET money=money+$prize WHERE userid='$top3->userid'"); $n++; } $db->query("UPDATE users SET competition='0' WHERE competition='1'"); $db->query("UPDATE settings SET conf_value='Inactive' WHERE conf_name='competition'"); $db->query("UPDATE settings SET conf_value='' WHERE conf_name='competition_type'"); $db->query("UPDATE settings SET conf_value='' WHERE conf_name='competition_prize_1'"); $db->query("UPDATE settings SET conf_value='' WHERE conf_name='competition_prize_2'"); $db->query("UPDATE settings SET conf_value='' WHERE conf_name='competition_prize_3'"); }
  15. I can't see why this error is occurring. What I'd suggest you do is add everything from line 22 onwards into your daily cron file.
×
×
  • Create New...