
The Ace
Members-
Posts
363 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Events
Everything posted by The Ace
-
Re: The world mite end on Wednesday 10ths september 2008... They turned it on at 08:30/09:00 am BST. Which means, it worked successfully. (I think), coz we aren't dead.... But, to be honest, I didn't believe all the things about "we could die", and all. ;) ggl.
-
Re: [Free V2] Lottery Have you made the cron, in cronjobs?
-
Re: [REVIEW] Concept game - Make a bot Thanks mate. FireFox had stopped working after I installed it, so it didn't take any effect... ;) ggl
-
Re: [REVIEW] Concept game - Make a bot WOW. I really like the homepage!! However, I downloaded Silver Light, but I get this when I click on play: InitializeError- Failed to initialize the application's root visual Get Microsoft Silverlight
-
Re: A tad confused... GGL. I think I did that. So, I don't think I have any errors....
-
Re: A tad confused... Is that when I enter in the url: http://www.domain.com/cron_hour.php?code= . . . . . . . . . . . . . . . I've been learning for a quite a while, yet I still don't really know how to run a bloody cron manually!!! ggl
-
Sometimes why hourly cron doesn't work. And I'm just curious as to why this happens.... ;) ggl
-
Re: [Free V2] Lottery Have you made a weekly cron in your Cpanel yet?
-
Re: [Free V2] Lottery Replace your cron weekly with: <?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; include("./global_func.php"); $sql = $db->query("SELECT * FROM `lottery`"); $rows = $db->num_rows($sql); $row = $db->fetch_row($sql); $winner = rand(1,$rows); $winnerq = sprintf("SELECT `userid` FROM `lottery` WHERE `id` = %d", $winner); $winnerq1 = $db->query($winnerq); $user = $db->fetch_row($winnerq1); $credit = sprintf("UPDATE `users` SET `money` = `money` + %d WHERE `userid` = (%u)", $row['jackpot'], $user['userid']); $db->query($credit); event_add($user['userid'],"You won the weekly lottery and were credited \${$row['jackpot']}",$c); $db->query("UPDATE `users` SET `lottery` = 0"); $db->query("TRUNCATE TABLE `lottery`"); ?> All I did was add: $db->query($credit); The query was listed, but it wasn't being run... :) This works for me.
-
Re: Most of my Mods for V2 WOW, sounds really good, and hard. All the best and I hope you enjoy it. Cya round mate. ;)
-
Re: Most of my Mods for V2 Nice set of mods there! :lol: It's sad to hear that you're leaving. Thanks for all the help you have given me and CE members. :) Good luck with what you're moving onto....talking of which, what are you moving onto doing? ;)
-
Re: Slight Issue I see...thanks. I look more into it. =) Cheers Floydian. ;)
-
Re: Slight Issue Is anyone willing to do this for me? :-P
-
Re: Red Dwarf I LOVE Red Dwarf! It has to be one of the best comedy series EVER! I like everyone in it. However, I don't think it should have ended in the way it did...it seems there should be something after the final episode, in my opinion... ;)
-
Re: WWII Italy - 11 Japan - 20 Great Britain - 48 United States - 20 Soviet Union - 20 France - 20
-
Re: Slight Issue OK, I'll post one of the votecetop.php (for example) :lol: Here is my votecetop.php <?php session_start(); if(get_magic_quotes_gpc() == 0) { foreach($_POST as $k => $v) { $_POST[$k]=addslashes($v); } foreach($_GET as $k => $v) { $_GET[$k]=addslashes($v); } } require "global_func.php"; if($_SESSION['loggedin']==0) { header("Location: login.php");exit; } $userid=$_SESSION['userid']; include "config.php"; global $_CONFIG; 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; $is=$db->query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid=$userid"); $ir=$db->fetch_row($is); $q=$db->query("SELECT * FROM votes WHERE userid=$userid AND list='cetop'"); if($db->num_rows($q)) { print "You have already voted at CE Top Web Games today!"; } else { $db->query("INSERT INTO votes values ($userid,'cetop')"); $db->query("UPDATE users SET crystals=crystals+45 WHERE userid=$userid"); header("Location:http://www.cetopwebgames.com/index.php?in=1688"); exit; } ?> If you need the others, I will post them.... :)
-
People can't seem to vote when they use the "Opera" browser. It works fine with IE and FireFox, but when someone tries to vote, it takes them to the login screen rather than the actual voting site, where they click yes or no or whatnot... Any ideas why? :?
-
Re: MCCode v3 Thanks Matt. ;)
-
Re: MCCode v3 Who's CB?
-
Re: MCCode v3 I think it might be $350.
-
Re: Double 4,256,304 2^22 is 4194304
-
Re: Guess the next poster No. GGL Matt