Jump to content
MakeWebGames

LimitedStreak

Members
  • Posts

    66
  • Joined

  • Last visited

Everything posted by LimitedStreak

  1. Hello there. Does anyone know how to create a buy points page for way of the mafia scripts. Like get 200 points paying via sms for £3.   Thanks
  2. code tage what do you mean? and does anyone know how to fix this plroblem please
  3. <?php session_start(); include_once"includes/functions.php"; logincheck(); $username=$_SESSION['username']; $fetch=mysql_fetch_object(mysql_query("SELECT * FROM users WHERE username='$username'")); if ($fetch->last_script_check < time()){ if (strip_tags($_POST['script_check_button'])){ require_once('recaptchalib.php'); $privatekey = "6LeVDrwSAAAAANfW1ecJUSsqN_5xkRhcYuKzJdpK"; $resp = recaptcha_check_answer ($privatekey, $_SERVER["REMOTE_ADDR"], $_POST["recaptcha_challenge_field"], $_POST["recaptcha_response_field"]); if (!$resp->is_valid) { echo"<center>You entered the script check code incorrectly. Please try again.</center>"; }else{ $time=time()+(60*45); mysql_query("UPDATE `users` SET `last_script_check`='$time' WHERE username='$username'"); echo"<center>Script check accepted!</center>"; echo "<META HTTP-EQUIV='Refresh' CONTENT='0; URL=$page'>"; }}} ?> <html> <head> <link rel=stylesheet href=includes/in.css type=text/css><script type='text/javascript'> var RecaptchaOptions = { theme : 'blackglass' }; </script></head><body onload="document.scriptcheck_form.recaptcha_response_field.focus()"> <form action='' method='post' name='scriptcheck_form'> <table width='370' border='0' align='center' cellpadding='0' cellspacing='0' class='table'> <tr class='thinline'> <td>Script Check</td> </tr> <tr><td>[i]The script check will determine whether you are human or an evil bot..[/i]</td></tr> <tr> <td align='center'> <? require_once('recaptchalib.php'); $publickey = '6LeVDrwSAAAAACCym5kOlbnURSzsOfIQvzLVA_Nq'; echo recaptcha_get_html($publickey); ?> </td> </tr> <tr><td align='center'> <input type='submit' name='script_check_button' id='script_check_button' class='button' value='Submit'></td> </tr> </table></form><? include_once"footer_bottom.php"; exit(); ?></body></html>
  4. Thanks mate thanks mate but it still aint working! any other ideas ? :D
  5. This is trainheast   <?php session_start(); ?> <script type='text/javascript' src='timer.js'></script> <? include_once 'includes/functions.php'; include_once "includes/jail_check.php"; if ($info->last_script_check < time()){ include_once "scriptcheck.php"; } logincheck(); $page="trainhiest.php"; ?> <script type="text/javascript"> if(!top || top.frames.length < 4) { top.location="/logged_in.php";} </script> <!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 http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <script type="text/javascript" src="js/select.js"></script> <style type="text/css"> td { padding: 2px; </style> </head> <? $user=mysql_fetch_object(mysql_query("SELECT username,money,location,th_time,rankpoints,crew FROM users WHERE username='$username'")); $choice=$_POST['radiobutton']; if($user->th_time > time()){ $left= $user->th_time - time(); print"<center>You must wait <span id='train'></span><script type='text/javascript'>setTimer('train','$left', { 0: function () { window.location = 'trainheist.php' }}); </script>!</center>"; include_once"footer_bottom.php"; exit(); } if ($choice > "7"){ echo "Error"; }elseif ($choice <= "7"){ if($choice){ if($user->th_time > $time){ }else{ if($choice == "1"){ $to="England"; }elseif($choice == "2"){ $to="Spain"; }elseif($choice == "3"){ $to="Italy"; }elseif($choice == "4"){ $to="France"; }elseif($choice == "5"){ $to="Sweden"; }elseif($choice == "6"){ $to="Portugal"; }elseif($choice == "7"){ $to="USA"; } $wtf=rand(1,6); $ti=900; $tim = time() + 900; $cash_win=rand(20000,50000); if($wtf == "1" || $wtf == "2"){ $newrp=rand(7,13); $newrps=$user->rankpoints+$newrp; mysql_query("UPDATE users SET rankpoints='$newrps' WHERE username='$username'"); if($user->crew != '0'){ mysql_query("UPDATE crews SET xp=xp+$newrp WHERE name='$user->crew'"); } mysql_query("UPDATE users SET th_time='$tim' WHERE username='$username'"); print"<p class='warning'>You failed to board the train!</p>"; }elseif($wtf == "3"){ $nerp=rand(7,15); $newrps=$user->rankpoints+$newrp; mysql_query("UPDATE users SET location='$to' WHERE username='$username'"); mysql_query("UPDATE users SET rankpoints='$newrps' WHERE username='$username'"); mysql_query("UPDATE users SET th_time='$tim' WHERE username='$username'"); print"<p class='warning'>You got stuck in the train and arrived in $to!</p>"; }elseif($wtf == "4"){ $newrp=rand(6,14); $newrps=$user->rankpoints+$newrp; $muni=$user->money+$cash_win; mysql_query("UPDATE users SET money='$muni' WHERE username='$username'"); mysql_query("UPDATE users SET rankpoints='$newrps' WHERE username='$username'"); if($user->crew != '0'){ mysql_query("UPDATE crews SET xp=xp+$newrp WHERE name='$user->crew'"); } mysql_query("UPDATE users SET th_time='$tim' WHERE username='$username'"); print"<p class='success'>You stole £".makecomma($cash_win)." from the train!</p>"; }elseif($wtf == "5"){ $nerp=rand(7,14); $newrps=$user->rankpoints+$newrp; $muni=$user->money+$cash_win; mysql_query("UPDATE users SET location='$to' WHERE username='$username'"); mysql_query("UPDATE users SET money='$muni' WHERE username='$username'"); mysql_query("UPDATE users SET rankpoints='$newrps' WHERE username='$username'"); mysql_query("UPDATE users SET th_time='$tim' WHERE username='$username'"); print"<p class='success'>You stole £".makecomma($cash_win)." from the train but you got stuck and arrived in $to!</p>"; }elseif($wtf == "6"){ $length=rand(100,120) + time(); $newrp=rand(5,8); $newrps=$user->rankpoints+$newrp; mysql_query("UPDATE users SET rankpoints='$newrps' WHERE username='$username'"); if($user->crew != '0'){ mysql_query("UPDATE crews SET xp=xp+$newrp WHERE name='$user->crew'"); } mysql_query("UPDATE users SET th_time='$tim' WHERE username='$username'"); mysql_query("INSERT INTO `jail` (`id`,`username`, `time_left`,`reason`,`location`) VALUES ('', '$username', '$length', 'Train Hiest', '$user->location');") or die (mysql_error()); print"<p class='warning'>You were caught trying to board the train and you were put in jail!</p>"; } }}} ?> <body><form id="form1" name="form1" method="post" action=""> <input type="hidden" name="radiobutton" id="select" value="0"> <table width="300" align="center" border="0" cellpadding="0" cellspacing="0" class="table"> <tr class="thinline"> <td> Train Heist</td> </tr> <tr><td align=center>[img=images/trainheist.png]</td></tr> <tr> <? if($user->location != "England"){ ?> <tr class="select" id="1" onClick="SelectOption(this.id);" align="center"><td>Heist a train to England</td></tr> <? } ?> <? if($user->location != "Spain"){ ?> <tr class="select" id="2" onClick="SelectOption(this.id);" align="center"><td>Heist a train to Spain</td></tr> <? } ?> <? if($user->location != "Italy"){ ?> <tr class="select" id="3" onClick="SelectOption(this.id);" align="center"><td>Heist a train to Italy</td></tr> <? } ?> <? if($user->location != "France"){ ?> <tr class="select" id="4" onClick="SelectOption(this.id);" align="center"><td>Heist a train to France</td></tr> <? } ?> <? if($user->location != "Sweden"){ ?> <tr class="select" id="5" onClick="SelectOption(this.id);" align="center"><td>Heist a train to Sweden</td></tr> <? } ?> <? if($user->location != "Portugal"){ ?> <tr class="select" id="6" onClick="SelectOption(this.id);" align="center"><td>Heist a train to Portugal</td></tr> <? } ?> <? if($user->location != "USA"){ ?> <tr class="select" id="7" onClick="SelectOption(this.id);" align="center"><td>Heist a train to USA</td></tr> <? } ?> <tr> <th colspan="2" scope="row"> <input type="submit" name="Submit" class="button" value="Attempt Heist" /> </th> </tr> </table> </form> <? include_once"footer_bottom.php"; ?> </body> </html> <? include_once'footer.php'; ?>
  6. Hi there i hav an error on way of the mafia scripts. anyone care to help please. Script Check The script check will determine whether you are human or an evil bot.. Input error: Invalid referer   *thats on crime,mug,pickpocket,chase and jail before i do anything!* Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /mounted-storage/home15c/sub001/sc12925-FSBZ/crazythugz.com/jail.php:2) in /mounted-storage/home15c/sub001/sc12925-FSBZ/crazythugz.com/includes/functions.php on line 3 thats on jail ! please can someone help Thank You
  7. Script Check error Script Check The script check will determine whether you are human or an evil bot.. Input error: Invalid referer   thats on the pages before i do anything! Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /mounted-storage/home15c/sub001/sc12925-FSBZ/crazythugz.com/jail.php:2) in /mounted-storage/home15c/sub001/sc12925-FSBZ/crazythugz.com/includes/functions.php on line 3 thats on jail ! please can someone help Thank You :D
  8. Hi there. I have recently been struggling in resolving an error in the way of the mafia scripts. Its a script check error at comp crime, crime. Mug, heist etc. Error at functions at line 3 it says. My friend said its to do with functions but ive tried evrything. Anyone care to help? Thanks
  9. Jamie ? whos jamie ?   thanks
  10. anyone know how to create a buy creds page ?   Thanks
  11. ermm anyone knoe how do make but points page ?   thanks
  12. ohh thanks ppl i under stand now put <?php session_start(); first thanks
  13. hmm w8 i did that but the captcha wont appear now :(
  14. Do i have to do this for all the pages ?
  15. Anyone know how to fix these codes ? it keeps redirctiong to TOS.   and has this error everywhere Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /mounted-storage/home15c/sub001/sc12925-FSBZ/hitlist.php:13) in /mounted-storage/home15c/sub001/sc12925-FSBZ/www/hitlist.php on line 18
×
×
  • Create New...