Jump to content
MakeWebGames

dlion98

Members
  • Posts

    16
  • Joined

  • Last visited

    Never

dlion98's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Re: How do I delete orphaned data Thanks UCC I will try yours as well it looks like from here that it will do what I want it to do. I will let ya know if I have any probs with it.
  2. Re: How do I delete orphaned data ferdi what do I do if the users table does not have the userid any longer. That is the question.
  3. Re: Shafted by LunarPages Guys I solved the problem by hosting my crons elsewhere... here is who I use and I have had very few problems since. http://www.webbasedcron.com
  4. Re: FREE UPDATED MCV1 NUCLEAR BOMB I use the nuke only tp give gifts to all my players
  5. Re: Crime success exp help what is crimexp for in V2
  6. Re: Accept c/c Payments without Paypal Just a point of history and interest... Al Capone formed the Better Business Bureau in the 1920s to extort money legally from local businesses. This is the same BBB that exists today. And just as then... I can pay them today and be listed by them in a good light.
  7. Jail break Come on sfekt gimme a break... this is only the second lil mod I have written completely by myself...and it does the job. I will get better and include flair when I master the code. I would rather be basic and work out of the box than be stylish and be high maintenance.  
  8. Jail break Ty Arson... you saved me some time
  9. Jail break It was 3:am when I finished it I will prolly make it cose 10% brave later today and I will post that here when I am fiished. and yes I called it jailbreak.php
  10. I have written a simple jailbreak mod for the Jail mod that was posted here <? //Jailbreak //DM Entertainment copyright 2006 session_start(); require "global_func.php"; if($_SESSION['loggedin']==0) { header("Location: login.php");exit; } $userid=$_SESSION['userid']; require "header.php"; $h = new headers; $h->startheaders(); include "mysql.php"; global $c; $is=mysql_query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid=$userid",$c) or die(mysql_error()); $ir=mysql_fetch_array($is); check_level(); $h->userdata($ir,$lv,$fm,$cm); $h->menuarea(); if(rand(1,100) <= 50) { print "You successfully broke out of the County Jail."; mysql_query("UPDATE users SET jail=0 WHERE userid=$userid",$c); } else { $jailtime=(int) rand(1,30); print "You were caught attempting to break out of the County Jail. The officers beat you for a while and added $jailtime minutes to your sentence."; mysql_query("UPDATE users SET jail=jail+$jailtime WHERE userid=$userid", $c); mysql_query("UPDATE users SET jailreason='Caught attempting to escape' WHERE userid=$userid", $c); } ?> then go into your header.php file and find: $q=mysql_query("SELECT * FROM ads ORDER BY rand() LIMIT 1",$c); if(mysql_num_rows($q)) and insert this before it: if ($ir['jail'] > 0) print ("{$ir['username']} You are in Jail for {$ir['jail']} minutes. You gotta get better at this. Attempt escape"); You can make it easier or more difficult to escape by changing the 50 to whatever you want in this line: if(rand(1,100) <= 50) The higher the number the harder it is to get out. I know it works on V1.1... that is what I wrote it for. Hope you find it helpful. It was easy and I guess you all can code it but I put it here anyway.
  11. setting xp for crimes bump... can anyone help on this?
  12. Admin Modifcations Fatal error: Call to undefined function: deluser_begin() in /home/*#*#*#/*$*#/admin.php on line 90 This does not work... here is the error that came up
  13. I think the upper crimes are getting too much experience points but cant find where to lower them or the formula that determins how much you get... can anyone help? I get a level every time I commit a crime above the lvl 50 crimes.
×
×
  • Create New...