Jump to content
MakeWebGames

EpicFuse

Members
  • Posts

    43
  • Joined

  • Last visited

    Never

Everything posted by EpicFuse

  1. Re: [v2] Create a Crystal im trying to recode so you have to pay 5mil as a 1 time fee and make crystels from that any help apritiated
  2. Re: [v2] Create a Crystal not bad to be onist +1 :wink:
  3. Re: Drugs Help +1 for you sir,
  4. Please tell me whats wron with the query below is the error i get thanks Error SQL query: INSERT INTO `drugs` VALUES ( 2, 'John', 'him', 'Crack', 'You start lining up the crack to snort, you do this a few times with $name then you walk home. While walking home you feel all happy and braver, all you want to do is do some illegal activity.', 20, 20, 999, 20, 200, 6, 0 ) INSERT INTO `drugs` VALUES ( 3, 'Jay', 'him', 'Crystel Methane', 'You start eating the Crystel meth with $name, you start seeings some crazy stuff in the alleys so you tell $name your going to head home, befor you left you ate the rest of the shrooms. While walking home you feel all happy and braver, all you want to do is do some illegal activity.', 30, 30, 999, 30, 300, 1, 0 ) ;   MySQL said: #1064 - 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 'INSERT INTO `drugs` VALUES (3, 'Jay', 'him', 'Crystel Methane', 'You start eatin' at line 2   CREATE TABLE `drugs` ( `dID` int(11) NOT NULL auto_increment, `dNAME` varchar(255) NOT NULL default 'Some Guy', `dSEX` varchar(3) NOT NULL default 'him', `dDRUG` varchar(255) NOT NULL default 'Some Drug', `dEFFECT` text NOT NULL, `energy` int(11) NOT NULL default '0', `will` int(11) NOT NULL default '0', `brave` int(11) NOT NULL default '0', `health` int(11) NOT NULL default '0', `dPRICE` int(11) NOT NULL default '0', `dQTY` int(11) NOT NULL default '0', `dOD` int(11) NOT NULL default '0', PRIMARY KEY (`dID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=4 ; INSERT INTO `drugs` VALUES (1, 'Josh', 'him', 'Cannibis', 'You light up the weed with your lighter and start taking big puffs, you pass it to $name and pass back and forth for a few minutes then you walk home. While walking home you feel all happy and braver, all you want to do is do some illegal activity.', 10, 10, 999, 10, 100, 1, 0); INSERT INTO `drugs` VALUES (2, 'John', 'him', 'Crack', 'You start lining up the crack to snort, you do this a few times with $name then you walk home. While walking home you feel all happy and braver, all you want to do is do some illegal activity.', 20, 20, 999, 20, 200, 6, 0) INSERT INTO `drugs` VALUES (3, 'Jay', 'him', 'Crystel Methane', 'You start eating the Crystel meth with $name, you start seeings some crazy stuff in the alleys so you tell $name your going to head home, befor you left you ate the rest of the shrooms. While walking home you feel all happy and braver, all you want to do is do some illegal activity.', 30, 30, 999, 30, 300, 1, 0); INSERT INTO `drugs` VALUES (4, 'Robert', 'him', 'Heroine', 'You ingect yourself with the syringe full of heroin, you pass it to $name and pass back and forth for a few minutes then you walk home. While walking home you feel all happy and braver, all you want to do is do some illegal activity.', 10, 10, 999, 10, 100, 1, 0); INSERT INTO `drugs` VALUES (5, 'Ross', 'him', 'Ectesy', 'You start the ectasy pils with $name, then you walk home. While walking home you feel all happy and braver, all you want to do is do some illegal activity.', 20, 20, 999, 20, 200, 6, 0) INSERT INTO `drugs` VALUES (6, 'George', 'him', 'LSD', 'You start taking LSD with $name, you start seeings some crazy stuff in the alleys so you tell $name your going to head home, befor you left you ate the rest of the drugs. While walking home you feel all happy and braver, all you want to do is do some illegal activity.', 30, 30, 999, 30, 300, 1, 0);   please post a fixed 1 or if you want mail me on msn [email protected]
  5. Re: Help !!URGENT!! please i still need help +10 for any1 that can fix
  6. Re: Help !!URGENT!! www.workingcapital.puredeath.co.uk
  7. my crimes wont give me xp i have edited them to a 1000 exp if sucsees but nothing if anyone knows the problem please post below :|
  8. i would really apritate if someone can give a link or code so i can have drug factorie/farm in my game so it could upgrade the size and stuff lol remever im a noob if you want add me on msn just send me a mail [email protected] the code has to be free lol im a cheap ass
  9. Re: Visability oh um hey were did you get the investment bank mod?
  10. Re: Will,Brave and energy this is my cron_fivemins.php if yopu see anything that needs fix just please fix it lol im a noob at coding   <?php include "config.php"; $db->query("UPDATE users SET break=1"); $stocks = mysql_query("SELECT stockID FROM `stock_stocks`"); while($soc = mysql_fetch_assoc($stocks)) { $rand = mt_rand(1,2); if($rand == 2) { $mr = mt_rand(10,250); mysql_query("UPDATE `stock_stocks` SET `stockUD` = 2, `stockCHANGE` = ".$mr.", `stockNPRICE` = (`stockNPRICE` - ".$mr.") WHERE `stockID` = ".$soc['stockID']); } else { $mr = mt_rand(10,250); mysql_query("UPDATE `stock_stocks` SET `stockUD` = 1, `stockCHANGE` = ".$mr.", `stockNPRICE` = (`stockNPRICE` + ".$mr.") WHERE `stockID` = ".$soc['stockID']); } } include_once('global_func.php'); $sel = mysql_query("SELECT stockID,stockNAME FROM `stock_stocks` WHERE `stockNPRICE` < 0"); while($soc = mysql_fetch_assoc($sel)) { if(mysql_num_rows(mysql_query("SELECT holdingID FROM `stock_holdings` WHERE `holdingSTOCK` = ".$soc['stockID']))) { $user = mysql_query("SELECT holdingUSER FROM `stock_holdings` WHERE `holdingSTOCK` = ".$soc['stockID']); $user = mysql_fetch_assoc($user); event_add($user['holdingUSER'], 'Stock '.$soc['stockNAME'].' crashed, you lost all your shares.'); } mysql_query("DELETE FROM `stock_holdings` WHERE `holdingSTOCK` = ".$soc['stockID']); mysql_query("UPDATE `stock_stocks` SET `stockUD` = 1,`stockCHANGE` = 0,`stockNPRICE` = `stockOPRICE` WHERE `stockID` = ".$soc['stockID']); } 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"; $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($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"); } ?>
  11. Re: Will,Brave and energy still looking for help!
  12. none of these are refilling could someone please help?
  13. Re: Finding items theres a } at the very bottem try to delete that maybe? :?
  14. EpicFuse

    Help

    Re: Help  
  15. EpicFuse

    Help

    Parse error: syntax error, unexpected T_STRING in /home/class/public_html/mainmenu.php on line 46 wht do i have to do :cry:
×
×
  • Create New...