Jump to content
MakeWebGames

Mr-Scripts

Members
  • Posts

    60
  • Joined

  • Last visited

Everything posted by Mr-Scripts

  1. I need some one to make me a layout for my online game mafia related any examples post here or contact me for more info
  2. sniko what game was it
  3. if i had the money i would buy this for my site great work though
  4. where do i start if i wanna make a template for my game where can i go to get ideas/ advice
  5. Mr-Scripts

    Learning

    i wanna learn how to make in game layouts (psd) only is there any good tutorials or sites i can learn from many thanks
  6. I need the banner a menu an a place to display user info an timers. Source: Crimebloc http://gyazo.com/9d27758e473e2ef9f0c6be9dba06e716 Source: Downtownmafia http://gyazo.com/15f4cacd06adf5414dfc34f9dffa2f5f Source: located online ( needs updating )   http://gyazo.com/f2975e54a708e5bef4b8f1173b992f4e   looking for pricing first and examples as i have not got the money yet
  7. out come : You brake the window to the car and jump in a well done! what it should be :You brake the window to the car and jump in a (car name) well done!
  8. will that resolve my missing car problem
  9. even though theres only 11 cars
  10. yeah all images are there , but i cant remember if the random selection ( $win=rand(0,12); ) starts from 1,11 or 0,11 or 1,12 0,12
  11. <?php session_start(); include 'includes/db_connect.php'; include 'includes/functions.php'; include 'includes/jail_check.php'; if ($info->last_script_check < time()){ include_once "probe.php"; } $username=$_SESSION['username']; $radiobutton=$_POST['radiobutton']; $above = mysql_query("SELECT * FROM users WHERE username='$username'"); $info = mysql_fetch_object($above); $chance = explode("-", $info->gtachance); if (strip_tags($_GET['reset'])){ $reset=strip_tags($_GET['reset']); if($info->points < "4"){ echo "<center><font color=red><b>You dont have enough credits to reset your gta timer!</td>"; }elseif($info->points >= "4"){ mysql_query("UPDATE users SET points=points-5, lastgta='' WHERE username='$username'"); echo "<center><font color=green><b>Your gta timer has now been reset!<br><meta http-equiv='refresh' content='1;url=gta.php'>"; }} if ($info->lastgta > time()){ $left = $info->lastgta - time(); echo "<script type='text/javascript' src='timer.js'></script><link href='style.css' rel='stylesheet' type='text/css'> <br><table width='30%' align='center' cellspacing='0' cellpadding=0 border=0 class='table'> <tr> <td colspan='6' class='header' align=left>Error!</center></td> </tr> <tr> <td align='center'>You have to wait <span id='crime5'></span><script type='text/javascript'>setTimer('crime5','$left', { 0: function () { window.location = 'gta.php' }}); </script> before you can commit another gta!<br><br><a href=?reset=gta>Reset Timer (Costs 5 Credits)!</a></label></td> </tr> </div></table>"; exit(); } if ($_POST['submit']){ $suc = $chance[$radiobutton]; $ran = rand(1,100); if ($ran <= $suc){ if ($radiobutton == "6"){ $success = $chance[0]; $cars = array('Vauxhall Nova','Vauxhall Corsa','Ford Fiesta ST','Renault Clio','Peugeot 206','Ford Focus ST','Nissan 350Z','Ford Mustang','Toyota Supra','Mitsubishi Evolution 7','Subaru Impreza WRX'); $quote="You Broke In To The House And Found The Keys To The Car"; ////NEXT RADIO }elseif ($radiobutton == "1"){ $success = $chance[1]; $cars = array('Vauxhall Nova','Vauxhall Corsa','Ford Fiesta ST','Renault Clio','Peugeot 206','Ford Focus ST','Nissan 350Z','Ford Mustang','Toyota Supra','Mitsubishi Evolution 7','Subaru Impreza WRX'); $quote="You Found A Car With Keys In It."; ////NExT RADIO }elseif ($radiobutton == "2"){ $success = $chance[2]; $cars = array('Vauxhall Nova','Vauxhall Corsa','Ford Fiesta ST','Renault Clio','Peugeot 206','Ford Focus ST','Nissan 350Z','Ford Mustang','Toyota Supra','Mitsubishi Evolution 7','Subaru Impreza WRX'); $quote="You Managed To Get The Sexy Model To Give You The Keys And You Drove Away."; ////NExT RADIO }elseif ($radiobutton == "4"){ $success = $chance[4]; $cars = array('Vauxhall Nova','Vauxhall Corsa','Ford Fiesta ST','Renault Clio','Peugeot 206','Ford Focus ST','Nissan 350Z','Ford Mustang','Toyota Supra','Mitsubishi Evolution 7','Subaru Impreza WRX'); $quote="You Drove The Car Out Of The Back Door With The Owner On The Bonnet"; ////NExT RADIO }elseif ($radiobutton == "5"){ $success = $chance[5]; $cars = array('Vauxhall Nova','Vauxhall Corsa','Ford Fiesta ST','Renault Clio','Peugeot 206','Ford Focus ST','Nissan 350Z','Ford Mustang','Toyota Supra','Mitsubishi Evolution 7','Subaru Impreza WRX'); $quote="You Got The Car Out Of The Crews Car Lot With Out Being Seen."; } $win=rand(0,12); if ($cars[$win] == "Vauxhall Nova"){ $na = "images/car/nova.jpg"; } elseif ($cars[$win] == "Vauxhall Corsa"){ $na = "images/car/corsa.jpg"; } elseif ($cars[$win] == "Ford Fiesta ST"){ $na = "images/car/fiesta.jpg"; } elseif ($cars[$win] == "Renault Clio"){ $na = "images/car/clio.jpg"; } elseif ($cars[$win] == "Peugeot 206"){ $na = "images/car/206.jpg"; } elseif ($cars[$win] == "Ford Focus ST"){ $na = "images/car/focus.jpg"; } elseif ($cars[$win] == "Nissan 350Z"){ $na = "images/car/350z.jpg"; } elseif ($cars[$win] == "Ford Mustang"){ $na = "images/car/mustang.jpg"; } elseif ($cars[$win] == "Toyota Supra"){ $na = "images/car/supra.jpg"; } elseif ($cars[$win] == "Mitsubishi Evolution 7"){ $na = "images/car/evo7.jpg"; } elseif ($cars[$win] == "Subaru Impreza WRX"){ $na = "images/car/wrx.jpg"; } echo "<link href='style.css' rel='stylesheet' type='text/css'><br><center> <table width='30%' align='center' cellspacing='0' cellpadding=0 border=0 class='table'> <tr> <td colspan='6' class='header' align=left>Succesful!</center></td> </tr> <tr> <td align='center'>You brake the window to the car and jump in a $cars[$win] well done!</label></td> </tr> </div></table>"; mysql_query("UPDATE user_info SET gtas=gtas+1 WHERE username='$username'"); mysql_query("UPDATE users SET GP=GP+1 WHERE username='$username'"); $time= time() + (60*5); if($site->doublexp == "ON"){ $newrank = $info->rankpoints + 22; $newrank2 = $info->rankpoints + 8; $newcomprank = $info->compxp + 22; $newcomprank2 = $info->compxp + 8; }else{ $newrank = $info->rankpoints + 12; $newrank2 = $info->rankpoints + 4; $newcomprank = $info->compxp + 12; $newcomprank2 = $info->compxp + 4; } $damage=rand(1,50); if ($cars[$win] == "Vauxhall Nova"){ $max="750"; if ($damage == "0"){ $for=$max; }elseif ($damage == "50"){ $for = "0"; }else{ $for = $max / $damage *2; } } ////////////////////////////////////// if ($cars[$win] == "Vauxhall Corsa"){ $max="3250"; if ($damage == "0"){ $for=$max; }elseif ($damage == "50"){ $for = "0"; }else{ $for = $max / $damage *2; } } ////////////////////////////////////// if ($cars[$win] == "Ford Fiesta ST"){ $max="3850"; if ($damage == "0"){ $for=$max; }elseif ($damage == "50"){ $for = "0"; }else{ $for = $max / $damage *2; } } ////////////////////////////////////// if ($cars[$win] == "Renault Clio"){ $max="4000"; if ($damage == "0"){ $for=$max; }elseif ($damage == "50"){ $for = "0"; }else{ $for = $max / $damage *2; } } ////////////////////////////////////// if ($cars[$win] == "Peugeot 206"){ $max="5000"; if ($damage == "0"){ $for=$max; }elseif ($damage == "50"){ $for = "0"; }else{ $for = $max / $damage *2; } } ////////////////////////////////////// if ($cars[$win] == "Ford Focus ST"){ $max="9000"; if ($damage == "0"){ $for=$max; }elseif ($damage == "50"){ $for = "0"; }else{ $for = $max / $damage *2; } } ////////////////////////////////////// if ($cars[$win] == "Nissan 350Z"){ $max="14000"; if ($damage == "0"){ $for=$max; }elseif ($damage == "50"){ $for = "0"; }else{ $for = $max / $damage *2; } } ////////////////////////////////////// if ($cars[$win] == "Ford Mustang"){ $max="15000"; if ($damage == "0"){ $for=$max; }elseif ($damage == "50"){ $for = "0"; }else{ $for = $max / $damage *2; } } ////////////////////////////////////// if ($cars[$win] == "Toyota Supra"){ $max="20000"; if ($damage == "0"){ $for=$max; }elseif ($damage == "50"){ $for = "0"; }else{ $for = $max / $damage *2; } } ////////////////////////////////////// if ($cars[$win] == "Mitsubishi Evolution 7"){ $max="20000"; if ($damage == "0"){ $for=$max; }elseif ($damage == "50"){ $for = "0"; }else{ $for = $max / $damage *2; } } ////////////////////////////////////// if ($cars[$win] == "Subaru Impreza WRX"){ $max="24000"; if ($damage == "0"){ $for=$max; }elseif ($damage == "50"){ $for = "0"; }else{ $for = $max / $damage *2; } } ////////////////////////////////////// $for=round($for); //print "$for!!"; mysql_query("INSERT INTO `garage` ( `id` , `owner` , `car` , `damage`,`origion`,`location`,`worth`) VALUES ( '', '$username', '$cars[$win]', '$damage','$info->location','$info->location','$max' )"); mysql_query("UPDATE users SET rankpoints='$newrank' WHERE username='$username'"); if ($site->xpcompstatus == "2"){ mysql_query("UPDATE users SET compxp=$newcomprank WHERE username='$username'"); } }else{ if ($radiobutton == "6"){ $quote="You Got No Way Near The Posh House The Dogs Scared You Away. You Got Away With Nothing"; }elseif ($radiobutton == "1"){ $quote="You Triped On The Curb And Set The Car Alarm Off. You Got Away With Nothing"; }elseif ($radiobutton == "2"){ $quote="You Got Caught Climbing In To The Car And You Were Taken Down By A Car Model. You Got Away With Nothing"; }elseif ($radiobutton == "4"){ $quote="The Car Lot Owner Saw You Go In To The Show Room After Dark And Followed You In. You Got Away With Nothing"; }elseif ($radiobutton == "5"){ $quote="The Crew Caught You Hiding In There Car Lot. You Got Away With Nothing"; } $reason = "Gta"; require_once "includes/failed.php"; echo "<link href='style.css' rel='stylesheet' type='text/css'><br><center> <table width='30%' align='center' cellspacing='0' cellpadding=0 border=0 class='table'> <tr> <td colspan='6' class='header' align=left>Failed!</center></td> </tr> <tr> <td align='center'>You tryed to steal the car but the police drove passed you failed to get away with a car!</label></td> </tr> </div></table>"; mysql_query("UPDATE user_info SET gtas=gtas+1 WHERE username='$username'"); } if($chance[0] == 1){$chance[1] = 1;} elseif(($chance[0] >= 1) && ($chance[0] <= 2)){$chance[0] = rand(1,$chance[0]);} elseif(($chance[0] >= 2) && ($chance[0] <= 10)){$chance[0] = rand(10,$chance[0]);} elseif(($chance[0] >= 5) && ($chance[0] <= 25)){$chance[0] = rand(25,$chance[0]);} elseif(($chance[0] >= 18) && ($chance[0] <= 36)){$chance[0] = rand(36,$chance[0]);} elseif(($chance[0] >= 25) && ($chance[0] <= 49)){$chance[0] = rand(49,$chance[0]);} elseif(($chance[0] >= 36) && ($chance[0] <= 58)){$chance[0] = rand(58,$chance[0]);} elseif(($chance[0] >= 49) && ($chance[0] <= 55)){$chance[0] = rand(55,$chance[0]);} elseif($chance[0] >= 55){$chance[0] = rand(55,$chance[0]);} if($chance[0] == 1){$chance[1] = 0;} elseif(($chance[0] >= 1) && ($chance[0] <= 2)){$chance[1] = rand(0,$chance[0]);} elseif(($chance[0] >= 3) && ($chance[0] <= 8)){$chance[1] = rand(7,$chance[0]);} elseif(($chance[0] >= 9) && ($chance[0] <= 15)){$chance[1] = rand(14,$chance[0]);} elseif(($chance[0] >= 16) && ($chance[0] <= 34)){$chance[1] = rand(33,$chance[0]);} elseif(($chance[0] >= 35) && ($chance[0] <= 74)){$chance[1] = rand(45,$chance[0]);} elseif($chance[0] >= 75){$chance[1] = rand(50,$chance[0]);} if($chance[0] == 1){$chance[2] = 0;} elseif(($chance[0] >= 1) && ($chance[0] <= 2)){$chance[2] = rand(0,$chance[0]);} elseif(($chance[0] >= 3) && ($chance[0] <= 8)){$chance[2] = rand(6,$chance[0]);} elseif(($chance[0] >= 9) && ($chance[0] <= 15)){$chance[2] = rand(13,$chance[0]);} elseif(($chance[0] >= 16) && ($chance[0] <= 34)){$chance[2] = rand(32,$chance[0]);} elseif(($chance[0] >= 35) && ($chance[0] <= 74)){$chance[2] = rand(60,$chance[0]);} elseif($chance[0] >= 75){$chance[2] = rand(85,$chance[0]);} if($chance[0] == 1){$chance[4] = 0;} elseif(($chance[0] >= 1) && ($chance[0] <= 2)){$chance[4] = rand(0,$chance[0]);} elseif(($chance[0] >= 3) && ($chance[0] <= 8)){$chance[4] = rand(6,$chance[0]);} elseif(($chance[0] >= 9) && ($chance[0] <= 15)){$chance[4] = rand(13,$chance[0]);} elseif(($chance[0] >= 16) && ($chance[0] <= 34)){$chance[4] = rand(32,$chance[0]);} elseif(($chance[0] >= 35) && ($chance[0] <= 74)){$chance[4] = rand(60,$chance[0]);} elseif($chance[0] >= 75){$chance[4] = rand(85,$chance[0]);} if($chance[0] == 1){$chance[5] = 0;} elseif(($chance[0] >= 1) && ($chance[0] <= 2)){$chance[5] = rand(0,$chance[0]);} elseif(($chance[0] >= 3) && ($chance[0] <= 8)){$chance[5] = rand(6,$chance[0]);} elseif(($chance[0] >= 9) && ($chance[0] <= 15)){$chance[5] = rand(13,$chance[0]);} elseif(($chance[0] >= 16) && ($chance[0] <= 34)){$chance[5] = rand(32,$chance[0]);} elseif(($chance[0] >= 35) && ($chance[0] <= 74)){$chance[5] = rand(60,$chance[0]);} elseif($chance[0] >= 75){$chance[5] = rand(85,$chance[0]);} if($chance[0] > 70){ $chance[0] = 40; } if($chance[1] > 70){ $chance[1] = 40; } if($chance[2] > 75){ $chance[2] = 40; } if($chance[4] > 85){ $chance[4] = 40; } if($chance[5] > 48){ $chance[5] = 40; } $chance[0]++; if ($chance[0] > 50){ $chance[0] = 40; } $arrayrates = array($chance[0], $chance[1], $chance[2], $chance[3], $chance[4], $chance[5]); $newrates = implode("-", $arrayrates); $tim = time() + (60*5); mysql_query("UPDATE users SET gtachance='$newrates',lastgta='$tim' WHERE username='$username'"); exit; } ?> <? if ($site->gupdate == "1"){ echo "<link href='style.css' rel='stylesheet' type='text/css'><center><div class='update'>$site->gupdatetext</div></center> <br>"; } ?> <script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script> <script type="text/javascript"> try { var pageTracker = _gat._getTracker("UA-12456885-1"); pageTracker._trackPageview(); } catch(err) {}</script> <script type="text/javascript"> if(!top || top.frames.length < 4) { top.location="/index2.php";} </script> <link href="style.css" rel="stylesheet" type="text/css"> <script language=JavaScript> function so(dis) { for (i=0;i<dis.elements.length;i++){ if (dis.elements[i].type=='submit') dis.elements[i].style.visibility='hidden'; } if(fs==false){ fs=true; return true; }else return false; } function goaway() { for(i=0;i<document.forms.length;i++) document.forms[i].onsubmit = function() {return so(this);}; } </script> <style > .bar_cont { display: inline-block; vertical-align:middle; } .bar { position: relative; width: 150px; line-height: 11px; border: 1px solid #000; color: #000000; background: url('images/crimebg/red.jpg'); background-repeat: repeat-x; } .rg { position: relative; height: 11px; background-image: url('images/crimebg/green.jpg'); background-repeat: repeat-x; z-index: 2; } </style> </head> <body onLoad="goaway();"> <form name="form1" method="post" action=""> <table width="300" align="center" border="0" cellpadding="0" cellspacing="0" class="table"> <tr class="header"> <td colspan="2">GTA</td> </tr> <tr> <td align="center" width="20"><input type="radio" name="radiobutton" value="1"></td> <td>Street<br><div class="bar" align="left"><div class="per" align="left"><?php echo "$chance[1]"; ?>%</div><div class="rg" align="left" style="width:<?php echo "$chance[1]"; ?>%"></div></div></td> </tr> <tr> <td align="center"><input type="radio" name="radiobutton" value="2"></td> <td>Car Park: <div class="bar" align="left"><div class="per" align="left"><?php echo "$chance[2]"; ?>%</div><div class="rg" align="left" style="width:<?php echo "$chance[2]"; ?>%"></div></div></td> </tr> <tr> <td align="center"><input type="radio" name="radiobutton" value="3"></td> <td>Car Dealership: <div class="bar" align="left"><div class="per" align="left"><?php echo "$chance[4]"; ?>%</div><div class="rg" align="left" style="width:<?php echo "$chance[4]"; ?>%"></div></div></td> </tr> <tr> <td align="center"><input type="radio" name="radiobutton" value="4"></td> <td>Car manufacturer: <div class="bar" align="left"><div class="per" align="left"><?php echo "$chance[5]"; ?>%</div><div class="rg" align="left" style="width:<?php echo "$chance[5]"; ?>%"></div></div></td> </tr> <tr> <td colspan="2" align="center"> <div align="center"> <input name="submit" type="submit" class="button" id="submit" value="Steal Car"> </div></td> </tr> </table> </form> <p> </p> </html>   shows a blank car so i think the random selection is wrong   $win=rand(0,12); if ($cars[$win] == "Vauxhall Nova"){ $na = "images/car/nova.jpg"; } elseif ($cars[$win] == "Vauxhall Corsa"){ $na = "images/car/corsa.jpg"; } elseif ($cars[$win] == "Ford Fiesta ST"){ $na = "images/car/fiesta.jpg"; } elseif ($cars[$win] == "Renault Clio"){ $na = "images/car/clio.jpg"; } elseif ($cars[$win] == "Peugeot 206"){ $na = "images/car/206.jpg"; } elseif ($cars[$win] == "Ford Focus ST"){ $na = "images/car/focus.jpg"; } elseif ($cars[$win] == "Nissan 350Z"){ $na = "images/car/350z.jpg"; } elseif ($cars[$win] == "Ford Mustang"){ $na = "images/car/mustang.jpg"; } elseif ($cars[$win] == "Toyota Supra"){ $na = "images/car/supra.jpg"; } elseif ($cars[$win] == "Mitsubishi Evolution 7"){ $na = "images/car/evo7.jpg"; } elseif ($cars[$win] == "Subaru Impreza WRX"){ $na = "images/car/wrx.jpg"; }
  12. ill do it for more than 2-3 hours a day
  13. what sort of new engine
  14. just been on it he is using a footer as a header
  15. THE DEMO 9 SITE ITS FROM ) IS IN THE IMAGE http://gangsters-sanctuary.co.uk
  16.   i also know what you mean but cant think of name
  17. you are a idiot cause you have no proof and your making false claims which you cant back up and if you cross check my name/domain/personal information it will tell you i own only one domain. so can we get back on topic and this is not a topic to slag people off and make claims and lie this topic was created for the purpose of help and only that.
  18. very true johngato :)
  19. thank you dominion im only seeking advice so please do not make Allegations
  20. funny thing is that not even my site i own a different game so i think you owe me a sorry
  21. i have never sold you files i have never sold anything on mwg ?
  22. every variable of my site
  23.   its a texted based mafia game and ill send you link in private message
  24. personal messaged you
  25. Hello mwg users I currently have a game that keeps gets hacked I've got a url logger in place to track the pages but I've been through the logs without luck nothing out of the ordinary so my only conclusion is to rebuild the database from scratch or. To research further to see if it's a SQL injection if not pay some one to look and correct it as I dont have much time at the moment any suggestions or people that want to look inbox me
×
×
  • Create New...