Jump to content
MakeWebGames

fkd08

Members
  • Posts

    8
  • Joined

  • Last visited

    Never

Everything posted by fkd08

  1. Re: New improved mailbox.     Find   mysql_query("UPDATE users SET new_mail=new_mail+1 WHERE userid='{$who}'") or die(mysql_error());   on or around line 293 and remove the apostrophe's from either side of {$who} Do the same on or around line 174 and remove them from {$ir['userid']} on or around line 183 and {$id} on the line after.
  2. Re: [Free Mod]Rent A Spy[v2] How about instead of giving the results straight away, if it's successful, you make them wait for a time that's related to the level of the user they're spying on??? I'm assuming it would just require another cron job and a new row in the users table as well as a small amount of further editing of the current php?
  3. Re: [Free Mod]Rent A Spy[v2]   It was me :-D Attention paid and lesson learned.
  4. Re: [Free Mod]Rent A Spy[v2] Used your code. It was charging $2000 for everybody. I change it to $ir and it charges $2000 per level.
  5. Re: [Free Mod]Rent A Spy[v2] There's a small problem with this, If you're wanting the fee to be the users level * 2000 then you need to replace   $cost=$r['level']*2000;   with   $cost=$ir['level']*2000;   There's 2 instances. One on or around line 15 and the other around line 65. Otherwise it'll just charge the $2000
  6. Re: Emerngency Surgery for V2 Both are wrong. It's aren't. Fully written it's are not. You remove the 'o' and replace it with an apostrophe. :-D Oh and it's ain't and not aint. It's a contraction of either have not, has not, is not or are not. :wink:
  7. Re: Free Loan Shark System     another simple fix. find if ($_POST['borrowed'] >= $maxloan+1) { die("You are trying to loan more then your max loan > [url='loanshark.php?action=borrow']Back[/url]"); }   and add below it   if ($_POST['borrowed']+$loan >= $maxloan+1) { die("You are trying to loan more then your max loan > [url='loanshark.php?action=borrow']Back[/url]"); }   There maybe a better way of doing it but it does stop the user taking out more than their max would allow.
  8. Re: Free Loan Shark System PROBLEM?     Alternatively, you could just tell us on here so people can find a solution. If it's to do with entering a minus number in the borrow box then that's easy to fix. Something along the lines of   { if($_POST['borrowed'] < 1) { die("Try again."); } else { global $ir,$c,$userid,$h; $maxloan=$ir['level']*2100; $loan=$ir['loan']; if ($loan == $maxloan) { die("You have already taken out the max loan possible you must pay it back before you can loan more > [url='loanshark.php?action=repay']Repay[/url]"); }   However I'm new to coding so I could be wrong.
×
×
  • Create New...