Jump to content
MakeWebGames

jds137

Members
  • Posts

    402
  • Joined

  • Last visited

Everything posted by jds137

  1. We have just opened up Cripple Wars, and are looking for players, feedback etc... • Name of the game Cripple Wars • URL of the game http://www.cripplewars.com • Meaningful description of the game In Cripplewars, you can take a job at the sweatshop, rummage through the junkyard, battle others, get buff at the playground, become a champion eater while mastering the art of projectile vomiting, and join a club. • Theme of the game Become the best fighter, or rummager • Registration Info (forced or demo account available) demo acct available, which is limited • Statistics (number of registered users, avg online, etc) Acg online now is 20 to 40. Registered users: Just under 2000
  2. It seems to work. I will test more and let you know. t/y
  3. New Error Warning: array_rand() [function.array-rand]: First argument has to be an array in /home/slaversd/public_html/searchdowntown.php on line 217 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 '7,1)' at line 1 Query was INSERT INTO inventory VALUES('',,7,1) Other than that it works
  4. Works great now that you fixed it. Great work as usual. 8| 8| 8| 8| 8| 8| 8|
  5. 8 : 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 '2,1)' at line 1 Query was INSERT INTO inventory VALUES('',,2,1)   Is an error I received adding this. Any thoughts on it?
  6. Shucks lets not fight. I wanna see the better way of doing this mod!!
  7. I have that too, but my dare goes negative, and my users get no hospital time
  8. How do we keep dare from going negative. Also for the hospital part, what is needed to actually send them to the hospital Other than that it works fine. Please dont shoot the messenger.
  9. To the new owners Can you fix the login issues. Having to login over and over again makes me not want to login at all...
  10. Can we see an example oh great Mcc coder?
  11. Happy BD old fart Happy Birthday to you, I went to the zoo, I saw a big monkey, And I thought it was you. And for the record, I was born in 1969 so I beat you. :P Keep up the good work. And may you never get carpal tunnel from all the typing you do..
  12. I have emailed MD here, probably 4 or 5 times regarding this issue. It is very annoying, and makes me want to #(*(&$$*(& when ever I login. When I login, it takes me about 4 or 5 times of entering my info. It has been an issue since the site changed. If I was a casual user it would not irk me, but since I am here quite a bit, it is a thorn in my foot. Please someone let me know what is needed to login only once. ?( ?( ?( ?( ?( ?( ?( ?(
  13. Is this mod working now? I know last time I checked, it was still being developed. Great stuff as usual
  14. Lets beat him, he deserves it :P
  15. Does anyone got a sec to help me. It works, now in authenticate.php I am getting an error. Sorry to be a pain in the ass.. "Captcha Passed Warning: Cannot modify header information - headers already sent by (output started at /data/users/jsmigle/mobslife.net/mobslife.net/public/authenticate.php:29) in /data/users/jsmigle/mobslife.net/mobslife.net/public/authenticate.php on line 61"   <?php session_start(); if(get_magic_quotes_gpc() == 0) { die("Fatal error: MCCode cannot function without MagicQuotes GPC being turned on in PHP.INI."); } 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; $set=array(); $settq=$db->query("SELECT * FROM settings"); while($r=$db->fetch_row($settq)) { $set[$r['conf_name']]=$r['conf_value']; } /////Start Captcha//////// if(isset($_POST["captcha"])) if($_SESSION["captcha"]==$_POST["captcha"]){echo"Captcha Passed";} else { die("Captcha Failed (Only input the 3 black symbols) <a href=login.php>Try Again</a></div>"); } /////End Captcha//////// if ($_POST['username'] == "" || $_POST['password'] == "") { die("<h3>{$set['game_name']} Error</h3> You did not fill in the login form! <a href=login.php>> Back</a>"); } $uq=$db->query("SELECT userid FROM users WHERE login_name='{$_POST['username']}' AND `userpass`=md5('{$_POST['password']}')"); if ($db->num_rows($uq)==0) { die("<h3>{$set['game_name']} Error</h3> Invalid username or password! <a href=login.php>> Back</a>"); } else { $_SESSION['loggedin']=1; $mem=$db->fetch_row($uq); $_SESSION['userid']=$mem['userid']; $IP = ($_SERVER['HTTP_X_FORWARDED_FOR']) ? $_SERVER['HTTP_X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR']; $db->query("UPDATE users SET lastip_login='$IP',last_login=unix_timestamp() WHERE userid={$mem['userid']}"); if($set['validate_period'] == "login" && $set['validate_on']) { $db->query("UPDATE users SET verified=0 WHERE userid={$mem['userid']}"); } header("Location: loggedin.php"); } ?>
  16. I did that, and got this error, so I thought I added it wrong. "Parse error: syntax error, unexpected T_LNUMBER, expecting ',' or ';' in /data/users/jsmigle/mobslife.net/mobslife.net/public/login.php on line 167"
  17. Would you mind looking @ my login? I am ill today, and cant think. Funny part is I never leave the house. lol   <?php session_start(); 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; $set=array(); $settq=$db->query("SELECT * FROM settings"); while($r=$db->fetch_row($settq)) { $set[$r['conf_name']]=$r['conf_value']; } $q=$db->query("SELECT userid FROM users"); $membs=$db->num_rows($q); $q=$db->query("SELECT * FROM users WHERE laston>unix_timestamp()-15*60 ORDER BY laston DESC"); $online=mysql_num_rows($q); $q=$db->query("SELECT userid FROM users WHERE gender='Male'"); $male=$db->num_rows($q); $q=$db->query("SELECT userid FROM users WHERE gender='Female'"); $fem=$db->num_rows($q); $q=mysql_query("SELECT * FROM users WHERE laston<unix_timestamp()-86400*10 ORDER BY laston DESC",$c); $act=mysql_num_rows($q); $perctact = $membs - $act; $pact = round( ($perctact/$membs)*100, 0 ); print <<<EOF <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta name="google-site-verification" content="3c1BO80ghJiiLBFjBTXGOwAIdJGoZ7vzyZrYmIkK32o" /> <title>.: Mobs Life :.</title> <script language="JavaScript"> <!-- function getCookieVal (offset) { var endstr = document.cookie.indexOf (";", offset); if (endstr == -1) endstr = document.cookie.length; return unescape(document.cookie.substring(offset, endstr)); } function GetCookie (name) { var arg = name + "="; var alen = arg.length; var clen = document.cookie.length; var i = 0; while (i < clen) { var j = i + alen; if (document.cookie.substring(i, j) == arg) return getCookieVal (j); i = document.cookie.indexOf(" ", i) + 1; if (i == 0) break; } return null; } function SetCookie (name,value,expires,path,domain,secure) { document.cookie = name + "=" + escape (value) + ((expires) ? "; expires=" + expires.toGMTString() : "") + ((path) ? "; path=" + path : "") + ((domain) ? "; domain=" + domain : "") + ((secure) ? "; secure" : ""); } function DeleteCookie (name,path,domain) { if (GetCookie(name)) { document.cookie = name + "=" + ((path) ? "; path=" + path : "") + ((domain) ? "; domain=" + domain : "") + "; expires=Thu, 01-Jan-70 00:00:01 GMT"; } } // --> </script> <script language="JavaScript"> var usr; var pw; var sv; function getme() { usr = document.login.username; pw = document.login.password; sv = document.login.save; if (GetCookie('player') != null) { usr.value = GetCookie('username') pw.value = GetCookie('password') if (GetCookie('save') == 'true') { sv[0].checked = true; } } } function saveme() { if (usr.value.length != 0 && pw.value.length != 0) { if (sv[0].checked) { expdate = new Date(); expdate.setTime(expdate.getTime()+(365 * 24 * 60 * 60 * 1000)); SetCookie('username', usr.value, expdate); SetCookie('password', pw.value, expdate); SetCookie('save', 'true', expdate); } if (sv[1].checked) { DeleteCookie('username'); DeleteCookie('password'); DeleteCookie('save'); } } else { alert('You must enter a username/password.'); return false; } } //]]> </script> <link href="default.css" rel="stylesheet" type="text/css" /> </head> <body id="home" onload="getme();"> <div id="container"> </div> EOF; $IP = mysql_real_escape_string($_SERVER['REMOTE_ADDR']); if(file_exists('ipbans/'.$IP)) { die("[b]<font color=red size=+1>Your IP Has Been Banned Please Contact Us [url='contact.php']Here[/url] If You Have Been Banned For The Wrong Reasons</font>[/b]</body></html>"); } $year=date('Y'); echo ' <div id="header"> <div id="logo"> <h1>[url="http://www.mobslife.net/title.jpg"]Welcome To Mobs Life[/url]</h1> </div> <div id="menu"> <ul> <li class="on first">[url="login.php"]Login[/url] [*][url="register.php"]Register[/url] [*][url="privacy.php"]Privacy Policy[/url] [*][url="tos.php"]Terms Of Service[/url] [*][url="contact.php"]Contact us[/url] [*][url="forgotpass.php"]Reset Pass[/url] [/list] <div id="wrapper"> <div id="content"> <div id="sidebar"> <div id="support"> </div> <div id="login" class="boxed"> <h2 class="title">User Login</h2> <form action=authenticate.php method=post name=login onsubmit=\"return saveme();\">Username: <input type=text name=username> Password: <input type=password name=password> <input type=submit value=Login></form> </div> <div id="updates" class="boxed"> <h2 class="title">Mobs Life</h2> <div class="content"> <td align="center" valign="top"> <marquee loop="-1" scrollamount="3" marquee onmouseover="this.stop()" onmouseout="this.start()" direction="up"> [b] '.$set['game_updates'].' [/i][/b] </div> </div> </div> <div id="main"> <div id="welcome" class="post"> </div> <div id="updates" class="boxed"> <h2 class="title">Game Story</h2> [b] '.$set['game_description'].' [/b] </div> <div id="main"> <div id="welcome" class="post"> </div> <div id="updates" class="boxed"> [b]Designed to work best on Google Chrome [/b]</p> <SCRIPT language="Javascript" src="http://www.topwebgames.com/games/activead.js?id=6356"></SCRIPT> <SCRIPT language="Javascript" src="http://www.topwebgames.com/games/bebanner.js?id=6356"></SCRIPT> </div> </div> [/list] </div> </div> </div> </div> <div style="clear: both;"></div> </div> <div id="footer"> <p id="legal">Copyright © 2009 Psycho Killa Entertainment. All Rights Reserved. Hosted By [url="http://www.smigs.net/"]Smigs[/url].</p> </p> </div> </body> </html>'; ?> <SCRIPT type='text/javascript' language='JavaScript' src='http://xslt.alexa.com/site_stats/js/s/a?url=www.mobslife.net'></SCRIPT>
  18. Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /data/users/jsmigle/mobslife.net/mobslife.net/public/staffresign.php on line 5
  19. Thanks as well. I am too tired to debug stuff.
  20. Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /data/users/jsmigle/mobslife.net/mobslife.net/public/staffresign.php on line 1
  21. There is one in v2, but it really sucks. lol
  22. Can we use it for V2
  23. I dont have enfull, do I need it? I have this line: $db->query("UPDATE users SET energy=energy- {$me} WHERE userid=$userid");
  24. $power=(int) ($ir['power']/$ir['max_power']*100); <td>Power: {$ir['power']}/{$ir['max_power']} <img src=bar_left_purp.gif height=13></td>
×
×
  • Create New...