Z?v??
Members-
Posts
248 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Events
Everything posted by Z?v??
-
Re: Arsons City Owning Mod I'm pretty sure thats not Arsons mod. Correct me if im wrong Arson.
-
Re: A way to protect against sql injection What are the 2-3 lines of code that will stop exploitable injections and where do the lines need placed into the code?
-
Re: Contacts Error? I'm having this same exact problem on my v2 game as well. It doesnt delete from the contact list.
-
Re: [mccode] Close page system I'll give you +1 cause i'm an anti-ass. :wink:
-
Re: additional table help Thanks for the support LostOne :wink:
-
Re: additional table help A n00b helpin a n00b :lol: Have fun with that.
-
Re: Cron Error Ok, I'm now payin $2 to anyone that rewrites this for me so it works as a cron.
-
Re: Cron Error Ya, thats the cron lol. Can you rewrite it for me so it works as a cron.
-
Re: Cron Error Spotlightgaming is the one that made the file lol. Whats the fix for it?
-
Re: Cron Error Any ideas on how to fix this?
-
Re: Honor Awards v2 We're still waiting for some proof bling. Dont think we have forgotten. You're just proving to us that you're nothing but a liar with a terrible game layout. :lol:
-
Re: additional table help I dont think game spammers are worthy of help. This kid spammed my game so then I talked to him about it on msn and then he spammed me again right after I talked to him. That is a very childish act and I dont believe you are even mature enough to be able to access this website. (And just a little tip Gary, next time you spam a game, make sure you spell your website url right.) :wink:
-
Re: Cron Error Heres the whole cron file... cron_virus.php <?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; global $c; $q=mysql_query("SELECT * FROM turnonpc WHERE userid=$userid AND list='turnedonpc'",$c); if(mysql_num_rows($q)) { die("You have already turned on your pc today you can only do this once a day!"); $h->endpage(); } else { $db->query("INSERT INTO turnonpc values ($userid,'turnedonpc')"); header("Location:cron_virus.php"); exit; } if($ir['activexvirus'] > 1) { mysql_query("UPDATE users set activexvirus=activexvirus-1 WHERE activexvirus>0",$c); } if($ir['activexvirus']==1) { $db->query("INSERT INTO inventory VALUES('',8008,$userid,1,0)"); $db->query("UPDATE users set activexvirus=0 WHERE activexvirus>0"); event_add($ir['userid'],"You have completed programing your Active X Virus it's on your items.",$c); } if($ir['macrovirus'] > 1) { $db->query("UPDATE users set macrovirus=macrovirus-1 WHERE macrovirus>0"); } if($ir['macrovirus']==1) { $db->query("INSERT INTO inventory VALUES('',8007,$userid,1,0)"); $db->query("UPDATE users set macrovirus=0 WHERE macrovirus>0"); event_add($ir['userid'],"You have completed programing your Macro Virus it's on your items.",$c); } if($ir['bootvirus'] > 1) { mysql_query("UPDATE users set bootvirus=bootvirus-1 WHERE bootvirus>0",$c); } if($ir['bootvirus']==1) { mysql_query("INSERT INTO inventory VALUES('',8006,$userid,1,0)",$c); mysql_query("UPDATE users set bootvirus=0 WHERE bootvirus>0",$c); event_add($ir['userid'],"You have completed programing your Boot Virus it's on your items.",$c); } if($ir['tunnellingvirus'] > 1) { mysql_query("UPDATE users set tunnellingvirus=tunnellingvirus-1 WHERE tunnellingvirus>0",$c); } if($ir['tunnellingvirus']==1) { mysql_query("INSERT INTO inventory VALUES('',8005,$userid,1,0)",$c); mysql_query("UPDATE users set tunnellingvirus=0 WHERE tunnellingvirus>0",$c); event_add($ir['userid'],"You have completed programing your Tunnelling Virus it's on your items.",$c); } if($ir['simplevirus'] > 1) { mysql_query("UPDATE users set simplevirus=simplevirus-1 WHERE simplevirus>0",$c); } if($ir['simplevirus']==1) { mysql_query("INSERT INTO inventory VALUES('',8003,$userid,1,0)",$c); mysql_query("UPDATE users set simplevirus=0 WHERE simplevirus>0",$c); event_add($ir['userid'],"You have completed programing your Simple virus it's on your items.",$c); } if($ir['polymorphicvirus'] > 1) { mysql_query("UPDATE users set polymorphicvirus=polymorphicvirus-1 WHERE polymorphicvirus>0",$c); } if($ir['polymorphicvirus']==1) { mysql_query("INSERT INTO inventory VALUES('',8004,$userid,1,0)",$c); mysql_query("UPDATE users set polymorphicvirus=0 WHERE polymorphicvirus>0",$c); event_add($ir['userid'],"You have completed programing your Polymorphic virus it's on your items.",$c); $h->endpage(); exit;
-
This may be a shocker but...I'm getting an error on a cron file that came in one of the mods I regretfully bought from spotlightgaming. Heres the error I get when I run the cron manually... QUERY ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND list='turnedonpc'' at line 1 Query was SELECT * FROM turnonpc WHERE userid= AND list='turnedonpc' This is the query that is erroring... $q=$db->query("SELECT * FROM turnonpc WHERE userid=$userid AND list='turnedonpc'");
-
Re: mysql injection Wanna give a detailed description of how to block them? :wink:
-
Re: [mccode] Mining mod No, I wasnt putting him down. And i'm not mad at you...im just frustrated cause you stole pics off my site and then said you found them on the internet. And you're not trying to learn...you're scavenging through the forums for freebies for your justfreespace game with stolen mccodes.
-
Re: The perfect formula. Maybe something like... ((IQ*0.8)/40) Unless you wanted to make it more complicated than that.
-
Re: The perfect formula. I've heard that crimes based off of IQ is a good way to go. You just have to make it difficult to get IQ.
-
Re: [mccode] Level Upgrade mod Have you read anything in this thread or are you too dumbfounded to do that. People post FREE stuff and you question everything about all the free mods. Just read the damn thread and you'll find your answer.
-
How would you write an if statement that prints "You cannot complete this action" if a user doesnt select an option in the dropdown box?
-
Re: [mccode] Mining mod Thats cause you dont know how to code.
-
Re: Honor Awards v2 Yep, you stumped me there. :-o We got some real genious's here on CE :lol:
-
Re: Honor Awards v2 Lol, you're not one to piss off huh? You must be the 5th grade bully. And its good that you dont have anything against me, I havent done anything wrong. But I do have something against you. People like you are the reason CE is deteriorating. Good coders are leaving because some people (you) have nothing better to do than cause shit with other people. Say what you want about seany's mod but you're dead wrong. I'm betting seany could code 10 times better than atma...and say....well I wont even mention how much better he can code than you because I'll bet you dont know php worth shit. Anyways...my point is, GO THE HELL AWAY BEFORE YOU CAUSE MORE PEOPLE TO LEAVE CE.
-
Re: Honor Awards v2 Well I guess you can call me a code collector. I buy almost all mods if they are worth it. And i've never ever come across an honors mod like the one YOU made seany. And it's little assclowns like atma and bling that cause the good coders to leave CE.
-
Re: Honor Awards v2 By comparing the common sense levels between seanybobs and atma's posts, I'm going to assume seany is a bit more intelligent. And as I know seany doesn't steal mods, I'm going to assume atma is trying to take credit for something he didn't produce. Now by gathering info from atma's hard and confusing posts, I'm going to guess he's and adolescent. With this thought out, it would only make sense that seany didn't steal anything and I think atma needs to think before he decides to display his ignorance publicly. That may be good advice for you as well Bling. :wink: