Jump to content
MakeWebGames

? Sparks ?

Members
  • Posts

    134
  • Joined

  • Last visited

    Never

Everything posted by ? Sparks ?

  1. How much would a nice login and register page cost :P Like styling with pictures and stuff, not a basic one :mrgreen:
  2. Re: please help   <?php session_start(); if ($_POST['username'] == "" || $_POST['password'] == "") { die("<h3>Your Game Name Error</h3> You did not fill in the login form! <a href=login.php>> Back</a>"); } include "mysql.php"; global $c; $uq=mysql_query("SELECT userid FROM users WHERE login_name='{$_POST['username']}' AND `userpass`=md5('{$_POST['password']}')",$c) or die(mysql_error()); if (mysql_num_rows($uq)==0) { die("<h3>Your Game Name Error</h3> Invalid username or password! <a href=login.php>> Back</a>"); } else { $_SESSION['loggedin']=1; $mem=mysql_fetch_array($uq); $_SESSION['userid']=$mem['userid']; header("Location: loggedin.php"); } ?>
  3. Re: [MCCODES V2] Track your Users IP Just beautiful :D +1
  4. Okay I am having troubles with my inventory and staff_items When i send an Item through the staff panel It doesn't show up In your items
  5. Re: [mccode v2] Login and Register Pages DOESN'T WORK!
  6. Re: [MCCODES V2] Forums Fix for Ranks, Number of Posts + Delete Error My forums are a bit different, could you help me? If so email me or Pm me since my script won't fit :P
  7. Re: [MCCODES V2] MailBox Update I already had this :P i didn't have the smilies that matched though :P Thanks for showing me this +1
  8. Re: [MCCODES V2] MailBox Update Care to show us some screenshots?
  9. Re: Maintenance mode? Yeah Its called, backing up your index and header file and write "sorry the site Is undergoing maintenance, Be back up soon" Into it :P
  10. I got one in my index page that I have absolutely no clue how to fix :S 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 us.userid != 1 AND u.user_level != 0' at line 1 Query was SELECT count(*) FROM userstats us LEFT JOIN users u ON us.userid=u.userid WHERE us.strength > AND us.userid != 1 AND u.user_level != 0
  11. Re: Help With Forums Oh MTG It wasn't your forums, My old ones were f'ed because of the header
  12. Re: Malacious Error Detected Wow thanks crazy T Never thought about that :P
  13. Re: Help With Forums Fixed
  14. when my users try to upload a picture they get an alert that says "Malacious Error Detected" Anyone know how to fix?
  15. Okay I have a real problem with my forums, unfortunatley Its not my script to post and show off, So If you are a decent coder please hit me up on MSN, I will give you like +20 lol [email protected]
  16. Re: [MMCODES V2] HACKING ATTEMPTS LOGGED Noyce +1 :-D
  17. Re: marriage, sharing housing? :S
  18. Re: [mccode v2] ***UPDATED*** Staff Action: Full User Details 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 '' at line 1 Query was SELECT * FROM gangs WHERE gangID=
  19. Re: [mccode v2] Gang Recruit This looks like the same one plintu made.   ANyways If it is fifferent great Job :D
  20. Okay so you know how when you frist click staff panel, and It will show the staff logs? Well It still shows everything I just have to scroll down to it way down the bottom of the page...   Any Ideas on how to fix?
  21. Re: Help with cron_day For some reason Its only taking off the donator days. The jobs aren't paying and the forum ban won't go away
  22. Re: Phaos Game Engine Can someone help me upload it?
  23. My cron day file wont work, can anyone tell me why? Here Is the file <?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; $db->query("UPDATE fedjail set fed_days=fed_days-1"); $q=$db->query("SELECT * FROM fedjail WHERE fed_days=0"); $ids=array(); while($r=$db->fetch_row($q)) { $ids[]=$r['fed_userid']; } if(count($ids) > 0) { $db->query("UPDATE users SET fedjail=0 WHERE userid IN(".implode(",", $ids).")"); } $db->query("DELETE FROM fedjail WHERE fed_days=0"); $db->query("UPDATE users SET daysingang=daysingang+1 WHERE gang > 0"); $db->query("UPDATE users SET daysold=daysold+1, boxes_opened=0"); $db->query("UPDATE users SET mailban=mailban-1 WHERE mailban > 0"); $db->query("UPDATE users SET donatordays=donatordays-1 WHERE donatordays > 0"); $db->query("UPDATE users SET cdays=cdays-1 WHERE course > 0"); $db->query("UPDATE users SET bankmoney=bankmoney+(bankmoney/50) where bankmoney>0"); $db->query("UPDATE users SET cybermoney=cybermoney+(cybermoney/100*7) where cybermoney>0"); $db->query("UPDATE users SET forumban=forumban-1 WHERE forumban>1"); $q=$db->query("SELECT * FROM users WHERE cdays=0 AND course > 0"); $db->query("UPDATE users SET fishing_aloud=20"); while($r=$db->fetch_row($q)) { $cd=$db->query("SELECT * FROM courses WHERE crID={$r['course']}"); $coud=$db->fetch_row($cd); $userid=$r['userid']; $db->query("INSERT INTO coursesdone VALUES({$r['userid']},{$r['course']})"); $upd=""; $ev=""; if($coud['crSTR'] > 0) { $upd.=",us.strength=us.strength+{$coud['crSTR']}"; $ev.=", {$coud['crSTR']} strength"; } if($coud['crGUARD'] > 0) { $upd.=",us.guard=us.guard+{$coud['crGUARD']}"; $ev.=", {$coud['crGUARD']} guard"; } if($coud['crLABOUR'] > 0) { $upd.=",us.labour=us.labour+{$coud['crLABOUR']}"; $ev.=", {$coud['crLABOUR']} labour"; } if($coud['crAGIL'] > 0) { $upd.=",us.agility=us.agility+{$coud['crAGIL']}"; $ev.=", {$coud['crAGIL']} agility"; } if($coud['crIQ'] > 0) { $upd.=",us.IQ=us.IQ+{$coud['crIQ']}"; $ev.=", {$coud['crIQ']} IQ"; } $ev=substr($ev,1); if ($upd) { $db->query("UPDATE users u LEFT JOIN userstats us ON u.userid=us.userid SET us.userid=us.userid $upd WHERE u.userid=$userid"); } $db->query("INSERT INTO events VALUES('',$userid,unix_timestamp(),0,'Congratulations, you completed the {$coud['crNAME']} and gained $ev!')"); } $db->query("UPDATE users SET course=0 WHERE cdays=0"); $db->query("TRUNCATE TABLE votes;"); ?>   And I set it to, 0 0 * * *
  24. Re: Illegalife and his GFX Looks nice
  25. Re: New type of Crimes!! 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 ' 0, '22', 'You see an old citizen and want to help cross the street!', ' Query was INSERT INTO goodcalls (callNAME, callBRAVE, callPERCFORM, callSUCCESSMUNY, callSUCCESSCRYS, callSUCCESSITEM, callGROUP, callITEXT, callSTEXT, callFTEXT, callJTEXT, callJAILTIME, callJREASON, callXP) VALUES( '1) Help an old lady cross the street', '1', '((WILL*0.8)/2.5)+(LEVEL/1)', '10', , 0, '22', 'You see an old citizen and want to help cross the street!', 'Thanks why don\'t you take this money to get you some candy!', 'You offer to help the old citizen but he says That he can do It on his own!', 'You ask the old citizen If he needs help crossing the street And he freaks out and calls the cops!', 1, '1', 2)
×
×
  • Create New...